InteractiveChat | Show Items / Inventory in Chat | Custom Chat Keywords | Bungee & Velocity Support icon

InteractiveChat | Show Items / Inventory in Chat | Custom Chat Keywords | Bungee & Velocity Support -----

A plugin to work on top of your chat formatting plugins through modifying packets!



API and Events (1.5.0)
- Added an option in the config to limit the number of placeholders players can use in one message
- Added Events and API


Config Changes:
Added-
Code (YAML):
Messages :
  #The message to send when a message is cancelled due to the placeholder limit
  LimitReached
: "&cPlease do now use excessive amount of placeholders in one message!"

Settings
:
  #Set the cooldown that is shared between all placeholders in the plugin (in seconds)
  #Placeholders will not be parsed when a player is in cooldown
  MaxPlaceholders
: 3
Here is an example of getting whether a certain placeholder is under cooldown for a specific player
Code (Java):
public void simpleMethod ( Player player ) {
    if ( InteractiveChatAPI. isPlaceholderOnCooldown ( player, "[item]" ) ) {
        player. sendMessage ( "You are on cooldown!" ) ;
    } else {
        player. sendMessage ( "You are not on cooldown!" ) ;
    }
}
Here is a simple EventHandler to change the title message of the mention ping
Code (Java):
@EventHandler
public void onMention ( PlayerMentionPlayerEvent event ) {
    String sender = event. getSender ( ) . getName ( ) ;
    String newTitle = ChatColor. RED + sender + " PINGED YOU" ;
    event. setTitle ( newTitle ) ;
}
----------, Mar 20, 2020
Resource Information
Author:
----------
Total Downloads: 90,208
First Release: Mar 9, 2020
Last Update: Feb 27, 2025
Category: ---------------
All-Time Rating:
163 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings