ChatGames Premium is a simple chat game plugin that gives you all the choices to create the best entertainment in your chat!
-SUPPORTS 1.8 - 1.21 (+HEX SUPPORT)
What is ChatGames?
ChatGames is a chat game plugin that lets you play 17 different type of games through chat, with repeat time of event, words, and more customizable settings through config.
FEATURES:
- 19 DIFFERENT GAMES
- MOST WINS AND FASTEST TYPERS TOP SYSTEMS
- TOGGLE SYSTEM
- HikariCP with MySQL and SQLite support!
- Optional. REWARDS BY CHANCE
- Optional. MULTIPLE WINNERS OF A GAME
- DIFFERENT GAME TIMES FOR EACH GAME
- Option to count only players with a certain permission (vanished players are not counted)
- Range of lengths for RANDOM GAME
- Tab completion support
- Case-sensitive notifications
General Commands
PERMISSIONS:
· chatgames.start.<type>
· chatgames.start.*
Access to start event
· chatgames.top
· chatgames.fastesttop
Access to see tops(first is points)
· chatgames.play
Optional. Access to play games
· chatgames.toggle
Access to toggle games
· chatgames.help
Access to help commands
· chatgames.reload
Access to reload config file
· chatgames.toggleAll
Access to toggle all games ON/OFF
· chatgames.remove
Access to remove player from database
· chatgames.logs
Access to view logs
GAMES:
UNSCRAMBLE - Unscramble the scrambled word to win
MATH - Solve the math equation in chat to win
TRIVIA - Answer the question shown correctly to win
REACTION - Be the fastest to type the word shown to win
RANDOM - A random string is generated(caps, nums), type it to win
UNREVERSE - Unreverse the reversed word to win
VARIABLE - Find the value of the missing variable to win
FILLOUT - Fill in the missing letters of the word to win
CLICKABLE - Be the fastest to click the text in chat to win
HOVERABLE - Write the word in the hover of a text to win
GUESS_THE_NUMBER - Guess the number within the range to win
SHOPPINGLIST - Memorize the list and write in order
CHALLENGES:
HUNT - Hunt the monsters as fast as possible
MINE - Mine the blocks as fast as possible
PLACE - Place the blocks as fast as possible
FISH - Fish the fishes as fast as possible
EAT - Eat the food as fast as possible
CRAFT - Craft the item as fast as possible
FURNACE - Cook the item as fast as possible
INSTALLATION:
1. Purchase the plugin from this resource page
2. Add ChatGames-Premium.jar to the plugins folder
3. Restart your server
4. ENJOY THE GAMES!
-SUPPORTS 1.8 - 1.21 (+HEX SUPPORT)
What is ChatGames?
ChatGames is a chat game plugin that lets you play 17 different type of games through chat, with repeat time of event, words, and more customizable settings through config.
FEATURES:
- 19 DIFFERENT GAMES
- MOST WINS AND FASTEST TYPERS TOP SYSTEMS
- TOGGLE SYSTEM
- HikariCP with MySQL and SQLite support!
- Optional. REWARDS BY CHANCE
- Optional. MULTIPLE WINNERS OF A GAME
- DIFFERENT GAME TIMES FOR EACH GAME
- Option to count only players with a certain permission (vanished players are not counted)
- Range of lengths for RANDOM GAME
- Tab completion support
- Case-sensitive notifications
General Commands
- /chatgame - Lists all available plugin commands
- /chatgame (type) - Manually start a chat event of the specified type
- /chatgame top - Sends the Top 10 players with most points
- /chatgame fastest - Sends a top 10 of the fastest typers
- /chatgame toggle - Toggles chat events on/off for the player
- /chatgame reload - Reloads the config.yml file
- /chatgame toggleAll - Toggles all games (tasks) ON/OFF for all players
- /chatgame remove <player> - Removes the specified player completely from the database
- /chatgames logs <amount> - Shows the past X amount of logs
- /chatgames variable - Start a variable game
- /chatgames clickable - Start a clickable game
- /chatgames reaction (word) - Start a reaction game with a specified word
- /chatgames unscramble (word) - Start an unscramble game with a specified word
- /chatgames unreverse (word) - Start an unreverse game with a specified word
- /chatgames fillout (word) - Start a fillout game with a specified word
- /chatgames random (length) - Start a random word game with a specified length
- /chatgames trivia (question_id) - Start a trivia game with a specific question
- /chatgames hoverable (word) - Start a hoverable game with a specified word
- /chatgames guess_the_number (number) (range-to-show) - Start a guess-the-number game with specified parameters
- /chatgames math (operation) - Start a math game with a specified operation
PERMISSIONS:
· chatgames.start.<type>
· chatgames.start.*
Access to start event
· chatgames.top
· chatgames.fastesttop
Access to see tops(first is points)
· chatgames.play
Optional. Access to play games
· chatgames.toggle
Access to toggle games
· chatgames.help
Access to help commands
· chatgames.reload
Access to reload config file
· chatgames.toggleAll
Access to toggle all games ON/OFF
· chatgames.remove
Access to remove player from database
· chatgames.logs
Access to view logs
GAMES:
UNSCRAMBLE - Unscramble the scrambled word to win
MATH - Solve the math equation in chat to win
TRIVIA - Answer the question shown correctly to win
REACTION - Be the fastest to type the word shown to win
RANDOM - A random string is generated(caps, nums), type it to win
UNREVERSE - Unreverse the reversed word to win
VARIABLE - Find the value of the missing variable to win
FILLOUT - Fill in the missing letters of the word to win
CLICKABLE - Be the fastest to click the text in chat to win
HOVERABLE - Write the word in the hover of a text to win
GUESS_THE_NUMBER - Guess the number within the range to win
SHOPPINGLIST - Memorize the list and write in order
CHALLENGES:
HUNT - Hunt the monsters as fast as possible
MINE - Mine the blocks as fast as possible
PLACE - Place the blocks as fast as possible
FISH - Fish the fishes as fast as possible
EAT - Eat the food as fast as possible
CRAFT - Craft the item as fast as possible
FURNACE - Cook the item as fast as possible
INSTALLATION:
1. Purchase the plugin from this resource page
2. Add ChatGames-Premium.jar to the plugins folder
3. Restart your server
4. ENJOY THE GAMES!
VIDEOS:
English:
YAML:
#############################
###### SETTINGS #######
#############################
check-update: true
#These translations are for plugin sided things such as material and entity names that are used for races. 118 Language Types Supported!
#IT WILL ONLY TRANSLATE THOSE THINGS, CUSTOMIZABLE MESSAGES(messages.yml) HAVE TO BE CHANGED MANUALLY.
#
#See the ID for your language here: https://github.com/nsider4/mine-translator/blob/main/language_names.txt
#
#CHANGES ARE REGISTERED ONLY ON RESTART
lang: 'en_us'
discord:
#If url is empty, this will be ignored as there will be no webhook
webhook-url: ''
message-content: 'Latest game results:'
img-url: 'https://www.spigotmc.org/data/resource_icons/107/107781.jpg?1676494289'
username: 'Chat Games'
title: 'Chat Games Result'
description: 'The winner is:'
winner-field: '%winner% (%time%)'
game-field: 'Game: %game%'
#Storage type, available: SQLite or MySQL
Storage: 'SQLite'
#The name of the table that will contain all ChatGames data
table_name: 'chatgames'
SQLite:
Filename: 'chatgames-data'
MySQL:
host: 'localhost'
port: '3306'
user: 'root'
password: 'password'
database: 'chatgame'
connection-parameters: '?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8'
Pool-Settings:
max-pool-size: 10
min-idle: 10
max-lifetime: 180000
keep-alive-time: 60000
time-out: 20000
disabled-worlds:
- 'example_world'
prefix: '&c&lC&d&lH&b&lA&a&lT &6&lG&e&lA&a&lM&c&lE&b&lS'
#The file where the logs will be saved
log-file: 'game_log.txt'
#If true, it will log all chat events in the console, both can happen at the same time
log-console: true
#If true, it will log all chat events in a file, both can happen at the same time
log-local: true
#Only players with 'chatgames.start.*' will be able to start even when this is false
allow_starting_from_disabled: true
#If false, it won't cancel the message that is normally not sent when a user guesses the correct option
cancel-message-when-winning: true
#The minimum amount of players that have to be online in order for the chat event to start
min_players_online: 1
#The time it will take for a random game to be picked again.
#The value -1 will disable the task, this will disable the task COMPLETELY, with this in -1 you can't use randomDelay either
time_minutes: 25
#If this is enabled, everytime a game ends, it will create a random number from 'randomDelay.minimum' to the number in 'randomDelay.limit' as a delay for the next game
#Enabling this will ignore 'time_minutes' value unless it's -1 since there will be no task.
randomDelay:
enable: false
#Time unit, the other possible value is 'seconds', if you do change it, it's recommended to make the minimum higher than the 'timeToGuess_seconds' for a game
timeUnit: 'minutes'
minimum: 1
limit: 25
#Turning this off will mean that chatgames.play permission will not be necessary to show the games
use-permission-toplay: false
#In false, it will only count players who have the 'chatgames.play' command meaning they are able to play.
#In true, it will count all online players with the exception of vanished players.
count-all-players: false
#In true, it will create a top for the fastest typers(/chatgames fastest). Otherwise in false, this top type will be off.
fastest-typers-top: true
#Sound to send to players when a chat event starts!
GameSounds:
volume: 0.5
#LEAVE ANY OF THESE EMPTY TO DISABLE THEM
win: 'minecraft:entity.experience_orb.pickup'
game-start: 'minecraft:entity.player.levelup'
time-expired: 'minecraft:entity.villager.no'
wrong-case: 'minecraft:block.note_block.bass'
#############################
###### CHATGAMES ######
#############################
unscramble:
enable: true
winners: 1
case-sensitive: true
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&b%selection%'
subtitleMessage: '&aUnscramble'
unreverse:
enable: true
winners: 1
case-sensitive: true
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#Leave the following 2 empty to disable them
titleMessage: '&b%selection%'
subtitleMessage: '&aUnreverse'
reaction:
enable: true
winners: 1
case-sensitive: true
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&b%selection%'
subtitleMessage: '&aWrite'
guess_the_number:
enable: true
winners: 1
#Don't change this
case-sensitive: false
lower-limit: 1
upper-limit: 20
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&b%selection%'
subtitleMessage: '&aWrite'
shoppinglist:
enable: true
winners: 1
case-sensitive: false
listLength: 3
#The time users will have to memorize, solve, write, etc in seconds.
timeToMemorize: 7
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#Leave the following 2 empty to disable them
titleMessage: '&bMemorize'
subtitleMessage: '&aShopping List'
clickable:
enable: true
winners: 1
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&eClick the Text'
subtitleMessage: '&fYou have &e%timeToGuess%s'
fillout:
enable: true
winners: 1
#This represents the percentage of hidden letters in the fillout game. Values can range from 1 to 100. Low numbers means less letters hidden.
difficulty: 30
case-sensitive: true
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&b%selection%'
subtitleMessage: '&aFill Out'
hoverable:
enable: true
winners: 1
case-sensitive: true
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&eHover the Text'
subtitleMessage: '&fYou have &e%timeToGuess%s'
#In this game, a string of the length specified will be created with random characters
random:
enable: true
winners: 1
case-sensitive: true
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#The length of the string that will randomly generate for this game. Range format <lower>-<higher>. If you want only one length use the same number on both sides
lengthRange: 6-8
#Types available: ALPHA (letters), ALPHANUMERIC (letters and numbers), NUMERIC (numbers), SYMBOLIC (symbols),
#LOWERCASE_ALPHA (all lowercase letters), UPPERCASE_ALPHA (all uppercase letters), HEXADECIMAL (hexadecimal chars: 0123456789ABCDEF)
#CUSTOM (Uses whatever is at 'custom_characters')
character_type: ALPHANUMERIC
#Only if type is "CUSTOM" this line will be used
custom_characters: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
#__Leave the following 2 empty to disable them__
titleMessage: '&b%selection%'
subtitleMessage: '&aWrite'
math:
enable: true
winners: 1
#Don't change this
case-sensitive: false
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#Difficulty random number ranges:
#1 - (1-9)
#2 - (1-99)
#3 - (1-999)
#4 - (1-9999)
#5 - (1-99999)
difficulty: 2
#Operators to use, the four listed are the ones available, you can remove if you don't want to use all of them. Always leave at least 1
operators:
- '+'
- '-'
- 'x'
- '/'
#__Leave the following 2 empty to disable them__
titleMessage: '&b%selection%'
subtitleMessage: '&aSolve'
variable:
enable: true
winners: 1
#Don't change this
case-sensitive: false
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&bSOLVE'
subtitleMessage: '&aFor &7`&b%symbol%&7`'
#The range of the random result number
result-min: 20
result-max: 100
toGet: '✗'
#Here are some other symbols you can use to add: ✪❃✿✠❂♫♪❦♡♤♢✦☾☽✹
data:
- '✯;10'
- '♛;15'
- '❅;20'
- '♫;25'
trivia:
enable: true
winners: 1
case-sensitive: false
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds: 20
#__Leave the following 2 empty to disable them__
titleMessage: '&bTRIVIA'
subtitleMessage: '&aCheck Chat!'
This is a long file, you can find it at: ChatGames-Premium/ChatGames-Premium/messages.yml at main · nsider4/ChatGames-Premium (github.com)
YAML:
#POSSIBLE ACTIONS:
#
#[playercmd] - Executes the command as the winner
#[consolecmd] - Executes the command from console
#[playermsg] - Sends a message to the winner
#[broadcast] - Broadcasts a message to all the players in enabled worlds
#
#ADD CHANCES TO REWARDS BY DOING THE FOLLOWING:
#
#EXAMPLE:
# - '10.0%~ [consolecmd] give %player% iron_block 5'
#WILL ONLY WORK IF THE FORMAT IS THE SAME AS THE EXAMPLE, WITH THE <chance>% AT THE BEGINNING FOLLOWED BY A ~ AND A SPACE. ALWAYS FIRST IN THE COMMAND
#
#COMMANDS WITHOUT ANY % WILL BE REWARDS GIVEN 100%.
#PERMISSION CHECKING:
#
#PUT AT THE END OF COMMAND LINE.
#Example:
# - '[consolecmd] give %player% iron_block 5 has:test.permission'
#The 1 is for the FIRST winner, IF YOU ADD MORE WINNERS IN THE config.yml AND WANT DIFFERENT REWARDS ADD THEIR SPOT (2:, etc)
unscramble:
rewards:
1:
reward_1:
minimum-players: 2 #Online players-based condition, reward can only be chosen if there are 2 or more players online
chance: 50
data:
- '10.0%~ [consolecmd] give %player% diamond_block 3 has:test.permission'
- '[consolecmd] give %player% iron_block 5'
reward_2:
data:
- '[consolecmd] give %player% iron_block 2'
unreverse:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
reaction:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
guess_the_number:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
shoppinglist:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
clickable:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
fillout:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
hoverable:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
random:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
variable:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
math:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
trivia:
rewards:
1:
reward_1:
data:
- '[consolecmd] give %player% iron_block 5'
#FROM HERE ON, IT'S REWARDS FOR RACES WHICH ONLY HAVE 1 WINNER
#
#A DIFFERENT FORMAT IS USED! READ CAREFULLY
races:
rewards:
#THESE ARE THE REWARDS YOU PUT IN 'chatRaces.yml'
reward_1:
chance: 50
data:
- '60.0%~ [consolecmd] give %player% diamond_block 5'
#REMOVING 'chance' VALUE WILL MAKE THE REWARD/COMMAND HAPPEN ALWAYS
reward_2:
data:
- '[consolecmd] give %player% iron_block 5'
- '[playermsg] &aYou won!'
reward_3:
chance: 50
data:
- '[consolecmd] give %player% diamond_block 3'
This is where all words for chat games and trivias are stored! There are 100 default words for games and 50 trivia minecraft-related questions in the starting setup. You can find this file at: ChatGames-Premium/ChatGames-Premium/words.yml at main · nsider4/ChatGames-Premium (github.com)
YAML:
enable-races: true
creative-enabled: true
#Useful Links to add DATA:
#
#https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
#https://helpch.at/docs/1.8/index.html?org/bukkit/entity/EntityType.html
#https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
#https://helpch.at/docs/1.8/org/bukkit/Material.html
#IF THE IDs YOU ARE TRYING TO USE DO NOT WORK AND ARE FROM THE NEWEST ENUMS ON THE SPIGOT API TRY USING THE 1.8(LEGACY) IDS FOR THOSE ITEMS TO SEE IF IT FIXES.
hunt:
enable: true
timeToComplete_seconds: 180
#__Leave the following 2 empty to disable them__
titleMessage: '&bHUNT'
subtitleMessage: '&aKill %amount% %value%!'
#Whether to count mobs that were spawned by spawner blocks or spawn eggs.
count-spawner-mobs: true
data:
#These values have to be valid minecraft mobs IDs (see Useful Links at the top of the file)
ZOMBIE:
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
5:
rewards:
- reward_1
#Example for MythicMobs:
#SkeletalKnight: <----------- This is the internal name for the mob, the name that it has in the MythicMobs files.
# 2:
# rewards:
# - reward_2
# 4:
# rewards:
# - reward_1
CREEPER:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
SKELETON:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
SPIDER:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
PIG:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
SHEEP:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
COW:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
CHICKEN:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
SALMON:
3:
rewards:
- reward_2
5:
rewards:
- reward_1
mine:
enable: true
timeToComplete_seconds: 60
#__Leave the following 2 empty to disable them__
titleMessage: '&bMINE'
subtitleMessage: '&aMine %amount% %value%!'
data:
#These values have to be valid minecraft material IDs (see Useful Links at the top of the file)
STONE:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
DIRT:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
GRASS:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
SAND:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
NETHERRACK:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
GRAVEL:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
DIORITE:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
place:
enable: true
timeToComplete_seconds: 60
#__Leave the following 2 empty to disable them__
titleMessage: '&bPLACE'
subtitleMessage: '&aPlace %amount% %value%!'
data:
#These values have to be valid minecraft material IDs (see Useful Links at the top of the file)
COBBLESTONE:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
DIRT:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
SAND:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
NETHERRACK:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
TORCH:
16:
rewards:
- reward_1
- reward_2
32:
rewards:
- reward_2
- reward_3
fish:
enable: true
timeToComplete_seconds: 120
#__Leave the following 2 empty to disable them__
titleMessage: '&bFISH'
subtitleMessage: '&aFish %amount% %value%!'
data:
#These values have to be valid minecraft material IDs (see Useful Links at the top of the file)
COD:
1:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
SALMON:
1:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
PUFFERFISH:
1:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
BOWL:
1:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
eat:
enable: true
timeToComplete_seconds: 60
#__Leave the following 2 empty to disable them__
titleMessage: '&bEAT'
subtitleMessage: '&aEat %amount% %value%!'
data:
#These values have to be valid minecraft material IDs (see Useful Links at the top of the file)
COOKED_BEEF:
1:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
2:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
COOKED_CHICKEN:
1:
rewards:
- reward_1
- reward_2
2:
rewards:
- reward_2
- reward_3
BAKED_POTATO:
1:
rewards:
- reward_1
- reward_2
2:
rewards:
- reward_2
- reward_3
BREAD:
1:
rewards:
- reward_1
- reward_2
2:
rewards:
- reward_2
- reward_3
GOLDEN_APPLE:
1:
rewards:
- reward_1
- reward_2
craft:
enable: true
timeToComplete_seconds: 120
#__Leave the following 2 empty to disable them__
titleMessage: '&bCRAFT'
subtitleMessage: '&aCraft %amount% %value%!'
data:
#These values have to be valid minecraft material IDs (see Useful Links at the top of the file)
FURNACE:
2:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
4:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
8:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
CHEST:
2:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
4:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
8:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
CRAFTING_TABLE:
4:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
8:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
12:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
TORCH:
32:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
48:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
64:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
furnace:
enable: true
timeToComplete_seconds: 150
#__Leave the following 2 empty to disable them__
titleMessage: '&bCOOK'
subtitleMessage: '&aCook %amount% %value%!'
data:
#These values have to be valid minecraft material IDs (see Useful Links at the top of the file)
GOLD_INGOT:
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
6:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
9:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
IRON_INGOT:
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
6:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
9:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
COOKED_BEEF:
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
6:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
9:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
COOKED_COD:
3:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
6:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_1
- reward_2
9:
#THE SUM OF ALL CHANCES OF REWARDS YOU ADD CANNOT EXCEED 100%
rewards:
- reward_2
- reward_3
ChatGamesStartEvent
Java:
@EventHandler
public void onChatGameEnd(ChatGamesEndEvent e) {
if(e.getType() == GameType.FILLOUT) {
List<Player> winners = e.getWinners();
for(Player p : winners) {
p.sendMessage("You won!");
}
}
}
@EventHandler
public void onChatGameStart(ChatGamesStartEvent e) {
if(e.getType() == GameType.FILLOUT) {
Bukkit.broadcastMessage("The answer was: " + e.getAnswer() + "!");
}
}
These are optional add-ons that you can download or purchase to enhance your experience with ChatGames. These resources are made by other authors, not me.

Use the code '112136-Nsider' for a 20% discount!
By - ExoFXDZN/Bimbo

%chatgames_points% - Shows the player's points
%chatgames_top_<1-10>% - Shows the NAME ONLY of the top player
%chatgames_points_top_<1-10>% - Shows the POINTS ONLY of the top player
%chatgames_personal_best% - Shows the player's best time
%chatgames_fastest_<1-10>% - Shows the NAME ONLY of the fastest top player
%chatgames_fastest_time_<1-10>% - Shows the TIME ONLY of the fastest top player
%chatgames_toggle% - Returns true/false if player has games toggled or not
%chatgames_show_current_pos_top% - Shows the player's current position in the points top
%chatgames_show_current_pos_fastest% - Shows the player's current position in the fastest top
Example getting top 2 player name: %chatgames_top_2%
%chatgames_top_<1-10>% - Shows the NAME ONLY of the top player
%chatgames_points_top_<1-10>% - Shows the POINTS ONLY of the top player
%chatgames_personal_best% - Shows the player's best time
%chatgames_fastest_<1-10>% - Shows the NAME ONLY of the fastest top player
%chatgames_fastest_time_<1-10>% - Shows the TIME ONLY of the fastest top player
%chatgames_toggle% - Returns true/false if player has games toggled or not
%chatgames_show_current_pos_top% - Shows the player's current position in the points top
%chatgames_show_current_pos_fastest% - Shows the player's current position in the fastest top
Example getting top 2 player name: %chatgames_top_2%
Terms & Conditions
By purchasing Interactions you agree to the following Terms & Conditions:
1) You can't resell/redistribute this plugin.
2) There are no refunds.
3) You can't decompile this plugin.
4) You can't claim this plugin as your own.
5) Only use this plugin on your server/network.
6) I can change the price of this plugin anytime.
By purchasing Interactions you agree to the following Terms & Conditions:
1) You can't resell/redistribute this plugin.
2) There are no refunds.
3) You can't decompile this plugin.
4) You can't claim this plugin as your own.
5) Only use this plugin on your server/network.
6) I can change the price of this plugin anytime.

