Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {glow.mode.%player%} = "False"
- command /glow:
- aliases: gl
- permission: glow.enable
- trigger:
- if player does not have permission "glow.enable":
- message "&4&lGlow &8► &7You have no right to this command!"
- stop
- if {glow.mode.%player%} is "False":
- message "&4&lGlow &8► &7Glowing now &2&lenabled!"
- set {glow.mode.%player%} to "True"
- apply glowing to the player for 100000 seconds
- apply night vision to the player for 100000 seconds
- apply absorption to the player for 100000 seconds
- else:
- if {glow.mode.%player%} is "True":
- message "&4&lGlow &8► &7Glowing now &4&ldisabled!"
- set {glow.mode.%player%} to "False"
- remove glowing from the player
- remove absorption from the player
- remove night vision from the player
- # GIVE SYSTEM
- command /restore <player> [<text>] [<text>]:
- permission: avaloncs.admin
- trigger:
- if arg 2 is "give":
- send "&4&lAdministrator &e%player% &7 has returned the item &c&o%arg 3%" to arg 1
- execute console command "give %arg 1% %arg 3%"
- stop
- command /ann <text>:
- usage: &f/ann <msg>
- permission: broadcast.use
- aliases: bc
- executable by: players and console
- permission message: &4&lError &8► &7You dont have permission!.
- trigger:
- broadcast "&8+---------------------------+&r"
- broadcast " &c&lANNOUNCER"
- broadcast ""
- broadcast " %colored arg-1%"
- broadcast ""
- broadcast "&8+---------------------------+&r"
- stop
- # AdminChat
- options:
- #Permission
- permission: adminchat.chat
- #No permission message
- PermMsg: &4You do not have permission to use this command!
- #Admin chat prefix
- Prefix: &4&lAC &7► &8[%player's display name%&8]
- command /adminchat [<text>]:
- permission: {@permission}
- permission message: {@PermMsg}
- executable by: players and console
- aliases: staffchat, sc, a
- trigger:
- if argument 1 is not set:
- if {adminchat::%player%} is not set:
- set {adminchat::%player%} to 1
- message "&4&lAdminChat &8► &2ON&8."
- if {adminchat::%player%} is 1:
- set {adminchat::%player%} to 0
- message "&4&lAdminChat &8► &4OFF&8."
- if argument 1 is set:
- if argument 1 is "on":
- set {adminchat::%player%} to 1
- message "&4&lAdminChat &8► &2ON&8."
- if argument 1 is "off":
- set {adminchat::%player%} to 0
- message "&4&lAdminChat &8► &4OFF&8."
- if argument 1 is not "on" or "off":
- loop all players:
- loop-player has the permission "{@permission}":
- message "{@Prefix} " to loop-player
- on chat:
- if {adminchat::%player%} is 1:
- cancel event
- loop all players:
- loop-player has the permission "{@permission}":
- message "{@Prefix} %coloured message%" to loop-player
- else:
- stop
- on quit:
- if {adminchat::%player%} is 1:
- delete {adminchat::%player%}
- if {adminchat::%player%} is 0:
- delete {adminchat::%player%}
- command /afk:
- trigger:
- if {afk::%player%} is false:
- set {afk::%player%} to true
- broadcast "&4&lAFK &8-> &7Player &c&o%player% &7is in AFK mode"
- else:
- set {afk::%player%} to false
- broadcast "&4&lAFK &8-> &7The player &c&o%player% &7is again in play"
- on chat:
- if {afk::%player%} is true:
- cancel event
- message "&4&lERROR &8► &7You are AFK! use &c&o/afk"
- command /facebook [<text>]:
- trigger:
- if arg 1 is not set:
- send "&1&lFacebook &8► &7Try &c/facebook [message]"
- if arg 1 is set:
- broadcast "&1&lFacebook &8► &7%arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement