Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # # # # # # # # # # # # # # #
- # #
- # General Config #
- # #
- # # # # # # # # # # # # # # #
- #Tag wyswietlany przed wiadomosciami skryptu:
- tag: &8[&6IStatus&8]
- # # # # # # # # # # # # # # #
- # #
- # Permission #
- # #
- # # # # # # # # # # # # # # #
- # Wiadomosć przy braku permisji:
- permission: &cNie posiadasz uprawnien!
- command /istatus [<text>]:
- trigger:
- if arg 1 isn't set:
- send "&8============"
- send "&6/istatus - &aPokazuje pomoc!"
- send "&6/istatus reload - &aPrzeladowanie skryptu!"
- stop
- if arg 1 is "reload":
- if player has permission "istatus.*" or "istatus.reload":
- execute console command "/sk reload %script%"
- send "{@tag} &aPrzeladowano skrypt!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on sign change:
- loop all players:
- if line 1 is "%loop-player%":
- if player has permission "istatus.status" or "istatus.*":
- if line 2 is "status":
- if loop-player is online:
- set line 3 to "&aOnline"
- set line 2 to ""
- set {block.%loop-player%} to event-block
- SEND "{@tag} &aStworzono tabliczke!"
- if loop-player is offline:
- set line 3 to "&cOffline"
- set line 2 to ""
- set {block.%loop-player%} to event-block
- on quit:
- set line 3 of the block at {block.%player%} to "&cOffline"
- set line 4 of block at {block.%player%} to "&9%now%"
- on join:
- set line 3 of the block at {block.%player%} to "&aOnline"
- set line 4 of block at {block.%player%} to ""
Advertisement
Add Comment
Please, Sign In to add comment