arTXPFst
Język: Skript
|
Autor: Anonimowy
options: compass: compass named "&aWybór trybu" on join: clear player's inventory set slot 4 of player's inventory to {@compass} on drop: event-item is {@compass} cancel event on inventory click: if name of player's current inventory is "&aWybór trybu": clicked inventory is not player's inventory cancel event if clicked slot is 13: clear player's inventory equip player with all diamond armor of protection 3 give player diamond sword of knockback 2 give player diamond sword of sharpness 3 and fire aspect 1 send "&aOtrzymałeś przedmioty do walki!" to player else if click type is left mouse button or right mouse button: clicked inventory is not player's inventory player's cursor slot is {@compass} cancel event else if click type is left mouse button with shift or right mouse button with shift: clicked inventory is player's inventory event-slot is {@compass} cancel event else if click type is number key: clicked inventory is player's inventory slot (hotbar button) of player's inventory is {@compass} cancel event on right click: player's tool is {@compass} open chest inventory with 3 rows named "&aWybór trybu" to player set slot (integers between 0 and 26) of player's current inventory to white stained glass pane named " " set slot 13 of player's current inventory to stick named "&cKnock"