PlaceholderChat | Conditional Chat - Infinite possibilities [PlaceholderAPI full support] icon

PlaceholderChat | Conditional Chat - Infinite possibilities [PlaceholderAPI full support] -----

chat, placeholderapi, spigot, placeholderapi



Official discord: https://discord.gg/wUyZjfaMYr

PlaceholderChat

This plugin allows you to create custom chat formats.
It's like EssentialsXChat but with PlaceholderAPI:

The config key "user", "admin" is the permission group name

DEPENDENCIES: PlaceholderAPI, Vault, any permission plugin that hooks into Vault

Commands & permissions:
  • /placeholderchat (Shows the credits)
  • /placeholderchat help (placeholderchat.help) (admin command)
  • /placeholderchat reload (placeholderchat.reload) (admin command)
  • placeholderchat.colorchat (permission to use colors in chat, hex included)
Example with gradients and placeholders:
Code (YAML):
"&7[%localtime_timezone_Europe/Rome,HH:mm%] &8[&l{&#5e4fa2,&#f79459,&c}SERVER OWNER&r&8] &r{&c,&#f79459,&#5e4fa2}%player% &8» &#f79459%message%"

upload_2022-10-20_19-46-2.png

Nickname hover example:
Code (Text):
user-hover-text: |-
    {&5,&6}Balance: &7%vault_eco_balance%€
    {&5,&6}Time: &7%localtime_timezone_Europe/Rome,HH:mm%
 
    {&5,&6}Rank: &7%vault_rank_capital%
upload_2022-10-20_19-47-40.png

ADVANCED MODE TUTORIAL:
The advanced mode let you further customize the chat formats and you can put any logical condition (PlaceholderAPI support)

Example:

Code (YAML):
advanced:
    rich-user
:
        condition
: "'%vault_rank%' == 'user' && %vault_eco_balance% > 200"
        # This is the condition for receiving the chat message
        recipent-condition
: "%vault_eco_balance% > 200"
        priority
: 10 # Higher values override, default 0
        chat-format
: "&7[%player_ping%] &8[{&#5e4fa2,&#f79459,&c}SUPER RICH&8] %prefix%%player%%suffix% &8» {&#5e4fa2,&#f79459,&c}%message%"
        # Default empty string
        user-hover-text
: |-
            &cName
: &7%player_name%
            &r
            &cRanks
: &7%vault_ranks%
            &r
            {& #5e4fa2,&#f79459,&c}SUPER RICH%
    user
:
        condition
: "'%vault_rank%' == 'user'"
        priority
: 5 # Higher values override, default 0
        chat-format
: "&7[%player_ping%] %prefix%%player%%suffix% &8» &f%message%"
        # Default empty string
        user-hover-text
: |-
            &cName
: &7%player_name%
            &7Coordinates
:
            &c  • X
: &7%player_x%
            &c  • Y
: &7%player_y%
            &c  • Z
: &7%player_z%
            &r
            &cRanks
: &7%vault_ranks%
In this configuration there's 2 groups, "rich-user" and "user", the first has the logical expression "If the primary group of the player is 'user' and the user has more than 200 money", if this condition return true and it has a priority value greater than the previous found then this will be the chat format.

Screenshots:
upload_2022-10-21_21-0-14.png


WARNING:
MAKE SURE YOU HAVE ALL THE PlaceholderAPI ADDON INSTALLED, IF NOT, INSTALL THEM WITH "/papi ecloud download [...]" THEN EXECUTE "/papi reload" and "/placeholderchat reload"

IF THE PLUGIN DOES NOT WORK CHECK THE CONSOLE!!!
Maybe you don't have the papi packages installed
Resource Information
Author:
----------
Total Downloads: 735
First Release: Apr 6, 2021
Last Update: Oct 29, 2022
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings