command /classiccommands []: aliases: classiccmds, cmds, clcmds trigger: if sender has permissions "classiccommands.cmds": if arg isn't set: open chest with 3 rows named "&8&lClassicCommands" to player loop 27 times: set slot loop-number - 1 of current inventory of player to {_x} named "" set slot 0 of current inventory of player to paper named "&aSay" set slot 1 of current inventory of player to water bottle named "&aWeather" set slot 2 of current inventory of player to stick named "&aGive" set slot 3 of current inventory of player to light green wool named "&aGamemode" set slot 4 of current inventory of player to torch named "&aTPS" set slot 5 of current inventory of player to cobblestone named "&aList" set slot 6 of current inventory of player to stone named "&aOP List" set slot 7 of current inventory of player to clock named "&aTime" set slot 9 of current inventory of player to coal named "&aOP" set slot 10 of current inventory of player to charcoal named "&aDEOP" else: send "&aTaka komenda nie istnieje! Wpisz /classiccommands" else: send "&aBrak uprawnien do uzycia tej komendy!" on chat: if {say::%player%} is true: if message is "-": set {say::%player%} to false send "&aAnulowano pisanie wiadomosci" cancel event else: send "&c[&aSAY&c] &c[&a%sender%&c]: &a%message%" set {say::%player%} to false cancel event if {weather::%player%} is true: if message is "sun" or "clear" or "sunny": set weather in world of player to sunny send "&aZmieniles pogode na swiecie &c%world% &ana &csloneczna" set {weather::%player%} to false cancel event if message is "rain": set weather in world of player to rain send "&aZmieniles pogode na swiecie &c%world% &ana &cdeszczowa" set {weather::%player%} to false cancel event if message is "thunder": set weather in world of player to thunder send "&aZmieniles pogode na swiecie &c%world% &ana &cburze" set {weather::%player%} to false cancel event if message is "-": set {say::%player%} to false send "&aAnulowano zmiane pogody" cancel event if {give::%player%} is true: if message is "-": set {give::%player%} to false send "&aAnulowano dawanie przedmiotow" cancel event if message is set: set {x} to "%message%" parsed as item set {give::%player%} to false give {x} to player send "&aOtrzymales &c%message%" cancel event if {gamemode::%player%} is true: if message is "-": set {gamemode::%player%} to false send "&aAnulowano zmiany trybu gry" cancel event if message is "survival" or "s" or "surv" or "0": set {gamemode::%player%} to false send "&aZmieniles swoj tryb gry na &cprzetrwania" set gamemode of player to survival cancel event if message is "creative" or "c" or "1": set {gamemode::%player%} to false send "&aZmieniles swoj tryb gry na &ckreatywny" set gamemode of player to creative cancel event if message is "adventure" or "ad" or "adven" or "2": set {gamemode::%player%} to false send "&aZmieniles swoj tryb gry na &cprzygodowy" set gamemode of player to adventure cancel event if message isn't "adventure" or "ad" or "adven" or "2" or "creative" or "c" or "1" or "survival" or "s" or "surv" or "0": send "&aTaki tryb rozgrywki nie istnieje!" cancel event if {time::%player%} is true: if message is "-": set {time::%player%} to false send "&aAnulowano sprawdzanie lub zmiany godziny" cancel event if message is "time": set {time::%player%} to false send "&aObecna godzina na swiecie &c%world%&a: &c%time%" cancel event if message is "day": set {time::%player%} to false set {day} to "8:00" parsed as time set time in world of player to {day} send "&aUstawies godzine na swiecie &c%world% &ana &c%{day}%" cancel event if message is "night": set {time::%player%} to false set {night} to "22:00" parsed as time set time in world of player to {night} send "&aUstawies godzine na swiecie &c%world% &ana &c%{night}%" cancel event if {op::%player%} is true: if message is "-": set {op::%player%} to false send "&aAnulowano nadawanie OP" cancel event else: set {op} to "%message%" parsed as player send "&aNadales OP graczowi &c%{op}%" op {op} set {op::%player%} to false cancel event if {deop::%player%} is true: if message is "-": set {deop::%player%} to false send "&aAnulowano odbieranie OP" cancel event else: set {deop} to "%message%" parsed as player send "&aOdebrales OP graczowi &c%{deop}%" op {deop} set {deop::%player%} to false cancel event on inventory click: if inventory name of current inventory of player is "&8&lClassicCommands": if clicked slot is 0: close player's inventory set {say::%player%} to true send "&aWpisz wiadomosc..." send "&aAby anulowac pisanie wpisz '&c-&a'" if clicked slot is 1: close player's inventory send "&aWpisz rodzaj pogody..." send "&aAby anulowac zmiane pogody wpisz '&c-&a'" set {weather::%player%} to true if clicked slot is 2: close player's inventory send "&aWpisz przedmiot..." send "&aAby anulowac otrzymanie przedmiotu wpisz '&c-&a'" set {give::%player%} to true if clicked slot is 3: close player's inventory send "&aWpisz tryb gry..." send "&aAby anulowac zmiany trybu gry wpisz '&c-&a'" set {gamemode::%player%} to true if clicked slot is 4: close player's inventory send "&aObecne TPS serwera: &c%tps%" if clicked slot is 5: close player's inventory send "&aLista graczy na serwerze:" send "&c%players%" if clicked slot is 6: close player's inventory send "&aLista administratorow na serwerze:" send "&c%ops%" if clicked slot is 7: close player's inventory send "&aWpisz pore dnia..." send "&aAby anulowac zmiany pory dnia wpisz '&c-&a'" set {time::%player%} to true if clicked slot is 9: close player's inventory send "&aWpisz nick gracza online..." send "&aAby anulowac nadawanie OP wpisz '&c-&a'" set {op::%player%} to true if clicked slot is 10: close player's inventory send "&aWpisz nick gracza online..." send "&aAby anulowac odbieranie OP wpisz '&c-&a'" set {deop::%player%} to true else: cancel event on command: if command is "say": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "weather": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "gamemode": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "tps": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "give": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "list": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "time": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "op": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event if command is "deop": send "&aBlad! Nie ma takiej komendy! Wpisz /classiccommands" cancel event