PlaceholderChat | Conditional Chat - Infinite possibilities
4.0.1chat, 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:
"<gray>[%localtime_timezone_Europe/Rome,HH:mm%] <dark_gray>[<bold><gradient:#5e4fa2#f79459,red>SERVER OWNER</gradient><reset><dark_gray>] <reset><gradient:#5e4fa2#f79459,red>%player_name%</gradient> <dark_gray>» <color:#f79459>%message%"
ADVANCED MODE TUTORIAL:
The advanced mode let you further customize the chat formats and you can put any logical condition (PlaceholderAPI support)
Example:
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: "<gray>[%player_ping%] <dark_gray>[<gradient:#5e4fa2:#f79459:red>SUPER RICH</gradient><dark_gray>] %player% <dark_gray>» <gradient:#5e4fa2:#f79459:red>%message%</gradient>"
user:
condition: "'%vault_rank%' == 'user'"
priority: 5 # Higher values override, default 0
chat-format: "<gray>[%player_ping%] %player% <dark_gray>» <white>%message%"
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:
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
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta