SHOW:
|
|
- or go back to the newest paste.
| 1 | on rightclick: | |
| 2 | if player is holding blaze rod named "&6Rozdzka na spawn": | |
| 3 | if {opcja.vip} is true:
| |
| 4 | if player has permission "rozdzka.vip": | |
| 5 | remove 1 blaze rod from player | |
| 6 | teleport player to {rozdzka.spawn}
| |
| 7 | else: | |
| 8 | send "&3Koordynaty spawnu to: &c%{_x}% %{_y}% %{_z}%" to player
| |
| 9 | else: | |
| 10 | teleport player to {rozdzka.spawn}
| |
| 11 | command /rozdzka [<text>]: | |
| 12 | trigger: | |
| 13 | if player has permission "rozdzka.setspawn": | |
| 14 | if arg 1 is "ustawspawn": | |
| 15 | set {rozdzka.spawn} to location of player
| |
| 16 | set {_x} to x-coordinate of player
| |
| 17 | set {_y} to y-coordinate of player
| |
| 18 | set {_z} to z-coordinate of player
| |
| 19 | else: | |
| 20 | stop | |
| 21 | if arg 1 is "opcja": | |
| 22 | if {opcja.vip} is true:
| |
| 23 | set {opcja.vip} to false
| |
| 24 | send "&cWylaczyles opcje dla vipow" to player | |
| 25 | else: | |
| 26 | set {opcja.vip} to true
| |
| 27 | send "&cWlaczyles opcje dla vipow" to player | |
| 28 | on load: | |
| 29 | register new shaped recipe for diamond boots named "&6Rozdzka na spawn" with sharpness 1 using air, gold ingot, air, air, stick, air, air, stick, air |