[+] Fix Hex Color not translated.
[+] Add support for console sender. (Console can use /gc now)
config:
Code (YAML):
#GlobalChatting Configuration.
#mute the global chat so no one can talk. (only the player that has the permission can talk)
#Permission to bypass mute: globalchatting.bypass-muted
is-muted
: false
#cooldown the player when they first time played on the server.
#note that these settings will not work if your not install LuckPerms BungeeCord.
#you may install LuckPerms on your BungeeCord first.
cooldown-on-first-login
: true
#cooldown time for player when they first time played on the server.
first-login-cooldown
: 300
console
:
#this settings will set the {player} placeholder.
#placeholder: {player}, {message}, {server}, {time}, {date}.
name
:
"CONSOLE"
#this settings will set the {server} placeholder.
#placeholder: {player}, {message}, {server}, {time}, {date}.
server
:
"Proxy"
#this is the format of the message that will be sent to the global chat.
#placeholder: {player}, {message}, {server}, {time}, {date}.
format
:
"&8[&7{date}, {time}&8] &8[&aGlobal&8] &8[&e{server}&8] &r{player}&7: &r{message}"
globalchat:
default
:
#permission to use this channel.
#if permission is empty, everyone can use this channel.
permission
:
"globalchatting.default"
#this is the format of the message that will be sent to the global chat.
#placeholder: {player}, {message}, {server}, {time}, {date}.
#if format is empty, it will use the default format of plugin has.
format
:
"&8[&7{date}, {time}&8] &8[&aGlobal&8] &8[&e{server}&8] &r{player}&7: &r{message}"
#this settings make you whether you use color or not.
#if you leave this empty or not set this, it will return false.
useColor
: false
#this settings make you whether you use hex color or not (if you enable this, useColor will turn to true).
#if you leave this empty or not set this, it will return false.
useHexColor
: false
#this setting will determine which one will be selected first.
#the higher number will be chosen first.
#if you leave this empty or not set this, it will return 0.
priority
: 1
#this setting will cooldown the message that you send to the global chat.
#if you want to disable this, set this to 0.
cooldown
: 60
staff:
permission
:
"globalchatting.staff"
format
:
"&8[&7{date}, {time}&8] &8[&aGlobal&8] &8[&e{server}&8] &8[&bStaff&8] &r{player}&7: &r{message}"
useColor
: true
useHexColor
: true
priority
: 5
cooldown
: 0