From c1e6f93aa7ff990c70a30493472e735f3f90331b Mon Sep 17 00:00:00 2001 From: Davide Fantino <80767709+fantinodavide@users.noreply.github.com> Date: Wed, 21 Sep 2022 16:46:11 +0200 Subject: [PATCH] updated doc --- README.MD | 16 +++++++++++++++- mapvote.js | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index 3a95d0c..aa1a7e2 100644 --- a/README.MD +++ b/README.MD @@ -76,9 +76,23 @@ The random layer list will be generated with only selected gamemodes. ```json [ "AAS", "RAAS", "INVASION" ] ``` +#### layerFilteringMode +###### Description +Select Whitelist mode or Blacklist mode. +###### Default +```json +"blacklist" +``` +#### layerLevelWhitelist +###### Description +The random layer list will include ONLY the whitelisted layers or levels. (acceptable formats: Gorodok/Gorodok_RAAS/Gorodok_AAS_v1). +###### Default +``` +[] +``` #### layerLevelBlacklist ###### Description -The random layer list will not include the blacklisted layers or levels. (acceptable formats: Gorodok/Gorodok_RAAS/Gorodok_AAS_v1). +The random layer list will NOT include the blacklisted layers or levels. (acceptable formats: Gorodok/Gorodok_RAAS/Gorodok_AAS_v1). ###### Default ``` [] diff --git a/mapvote.js b/mapvote.js index fcfc983..76a5cbe 100644 --- a/mapvote.js +++ b/mapvote.js @@ -72,7 +72,7 @@ export default class MapVote extends DiscordBasePlugin { }, layerLevelWhitelist: { required: false, - description: 'random layer list will not include the blacklisted layers or levels. (acceptable formats: Gorodok/Gorodok_RAAS/Gorodok_AAS_v1)', + description: 'random layer list will include only the whitelisted layers or levels. (acceptable formats: Gorodok/Gorodok_RAAS/Gorodok_AAS_v1)', default: [] }, layerLevelBlacklist: {