From 54e572a2d133909d9aa1b519c2bdfde804e02396 Mon Sep 17 00:00:00 2001 From: Fantino Davide Date: Fri, 16 Sep 2022 01:07:54 +0200 Subject: [PATCH] updated documentation --- README.MD | 18 +++++++++++++++++- mapvote.js | 4 ++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/README.MD b/README.MD index b0d9091..eca8b5b 100644 --- a/README.MD +++ b/README.MD @@ -83,6 +83,20 @@ The random layer list will not include the blacklisted layers or levels. (accept ``` [] ``` +#### hideVotesCount +###### Description +Hides the number of votes a layer received in broadcast message. +###### Default +```json +false +``` +#### showRerollOption +###### Description +vote option to restart the vote with random entries. +###### Default +```json +false +``` ### Example configuration ```json { @@ -94,6 +108,8 @@ The random layer list will not include the blacklisted layers or levels. (accept "numberRecentMapsToExlude": 4, "automaticSeedingMode": true, "gamemodeWhitelist": [ "AAS", "RAAS", "Invasion" ], - "layerLevelBlacklist": [ "BlackCoast_Seed" ] + "layerLevelBlacklist": [ "BlackCoast_Seed" ], + "hideVotesCount": false, + "showRerollOption": false } ``` diff --git a/mapvote.js b/mapvote.js index acbfaa1..66466ca 100644 --- a/mapvote.js +++ b/mapvote.js @@ -82,12 +82,12 @@ export default class MapVote extends BasePlugin { }, hideVotesCount: { required: false, - description: 'hides the number of votes a layer received', + description: 'hides the number of votes a layer received in broadcast message', default: false }, showRerollOption: { required: false, - description: 'vote option to restart the vote', + description: 'vote option to restart the vote with random entries', default: false } };