#ZMIENNE variables: {klikniecia.%player%} = 0 #OPCJE options: bc: &7&l[&4&lOgloszenie&7&l] s: &7&l>> &4 msg: &6 helpop: &7[&r&4Help&cOp&r&7] &7&l>> #CHAT command /chat []: permission: admin.* permission message: &4>>Nie masz uprawnien do tej komendy ! trigger: if arg 1 is not set: send "&4Poprawne uzycie /chat on/off/c" stop if arg 1 is set: if arg 1 is "c" or "clear" or "on" or "off": if arg 1 is "clear" or "c": loop all players: loop 100 times: send "" to loop-players broadcast "&4Chat zostal wyczyszczony przez %player%" if arg 1 is "off": send "&4Pomyslnie wylaczono chat!" send "Chat zostal wylaczony przez &c%player%" set {chat.status} to true if arg 1 is "on": send "&4Pomyslnie wlaczono chat!" send "Chat zostal wlaczony przez &c%player%" set {chat.status} to false if arg 1 is not "c" or "clear" or "on" or "off": send "&4Poprawne uzycie /chat on/off/c" stop #EVENT#DO#CHATU on chat: if player don't have permission "admin.*": if {chat.status} is true: send "&4>>Nie mozesz pisac ! Chat jest aktulanie wylaczony !" cancel event #BROADCAST command /broadcast []: permission: admin.* permission message:&4>>Nie masz uprawnien do tej komendy ! trigger: if arg 1 is not set: send "&7>>&4Musisz podac tresc wiadomosci !]" if arg 1 is set: send "{@bc} %coloured arg%" to all players else: send "&7>>&4Poprawne uzycie /broadcast [kolorowa wiadomosc do servera]" #TESTCPS command /testcps: trigger: send "&6 Pomyslnie rozpoczeles/as test cps ! Potrwa on 10 sekund ." wait 2 second send "&6 Test rozpocznie sie za &2&l3 !" wait 1 second send "&6 Test rozpocznie sie za &d&l2 !" wait 1 second send "&6 Test rozpocznie sie za &4&l1 !" wait 1 second send "&6&l Start ! Mozesz juz klikac ! Powodzenia :)" wait 10 second set {klikniecia.%player%} to true clear {klikniecia.%player%} set {_w.%player%} to {wynik.%player%}/10 open chest with 1 row named "&6Test CPS &7by &4&lZinkQ" to player format slot 0 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 1 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 2 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 3 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 4 of player with diamond sword named "&6&lTwoje CPS'y" with lore "&4&l%{_w.%player%}%" to be unstealable format slot 5 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 6 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 7 of player with gray glass pane named "&7&lPustka..." to be unstealable format slot 8 of player with gray glass pane named "&7&lPustka..." to be unstealable set {klikniecia.%player%} to false clear {klikniecia.%player%} clear {wynik.%player%} #EVENT#DO#CPS on click: if {klikniecia.%player%} is set: add 1 to {wynik.%player%} command /wc: permission: admin.* permission message: {@s} Nie masz uprawnien do tej komendy ! trigger: send "{@s} Poprawnie wylaczyles deszcz !" to player send "{@s} Gracz &c&l%player% &r&4wylaczyl deszcz ! Ludzie bez optifine cieszcie sie ! " to all players execute console command "/weather clear" stop #do gracza #od gracza #errory #offline #online command /msg [] []: trigger: if arg 1 is not set: send "{@s} Muszisz podac gracza !" stop if arg 2 is not set: send "{@s} Muszisz podac wiadomosc do gracza !" stop if offlineplayer-arg is offline: send "{@s Tego gracza nie ma w bazie danych lub jest offline!" stop if offlineplayer-arg is online: if arg 2 is set: send "{@msg} Ja -> %arg 1% : &7%arg 2%" to player send "{@msg} %arg 1% -> Ja : &7%arg 2%" to arg 1 stop #do opa #do gracza #tresc #text command /helpop [] []: trigger: if arg 1 is not set: send "{@s} Muszisz podac gracza , ktorego chcesz zglosic !" stop if arg 2 is not set: send "{@s} Muszisz podac wiadomosc , ktora chcesz przeslac do administratora !" stop if offlineplayer-arg is offline: send "{@s} Tego gracza nie ma w bazie danych lub jest offline!" stop if offlineplayer-arg is online: if arg 2 is set: send "{@helpop} &c Twoje zgloszenie o tresci /&7&6%arg 2%&c/&r&6 zostalo pomyslnie przyjete !" to player send "{@helpop} &c Gracz : &l&8%player% &r&cCU : &c&l%arg 1 % T : &6%arg 2%" to ops