chore: changed default entry format

This commit is contained in:
Davide Fantino 2023-02-28 23:57:08 +01:00
parent c1d5ba2bb0
commit bf2d7b093b
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ The command name to use in chat.
The format of an entry in the voting list. The format of an entry in the voting list.
###### Default ###### Default
```json ```json
"{map_name} {gamemode} {map_version} {factions} ({main_assets})" "{map_name} {gamemode} {map_version} {factions} {main_assets}"
``` ```
#### entriesAmount #### entriesAmount
###### Description ###### Description
@ -262,7 +262,7 @@ Can be used to prevent situation when insignificant number of players decide wha
"enabled": true, "enabled": true,
"discordClient": "discord", "discordClient": "discord",
"entriesAmount": 6, "entriesAmount": 6,
"entryFormat": "{map_name} {gamemode} {map_version} {factions} ({main_assets})", "entryFormat": "{map_name} {gamemode} {map_version} {factions} {main_assets}",
"automaticVoteStart": true, "automaticVoteStart": true,
"votingDuration": 0, "votingDuration": 0,
"minPlayersForVote": 30, "minPlayersForVote": 30,

View File

@ -29,7 +29,7 @@ export default class MapVote extends DiscordBasePlugin {
entryFormat: { entryFormat: {
required: false, required: false,
description: "The format of an entry in the voting list", description: "The format of an entry in the voting list",
default: '{map_name} {gamemode} {map_version} {factions} ({main_assets})' default: '{map_name} {gamemode} {map_version} {factions} {main_assets}'
}, },
entriesAmount: { entriesAmount: {
required: false, required: false,