Update 'HelixuAddons.sk'
This commit is contained in:
parent
c418648792
commit
ece3e6e34e
1 changed files with 24 additions and 5 deletions
|
@ -1,3 +1,14 @@
|
|||
command /disall <text>:
|
||||
permission: op
|
||||
trigger:
|
||||
loop all players:
|
||||
make console execute command "displayer %loop-player% %arg-1%"
|
||||
|
||||
command /undisall:
|
||||
permission: op
|
||||
trigger:
|
||||
loop all players:
|
||||
make console execute command "undisplayer %loop-player%"
|
||||
|
||||
command /sethubloc:
|
||||
permission: op
|
||||
|
@ -107,20 +118,28 @@ on join:
|
|||
if player has permission "helixu.staffchat":
|
||||
loop all players:
|
||||
loop-player has permission "helixu.staffchat":
|
||||
send "&b[STAFF] %player's name% &ejoined." to loop-player
|
||||
send "&b[STAFF] &e%player's prefix%%player's name% &ejoined." to loop-player
|
||||
|
||||
on quit:
|
||||
if player has permission "helixu.staffchat":
|
||||
loop all players:
|
||||
loop-player has permission "helixu.staffchat":
|
||||
send "&b[STAFF] %player's name% &eleft." to loop-player
|
||||
send "&b[STAFF] &e%player's prefix%%player's name% &eleft." to loop-player
|
||||
|
||||
command /o [<text>]:
|
||||
permission: helixu.staffchat
|
||||
trigger:
|
||||
loop all players:
|
||||
if loop-player has permission "helixu.staffchat":
|
||||
if arg-1 is not set:
|
||||
send "&eYou cannot send a message with no text!"
|
||||
send "&b[STAFF] %player's display name%&f: %arg-1%" to loop-player
|
||||
send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to loop-player
|
||||
|
||||
command /push [<player>]:
|
||||
permission: helixu.push
|
||||
trigger:
|
||||
if arg-1 is not set:
|
||||
send "&cUsage: /push (player)" to player
|
||||
if arg-1 is set:
|
||||
push arg-1 upwards at speed 2
|
||||
push arg-1 backwards at speed 2
|
||||
send "&6Player has been pushed!" to player
|
||||
|
||||
|
|
Loading…
Reference in a new issue