This update brings many improvements to small but necessary things, and also more customization. More will come in time. ADDED:
Made it so that vanished players won't count when considering online players needed to start a game.
Display name variable for 'correct_message' (%display_name%)
Exclusive 'time_expired_message' for each different game (previously only 1 general message)
Added permission to see/play the games (chatgames.play). 'use-permission-toplay' option added to config.yml to disable this permission, default: false.
Message to be sent to console the moment a chat game begins so that it can be logged by server admins
Removed unused or replaceable methods, and organized code in specific classes and packages for better organization and cleaner code. Will help in the future to bring updates more often.
FIXED:
Added protection system for UNSCRAMBLE game so that if the scrambled word equals the answer, it will reshuffle the word.
Fixed '%chatgames_points_top_<10>%' placeholder showing blank output. Now fully working
NEW GAME: Fill Out (fill in the missing letters, see image)
ADDED
TOGGLE SYSTEM (/chatgames toggle), and messages that are used with it.
CHANGED POINTSDATA.YML, now also contains if the game is toggled under their name, if you update to this version from the old one the same config won't work. RE-GENERATE
Made minor optimizations of code to command section.
TODO: -Rewards by chance -Optimize code to offer even better performance
NEW GAMES: Random (generates a random sequence of characters that players have to write out to win) Unreverse (the word sent in the event is backwards, first player to unreverse it wins!)
ADDED
Now better organized through other .yml files
List of active operators (+, -, *, /) in math game now customizable through config.yml
'prefix' setting in config to change from there and avoid having to change every message.
Added list-type for messages that are shown to players to add more customization in the config.yml
<center> argument, if LIST message contains this, the string will be centered
Overall look of the messages improved
FIXED
Fixed time limit task not being cancelled if two commands were executed within the same timeToGuess specified in config.yml
Fix/remake to HEX support and sound correction for 1.8
Fixed non case-sensitive answers being accepted sometimes
Fixed reload command not detecting 'enable' changes from sections in config
Fixed and enhanced the disabled-worlds option, adding messages and ADDING config option 'allow_starting_from_disabled' which makes it possible to start an event with a command from a disabled world(to affect the enabled worlds) by players with the permissions needed (read permissions and config.yml)
Minor other fixes
2 new messages to deal with the disabled worlds additions