Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Agent - Server Management System (Ver . 1.0)
- # Create : Xx_Clasher_xX
- # Support : rikuriku4
- #ALL SUPPORT : Server Stop / Announce / Change Fly Mode / First Join Message / Join Message / Quit Message / Mute / UnMute /
- # Rank / Chat / Vanish / Agent Infomation
- #(1) Server Stop
- command /ServerStop:
- aliases: /SS
- permission: Agent.ServerStop
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- send "&8[&5AGENT&8] &fPreparing for a stop..."
- wait 10 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &660 &cSeconds"
- wait 50 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &610 &cSeconds"
- wait 5 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &65 &cSeconds"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &64 &cSeconds"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &63 &cSeconds"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &62 &cSeconds"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &cThe server will stop soon! Stop until &61 &cSeconds"
- wait 1 seconds
- broadcast "[&5AGENT&8] &cServer stopped!"
- command "/stop"
- #(2) Announce
- command /Announce [<text>]:
- aliases: /AN
- permission: Agent.Announce
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- wait 1 ticks
- broadcast "&8[&5AGENT&8] &f%arg 1%"
- #(3) Change Fly Mode
- command /FlyMode [<text>]:
- aliases: /FM
- permission: Agent.Fly
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if arg 1 is "on":
- set player's flight mode to true
- set {Agent.FlyMode.%player%} to true
- send "&8[&5AGENT&8] &7Fly : &aON"
- if arg 1 is "off":
- set player's flight mode to false
- set {Agent.FlyMode.%player%} to false
- send "&8[&5AGENT&8] &7Fly : &cOFF"
- command /ToggleFly:
- aliases: /TF
- permission: Agent.Fly
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if {Agent.FlyMode.%player%} is true:
- set player's flight mode to false
- set {Agent.FlyMode.%player%} to false
- send "&8[&5AGENT&8] &7Fly : &cOFF"
- stop
- if {Agent.FlyMode.%player%} is false:
- set player's flight mode to true
- set {Agent.FlyMode.%player%} to true
- send "&8[&5AGENT&8] &7Fly : &aON"
- stop
- #(4) First Join Message / Join Message
- on first join:
- broadcast "&8[&5AGENT&8] &6%player% has Joined the Server for First time!"
- on join:
- broadcast "&8[&5AGENT&8] &6%player% has Joined the Server!"
- #(5) Quit Message
- on quit:
- broadcast "&8[&5AGENT&8] &7%player% has Left the Server"
- #(6) Mute
- command /Mute [<player>] [<text>]:
- permission: Agent.Mute
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if arg 1 is not set:
- send "&8[&5AGENT&8] &cPlease Specify a Player!"
- else:
- if arg 2 is not set:
- set {Agent.Muted.%arg 1%} to true
- send "&8[&5AGENT&8] &cYou Muted %arg 1%!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &c%player% has been Muted!"
- else:
- set {Agent.Muted.%arg 1%} to true
- send "&8[&5AGENT&8] &cYou Muted %arg 1%!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &c%player% was Muted for %arg 2% Reasons!"
- #(7) UnMute
- command /UnMute [<player>]:
- permission: Agent.UnMute
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if arg 1 is not set:
- send "&8[&5AGENT&8] &cPlease Specify a Player!"
- else:
- set {Agent.Muted.%arg 1%} to false
- send "&8[&5AGENT&8] &cYou UnMuted %arg 1%!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &c%player% has been UnMuted!"
- #(8) Rank
- on first join:
- set {Agent.Rank.%player%} to "&7"
- command /RankSet [<offline player>] [<text>]:
- permission: Agent.Rank
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if arg 1 is not set:
- send "&8[&5AGENT&8] &cPlease Specify a Player!"
- else:
- if arg 2 is not set:
- send "&8[&5AGENT&8] &cPlease Specify a Ranks!"
- if arg 2 is "Default":
- set {Agent.Rank.%player%} to "&7[Default]"
- if arg 2 is "Vip":
- set {Agent.Rank.%player%} to "&2[Vip]"
- if arg 2 is "Vip+":
- set {Agent.Rank.%player%} to "&2[VIP+]"
- if arg 2 is "Mvp":
- set {Agent.Rank.%player%} to "&3[Mvp]"
- if arg 2 is "Mvp+":
- set {Agent.Rank.%player%} to "&3[Mvp+]"
- if arg 2 is "Legend":
- set {Agent.Rank.%player%} to "&6[Legend]"
- if arg 2 is "Legend+":
- set {Agent.Rank.%player%} to "&6[Legend+]"
- if arg 2 is "Pro":
- set {Agent.Rank.%player%} to "&5[Pro]"
- if arg 2 is "Pro+":
- set {Agent.Rank.%player%} to "&5[Pro+]"
- if arg 2 is "Herobrine":
- set {Agent.Rank.%player%} to "&c[Herobrine]"
- if arg 2 is "Herobrine+":
- set {Agent.Rank.%player%} to "&c[Herobrine+]"
- if arg 2 is "Helper":
- set {Agent.Rank.%player%} to "&9[Helper]"
- if arg 2 is "Helper+":
- set {Agent.Rank.%player%} to "&9[Helper+]"
- if arg 2 is "Mod":
- set {Agent.Rank.%player%} to "&e[Mod]"
- if arg 2 is "Mod+":
- set {Agent.Rank.%player%} to "&e[Mod+]"
- if arg 2 is "Admin":
- set {Agent.Rank.%player%} to "&4[Admin]"
- if arg 2 is "SubOwner":
- set {Agent.Rank.%player%} to "&4[SubOwner]"
- if arg 2 is "Owner":
- set {Agent.Rank.%player%} to "&4[Owner]"
- #(9) Chat
- on chat:
- cancel event
- wait 1 ticks
- if {Agent.Muted.%player%} is true:
- stop
- else:
- broadcast "%{Agent.Rank.%player%}% %{Agent.Name.%player%}% &f: %message%"
- #(10) Agent System Reboot
- command /AgentSystemReboot:
- aliases: /ASR
- permission: Agent.Reboot
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- send "&8[&5AGENT&8] ReBoot Agent System..."
- wait 5 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l60 &cSeconds!"
- wait 50 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l10 &cSeconds!"
- wait 5 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l5 &cSeconds!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l4 &cSeconds!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l3 &cSeconds!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l2 &cSeconds!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &4Agent System Reboot!! The server will stop along with it! &7&l1 &cSeconds!"
- wait 1 seconds
- broadcast "&8[&5AGENT&8] &4AGENT SYSTEM REBOOT! SERVER STOP!"
- wait 1 ticks
- command "/stop"
- #(11) Vanish
- command /VanishMode [<text>]:
- aliases: /VM
- permission: Agent.Vanish
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if arg 1 is "on":
- hide player from all players
- set {Agent.VanishMode.%player%} to true
- send "&8[&5AGENT&8] &7Vanish : &aON"
- if arg 1 is "off":
- reveal player from all players
- set {Agent.VanishMode.%player%} to false
- send "&8[&5AGENT&8] &7Vanish : &cOFF"
- command /ToggleVanish:
- aliases: /TV
- permission: Agent.Vanish
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if {Agent.VanishMode.%player%} is true:
- reveal player from all players
- set {Agent.VanishMode.%player%} to false
- send "&8[&5AGENT&8] &7Vanish : &cOFF"
- stop
- if {Agent.VanishMode.%player%} is false:
- hide player from all players
- set {Agent.VanishMode.%player%} to true
- send "&8[&5AGENT&8] &7Vanish : &aON"
- stop
- #(12) Nick
- on join:
- set {Agent.Name.%player%} to "%player%"
- command /Nick [<text>]:
- permission: Agent.Nick
- permission: &8[&5AGENT&8] &cYou do not have permission to use this command!
- trigger:
- if arg 1 is not set:
- send "&8[&5AGENT&8] &cPlease Specify a Nick Name! Nick Restet : /nick reset"
- if arg 1 is "reset":
- set {Agent.Name.%player%} to "%player%"
- else:
- set {Agent.Name.%player%} to "%arg 1%"
- #(13) Agent Infomation
- command /Agent [<text>]:
- trigger:
- if arg 1 is not set:
- send "&5Agent - Server Management System"
- send "&a(Ver . &c1.0&a)"
- send " "
- send "&6Create : Xx_Clasher_xX"
- send "&9Support : rikuriku4"
- if arg 1 is "info":
- send "&5Agent - Server Management System"
- send "&a(Ver . &c1.0&a)"
- send " "
- send "&6Create : Xx_Clasher_xX"
- send "&9Support : rikuriku4"
- if arg 1 is "help":
- send "&5Agent - Server Management System"
- send "&a(Ver . &c1.0&a)"
- send " "
- send "&6Create : Xx_Clasher_xX"
- send "&9Support : rikuriku4"
Add Comment
Please, Sign In to add comment