(LITE) ChatGames [1.8-1.21] icon

(LITE) ChatGames [1.8-1.21] -----

Enjoy chat games with your friends using this lightweight chat games plugin!



Code (YAML):

#############################
#######    SETTINGS    ######
#############################
disabled-worlds
:
 - 'example_world'
prefix
: '&c&lC&d&lH&b&lA&a&lT &6&lG&e&lA&a&lM&c&lE&b&lS'
#Only players with 'chatgames.start.*' will be able to start even when this is false
allow_starting_from_disabled
: 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
time_minutes
: 25
#The time users will have to guess, solve, write, etc in seconds.
timeToGuess_seconds
: 20
#Turning this off will mean that chatgames.play permission will not be necessary to show the games
use-permission-toplay
: false
#Sound to send to players when a chat event starts!
playSound
: true
sound
: 'ENTITY_PLAYER_LEVELUP'
#############################
######    CHATGAMES    ######
#############################
unscramble
:
    enable
: true
 
    case-sensitive
: true
    #__Leave the following 2 empty to disable them__
    titleMessage
: '&b %word%'
    subtitleMessage
: '&aUnscramble'
unreverse
:
    enable
: true
 
    case-sensitive
: true
    #Leave the following 2 empty to disable them
    titleMessage
: '&b %word%'
    subtitleMessage
: '&aUnreverse'
reaction
:
    enable
: true
 
    case-sensitive
: true
    #__Leave the following 2 empty to disable them__
    titleMessage
: '&b %word%'
    subtitleMessage
: '&aWrite'
 
fillout
:
    enable
: true
 
    case-sensitive
: true
    #__Leave the following 2 empty to disable them__
    titleMessage
: '&b %word%'
    subtitleMessage
: '&aFill Out'
#In this game, a string of the length specified will be created with random characters
random
:
    enable
: true
 
    case-sensitive
: true
    #The length of the string that will randomly generate for this game
    length
: 6
    #Types available: ALPHA (letters), ALPHANUMERIC (letters and numbers), NUMERIC (numbers), SYMBOLIC (symbols)
    character_type
: ALPHANUMERIC
 
    #__Leave the following 2 empty to disable them__
    titleMessage
: '&b %random%'
    subtitleMessage
: '&aWrite'
math
:
    enable
: true
 
    #Don't change this
    case-sensitive
: false
    #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
:
     - '+'
      - '-'
      - '*'
      - '/'
 
    #__Leave the following 2 empty to disable them__
    titleMessage
: '&b %equation%'
    subtitleMessage
: '&aSolve'
 
variable
:
    enable
: true
 
    #Don't change this
    case-sensitive
: false
 
    #__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
 
    case-sensitive
: false
    #__Leave the following 2 empty to disable them__
    titleMessage
: '&bTRIVIA'
    subtitleMessage
: '&aCheck Chat!'
 
    data
:
      1
:
        question
: 'How many sides does a dice have? (number )'
        answer
: '6'
      2
:
        question
: 'In what planet do we live in?'
        answer
: 'Earth'
 
Code (Text):
unscramble:
    Words:
      - 'Day'
      - 'Night'
      - 'Morning'
      - 'Afternoon'
 
unreverse:
    Words:
      - 'Stone'
      - 'Redstone'
      - 'Lapislazuli'
      - 'Iron'
 
reaction:
    Words:
      - 'Sky'
      - 'Ground'
      - 'Air'
      - 'Fire'
 
fillout:
    Words:
      - 'Minecraft'
      - 'Iron'
      - 'Diamond'
      - 'Lava'
Code (YAML):
[/LEFT ]
#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
:
        reward_1
:
          data
:
           - '10.0 %~ [consolecmd] give %player% diamond_block 3 has:test.permission'
            - ' [consolecmd ] give %player% iron_block 5'
        reward_2
:
          chance
: 50
          data
:
           - ' [consolecmd ] give %player% iron_block 2'
unreverse
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
reaction
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
 
clickable
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
fillout
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
 
hoverable
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
random
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
variable
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
math
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
 
trivia
:
    rewards
:
        reward_1
:
          data
:
           - ' [consolecmd ] give %player% iron_block 5'
[LEFT ]
Code (YAML):

unknown_command
: '&8 [ %prefix%&8] &cUnknown command.'
config_reloaded
: '&8 [ %prefix%&8] &fThe configuration files has been reloaded!'
not_enough_permissions
: '&8 [ %prefix%&8] &cYou don`t have enough permissions to execute this command!'
player_only_command
: '&8 [ %prefix%&8] &cThis command can only be executed by players!'
cannot_start_from_disabled
: '&8 [ %prefix%&8] &cYou can`t start a chat game from a disabled world!'
toggle_game
: '&8 [ %prefix%&8] &fYou have toggled &a%state% &fchat events!'
game_started
: '&8 [ %prefix%&8] &aYou have started a %game% chat event in your chat!'
#You can use <center> if you wish to do so in the next 4 messages.
top
:
  header
: '&b&m ---------&e&lTOP CHAT&b&m ---------'
  format
: '&c %spot%. &f%player% &8| &e&l%points% &7points'
  player-stat-format
: '&7You`ve got &e&l %player_points% &7wins'
  footer
: '&b&m ---------------------------'
 
  no_data_message
: '&8 [ %prefix%&8] &cThere is no data yet! Win a chat game and get points!'
help_command
:
 - '&7&m -------------------------------------------------'
  - '&e&l-ChatGames-'
  - '&6'
  - '&6&lCOMMANDS:'
  - '&6'
  - '&a/chatgames (type ) &f- &3Starts the event type specified instantly.'
  - '&a/chatgames reload &f- &3Reloads the config.yml file.'
  - '&6'
  - '&2&lGAME TYPES:'
  - '&5unscramble, unreverse, reaction, random,  math, trivia'
  - '&7&m -------------------------------------------------'
 
#Use <center> in LIST messages to center the messages, the lines with this will be centered!
 
#############################
##    CHATGAME MESSAGES    ##
#############################
#YOU CAN USE "%display_name%" AS A REPLACEMENT FOR %player% IN correct_message FOR ALL GAMES.
unscramble
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dunscramble&f: `&b%word%&f`'
      - ''
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7has correctly unscrambled `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe unscramble game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
unreverse
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dunreverse&f the word: `&b%word%&f`'
      - ''
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the fastest to unreverse `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe unreverse game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
reaction
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dwrite out&f the word: `&b%word%&f`'
      - ''
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the fastest to write out `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe reaction game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
 
fillout
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dfill in&f the word: `&b%word%&f`'
      - ''
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the fastest to fill `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe fillout game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
#In this game, a string of the length specified will be created with random characters
random
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dwrite out&f: `&b%random%&f`'
      - ''
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the fastest to write `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe random game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
math
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dsolve&f: `&b%equation%&f`'
      - ''
    #Here, you can also use '%equation%' in the message if you wish to do so
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the fastest to get `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe math game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
 
variable
:
    #This is the format in which they will appear, you may change amount of times %symbol% is repeated in 'line1and2-format' but all variables in line 3 are as they are shown.
    line1and2-format
: '&c %symbol%&f + &c%symbol%&f + &c%symbol%&f = &e'
    line3-format
: '&c %symbol_1%&f + &c%symbol_2%&f + &b%toGet% &f= &e%result%'
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &dsolve for&f: `&b%symbol%&f`'
      - ''
      - '<center> %line_1%'
      - '<center> %line_2%'
      - '<center> %line_3%'
      - ''
    #Here, you can also use '%equation%' in the message if you wish to do so
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the fastest to get `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe variable game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
 
trivia
:
    gameStartAnnouncement
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&fYou have &e %timeToGuess% seconds &fto &danswer&f:'
      - '<center>&f`&b %question%&f`'
      - ''
    correct_message
:
     - ''
      - '<center>&r✓ ✯ %prefix% &r✯ ✓'
      - ''
      - '<center>&a %player% &7was the first to answer `&e%correct_answer%&7` (&c%time%s&7) and got a prize!'
      - ''
    time_expired_message
:
     - ''
      - '<center>&r✓ ✯ %prefix%&r ✯ ✓'
      - ''
      - '<center>&f %timeToGuess%s &chave passed! &fThe trivia game is now over!'
      - '<center>The correct answer was &e %correct_answer%&f!'
      - ''
 

CHAT GAME TYPES IN LOWERCASE(Ex: chatgames.start.math)

-chatgames.start.<type> - Access to start event
- chatgames.start.* - Access to start all events
- chatgames.play - Optional, (see config.yml: "use-permission-toplay"). Access to participate in games
- chatgames.top - Access to top command
- chatgames.toggle - Access to toggle command
- chatgames.help - Access to see help commands
- chatgames.reload - Access to reload config file
%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

Example getting top 2 player name: %chatgames_top_2%


If you have any ideas for new features or updates, please leave a review and I will get back to you!

A positive rating on my profile would be greatly appreciated!

SUPPORT AT: DISCORD
Resource Information
Author:
----------
Total Downloads: 24,151
First Release: Oct 18, 2022
Last Update: Jan 6, 2024
Category: ---------------
All-Time Rating:
37 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings