Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #wersja 2 alpha#
- variables:
- {Chat.Gui.} = false
- options:
- perm.message: &f&m--&r&e&l> &cPrzeprasza, no ale nie masz uprawnienia &e&l<&f&m--
- command /chat [<text>]:
- permission: chat.admin
- permission message: {@perm.message}
- aliases: /c
- trigger:
- if arg 1 is not set:
- if {Chat.Gui.%player%} is true:
- set {sound.GUI.%player%} to true
- wait 1 tick
- play raw sound "random.chestopen" at player with pitch 1 volume 5
- open chest with 3 rows named "&6Chat- &aOpcje w GUI" to player
- wait 2 tick
- play raw sound "random.pop" at player with pitch 1 volume 5
- format slot 0 of player with 1 of gray glass named "&6" to be unstealable
- format slot 1 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 2 of player with 1 of gray glass named "&6" to be unstealable
- format slot 3 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 4 of player with 1 of gray glass named "&6" to be unstealable
- format slot 5 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 6 of player with 1 of gray glass named "&6" to be unstealable
- format slot 7 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 8 of player with 1 of gray glass named "&6" to be unstealable
- format slot 9 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 10 of player with 1 of gray glass named "&6" to be unstealable
- format slot 11 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 12 of player with 1 of gray glass named "&6" to be unstealable
- format slot 13 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 14 of player with 1 of gray glass named "&6" to be unstealable
- format slot 15 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 16 of player with 1 of gray glass named "&6" to be unstealable
- format slot 17 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 18 of player with 1 of gray glass named "&6" to be unstealable
- format slot 19 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 20 of player with 1 of gray glass named "&6" to be unstealable
- format slot 21 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 22 of player with 1 of gray glass named "&6" to be unstealable
- format slot 23 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 24 of player with 1 of gray glass named "&6" to be unstealable
- format slot 25 of player with 1 of light gray glass named "&6" to be unstealable
- format slot 26 of player with 1 of gray glass named "&6" to be unstealable
- wait 0.5 tick
- play raw sound "random.pop" at player with pitch 1 volume 5
- else:
- send "WOW"
- send "WOW"
- send "WOW"
- send "WOW"
- if arg 1 is "reload" or "relog" or "r" or "relog" or "zrestartuj" or "przeladuj":
- if player has permission "CChat.reload":
- play raw sound "note.snare" at player with pitch 1 volume 8
- send "&4&l>>&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&4&l<<"
- wait 0.2 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- send ""
- wait 0.2 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- send " &6Z powodu crasha serwera przy reloadzie, ta opcja"
- wait 0.2 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- send " &6zostala &czablokowania&6. Prosze samemu zrestartowac serwer"
- wait 0.2 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- send ""
- wait 0.2 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- send "&4&l>>&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&4&l<<"
- if arg 1 is "clear"
- send "troool"
- on inventory close:
- if {sound.GUI.%player%} is true:
- play raw sound "random.chestclosed" at player with pitch 1 volume 5
- set {sound.GUI.%player%} to false
- else:
- stop
- command /soser:
- trigger:
- if {Chat.Gui.%player%} is true:
- set {Chat.Gui.%player%} to false
- send "Ustawiono na %{Chat.Gui.%player%}%"
- else:
- set {Chat.Gui.%player%} to true
- send "Ustawiono na %{Chat.Gui.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment