Update 'HelixuAddons.sk'

This commit is contained in:
Helixu 2022-01-23 11:18:00 +00:00
parent 9e93fd8878
commit a00b22c8b0

View file

@ -108,22 +108,28 @@ on join:
if player has permission "helixu.staffchat": if player has permission "helixu.staffchat":
loop all players: loop all players:
loop-player has permission "helixu.staffchat": loop-player has permission "helixu.staffchat":
send "&b[STAFF] &e%player's prefix%%player's name% &ejoined." to loop-player send "&b[STAFF] &e%first 2 characters of coloured player's prefix%%player's name% &ejoined." to loop-player
on quit: on quit:
if player has permission "helixu.staffchat": if player has permission "helixu.staffchat":
loop all players: loop all players:
loop-player has permission "helixu.staffchat": loop-player has permission "helixu.staffchat":
send "&b[STAFF] &e%player's prefix%%player's name% &eleft." to loop-player send "&b[STAFF] &e%first 2 characters of coloured player's prefix%%player's name% &eleft." to loop-player
command /o [<text>]: command /o [<text>]:
aliases: /staffchat aliases: /staffchat
permission: helixu.staffchat permission: helixu.staffchat
trigger: trigger:
loop all players: if sender is console:
if loop-player has permission "helixu.staffchat": loop all players:
send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to loop-player if loop-player has permission "helixu.staffchat":
send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to console send "&b[STAFF] &cCONSOLE&f: &c%arg-1%" to loop-player
send "&b[STAFF] &cCONSOLE&f: &c%arg-1%" to console
if sender is not console:
loop all players:
if loop-player has permission "helixu.staffchat":
send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to loop-player
send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to console
command /push [<player>]: command /push [<player>]:
permission: helixu.push permission: helixu.push
@ -195,3 +201,13 @@ on server ping:
stop stop
if {mm} is not set: if {mm} is not set:
set motd to "&cLads Factions &6| &dDaewoo Espero nation" set motd to "&cLads Factions &6| &dDaewoo Espero nation"
command /csay [<text>]:
trigger:
if sender is console:
if arg-1 is not set:
send "&cYou cannot send an empty message!"
if arg-1 is set:
broadcast "&cCONSOLE &f» &c%arg-1%"
if sender is not console:
send "&cYou are not console!" to player