Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- version: 3.5
- #=====================#
- # SUPERBANS - HELP #
- #=====================#
- command /sb:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.help":
- send "&8&m----------------&r &c&lSuperBans &8&m----------------"
- send " &e? /punish <player> &b? &7Opens a GUI to punish a player"
- send " &e? /check <player> &b? &7Checks punishment status"
- send " &e? /bans [page] &b? &7Opens a GUI to view all banned players"
- send " &e? /(s)freeze <player> &b? &7Freeze someone"
- send " &e? /(s)mute <player> [r:reason] &b? &7Mute forever"
- send " &e? /(s)tempmute <player> [r:reason] <timespan> &b? &7Mute for a given time"
- send " &e? /(s)warn <player> &b? &7Warn a specified player"
- send " &e? /(s)kick <player> [r:reason] &b? &7Kick a specified player"
- send " &e? /(s)ban <player> [r:reason] &b? &7Ban forever"
- send " &e? /(s)tempban <player> [r:reason] <timespan> &b? &7Ban for a given time"
- send " &e? /(s)unfreeze <player> &b? &7Unfreeze frozen players"
- send " &e? /(s)unmute <player> &b? &7Unmute muted players"
- send " &e? /(s)unban <player> &b? &7Unban banned players"
- send " &e? /notify &b? &7Toggle your punishment notifications"
- send " &e? /sbreload &b? &7Reload the skript"
- send "&8&m--------------------------------------------"
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # PUNISH #
- #=====================#
- command /punish [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.punish":
- if arg 1 is not set:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Who-To-Punish}%" to player
- else:
- set {_player} to arg 1
- open chest with 6 rows named "&0Punish GUI for %arg 1%" to player
- set slot 0 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 1 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 2 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 3 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 4 of player's current inventory to {_player}'s skull named "&7Player &8≫ &e%arg 1%" with all removed NBT
- set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 6 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 9 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 10 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 11 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 12 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 13 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 14 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 15 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 16 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 17 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 18 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 19 of player's current inventory to book and quill named "&eMute" with all removed NBT
- set slot 20 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 21 of player's current inventory to book and quill named "&eWarn" with all removed NBT
- set slot 22 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 23 of player's current inventory to book and quill named "&eKick" with all removed NBT
- set slot 24 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 25 of player's current inventory to book and quill named "&eBan" with all removed NBT
- set slot 26 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 27 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- set slot 28 of player's current inventory to gray dye named "&cMuted" with all removed NBT
- else:
- set slot 28 of player's current inventory to lime dye named "&aNot muted" with all removed NBT
- set slot 29 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- if {sban.warns.%{uuid::%arg 1%}%} is not set:
- set slot 30 of player's current inventory to lime dye named "&aNot warned" with all removed NBT
- else:
- if {sban.warns.%{uuid::%arg 1%}%} is 1:
- set slot 30 of player's current inventory to lime dye named "&aNot warned" with all removed NBT
- else:
- set slot 30 of player's current inventory to gray dye named "&cWarned &e%{sban.warns.%{uuid::%arg 1%}%}% &ctimes" with all removed NBT
- set slot 31 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 32 of player's current inventory to lime dye named "&aNot Kicked" with all removed NBT
- set slot 33 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- set slot 34 of player's current inventory to gray dye named "&cBanned" with all removed NBT
- else:
- set slot 34 of player's current inventory to lime dye named "&aNot banned" with all removed NBT
- set slot 35 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 36 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 37 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 38 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 39 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 40 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 41 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 42 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 43 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 44 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 45 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 46 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 48 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with all removed NBT
- set slot 50 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
- set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 52 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 53 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- on inventory click:
- if inventory name of player's current inventory contains "&0Punish GUI for":
- cancel event
- set {_playername} to "%inventory name of player's current inventory%"
- replace all "&0Punish GUI for " in {_playername} with ""
- if clicked slot is 28:
- if clicked item is gray dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/unmute %{_playername}%"
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/sunmute %{_playername}%"
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked item is lime dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/mute %{_playername}%"
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/smute %{_playername}%"
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked slot is 30:
- if clicked item is gray dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/warn %{_playername}%"
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/swarn %{_playername}%"
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked item is lime dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/warn %{_playername}%"
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/swarn %{_playername}%"
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked slot is 32:
- if clicked item is lime dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/kick %{_playername}%"
- set slot 32 of player's current inventory to gray dye named "&cKicked" with all removed NBT
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/skick %{_playername}%"
- set slot 32 of player's current inventory to gray dye named "&cKicked" with all removed NBT
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked slot is 34:
- if clicked item is gray dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/unban %{_playername}%"
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/sunban %{_playername}%"
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked item is lime dye:
- if {OPTIONS::GUI::Silent} is "false":
- make player execute command "/ban %{_playername}%"
- else if {OPTIONS::GUI::Silent} is "true":
- make player execute command "/sban %{_playername}%"
- wait 1 tick
- make player execute command "/punish %{_playername}%"
- if clicked slot is 49:
- make player execute command "/punish %{_playername}%"
- if clicked slot is 50:
- close player's inventory
- #=====================#
- # CHECK #
- #=====================#
- command /check [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.check":
- if arg 1 is set:
- if {sban.firstjoin.%{uuid::%arg 1%}%} is not set:
- set {sban.firstjoin.%{uuid::%arg 1%}%} to "no"
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Join}%" to player
- stop
- if {sban.firstjoin.%{uuid::%arg 1%}%} is "no":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Join}%" to player
- stop
- else:
- send " &8&m-------------------------------"
- send " &7You are checking &8≫ &e%arg 1%"
- send ""
- send " &7Has joined &8≫ &c%{sban.firstjoin.%{uuid::%arg 1%}%}%"
- send " &7Banned &8≫ &c%{sban.banned.%{uuid::%arg 1%}%}%"
- send " &7Tempbanned &8≫ &c%{sban.tempbanned.%{uuid::%arg 1%}%}%"
- send " &7Banned by &8≫ &c%{sban.bannedby.%{uuid::%arg 1%}%}%"
- send " &7Ban reason &8≫ &c%{sban.banreason.%{uuid::%arg 1%}%}%"
- send " &7Banned on &8≫ &c%{sban.bannedon.%{uuid::%arg 1%}%}%"
- send " &7Autounban &8≫ &c%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send " &7Muted &8≫ &c%{sban.muted.%{uuid::%arg 1%}%}%"
- send " &7Tempmuted &8≫ &c%{sban.tempmuted.%{uuid::%arg 1%}%}%"
- send " &7Muted by &8≫ &c%{sban.mutedby.%{uuid::%arg 1%}%}%"
- send " &7Mute reason &8≫ &c%{sban.mutereason.%{uuid::%arg 1%}%}%"
- send " &7Muted on &8≫ &c%{sban.mutedon.%{uuid::%arg 1%}%}%"
- send " &7Autounmute &8≫ &c%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send " &7Has said &8≫ &c%{sweared::%{uuid::%arg 1%}%}% &7bad word(s)."
- send " &7Warns &8≫ &c%{sban.warns.%{uuid::%arg 1%}%}%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send " &7UUID &8≫ &c%{uuid::%arg 1%}%"
- send " &7IP &8≫ &c%IP address of arg 1%"
- send " &8&m-------------------------------"
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/check <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # BANS #
- #=====================#
- command /bans [<integer=1>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.bans":
- set {sizeofbans::*} to size of {bans::*}
- set {_page::max} to arg 1 * 45
- set {_page::min} to (arg 1 - 1) * 45
- set {_page::posts} to 0
- set {_page::count} to 0
- set {_page::number} to arg 1
- set {_pages} to size of {bans::*} / 45
- set {_pages} to "%{_pages}%"
- set {_pages::*} to {_pages} split at "."
- set {_page::total} to {_pages::1}
- if {_pages::2} is set:
- set {_page::total} to {_page::total} parsed as an integer
- add 1 to {_page::total}
- if inventory name of player's current inventory does not contain "&0List of banned players":
- open chest with 6 rows named "&0List of banned players %{_page::number}%/%{_page::total}%" to player
- else:
- loop 54 times:
- set slot (loop-number - 1) of player's current inventory to air
- set inventory name of player's current inventory to "&0List of banned players %{_page::number}%/%{_page::total}%"
- if {_page::number} is less than 2:
- set slot 45 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 46 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 48 of player's current inventory to book and quill named "&eBasic information" with lore "||&7Banned users &8≫ &c%{sizeofbans::*}%||||&7Page &8≫ &c%{_page::number}%&7/&c%{_page::total}%" with all removed NBT
- set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with lore "||&7Click here to refresh the gui without||&7loosing the page you are viewing" with all removed NBT
- set slot 50 of player's current inventory to name tag named "&eSearch players" with lore "||&7Click here to &csearch &7banned players.||&7Type player's name in chat to proceed" with all removed NBT
- set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 52 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
- set slot 53 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- else:
- set slot 45 of player's current inventory to arrow named "&ePrevious Page" with all removed NBT
- set slot 46 of player's current inventory to book named "&eMain Page" with all removed NBT
- set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 48 of player's current inventory to book and quill named "&eBasic information" with lore "||&7Banned users &8≫ &c%{sizeofbans::*}%||||&7Page &8≫ &c%{_page::number}%&7/&c%{_page::total}%" with all removed NBT
- set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with lore "||&7Click here to refresh the gui without||&7loosing the page you are viewing" with all removed NBT
- set slot 50 of player's current inventory to name tag named "&eSearch players" with lore "||&7Click here to &csearch &7banned players.||&7Type player's name in chat to proceed" with all removed NBT
- set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 52 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
- set slot 53 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- loop {bans::*}:
- if {_page::posts} is less than {_page::max}:
- if {_page::count} is greater than or equal to {_page::min}:
- if {sban.warns.%{uuid::%loop-value%}%} is not set:
- set {sban.warns.%{uuid::%loop-value%}%} to 1
- if {sban.tempbanned.%{uuid::%loop-value%}%} is not set:
- set {sban.tempbanned.%{uuid::%loop-value%}%} to "no"
- if {sban.firstjoin.%{uuid::%loop-value%}%} is "yes":
- set slot {_page::posts} of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oClick here to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%||||&7Do &c/check %loop-value% &7to view||&7more info about this player" with all removed NBT
- else:
- set {sban.firstjoin.%{uuid::%loop-value%}%} to "no"
- set slot {_page::posts} of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oClick here to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%" with all removed NBT
- add 1 to {_page::posts}
- add 1 to {_page::count}
- if {_page::number} is less than {_page::total}:
- set slot 45 of player's current inventory to arrow named "&ePrevious Page" with all removed NBT
- set slot 46 of player's current inventory to book named "&eMain Page" with all removed NBT
- set slot 47 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 48 of player's current inventory to book and quill named "&eBasic information" with lore "||&7Banned users &8≫ &c%{sizeofbans::*}%||||&7Page &8≫ &c%{_page::number}%&7/&c%{_page::total}%" with all removed NBT
- set slot 49 of player's current inventory to stone button named "&eRefresh GUI" with lore "||&7Click here to refresh the gui without||&7loosing the page you are viewing" with all removed NBT
- set slot 50 of player's current inventory to name tag named "&eSearch players" with lore "||&7Click here to &csearch &7banned players.||&7Type player's name in chat to proceed" with all removed NBT
- set slot 51 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 52 of player's current inventory to barrier named "&eClose GUI" with all removed NBT
- set slot 53 of player's current inventory to arrow named "&eNext Page" with all removed NBT
- if {_page::count} is 0:
- open chest with 1 row named "&0There are %{_page::count}% banned players" to player
- set slot 0 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 1 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 2 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 3 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 4 of player's current inventory to book named "&eThere aren't banned players" with all removed NBT
- set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 6 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /bansconfirm [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.bansconfirm":
- if arg 1 is not set:
- stop
- else:
- if {bans::*} is not set:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Bans}%" to player
- else:
- loop {bans::*}:
- if loop-value = arg 1:
- if {sban.warns.%{uuid::%loop-value%}%} is not set:
- set {sban.warns.%{uuid::%loop-value%}%} to 1
- open chest with 1 row named "&0You must confirm to unban him" to player
- set slot 0 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 1 of player's current inventory to book named "&eMain Page" with lore "||&7Click here to go to bans page" with all removed NBT
- set slot 2 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 3 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- if {sban.tempbanned.%{uuid::%loop-value%}%} is not set:
- set {sban.tempbanned.%{uuid::%loop-value%}%} to "no"
- if {sban.firstjoin.%{uuid::%loop-value%}%} is "yes":
- set slot 4 of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oAre you shure to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%||||&7Do &c/check %loop-value% &7to view||&7more info about this player" with all removed NBT
- else:
- set {sban.firstjoin.%{uuid::%loop-value%}%} to "no"
- set slot 4 of player's current inventory to loop-value's skull named "&7Player &8≫ &e%loop-value%" with lore "||&7&oClick here to unban this player||||&7Ban ID &8≫ &7(&b##%loop-index%&7)||&7Has joined &8≫ &a%{sban.firstjoin.%{uuid::%loop-value%}%}%||||&7Tempbanned &8≫ &a%{sban.tempbanned.%{uuid::%loop-value%}%}%||&7Banned by &8≫ &a%{sban.bannedby.%{uuid::%loop-value%}%}%||&7IP Banned &8≫ &a%{sban.banip.%{uuid::%loop-value%}%}%||&7Banned on &8≫ &a%{sban.bannedon.%{uuid::%loop-value%}%}%||&7Autounban &8≫ &a%{sban.banexpire.%{uuid::%loop-value%}%}%||&7Warns &8≫ &c%{sban.warns.%{uuid::%loop-value%}%} - 1%&7/&c%{OPTIONS::PUNISHMENTS::Max-Warns}%}" with all removed NBT
- set slot 5 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 6 of player's current inventory to light green stained glass pane named "&7Unban &8≫ &a%loop-value%" with all removed NBT
- set slot 7 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- set slot 8 of player's current inventory to black stained glass pane named "&7" with all removed NBT
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- on chat:
- if {bans.chat::%{uuid::%player%}%} is true:
- cancel event
- set {_search} to "%message%" parsed as offline player
- if {_search} is "cancel":
- delete {bans.chat::%{uuid::%player%}%}
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Search-Anulated}%" to player
- else:
- if {sban.banned.%{uuid::%{_search}%}%} is not set:
- show an action bar from "%colored {MESSAGES::Prefix}%%{superbans::messages::not_banned}%" to player
- delete {bans.chat::%{uuid::%player%}%}
- else:
- if {sban.banned.%{uuid::%{_search}%}%} is true:
- delete {bans.chat::%{uuid::%player%}%}
- execute player command "/bansconfirm %{_search}%"
- else:
- delete {bans.chat::%{uuid::%player%}%}
- show an action bar from "%colored {MESSAGES::Prefix}%%{superbans::messages::not_banned}%" to player
- if {sban.muted.%{uuid::%player%}%} is true:
- if {sban.muteexpire.%{uuid::%player%}%} is not "Never":
- set {_elapsedtime} to difference between now and {sban.muteexpire.%{uuid::%player%}%}
- if {_elapsedtime} is greater than {sban.tempmutelenght.%{uuid::%player%}%}:
- execute console command "/sunmute %player%"
- #=====================#
- # ANTISWEAR #
- #=====================#
- if {OPTIONS::ANTISWEAR::Enabled} is "true":
- player doesn't have permission "sb.antiswear.bypass":
- set {_msg} to message
- replace all {OPTIONS::ANTISWEAR::WORDS::*} in message with "%colored {OPTIONS::ANTISWEAR::Word-Replacer}%"
- add 1 to {sweared::%{uuid::%player%}%}
- loop {OPTIONS::ANTISWEAR::WORDS::*}:
- if {_msg} contains "%loop-value%":
- add "%loop-value%" to {word::%{uuid::%player%}%::*}
- if {word::%{uuid::%player%}%::*} is set:
- loop all players:
- if player has permission "sb.antiswear.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::ANTISWEAR::SENT-TO-ADMINS::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%loop-player%}%::*}%"
- replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::ANTISWEAR::Actionbar}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%loop-player%}%::*}%"
- replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::ANTISWEAR::SENT-TO-PLAYER::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%player%}%::*}%"
- replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
- send "%colored {_msg}%" to player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::ANTISWEAR::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- replace all "{_WORD}" in {_msg} with "%{word::%{uuid::%player%}%::*}%"
- replace all "{_TIMES}" in {_msg} with "%{sweared::%{uuid::%player%}%}%"
- send "%colored {_msg}%" to console
- delete {word::%{uuid::%player%}%::*}
- on inventory click:
- if inventory name of player's current inventory contains "&0There are":
- cancel event
- if inventory name of player's current inventory contains "&0List of banned players":
- cancel event
- set {_page} to "%inventory name of player's current inventory%"
- replace all "&0List of banned players " in {_page} with ""
- set {_pages::*} to {_page} split at "/"
- if clicked slot is less than 45:
- if clicked item is player head:
- if name of item contains "&7Player":
- set {_playername} to "%clicked item's name%"
- replace all "&7Player &8≫ &e" in {_playername} with ""
- execute player command "/bansconfirm %{_playername}%"
- if clicked slot is 45:
- if clicked item's name is "&ePrevious Page":
- if {_pages::1} parsed as an integer is greater than 1:
- execute player command "/bans %{_pages::1} parsed as an integer - 1%"
- else:
- close player's inventory
- if clicked slot is 46:
- execute player command "/bans"
- if clicked slot is 49:
- execute player command "/bans %{_pages::1} parsed as an integer%"
- if clicked slot is 50:
- if clicked item's name is "&eSearch players":
- close player's inventory
- set {bans.chat::%{uuid::%player%}%} to true
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Search-Player}%" to player
- if clicked slot is 52:
- close player's inventory
- if clicked slot is 53:
- if clicked item's name is "&eNext Page":
- execute player command "/bans %{_pages::1} parsed as an integer + 1%"
- if inventory name of player's current inventory contains "&0You must confirm to unban him":
- cancel event
- if clicked slot is 1:
- execute player command "/bans"
- if clicked slot is 6:
- set {_playername} to "%clicked item's name%"
- replace all "&7Unban &8≫ &a" in {_playername} with ""
- if "%{OPTIONS::GUI::Unban-Messages}%" is "true":
- execute player command "/unban %{_playername}%"
- else if "%{OPTIONS::GUI::Unban-Messages}%" is "false":
- execute player command "/sunban %{_playername}%"
- if "%{OPTIONS::GUI::Keep-Open}%" is "false":
- close player's inventory
- else if "%{OPTIONS::GUI::Keep-Open}%" is "true":
- execute player command "/bans"
- #=====================#
- # FREEZE #
- #=====================#
- command /freeze [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.freeze":
- if arg 1 is set:
- if arg 1 is online:
- if {sban.frozen.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Already}%" to player
- else:
- if arg 1 has permission "sb.freeze.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Cannot}%" to player
- else:
- set {sban.frozen.%{uuid::%arg 1%}%} to true
- set {sban.frozenby.%{uuid::%arg 1%}%} to "%sender%"
- set {sban.lastloc.%{uuid::%arg 1%}%} to player's location
- add arg 1 to {frozen::*}
- loop all players:
- if loop-player has permission "sb.freeze.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)freeze <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /sfreeze [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentfreeze":
- if arg 1 is set:
- if arg 1 is online:
- if {sban.frozen.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Already}%" to player
- else:
- if arg 1 has permission "sb.freeze.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::Cannot}%" to player
- else:
- set {sban.frozen.%{uuid::%arg 1%}%} to true
- set {sban.frozenby.%{uuid::%arg 1%}%} to "%sender%"
- set {sban.lastloc.%{uuid::%arg 1%}%} to player's location
- add arg 1 to {frozen::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.frozenby.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)freeze <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- on any movement:
- if {sban.frozen.%{uuid::%player%}%} is true:
- set player's walk speed to 0
- set {sban.newloc.%{uuid::%player%}%} to player's location
- if distance between {sban.lastloc.%{uuid::%player%}%} and {sban.newloc.%{uuid::%player%}%} is more than 0.1:
- teleport player to {sban.lastloc.%{uuid::%player%}%}
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Move}%" to player
- stop
- on command:
- if {sban.frozen.%{uuid::%player%}%} is true:
- set {_cmd} to command
- if "%{OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*}%" contains {_cmd}:
- cancel event
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Command}%"
- #=====================#
- # MUTE #
- #=====================#
- command /mute [<offlineplayer>] [<text>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.mute":
- if arg 1 is set:
- if arg 1 is online:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
- else:
- if arg 1 has permission "sb.mute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
- else:
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
- set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- loop all players:
- if loop-player has permission "sb.mute.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
- else:
- if arg 1 has permission "sb.mute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
- else:
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Mute}%"
- set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- loop all players:
- if loop-player has permission "sb.mute.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)mute <player> [r:reason]" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /smute [<offlineplayer>] [<text>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentmute":
- if arg 1 is set:
- if arg 1 is online:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
- else:
- if arg 1 has permission "sb.mute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
- else:
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
- set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-1}%" to player
- else:
- if arg 1 has permission "sb.mute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-1}%" to player
- else:
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Mute}%"
- set {sban.muteexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)mute <player> [r:reason]" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # TEMPMUTE #
- #=====================#
- command /tempmute [<offlineplayer>] [<text>] [<timespan>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.tempmute":
- if arg 1 is set:
- if arg 1 is online:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if arg 3 is set:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempmute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- add arg 1 to {tempmutes::*}
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.tempmuted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
- set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- loop all players:
- if loop-player has permission "sb.tempmute.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if arg 3 is set:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempmute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- add arg 1 to {tempmutes::*}
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.tempmuted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempmute}%"
- set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- loop all players:
- if loop-player has permission "sb.tempmute.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.mutedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempmute <player> [r:reason] <timespan>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /stempmute [<offlineplayer>] [<text>] [<timespan>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silenttempmute":
- if arg 1 is set:
- if arg 1 is online:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if arg 3 is set:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempmute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- add arg 1 to {tempmutes::*}
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.tempmuted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.mutereason.%{uuid::%arg 1%}%} with ""
- set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if arg 3 is set:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempmute.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- add arg 1 to {tempmutes::*}
- set {sban.muted.%{uuid::%arg 1%}%} to true
- set {sban.tempmuted.%{uuid::%arg 1%}%} to true
- set {sban.mutedon.%{uuid::%arg 1%}%} to now
- set {sban.mutereason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempmute}%"
- set {sban.muteexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempmutelenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.mutedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {mutes::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.muteddby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SOCRERER}" in {_msg} with "%{sban.mutedbyby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.mutereason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.muteexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempmute <player> [r:reason] <timespan>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # WARN #
- #=====================#
- command /warn [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.warn":
- if arg 1 is set:
- if arg 1 is online:
- if arg 1 has permission "sb.warn.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::WARN::Cannot}%" to player
- else:
- if "%{sban.warns.%{uuid::%arg 1%}%}%" = "%{OPTIONS::PUNISHMENTS::Max-Warns}%":
- set {sban.warnedby.%{uuid::%arg 1%}%} to "%sender%"
- set {sban.kicked.%{uuid::%arg 1%}%} to true
- set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.maxwarn.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- show an actionbar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to console
- set {sban.warns.%{uuid::%arg 1%}%} to 0
- set {sban.warnedby.%{uuid::%arg 1%}%} to "-"
- else:
- set {sban.warns.%{uuid::%arg 1%}%} to {sban.warns.%{uuid::%arg 1%}%} + 1
- set {sban.warnedby.%{uuid::%arg 1%}%} to "%player%"
- loop all players:
- if loop-player has permission "sb.warn.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- show an actionbar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)warn <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /swarn [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentwarn":
- if arg 1 is set:
- if arg 1 is online:
- if arg 1 has permission "sb.warn.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::WARN::Cannot}%" to player
- else:
- if "%{sban.warns.%{uuid::%arg 1%}%}%" = "%{OPTIONS::PUNISHMENTS::Max-Warns}%":
- set {sban.warnedby.%{uuid::%arg 1%}%} to "%sender%"
- set {sban.kicked.%{uuid::%arg 1%}%} to true
- set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to console
- set {sban.warns.%{uuid::%arg 1%}%} to 0
- set {sban.warnedby.%{uuid::%arg 1%}%} to "-"
- else:
- set {sban.warns.%{uuid::%arg 1%}%} to {sban.warns.%{uuid::%arg 1%}%} + 1
- set {sban.warnedby.%{uuid::%arg 1%}%} to "%player%"
- set {_msg} to join {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.warnedby.%{uuid::%arg 1%}%}%"
- replace all "{_WARNS}" in {_msg} with "%{sban.warns.%{uuid::%arg 1%}%}%"
- replace all "{_MAXWARNS}" in {_msg} with "%{OPTIONS::PUNISHMENTS::Max-Warns}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)warn <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # KICK #
- #=====================#
- command /kick [<offlineplayer>] [<text>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.kick":
- if arg 1 is set:
- if arg 1 is online:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if arg 1 has permission "sb.kick.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
- else:
- set {sban.kicked.%{uuid::%arg 1%}%} to true
- set {sban.kickreason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.kickreason.%{uuid::%arg 1%}%} with ""
- set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
- set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.kick.notify":
- if {notify.%{uuid::%loop-value%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if arg 1 has permission "sb.kick.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
- else:
- set {sban.kicked.%{uuid::%arg 1%}%} to true
- set {sban.kickreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Kick}%"
- set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
- set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.kick.notify":
- if {notify.%{uuid::%loop-value%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)kick <player> [r:reason]" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /skick [<offlineplayer>] [<text>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentkick":
- if arg 1 is set:
- if arg 1 is online:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if arg 1 has permission "sb.kick.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
- else:
- set {sban.kicked.%{uuid::%arg 1%}%} to true
- set {sban.kickreason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.kickreason.%{uuid::%arg 1%}%} with ""
- set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
- set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if arg 1 has permission "sb.kick.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::KICK::Cannot}%" to player
- else:
- set {sban.kicked.%{uuid::%arg 1%}%} to true
- set {sban.kickreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Kick}%"
- set {sban.kickedby.%{uuid::%arg 1%}%} to "%sender%"
- set {_msg} to join {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} by "nl"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.kickedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.kickreason.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Online}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)kick <player> [r:reason]" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # BAN #
- #=====================#
- command /ban [<offlineplayer>] [<text>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.ban":
- if arg 1 is set:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
- else:
- if arg 1 has permission "sb.ban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
- else:
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
- set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.ban.notify":
- if {notify.%loop-player%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
- else:
- if arg 1 has permission "sb.ban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
- else:
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Ban}%"
- set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.ban.notify":
- if {notify.%loop-player%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)ban <player> [r:reason]" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /sban [<offlineplayer>] [<text>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentban":
- if arg 1 is set:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
- else:
- if arg 1 has permission "sb.ban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
- else:
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
- set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-1}%" to player
- else:
- if arg 1 has permission "sb.ban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-1}%" to player
- else:
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Ban}%"
- set {sban.banexpire.%{uuid::%arg 1%}%} to "Never"
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)ban <player> [r:reason]" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # TEMPBAN #
- #=====================#
- command /tempban [<offlineplayer>] [<text>] [<timespan>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.tempban":
- if arg 1 is set:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if arg 3 is set:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.tempbanned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
- set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.tempban.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
- else:
- if arg 3 is set:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.tempbanned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempban}%"
- set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- loop all players:
- if loop-player has permission "sb.tempban.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /stempban [<offlineplayer>] [<text>] [<timespan>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silenttempban":
- if arg 1 is set:
- if arg 2 is "r:":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::REASONS::No-Reason}%" to player
- stop
- if arg 2 contains "r:":
- if arg 3 is set:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.tempbanned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to arg 2
- replace all "r:" in {sban.banreason.%{uuid::%arg 1%}%} with ""
- set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
- else:
- if arg 3 is set:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Already-2}%" to player
- else:
- if arg 1 has permission "sb.tempban.exempt":
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::Cannot-2}%" to player
- else:
- set {_now} to now
- set {_timespan} to arg 3
- add {_timespan} to {_now}
- set {_remaining} to {_now}
- set {sban.banned.%{uuid::%arg 1%}%} to true
- set {sban.tempbanned.%{uuid::%arg 1%}%} to true
- set {sban.bannedon.%{uuid::%arg 1%}%} to now
- set {sban.banreason.%{uuid::%arg 1%}%} to "%colored {MESSAGES::REASONS::DEFAULT-REASONS::Tempban}%"
- set {sban.banexpire.%{uuid::%arg 1%}%} to {_remaining}
- set {sban.tempbanlenght.%{uuid::%arg 1%}%} to arg 3
- set {sban.bannedby.%{uuid::%arg 1%}%} to "%sender%"
- add arg 1 to {bans::*}
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_PUNISHEDON}" in {_msg} with "%{sban.bannedon.%{uuid::%arg 1%}%}%"
- replace all "{_DURATION}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick arg 1 due to "%colored {_msg}%"
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%{sban.bannedby.%{uuid::%arg 1%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%arg 1%}%}%"
- replace all "{_EXPIRATION}" in {_msg} with "%{sban.banexpire.%{uuid::%arg 1%}%}%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)tempban <player> [r:reason] <timespan>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # RELOAD CMD #
- #=====================#
- command /sbreload:
- trigger:
- sender is console:
- make console execute command "/sk reload %{OPTIONS::MAIN::File-Name}%.sk"
- else:
- player has permission "sb.reload":
- make console execute command "/sk reload %{OPTIONS::MAIN::File-Name}%.sk"
- show an action bar from "%colored {MESSAGES::Prefix}%&7SuperBans code and files have been reloaded" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # NOTIFY #
- #=====================#
- command /notify:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.notify":
- if {notify.%{uuid::%player%}%} is not set:
- set {notify.%{uuid::%player%}%} to true
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Notifications-On}%" to player
- if {notify.%{uuid::%player%}%} is true:
- set {notify.%{uuid::%player%}%} to false
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Notifications-Off}%" to player
- else if {notify.%{uuid::%player%}%} is false:
- set {notify.%{uuid::%player%}%} to true
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::Notifications-On}%" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- #=====================#
- # UNFREEZE #
- #=====================#
- command /unfreeze [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.unfreeze":
- if arg 1 is set:
- if {sban.frozen.%{uuid::%player%}%} is true:
- set {sban.frozen.%{uuid::%player%}%} to false
- set {sban.frozenby.%{uuid::%arg 1%}%} to "-"
- delete {sban.newloc.%{uuid::%player%}%}
- delete {sban.lastloc.%{uuid::%player%}%}
- reset player's walk speed
- remove arg 1 from {frozen::*}
- loop all players:
- if loop-player has permission "sb.unfreeze.notify":
- if {notify.%{uuid::%loop-value%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::No}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unfreeze <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /sunfreeze [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentunfreeze":
- if arg 1 is set:
- if {sban.frozen.%{uuid::%player%}%} is true:
- set {sban.frozen.%{uuid::%player%}%} to false
- set {sban.frozenby.%{uuid::%arg 1%}%} to "-"
- delete {sban.newloc.%{uuid::%player%}%}
- delete {sban.lastloc.%{uuid::%player%}%}
- reset player's walk speed
- remove arg 1 from {frozen::*}
- loop all players:
- if loop-player has permission "sb.unfreeze.notify":
- if {notify.%{uuid::%loop-value%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to join {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-2::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-2}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::FROZEN::No}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unfreeze <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- on tab completer for "/freeze":
- loop {frozen::*}:
- add "%loop-value%" to completions
- on tab completer for "/sunfreeze":
- loop {frozen::*}:
- add "%loop-value%" to completions
- #=====================#
- # UNMUTE #
- #=====================#
- command /unmute [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.unmute":
- if arg 1 is set:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- remove arg 1 from {mutes::*}
- remove arg 1 from {tempmutes::*}
- set {sban.muted.%{uuid::%arg 1%}%} to false
- set {sban.tempmuted.%{uuid::%arg 1%}%} to false
- set {sban.mutedon.%{uuid::%arg 1%}%} to "-"
- set {sban.mutereason.%{uuid::%arg 1%}%} to "-"
- set {sban.muteexpire.%{uuid::%arg 1%}%} to "-"
- set {sban.mutedby.%{uuid::%arg 1%}%} to "-"
- loop all players:
- if loop-player has permission "sb.unmute.notify":
- if {notify.%{uuid::%loop-value%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-3::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-3}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- show an action bar from "%colored {_msg}%" to loop-player
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::MUTE::No}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unmute <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /sunmute [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentunmute":
- if arg 1 is set:
- if {sban.muted.%{uuid::%arg 1%}%} is true:
- remove arg 1 from {mutes::*}
- remove arg 1 from {tempmutes::*}
- set {sban.muted.%{uuid::%arg 1%}%} to false
- set {sban.tempmuted.%{uuid::%arg 1%}%} to false
- set {sban.mutedon.%{uuid::%arg 1%}%} to "-"
- set {sban.mutereason.%{uuid::%arg 1%}%} to "-"
- set {sban.muteexpire.%{uuid::%arg 1%}%} to "-"
- set {sban.mutedby.%{uuid::%arg 1%}%} to "-"
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to arg 1
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%{superbans::messages::not_muted}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%&7You must use &c/(s)unmute <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- on tab completer for "/unmute":
- loop {mutes::*}:
- add "%loop-value%" to completions
- on tab completer for "/sunmute":
- loop {mutes::*}:
- add "%loop-value%" to completions
- #=====================#
- # UNBAN #
- #=====================#
- command /unban [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.unban":
- if arg 1 is set:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- set {sban.banned.%{uuid::%arg 1%}%} to false
- set {sban.tempbanned.%{uuid::%arg 1%}%} to false
- set {sban.bannedon.%{uuid::%arg 1%}%} to "-"
- set {sban.banreason.%{uuid::%arg 1%}%} to "-"
- set {sban.banexpire.%{uuid::%arg 1%}%} to "-"
- set {sban.bannedby.%{uuid::%arg 1%}%} to "-"
- set {sban.banip.%{uuid::%arg 1%}%} to false
- remove arg 1 from {bans::*}
- loop all players:
- if loop-player has permission "sb.unban.notify":
- if {notify.%{uuid::%loop-player%}%} is true:
- if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "1":
- set {_msg} to join {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-3::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to loop-player
- else if "%{OPTIONS::PUNISHMENTS::Notification-Type}%" = "2":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-3}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- show an action bar from "%colored {_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::No}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%}&7You must use &c/(s)unban <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- command /sunban [<offlineplayer>]:
- trigger:
- sender is console:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Console}%"
- else:
- player has permission "sb.silentunban":
- if arg 1 is set:
- if {sban.banned.%{uuid::%arg 1%}%} is true:
- set {sban.banned.%{uuid::%arg 1%}%} to false
- set {sban.tempbanned.%{uuid::%arg 1%}%} to false
- set {sban.bannedon.%{uuid::%arg 1%}%} to "-"
- set {sban.banreason.%{uuid::%arg 1%}%} to "-"
- set {sban.banexpire.%{uuid::%arg 1%}%} to "-"
- set {sban.bannedby.%{uuid::%arg 1%}%} to "-"
- set {sban.banip.%{uuid::%arg 1%}%} to false
- remove arg 1 from {bans::*}
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%{MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%arg 1%"
- replace all "{_SORCERER}" in {_msg} with "%sender%"
- send "%colored {_msg}%" to console
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%%colored {MESSAGES::PUNISHMENTS::BAN::No}%" to player
- else:
- show an action bar from "%colored {MESSAGES::Prefix}%}&7You must use &c/(s)unban <player>" to player
- else:
- send "%colored {MESSAGES::Prefix}%%colored {MESSAGES::No-Permission}%" to player
- on tab completer for "/unban":
- loop {bans::*}:
- add "%loop-value%" to completions
- on tab completer for "/sunban":
- loop {bans::*}:
- add "%loop-value%" to completions
- #=====================#
- # REMOVED COMMANDS #
- #=====================#
- command /banlist:
- trigger:
- send "%colored {MESSAGES::Command-Removed}%"
- command /ban-ip [<text>]:
- trigger:
- send "%colored {MESSAGES::Command-Removed}%"
- command /pardon [<text>]:
- trigger:
- send "%colored {MESSAGES::Command-Removed}%"
- command /pardon-ip [<text>]:
- trigger:
- send "%colored {MESSAGES::Command-Removed}%"
- #=====================#
- # EVENTS #
- #=====================#
- on connect:
- if {sban.banned.%{uuid::%player%}%} is true:
- set {_p} to player
- if {sban.banexpire.%{uuid::%player%}%} is "Never":
- set {_msg} to join {superbans::messages::ban_screen_message::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_BANNER}" in {_msg} with "%{sban.bannedby.%{uuid::%player%}%}%"
- replace all "{_BANTIME}" in {_msg} with "%{sban.bannedon.%{uuid::%player%}%}%"
- replace all "{_BANEXPIRE}" in {_msg} with "%{sban.banexpire.%{uuid::%player%}%}%"
- replace all "{_IPBANNED}" in {_msg} with "%{sban.banip.%{uuid::%player%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%player%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick player due to "%{_msg}%"
- loop all players:
- if loop-player has permission "sb.banned-joining":
- set {_msg} to "%colored {MESSAGES::Ban-Join}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- show an action bar from "%{_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%colored {MESSAGES::Ban-Join}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- send "%{_msg}%" to console
- else:
- set {_elapsedtime} to difference between now and {sban.banexpire.%{uuid::%player%}%}
- if {_elapsedtime} is greater than {sban.tempbanlenght.%{uuid::%player%}%}:
- execute console command "/sunban %player%"
- else:
- set {_msg} to join {superbans::messages::tempban_screen_message::*} by "%nl%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_BANNER}" in {_msg} with "%{sban.bannedby.%{uuid::%player%}%}%"
- replace all "{_BANTIME}" in {_msg} with "%{sban.bannedon.%{uuid::%player%}%}%"
- replace all "{_BANNEDFOR}" in {_msg} with "%{sban.tempbanlenght.%{uuid::%player%}%}%"
- replace all "{_BANEXPIRE}" in {_msg} with "%{sban.banexpire.%{uuid::%player%}%}%"
- replace all "{_IPBANNED}" in {_msg} with "%{sban.banip.%{uuid::%player%}%}%"
- replace all "{_REASON}" in {_msg} with "%{sban.banreason.%{uuid::%player%}%}%"
- replace all "{_SERVERNAME}" in {_msg} with "%{OPTIONS::SERVER::Name}%"
- replace all "{_SHOP}" in {_msg} with "%{OPTIONS::SERVER::Shop}%"
- replace all "{_WEB}" in {_msg} with "%{OPTIONS::SERVER::Web}%"
- kick player due to "%{_msg}%"
- loop all players:
- if loop-player has permission "sb.banned-joining":
- set {_msg} to "%colored {MESSAGES::Ban-Join}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- show an action bar from "%{_msg}%" to loop-player
- if "%{OPTIONS::PUNISHMENTS::Console-Notifications}%" is "true":
- set {_msg} to "%colored {MESSAGES::Ban-Join}%"
- replace all "{_PREFIX}" in {_msg} with "%colored {MESSAGES::Prefix}%"
- replace all "{_PLAYER}" in {_msg} with "%player%"
- send "%{_msg}%" to console
- on join:
- if {uuid::%player%} is not set:
- set {uuid::%player%} to player's uuid
- else:
- if {uuid::%player%} is not player's uuid:
- set {uuid::%player%} to player's uuid
- player has permission "sb.notify":
- if {notify.%{uuid::%player%}%} is not set:
- set {notify.%{uuid::%player%}%} to true
- if {sban.firstjoin.%{uuid::%player%}%} is not set:
- set {sban.firstjoin.%{uuid::%player%}%} to "yes"
- if {sban.banned.%{uuid::%player%}%} is not set:
- set {sban.banned.%{uuid::%player%}%} to false
- if {sban.tempbanned.%{uuid::%player%}%} is not set:
- set {sban.tempbanned.%{uuid::%player%}%} to false
- if {sban.banip.%{uuid::%player%}%} is not set:
- set {sban.banip.%{uuid::%player%}%} to false
- if {sban.bannedby.%{uuid::%player%}%} is not set:
- set {sban.bannedby.%{uuid::%player%}%} to "-"
- if {sban.banreason.%{uuid::%player%}%} is not set:
- set {sban.banreason.%{uuid::%player%}%} to "-"
- if {sban.bannedon.%{uuid::%player%}%} is not set:
- set {sban.bannedon.%{uuid::%player%}%} to "-"
- if {sban.banexpire.%{uuid::%player%}%} is not set:
- set {sban.banexpire.%{uuid::%player%}%} to "-"
- if {sban.frozen.%{uuid::%player%}%} is not set:
- set {sban.frozen.%{uuid::%player%}%} to false
- if {sban.muted.%{uuid::%player%}%} is not set:
- set {sban.muted.%{uuid::%player%}%} to false
- if {sban.tempmuted.%{uuid::%player%}%} is not set:
- set {sban.tempmuted.%{uuid::%player%}%} to false
- if {sban.mutedby.%{uuid::%player%}%} is not set:
- set {sban.mutedby.%{uuid::%player%}%} to "-"
- if {sban.mutereason.%{uuid::%player%}%} is not set:
- set {sban.mutereason.%{uuid::%player%}%} to "-"
- if {sban.muteexpire.%{uuid::%player%}%} is not set:
- set {sban.muteexpire.%{uuid::%player%}%} to "-"
- if {sban.mutedon.%{uuid::%player%}%} is not set:
- set {sban.mutedon.%{uuid::%player%}%} to "-"
- if {sban.warns.%{uuid::%player%}%} is not set:
- set {sban.warns.%{uuid::%player%}%} to 0
- if {sban.warnedby.%{uuid::%player%}%} is not set:
- set {sban.warnedby.%{uuid::%player%}%} to "-"
- on quit:
- if {sban.banned.%{uuid::%player%}%} is true:
- if {OPTIONS::PUNISHMENTS::Show-Leave-Message} is "false":
- set leave message to ""
- if {sban.kicked.%{uuid::%player%}%} is true:
- delete {sban.kicked.%{uuid::%player%}%}
- if {OPTIONS::PUNISHMENTS::Show-Leave-Message} is "false":
- set leave message to ""
- on load:
- file "plugins\SuperBans\config.yml" doesn't exist:
- create file "plugins\SuperBans\config.yml"
- set skutil yaml value "PUNISHMENTS.Notification-Type" from file "plugins\SuperBans\config.yml" to "1"
- set skutil yaml value "PUNISHMENTS.Console-Notifications" from file "plugins\SuperBans\config.yml" to "true"
- set skutil yaml value "PUNISHMENTS.Show-Leave-Message" from file "plugins\SuperBans\config.yml" to "false"
- set skutil yaml value "PUNISHMENTS.Max-Warns" from file "plugins\SuperBans\config.yml" to "4"
- set skutil yaml value "GUI.Unban-Messages" from file "plugins\SuperBans\config.yml" to "true"
- set skutil yaml value "GUI.Keep-Open" from file "plugins\SuperBans\config.yml" to "true"
- set skutil yaml value "GUI.Silent" from file "plugins\SuperBans\config.yml" to "false"
- set skutil yaml value "SERVER.Name" from file "plugins\SuperBans\config.yml" to "Server Name"
- set skutil yaml value "SERVER.Shop" from file "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/shop"
- set skutil yaml value "SERVER.Web" from file "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/formum"
- set skutil yaml value "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml" to ""
- add "spawn" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
- add "warp" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
- add "home" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
- add "tpa" to skutil yaml list "DISALLOWED.COMMANDS.While-Frozen" from file "plugins\SuperBans\config.yml"
- set skutil yaml value "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml" to ""
- add "tell" to skutil yaml list "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml"
- add "msg" to skutil yaml list "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml"
- add "me" to skutil yaml list "DISALLOWED.COMMANDS.While-Muted" from file "plugins\SuperBans\config.yml"
- set skutil yaml value "ANTISWEAR.Enabled" from file "plugins\SuperBans\config.yml" to "true"
- set skutil yaml value "ANTISWEAR.Word-Replacer" from file "plugins\SuperBans\config.yml" to "*"
- set skutil yaml value "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml" to ""
- add "fuck" to skutil yaml list "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml"
- add "dick" to skutil yaml list "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml"
- add "cunt" to skutil yaml list "ANTISWEAR.WORDS" from file "plugins\SuperBans\config.yml"
- set skutil yaml value "MAIN.File-Name" from file "plugins\SuperBans\config.yml" to "SuperBans"
- set skutil yaml value "MAIN.Check-For-Updates" from file "plugins\SuperBans\config.yml" to "true"
- write "## This will be the type of notification sent on new punishments. Valid values are: '1' for messages, '2' for actionbars." at line 2 to file "plugins\SuperBans\config.yml"
- write "" at line 7 to file "plugins\SuperBans\config.yml"
- write "" at line 12 to file "plugins\SuperBans\config.yml"
- write "" at line 17 to file "plugins\SuperBans\config.yml"
- write "" at line 29 to file "plugins\SuperBans\config.yml"
- write "" at line 37 to file "plugins\SuperBans\config.yml"
- file "plugins\SuperBans\customization.yml" doesn't exist:
- set {&} to "&"
- create file "plugins\SuperBans\customization.yml"
- set skutil yaml value "MESSAGES.Prefix" from file "plugins\SuperBans\customization.yml" to "%{&}%c%{&}%lSuperBans %{&}%8≫ "
- set skutil yaml value "MESSAGES.No-Permission" from file "plugins\SuperBans\customization.yml" to "%{&}%cYou are not allowed to perform this command"
- set skutil yaml value "MESSAGES.No-Console" from file "plugins\SuperBans\customization.yml" to "%{&}%7This command is only available for players"
- set skutil yaml value "MESSAGES.Command-Removed" from file "plugins\SuperBans\customization.yml" to "%{&}%fUnknown command. Type ""/help"" for help."
- set skutil yaml value "MESSAGES.Notifications-On" from file "plugins\SuperBans\customization.yml" to "%{&}%7You will receive new punishments"
- set skutil yaml value "MESSAGES.Notifications-Off" from file "plugins\SuperBans\customization.yml" to "%{&}%7You will not receive new punishments"
- set skutil yaml value "MESSAGES.Search-Player" from file "plugins\SuperBans\customization.yml" to "%{&}%7Type player name or ""%{&}%ccancel%{&}%7"" to cancel the search."
- set skutil yaml value "MESSAGES.Search-Anulated" from file "plugins\SuperBans\customization.yml" to "%{&}%7You have successfully annulated the search"
- set skutil yaml value "MESSAGES.Who-To-Punish" from file "plugins\SuperBans\customization.yml" to "%{&}%7Who do you want to punish?"
- set skutil yaml value "MESSAGES.No-Online" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not online"
- set skutil yaml value "MESSAGES.No-Join" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player hasn not joined"
- set skutil yaml value "MESSAGES.No-Bans" from file "plugins\SuperBans\customization.yml" to "%{&}%7There are not banned players"
- set skutil yaml value "MESSAGES.Ban-Join" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_PLAYER} %{&}%7is banned and tried to join"
- set skutil yaml value "REASONS.No-Reason" from file "plugins\SuperBans\customization.yml" to "%{&}%7Write a reason after ""r:"""
- set skutil yaml value "REASONS.DEFAULT-REASONS" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "REASONS.DEFAULT-REASONS.Mute" from file "plugins\SuperBans\customization.yml" to "Be careful what you say!"
- set skutil yaml value "REASONS.DEFAULT-REASONS.Tempmute" from file "plugins\SuperBans\customization.yml" to "Be careful what you say!"
- set skutil yaml value "REASONS.DEFAULT-REASONS.Kick" from file "plugins\SuperBans\customization.yml" to "Be careful of your behavior. Enter again, but take it right!"
- set skutil yaml value "REASONS.DEFAULT-REASONS.Ban" from file "plugins\SuperBans\customization.yml" to "You have a disastrous behavior, you will not be able to enter any more!"
- set skutil yaml value "REASONS.DEFAULT-REASONS.Tempban" from file "plugins\SuperBans\customization.yml" to "You have a disastrous behavior. Even so, we give you another opportunity"
- set skutil yaml value "PUNISHMENTS.FROZEN" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.FROZEN.Already" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already frozen"
- set skutil yaml value "PUNISHMENTS.FROZEN.Cannot" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be frozen"
- set skutil yaml value "PUNISHMENTS.FROZEN.No" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not frozen"
- set skutil yaml value "PUNISHMENTS.FROZEN.BLOCKED" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.FROZEN.BLOCKED.Move" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot move while you are frozen. Do not fight against physics!"
- set skutil yaml value "PUNISHMENTS.FROZEN.BLOCKED.Command" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot execute this command while you are frozen"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lFROZEN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lDEFROSTED %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7frozen %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7defrosted %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lFROZEN%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lDEFROSTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You are now %{&}%a§lFROZEN%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You are now %{&}%a§lDEFROSTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.MUTE" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.MUTE.Already-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already muted"
- set skutil yaml value "PUNISHMENTS.MUTE.Already-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already tempmuted"
- set skutil yaml value "PUNISHMENTS.MUTE.Cannot-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be muted"
- set skutil yaml value "PUNISHMENTS.MUTE.Cannot-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be tempmuted"
- set skutil yaml value "PUNISHMENTS.MUTE.No" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not muted"
- set skutil yaml value "PUNISHMENTS.MUTE.BLOCKED" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.MUTE.BLOCKED.Talk" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot talk while you are muted"
- set skutil yaml value "PUNISHMENTS.MUTE.BLOCKED.Command" from file "plugins\SuperBans\customization.yml" to "%{&}%7You cannot execute this command while you are muted"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lMUTE %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lMUTE %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lUNMUTE %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7muted %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7muted %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7unmuted %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lMUTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lMUTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lUNMUTED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You are now %{&}%a§lMUTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You are now %{&}%a§lMUTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You are now %{&}%a§lUNMUTED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.WARN" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.WARN.Cannot" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be warned"
- set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.Actionbar" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lWARN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_WARNS} %{&}%7- %{&}%a{_MAXWARNS}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.Console" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7warned %{&}%e{_PLAYER} %{&}%7(%{&}%a{_WARNS} %{&}%7- %{&}%a{_MAXWARNS}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lWARNED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Status %{&}%8≫ %{&}%e{_WARNS} %{&}%7- %{&}%e{_MAXWARNS}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You have been %{&}%a§lWARNED%{&}%r%{&}%7!" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Status %{&}%8≫ %{&}%e{_WARNS} %{&}%7- %{&}%e{_MAXWARNS}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml" to ""
- add "%{&}%7You have received lots of warnings and because of this you have been expelled from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7You were warned by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7You have reached %{&}%8≫ %{&}%e{_WARNS} %{&}%7of a maxium of %{&}%e{_MAXWARNS} %{&}%7warns." to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.KICK" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.KICK.Cannot" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be kicked"
- set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.Actionbar" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lKICK %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.Console" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7kicked %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7')"
- set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lKICKED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml" to ""
- add "%{&}%7Your behavior is not right for us, so we have decided to expel you from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7You were kicked by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.BAN" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.BAN.Already-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already banned"
- set skutil yaml value "PUNISHMENTS.BAN.Already-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is already tempbanned"
- set skutil yaml value "PUNISHMENTS.BAN.Cannot-1" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be banned"
- set skutil yaml value "PUNISHMENTS.BAN.Cannot-2" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player cannot be tempbanned"
- set skutil yaml value "PUNISHMENTS.BAN.No" from file "plugins\SuperBans\customization.yml" to "%{&}%7This player is not banned"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN" from file "plugins\SuperBans\customization.yml" to ""
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lBAN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lBAN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER} %{&}%7(%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lUNBAN %{&}%8| %{&}%a{_SORCERER} %{&}%8≫ %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-1" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7banned %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-2" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7banned %{&}%e{_PLAYER} %{&}%7('%{&}%a{_REASON}%{&}%7') %{&}%7- (%{&}%a{_EXPIRATION}%{&}%7)"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.Console-3" from file "plugins\SuperBans\customization.yml" to "%{&}%a{_SORCERER} %{&}%7unbanned %{&}%e{_PLAYER}"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lBANED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lBANED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Expiration %{&}%8≫ %{&}%e{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have %{&}%a§lUNBANNED%{&}%r %{&}%7a new player!" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Done by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml" to ""
- add "%{&}%7Your behavior is not right for us, so we have decided to completly expel you from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7You were banned by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Banned on %{&}%8≫ %{&}%c{_PUNISHEDON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Expiration %{&}%8≫ %{&}%c{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml" to ""
- add "%{&}%7Your behavior is not right for us, so we have decided to completly expel you from %{&}%b{_SERVERNAME}%{&}%7." to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7You were banned by %{&}%8≫ %{&}%e{_SORCERER}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Banned on %{&}%8≫ %{&}%c{_PUNISHEDON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Expiration %{&}%8≫ %{&}%7(%{&}%c{_DURATION}%{&}%7) - %{&}%c{_EXPIRATION}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add "%{&}%7Reason %{&}%8≫ %{&}%e{_REASON}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur store %{&}%8≫ %{&}%c{_SHOP}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- add "%{&}%eOur website %{&}%8≫ %{&}%c{_WEB}" to skutil yaml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "ANTISWEAR.Actionbar" from file "plugins\SuperBans\customization.yml" to "%{&}%a§lSWEAR %{&}%8| %{&}%e{_PLAYER} %{&}%8≫ %{&}%7(%{&}%a{_WORD}%{&}%7) %{&}%7- %{&}%a{_TIMES} %{&}%7times"
- set skutil yaml value "ANTISWEAR.Console" from file "plugins\SuperBans\customization.yml" to "%{&}%e{_PLAYER} %{&}%7has said a blocked word! (%{&}%a{_WORD}%{&}%7) %{&}%7- %{&}%a{_TIMES} %{&}%7times"
- set skutil yaml value "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7I have detected a player %{&}%a§lSWEARING&7!" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Player %{&}%8≫ %{&}%e{_PLAYER}" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7Said %{&}%8≫ %{&}%7(%{&}%a{_WORD}%{&}%7)" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7You have said %{&}%8≫ %{&}%a{_TIMES} %{&}%7bad word(s)" to skutil yaml list "ANTISWEAR.SENT-TO-ADMINS" from file "plugins\SuperBans\customization.yml"
- set skutil yaml value "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml" to ""
- add "{_PREFIX}%{&}%7You are %{&}%a§lSWEARING%{&}%7!" to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7You have said %{&}%8≫ %{&}%a{_TIMES} %{&}%7bad word(s)" to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
- add " " to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
- add " %{&}%7I have notified admins. You will be processed soon!" to skutil yaml list "ANTISWEAR.SENT-TO-PLAYER" from file "plugins\SuperBans\customization.yml"
- write "## To completely reset this file, you must delete it. A new one with the default values will be created ??in a couple of seconds." at line 1 to file "plugins\SuperBans\customization.yml"
- write "## The actionbar and console messages will be automatically chosen depending on your configuration options." at line 2 to file "plugins\SuperBans\customization.yml"
- write "## You can use either of these two color code symbols: '&' or '§'." at line 3 to file "plugins\SuperBans\customization.yml"
- write "" at line 4 to file "plugins\SuperBans\customization.yml"
- write "" at line 5 to file "plugins\SuperBans\customization.yml"
- write "" at line 6 to file "plugins\SuperBans\customization.yml"
- write "" at line 21 to file "plugins\SuperBans\customization.yml"
- write "" at line 30 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 40 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 46 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 52 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}" at line 58 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}" at line 63 to file "plugins\SuperBans\customization.yml"
- write "" at line 67 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_EXPIRATION}" at line 78 to file "plugins\SuperBans\customization.yml"
- write "## This is the mute message sent to players who have the permission to view mutes." at line 86 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_EXPIRATION}" at line 87 to file "plugins\SuperBans\customization.yml"
- write "## This is the tempmute message sent to players who have the permission to view mutes." at line 95 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_EXPIRATION}" at line 96 to file "plugins\SuperBans\customization.yml"
- write "## This is the unmute message sent to players who have the permission to view unmutes." at line 104 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 105 to file "plugins\SuperBans\customization.yml"
- write "## This is the mute message sent to the muted player." at line 111 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 112 to file "plugins\SuperBans\customization.yml"
- write "## This is the tempmute message sent to the tempmuted player." at line 119 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 120 to file "plugins\SuperBans\customization.yml"
- write "## This is the unmute message sent to the unmute player." at line 127 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}" at line 128 to file "plugins\SuperBans\customization.yml"
- write "" at line 132 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_WARNS}, {_MAXWARNS}" at line 136 to file "plugins\SuperBans\customization.yml"
- write "## This is the warn message sent to players who have the permission to view warns." at line 140 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_WARNS}, {_MAXWARNS}" at line 141 to file "plugins\SuperBans\customization.yml"
- write "## This is the warn message sent to the warned player." at line 148 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_WARNS}, {_MAXWARNS}" at line 149 to file "plugins\SuperBans\customization.yml"
- write "## This is the warn message sent to the screen of the warned player when he is kicked for reaching the max of warns." at line 155 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_WARNS}, {_MAXWARNS}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 156 to file "plugins\SuperBans\customization.yml"
- write "" at line 166 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}" at line 170 to file "plugins\SuperBans\customization.yml"
- write "## This is the kick message sent to players who have the permission to view kicks." at line 174 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}" at line 175 to file "plugins\SuperBans\customization.yml"
- write "## This is the kick message sent to the screen of the kicked player." at line 182 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 183 to file "plugins\SuperBans\customization.yml"
- write "" at line 193 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 201 to file "plugins\SuperBans\customization.yml"
- write "## This is the ban message sent to players who have the permission to view bans." at line 209 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 210 to file "plugins\SuperBans\customization.yml"
- write "## This is the tempban message sent to players who have the permission to view tempbans." at line 218 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}, {_REASON}, {_EXPIRATION}" at line 219 to file "plugins\SuperBans\customization.yml"
- write "## This is the unban message sent to players who have the permission to view unbans." at line 227 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_SORCERER}" at line 228 to file "plugins\SuperBans\customization.yml"
- write "## This is the ban message sent to the screen of the banned player." at line 234 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_PUNISHEDON}, {_EXPIRATION}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 235 to file "plugins\SuperBans\customization.yml"
- write "## This is the tempban message sent to the screen of the tempbanned player." at line 248 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_SORCERER}, {_REASON}, {_PUNISHEDON}, {_DURATION}, {_EXPIRATION}, {_SERVERNAME}, {_SHOP}, {_WEB}" at line 249 to file "plugins\SuperBans\customization.yml"
- write "" at line 261 to file "plugins\SuperBans\customization.yml"
- write "##{_PREFIX}, {_PLAYER}, {_WORD}" at line 263 to file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Prefix} to yml value "MESSAGES.Prefix" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::No-Permission} to yml value "MESSAGES.No-Permission" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::No-Console} to yml value "MESSAGES.No-Console" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Command-Removed} to yml value "MESSAGES.Command-Removed" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Notifications-On} to yml value "MESSAGES.Notifications-On" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Notifications-Off} to yml value "MESSAGES.Notifications-Off" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Search-Player} to yml value "MESSAGES.Search-Player" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Search-Anulated} to yml value "MESSAGES.Search-Anulated" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Who-To-Punish} to yml value "MESSAGES.Who-To-Punish" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::No-Online} to yml value "MESSAGES.No-Online" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::No-Join} to yml value "MESSAGES.No-Join" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::No-Bans} to yml value "MESSAGES.No-Bans" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::Ban-Join} to yml value "MESSAGES.Ban-Join" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::REASONS::No-Reason} to yml value "REASONS.No-Reason" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::REASONS::DEFAULT-REASONS::Mute} to yml value "REASONS.DEFAULT-REASONS.Mute" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::REASONS::DEFAULT-REASONS::TempMute} to yml value "REASONS.DEFAULT-REASONS.Tempmute" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::REASONS::DEFAULT-REASONS::Kick} to yml value "REASONS.DEFAULT-REASONS.Kick" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::REASONS::DEFAULT-REASONS::Ban} to yml value "REASONS.DEFAULT-REASONS.Ban" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::REASONS::DEFAULT-REASONS::Tempban} to yml value "REASONS.DEFAULT-REASONS.Tempban" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::Already} to yml value "PUNISHMENTS.FROZEN.Already" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::Cannot} to yml value "PUNISHMENTS.FROZEN.Cannot" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::No} to yml value "PUNISHMENTS.FROZEN.No" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Move} to yml value "PUNISHMENTS.FROZEN.BLOCKED.Move" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::BLOCKED::Command} to yml value "PUNISHMENTS.FROZEN.BLOCKED.Command" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-1} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Actionbar-2} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Actionbar-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-1} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::NEW-FROZEN::Console-2} to yml value "PUNISHMENTS.FROZEN.NEW-FROZEN.Console-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-ADMINS-2::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-ADMINS-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-1::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::FROZEN::SENT-TO-PLAYER-2::*} to yml list "PUNISHMENTS.FROZEN.NEW-FROZEN.SENT-TO-PLAYER-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::Already-1} to yml value "PUNISHMENTS.MUTE.Already-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::Already-2} to yml value "PUNISHMENTS.MUTE.Already-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::Cannot-1} to yml value "PUNISHMENTS.MUTE.Cannot-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::Cannot-2} to yml value "PUNISHMENTS.MUTE.Cannot-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::No} to yml value "PUNISHMENTS.MUTE.No" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::BLOCKED::Talk} to yml value "PUNISHMENTS.MUTE.BLOCKED.Talk" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::BLOCKED::Command} to yml value "PUNISHMENTS.MUTE.BLOCKED.Command" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-1} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-2} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Actionbar-3} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Actionbar-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-1} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-2} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::NEW-MUTE::Console-3} to yml value "PUNISHMENTS.MUTE.NEW-MUTE.Console-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-2::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-ADMINS-3::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-ADMINS-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-1::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-2::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::MUTE::SENT-TO-PLAYER-3::*} to yml list "PUNISHMENTS.MUTE.NEW-MUTE.SENT-TO-PLAYER-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::WARN::Cannot} to yml value "PUNISHMENTS.WARN.Cannot" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Actionbar} to yml value "PUNISHMENTS.WARN.NEW-WARN.Actionbar" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::Console} to yml value "PUNISHMENTS.WARN.NEW-WARN.Console" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-1::*} to yml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::WARN::NEW-WARN::SENT-TO-PLAYER-SCREEN-1::*} to yml list "PUNISHMENTS.WARN.NEW-WARN.SENT-TO-PLAYER-SCREEN-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::KICK::Cannot} to yml value "PUNISHMENTS.KICK.Cannot" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Actionbar} to yml value "PUNISHMENTS.KICK.NEW-KICK.Actionbar" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::Console} to yml value "PUNISHMENTS.KICK.NEW-KICK.Console" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::KICK::NEW-KICK::SENT-TO-PLAYER-SCREEN-1::*} to yml list "PUNISHMENTS.KICK.NEW-KICK.SENT-TO-PLAYER-SCREEN-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::Already-1} to yml value "PUNISHMENTS.BAN.Already-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::Already-2} to yml value "PUNISHMENTS.BAN.Already-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::Cannot-1} to yml value "PUNISHMENTS.BAN.Cannot-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::Cannot-2} to yml value "PUNISHMENTS.BAN.Cannot-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::No} to yml value "PUNISHMENTS.BAN.No" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-1} to yml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-2} to yml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Actionbar-3} to yml value "PUNISHMENTS.BAN.NEW-BAN.Actionbar-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-1} to yml value "PUNISHMENTS.BAN.NEW-BAN.Console-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-2} to yml value "PUNISHMENTS.BAN.NEW-BAN.Console-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::Console-3} to yml value "PUNISHMENTS.BAN.NEW-BAN.Console-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-1::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-2::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-ADMINS-3::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-ADMINS-3" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-1::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-1" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::PUNISHMENTS::BAN::NEW-BAN::SENT-TO-PLAYER-SCREEN-2::*} to yml list "PUNISHMENTS.BAN.NEW-BAN.SENT-TO-PLAYER-SCREEN-2" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::ANTISWEAR::Actionbar} to yml value "ANTISWEAR.Actionbar" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::ANTISWEAR::Console} to yml value "ANTISWEAR.Console" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::ANTISWEAR::SENT-TO-ADMINS::*} to yml list "ANTISWEAR.SENT-TO-ADMINS" of file "plugins\SuperBans\customization.yml"
- set {MESSAGES::ANTISWEAR::SENT-TO-PLAYER::*} to yml list "ANTISWEAR.SENT-TO-PLAYER" of file "plugins\SuperBans\customization.yml"
- set {OPTIONS::PUNISHMENTS::Notification-Type} to yml value "PUNISHMENTS.Notification-Type" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::PUNISHMENTS::Console-Notifications} to yml value "PUNISHMENTS.Console-Notifications" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::PUNISHMENTS::Show-Leave-Message} to yml value "PUNISHMENTS.Show-Leave-Message" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::PUNISHMENTS::Max-Warns} to yml value "PUNISHMENTS.Max-Warns" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::GUI::Unban-Messages} to yml value "GUI.Unban-Messages" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::GUI::Keep-Open} to yml value "GUI.Keep-Open" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::GUI::Silent} to yml value "GUI.Silent" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::SERVER::Name} to yml value "SERVER.Name" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::SERVER::Shop} to yml value "SERVER.Shop" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::SERVER::Web} to yml value "SERVER.Web" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*} to yml list "DISALLOWED.COMMANDS.While-Frozen" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::DISALLOWED::COMMANDS::While-Muted::*} to yml list "DISALLOWED.COMMANDS.While-Muted" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::ANTISWEAR::Enabled} to yml value "ANTISWEAR.Enabled" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::ANTISWEAR::Word-Replacer} to yml value "ANTISWEAR.Word-Replacer" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::ANTISWEAR::WORDS::*} to yml list "ANTISWEAR.WORDS" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::MAIN::File-Name} to yml value "MAIN.File-Name" of file "plugins\SuperBans\config.yml"
- set {OPTIONS::MAIN::Check-For-Updates} to yml value "MAIN.Check-For-Updates" of file "plugins\SuperBans\config.yml"
- on skript load:
- set {_sizeofbans} to size of {bans::*}
- set {_size-of-warned-blocked-commands} to size of {OPTIONS::DISALLOWED::COMMANDS::While-Frozen::*}
- set {_size-of-muted-blocked-commands} to size of {OPTIONS::DISALLOWED::COMMANDS::While-Muted::*}
- set {_size-of-blocked-words} to size of {OPTIONS::ANTISWEAR::WORDS::*}
- send "" to console
- send "&e _____ &e_____" to console
- send "&e / ___| &e| __ \" to console
- send "&e \ `--. &6_ _ _ __ ___ _ __&e| |_/ / &6__ _ _ __ ___" to console
- send "&e `--. \&6 | | | '_ \ / _ \ '__&e| __ \&6/ _` | '_ \/ __|" to console
- send "&e /\__/ /&6 |_| | |_) | __/ | &e| |_/ /&6 (_| | | | \__ \" to console
- send "&e \____/ &6\__,_| .__/ \___|_| &e\____/ &6\__,_|_| |_|___/ (v.&e{@version}&6)" to console
- send "&e &6 | | &e""Just the way you want it.""" to console
- send "&e &6 |_|" to console
- send "&8 ________________________________________________________" to console
- send "&8 | |" to console
- send "&8 | &bThe skript and all related yml files have been loaded. &8|" to console
- send "&8 | |" to console
- send "&8 | &bThere are a total of &e%{_sizeofbans}% &bbanned accounts. &8|" to console
- send "&8 | |" to console
- send "&8 | &bLoaded &e%{_size-of-warned-blocked-commands}% &bblocked command(s) while frozen. &8|" to console
- send "&8 | &bLoaded &e%{_size-of-muted-blocked-commands}% &bblocked command(s) while muted. &8|" to console
- send "&8 | |" to console
- send "&8 | &bLoaded &e%{_size-of-blocked-words}% &bblocked word(s). &8|" to console
- if {OPTIONS::MAIN::Check-For-Updates} is "true":
- if text from "https://api.spigotmc.org/legacy/update.php?resource=43663" is not "{@version}":
- set {_version} to text from "https://api.spigotmc.org/legacy/update.php?resource=43663"
- send "&8 | |" to console
- send "&8 | &dThere's a new version available: &b%{_version}% &d(running &b{@version}&d) &8|" to console
- send "&8 | &dDownload it from: &ahttps://goo.gl/jNKgkk &8|" to console
- send "&8 |________________________________________________________|" to console
- send "" to console
Advertisement
Add Comment
Please, Sign In to add comment