Enhancements
- Added ranked ban function.
Bugfix
- In some cases the kit chooser caused a null pointer.
- Sumo player damage.
- Hologram async nearbyentities error (not sure, couldnt recreate the issue)
- Potion throwing in matches.
- Spectator match leaving.
- Ranked daily limit.
Changes
guis.yml
Code (YAML):
GUIS:
PLAYER-INFORMATION:
MAIN-PAGE:
ICONS
:
RANKED-BAN:
NAME
:
"&6%player% &7is banned from playing ranked."
MATERIAL
: EMERALD
LORE
:
-
"&8&m------------------------"
- "&eBanner
:
&7%banner%"
- "&eReason
:
&7%reason%"
- "&eBanned at
:
&7%time%"
-
"&8&m------------------------"
-
"&aClick here &7to &eunban &7the player."
-
"&8&m------------------------"
language.yml
Code (YAML):
COMMAND:
PRACTICE:
ARGUMENTS:
INFO:
TARGET-NOT-FOUND
:
"<red>%target% cannot be found."
RANKED:
COMMAND-HELP
:
-
"<red><st>------------------------------------------------"
-
"<red>/%label% ranked reset <player> - Reset to default ranked."
-
"<red>/%label% ranked add <player> <number> - Add extra rankeds."
-
"<red>/%label% ranked ban <player> <reason> - Ban player from playing ranked."
-
"<red><st>------------------------------------------------"
TARGET-NOT-FOUND
:
"<red>%target% cannot be found."
CANT-BAN-PLAYER
:
"<red>You can't ban %target% from playing ranked."
BAN:
PLAYER-ALREADY-BANNED
:
"<red>%target% is already banned from playing ranked."
BANNED-FROM-RANKED
:
"<yellow>You have banned <red>%target% <yellow>from playing ranked matches. Reason: <red>%reason%"
BANNED-FROM-RANKED-PLAYER
:
"<red>You have been banned from playing ranked matches. Reason: <red>%reason%"
NO-REASON
:
"<red>NULL"
UNBAN:
PLAYER-NOT-BANNED
:
"<red>%target% is not banned from playing ranked."
UNBANNED-FROM-RANKED
:
"<yellow>You have unbanned <red>%target% <yellow>from playing ranked matches."
UNBANNED-FROM-RANKED-PLAYER
:
"<yellow>You have been unbanned from playing ranked matches."
QUEUES:
RANKED:
BANNED
:
"<red>You are banned from playing ranked matches. Reason: <yellow>%reason%"
NO-REASON
:
"NULL"