➣ ChatGames [1.8-1.21.X] ✅ Best Entertainment For Your Chat ✅+19 GAMES icon

➣ ChatGames [1.8-1.21.X] ✅ Best Entertainment For Your Chat ✅+19 GAMES -----

Get the best chat games in your server using this super versatile chat games plugin!



ChangeLog v1.2.2
BIG UPDATE!

  • Updated language files download link. THE OLD LINK FOR OLD VERSIONS WILL BE DELETED SOON, SO UPDATE IF YOU WANT TO KEEP USING THIS FUNCTION.\
  • Added %chatgames_toggle% PAPI placeholder, will return true/false if player has games toggled or not.
ADDED DEVELOPER EVENT API

Two events are now in place for developers to use them. The events are ChatGamesStartEvent and ChatGamesEndEvent. More events or API tools may be made later to improve this.

Here are examples for both:

Code (Java):
@EventHandler
    public void onChatGameEnd (ChatGamesEndEvent e ) {
        if (e. getType ( ) == GameType. REACTION ) {
            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 is: " + e. getAnswer ( ) + "!" ) ;
        }
    }
----------, Mar 28, 2023
Resource Information
Author:
----------
Total Downloads: 524
First Release: Mar 3, 2023
Last Update: Jan 6, 2025
Category: ---------------
All-Time Rating:
19 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings