Command: /clearchat
Description: Clear server chat
Permission: puerkaschat.clearchat
Command: /gt
Description: Switch between talking and receiving messages with the whole server, or only those of the same format
Permission: none
Aliases: [gtoggle, globaltoggle, globalt]
Command: /pmtoggle
Description: Toggle whether or not you want to receive private messages
Permission: none
Command: /ignore <add/remove/list>
Description: Ignore a player chat and private messages
Permission: none
In order for a player/group to use a specific chat format, you must grant them the "puerkaschat.format.<format identifier>" permission.
Code (Text):
puerkaschat.format.default:
description: default chat format
puerkaschat.chatfilter.bypass:
description: enable player bypass badwords filter
puerkaschat.clearchat:
description: clear server chat
puerkaschat.socialspy:
description: Spy players conversations and commands
puerkaschat.chat.bypass:
description: enable player to chat when chat is disabled
To create a custom chat format, copy the default format and paste it below!
!Each section of the formats is compatible with placeholders!
Code (Text):
[/B][/CENTER][/B][/CENTER][/B][/CENTER][/B][/CENTER][/B][/CENTER][/B][/CENTER][/B][/CENTER]
[B]
[CENTER][B]
[CENTER][B]
[CENTER][B]
[CENTER][B]
[CENTER][B]
[CENTER][B]
[CENTER]It returns the value of the confi.yml of the "Configurations.variables" section
%puerkaschat_pm_enabled%
%puerkaschat_global_enabled%
%puerkaschat_slow_chat_enabled%
%puerkaschat_muted_chat_enabled%
IMPORTANT
Code (Text):
Remember that the "priority" module is based on knowing what format it will return to the player. If the player has op or all permissions, it will return the format with the lowest priority "1", and the player with no permissions will return the format with the highest priority!
[SUGGEST_COMMAND]/msg %player_name% Hi
[RUN_COMMAND]/msg %player_name% Hello!
[OPEN_URL]https://www.testwebsite.com
[COPY_TO_CLIPBOARD]Example copy of a text!
How to use Hex Colors?
Remember that to use HEX colors, your version must be greater than version 1.16
vip:
priority: 3
blacklist-worlds:
- world1
channel: '&a&lVIP'
prefix: '&7[&aVip&7] '
name_color: '&a'
name: '%player_name%'
before_and_after_name: '&c✔'
suffix: '&8: '
chat_color: '&e'
before_and_after_name_tooltip:
- '&7Example -baf- tooltip'
- '&7You can put an symbol'
- '&7for example!'
- '&7'
- '&aYou can change it on config!'
channel_tooltip:
- '&7This is the vip channel!'
- '&7with a tooltip!'
- '&7'
- '&aYou can change it on config!'
prefix_tooltip:
- '&3Example prefix tooltip'
- '&7'
- '&aYou can change it on config!'
name_tooltip:
- '&r'
- '&9Name: &7%player_name%'
- '&9Rank: %vault_group%'
- '&r'
- '&aYou can change it on config!'
suffix_tooltip:
- '&9Name: &7%player_name%'
- '&9Rank: %vault_group%'
channel_click_command: /gt
prefix_click_command: /rank
name_click_command: '/msg %player_name% '
suffix_click_command: '/example suffix command'
before_and_after_name_command: '/example baf command'
Code (Text):
Messages:
message:
pmdisabled: '&7[&aPuerkasChat&7] &cThis player has private messages disabled!'
ussage: '&7[&aPuerkasChat&7] &cUsage! &7/{command} <player> <message>'
msg_youself: '&7[&aPuerkasChat&7] &cYou can''t send a message to yourself.'
player_not_online: '&c{player} is not online.'
pm_chat:
enabled: '&7[&aPuerkasChat&7] &aNow you can receive private messages!'
disabled: '&7[&aPuerkasChat&7] &aNow you cant receive private messages!'
chat:
chat_cleared: '&7[&aPuerkasChat&7] &aThe server chat was just deleted!'
global_chat_disabled: '&7[&aPuerkasChat&7] &aGlobal chat was disabled'
global_chat_disabled_broadcast: '&7[&aPuerkasChat&7] &aGlobal chat was disabled'
global_chat_enabled: '&7[&aPuerkasChat&7] &aGlobal chat was enabled'
global_chat_enabled_broadcast: '&7[&aPuerkasChat&7] &aGlobal chat was enabled'
alredy_disabled: '&7[&aPuerkasChat&7] &cThe chat is already disabled.'
alredy_enabled: '&7[&aPuerkasChat&7] &cThe chat is already enabled.'
not_chat: '&cYou can''t talk because the chat is disabled'
social_spy:
enabled: '&7[&aPuerkasChat&7] &aYou are enabled Social Spy!'
disabled: '&7[&aPuerkasChat&7] &cYou are disabled Social Spy!'
command_ussage: '&7[&aPC&7] [&6SocialSpy&7] &a{player} &cused command &b{command}&a!'
private_message: '&7[&aPC&7] [&6SocialSpy&7] &a{sender} &7-> {target}&8: &7{message}'
ignore:
help:
- '&b------- &3&lIgnore Help &b-------'
- '&7'
- <SUGGEST_COMMAND=[/ignore add ]|SHOW_TEXT=[&aClick to preapare &6/ignore add
<name>]>&a/ignore add <name> &7Add player to your ignore list</text>
- <SUGGEST_COMMAND=[/ignore remove ]|SHOW_TEXT=[&aClick to preapare &6/ignore
remove <name>]>&a/ignore remove <name> &7Stop ignoring a player</text>
- <RUN_COMMAND=[/ignore list]|SHOW_TEXT=[&aClick to execute &6/ignore list]>&a/ignore
list &7List the players that you currently ignore</text>
add:
correct_ussage: '&cUssage: /ignore add <player name>'
already_ignore: '&cYou already ignore {name}!'
player_ignored: '&aYou ignored {name}!'
remove:
correct_ussage: '&cUssage: /ignore remove <player name>'
dont_ignore: '&cYou dont ignore {name}, so you cant remove them from your ignore
list!'
player_ignored: '&aYou removed {name} from your ignore list! You will now see
messages sent by them!'
player_removed: '&aYou removed {name} from your ignore list! You will now see
messages sent by them!'
command_only_for_players: '&7[&aPuerkasChat&7] &cThis command can only be used by
one player.'
no_permission: '&7[&aPuerkasChat&7] &cYou dont have permissions.'
configuration:
configuration_reload: '&7[&aPuerkasChat&7] &aConfiguration reloaded! If you want
the formats to be reloaded you have to put &e/puerkaschat reload formats'
format_reload: '&7[&aPuerkasChat&7] &aAll formats have just been reloaded!'
global_chat:
enabled: '&7[&aPuerkasChat&7] &aNow you will write and receive messages in global
mode!'
disabled: '&7[&aPuerkasChat&7] &aNow you will write and receive the messages of
your channel!'
reply:
ussage: '&7[&aPuerkasChat&7] &cUsage! &7/r <message>'
no_recipient: '&7[&aPuerkasChat&7] &cYou don''t have a recipient to reply.'