These plugins must be installed for the plugin to work correctly!
Here you can customize the game
Code (YAML):
# ChatGames by Woody Configuration File
######################################### ## Game Settings ## ######################################### games:
numbers-game: # Minimum number for the game minNumber: 1
# Maximum number for the game maxNumber: 30
# Minimum number of players to start the game minPlayersToStartGame: 1
# Duration of each game in seconds gameDuration: 60
# Delay between game repetitions in seconds repeatDelay: 600
# Minimum reward for the winner minReward: 200.0
# Maximum reward for the winner maxReward: 500.0
# Bet cost betCost: 25.0
######################################### ## Messages ## ######################################### messages:
numbers-game: # Message displayed at the start of the game gameStartMessage: "\n&e&lChat Game &8| &bGuess the number between &f{minNumber} &band &f{maxNumber}&b! &7/bet (number)\n"
# Message displayed when a player wins playerWinMessage: "\n&e&lChat Game &8| &aCongratulations! &e{winners} &awon the game with the number &f{number} &aand received &f${reward} &acoins!\n"
# Message displayed when there is no winner in the game noWinnerMessage: "\n&e&lChat Game &8| &7No one won the game. The number was &f{number}&7.\n"
# Message displayed when a player places a bet betPlacedMessage: "\n&e&lChat Game &8| &6Your bet &8(&f{betNumber}&8) &6has been placed! &7Deducted: &f${cost}\n"
# Message displayed when the game has not started yet and a player tries to place a bet gameNotStartedMessage: "\n&e&lChat Game &8| &7The game has not started yet...\n"
# Message displayed when a player tries to place a bet without specifying a number betMissingNumberMessage: "\n&e&lChat Game &8| &7You must specify a number between &f{minNumber} &7and &f{maxNumber}&7.\n"
# Message displayed when a player tries to place a bet with a number outside the valid range betOutOfRangeMessage: "\n&e&lChat Game &8| &7The number must be between &f{minNumber} &7and &f{maxNumber}&7.\n"
# Message displayed when a player has already placed a bet alreadyBetMessage: "\n&e&lChat Game &8| &7You have already placed a bet, please wait for the game to finish.\n"
# Message displayed when a player has insufficient funds to place a bet insufficientFundsMessage: "\n&e&lChat Game &8| &7You have &cinsufficient &7funds to place a bet. You need at least &f${cost}\n"
# Message displayed when a player specifies an invalid number for the bet invalidBetNumberMessage: "\n&e&lChat Game &8| &7Invalid number for the bet. Please enter a valid number.\n"
# Message displayed when showing the top players topPlayersTitle: "\n&eTop {count} players by wins:" topPlayerFormat: "&6{position}. {player}: {wins} wins\n" noTopPlayers: "&eNo players in the top."
# Plugin messages plugin: # Message displayed when the player lacks permission permission: "\n&cYou do not have sufficient permission to execute this command!"
# Message displayed when reloading the plugin configuration reloadConfigMessage: "\n&e&lChat Game &8| &aPlugin configuration reloaded."
Metrics
If you have any questions about the plugin, you can contact me via Discord:woody7574