options: prefix: &a&lNAME OF SERVER colour: &a permissionstarter: servername command maintenence: permission: {@permissionstarter}.maintenence trigger: if {maintenence} is not set: broadcast "%nl%{@prefix} &7• {@colour}Server is going into maintenence in 3.%nl%" set {maintenence} to true wait 1 second broadcast "%nl%{@prefix} &7• {@colour}Server is going into maintenence in 2.%nl%" wait 1 second broadcast "%nl%{@prefix} &7• {@colour}Server is going into maintenence in 1.%nl%" wait 1 second broadcast "%nl%{@prefix} &7• {@colour}Server is going into maintenence now...%nl%" loop all players: loop-player has permission "{@permissionstarter}.maintenence": else: kick loop-player due to "%nl%{@prefix} &7• {@colour}Server is currently in maintenence%nl%" else: broadcast "%nl%{@prefix} &7• {@colour}Server out of maintenence%nl%" delete {maintenence} on connect: if {maintenence} is true: player has permission "{@permissionstarter}.maintenence": stop else: kick player due to "%nl%{@prefix} &7• {@colour}Server is currently in maintenence%nl%" on chat: if {muted::%player's uuid%} is true: cancel event send "%nl%{@prefix} &7• {@colour}You are currently muted for '%{mutereason::%player's uuid%}%'%nl%" else: set chat format to "%player's prefix% %player% &8» &f%colored message%" command mute : usage: {@prefix} &7• {@colour}/mute [PLAYER] [REASON] permission: mute.player permission message: {@prefix} &7• {@colour}Invalid permissions for this command. trigger: if {muted::%arg-1's uuid%} is not set: set {muted::%arg-1's uuid%} to true set {mutereason::%arg-1's uuid%} to arg 2 broadcast "%nl%{@prefix} &7• {@colour}%arg-1% was muted by %player% for '%arg-2%'%nl%" else: send "%nl%{@prefix} &7• {@colour}%arg-1% is already muted%nl%" command unmute : usage: {@prefix} &7• {@colour}/unmute [PLAYER] permission: unmute.player permission message: {@prefix} &7• {@colour}Invalid permissions for this command. trigger: if {muted::%arg-1's uuid%} is true: delete {muted::%arg-1's uuid%} delete {mutereason::%arg-1's uuid%} broadcast "%nl%{@prefix} &7• {@colour}%arg-1% was unmuted by %player%%nl%" else: send "%nl%{@prefix} &7• {@colour}%arg-1% is not currently muted%nl%" on command: player has permission "op": stop if "%complete command%" contains "minecraft", "me ", "say " or "bukkit": cancel event send "%nl%{@prefix} &7• {@colour}You cannot use these commands.%nl%" on connect: if {banned::%player's uuid%} is true: kick player due to "%nl%&7• {@prefix} &7•%nl%%nl%{@colour}Banned by %{banexecutor::%player's uuid%}% due to '%{banreason::%player's uuid%}%%nl%%nl%" command /ban : usage: {@prefix} &7• {@colour}/ban [PLAYER] [REASON] permission: ban.player permission message: {@prefix} &7• {@colour}Invalid permissions for this command. trigger: if {banned::%arg-1's uuid%} is not set: set {banned::%arg-1's uuid%} to true set {banreason::%arg-1's uuid%} to arg 2 set {banexecutor::%arg-1's uuid%} to player broadcast "%nl%{@prefix} &7• {@colour}%arg-1% was banned by %player% for '%arg-2%'%nl%" kick arg-1 due to "%nl%&7• {@prefix} &7•%nl%%nl%{@colour}Banned by %player% due to '%arg-2%%nl%%nl%" else: send "%nl%{@prefix} &7• {@colour}%arg-1% is already banned%nl%" command /unban : usage: {@prefix} &7• {@colour}/unban [PLAYER] permission: unban.player permission message: {@prefix} &7• {@colour}Invalid permissions for this command. trigger: if {banned::%arg-1's uuid%} is true: delete {banned::%arg-1's uuid%} delete {banreason::%arg-1's uuid%} delete {banexecutor::%arg-1's uuid%} broadcast "%nl%{@prefix} &7• {@colour}%arg-1% was unbanned by %player%%nl%" else: send "%nl%{@prefix} &7• {@colour}%arg-1% is not banned%nl%" command /kick : usage: {@prefix} &7• {@colour}/kick [PLAYER] [REASON] permission: kick.player permission message: {@prefix} &7• {@colour}Invalid permissions for this command. trigger: broadcast "%nl%{@prefix} &7• {@colour}%arg-1% was kicked by %player% for '%arg-2%'%nl%" kick arg-1 due to "%nl%&7• {@prefix} &7•%nl%%nl%{@colour}Kicked by %player% due to '%arg-2%%nl%%nl%" command fly: permission: moderator.fly trigger: if {fly::%player's uuid%} is not set: set {fly::%player's uuid%} to true send "%nl%{@prefix} &7• {@colour}Fly set to &3&ntrue%nl%" set player's flight mode to true else: set player's flight mode to false delete {fly::%player's uuid%} send "%nl%{@prefix} &7• {@colour}Fly set to &3&nfalse%nl%"