Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- hard: hardcore
- knock: knockback
- kohi: kohi
- standard: standard
- combo: combo
- spawn: world
- online.hardcore: on
- online.knockback: on
- online.standard: off
- online.kohi: on
- online.xvsx: off
- on load:
- set {online::hard} to "{@online.hardcore}"
- set {online::knock} to "{@online.knockback}"
- set {online::kohi} to "{@online.kohi}"
- set {online::standard} to "{@online.standard}"
- set {online::xvsx} to "{@online.xvsx}"
- command /arenapivipi [<player>] [<text>]:
- executable by: console
- trigger:
- arg 1 is set:
- arg 2 is "hard":
- if {online::hard} is "on":
- set {last::%arg-1%} to "hard"
- teleport arg-1 to {hardcore}
- clear arg-1's inventory
- add diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 to the arg-1
- add diamond helmet of protection 4 and unbreaking 3 to the arg-1's helmet
- add diamond chestplate of protection 4 and unbreaking 3 to the arg-1's chestplate
- add diamond leggings of protection 4 and unbreaking 3 to the arg-1's leggings
- add diamond boots of protection 4 and unbreaking 3 to the arg-1's boots
- add 2 golden apple:1 to arg-1
- add 8 golden apple to arg-1
- if arg-1 is op:
- send "&7Jako osoba &eVIP&7, dostajesz dodatkowe itemy." to arg-1
- add bow of punch 2 and infinity 1 named "" to arg-1
- add 1 golden apple:1 to arg-1
- add 4 golden apple to arg-1
- add diamond helmet of protection 4 and unbreaking 3 to arg-1
- add diamond chestplate of protection 4 and unbreaking 3 to arg-1
- add diamond leggings of protection 4 and unbreaking 3 to arg-1
- add diamond boots of protection 4 and unbreaking 3 to arg-1
- add arrow to arg-1
- stop
- else:
- send "&cBlad: &7Tryb wylaczony." to arg-1
- stop
- arg 2 is "knock":
- if {online::knock} is "on":
- set {last::%arg-1%} to "knock"
- teleport arg-1 to {knockback}
- clear arg-1's inventory
- add diamond sword of sharpness 5 and unbreaking 3 to the arg-1
- add diamond sword of knockback 2 to the arg-1
- add diamond helmet of protection 4 and unbreaking 3 to the arg-1's helmet
- add diamond chestplate of protection 4 and unbreaking 3 to the arg-1's chestplate
- add diamond leggings of protection 4 and unbreaking 3 to the arg-1's leggings
- add diamond boots of protection 4 and unbreaking 3 to the arg-1's boots
- add 2 golden apple:1 to arg-1
- add 10 golden apple to arg-1
- add bow of punch 2 and infinity 1 named "" to arg-1
- add 1 water bucket to arg-1
- add 2 ender pearl to arg-1
- add 256 cobblestone to arg-1
- add arrow to arg-1
- if arg-1 is op:
- send "&7Jako osoba &eVIP&7, dostajesz dodatkowe itemy." to arg-1
- add 1 golden apple:1 to arg-1
- add 5 golden apple to arg-1
- add 2 ender pearl to arg-1
- stop
- else:
- send "&cBlad: &7Tryb wylaczony." to arg-1
- stop
- arg 2 is "standard":
- if {online::standard} is "on":
- set {last::%arg-1%} to "standard"
- teleport arg-1 to {standard}
- clear arg-1's inventory
- add diamond helmet of protection 4 and unbreaking 3 to the arg-1's helmet
- add diamond chestplate of protection 4 and unbreaking 3 to the arg-1's chestplate
- add diamond leggings of protection 4 and unbreaking 3 to the arg-1's leggings
- add diamond boots of protection 4 and unbreaking 3 to the arg-1's boots
- add diamond sword of sharpness 5 and unbreaking 3 to arg-1
- stop
- else:
- send "&cBlad: &7Tryb wylaczony." to arg-1
- stop
- arg 2 is "kohi":
- if {online::kohi} is "on":
- set {last::%arg-1%} to "kohi"
- teleport arg-1 to {poty}
- clear arg-1's inventory
- add diamond helmet of protection 2 and unbreaking 2 to the arg-1's helmet
- add diamond chestplate of protection 2 and unbreaking 2 to the arg-1's chestplate
- add diamond leggings of protection 2 and unbreaking 2 to the arg-1's leggings
- add diamond boots of protection 2 and unbreaking 2 to the arg-1's boots
- add diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 to arg-1
- add 16 ender pearl to arg-1
- add 5 Splash Potion of Healing 2 to arg-1
- add potion of:8259 to arg-1
- add potion of:8226 to arg-1
- add 8 Splash Potion of Healing 2 to arg-1
- add potion of:8226 to arg-1
- add 8 Splash Potion of Healing 2 to arg-1
- add potion of:8226 to arg-1
- add 8 Splash Potion of Healing 2 to arg-1
- add potion of:8226 to arg-1
- stop
- else:
- send "&cBlad: &7Tryb wylaczony." to arg-1
- stop
- arg 2 is "xvsx":
- if {online::xvsx} is "on":
- stop
- else:
- send "&cBlad: &7Tryb wylaczony." to arg-1
- stop
- on join:
- set {last::%player%} to "world"
- on rightclick with compass:
- open chest with 5 rows named "" to player
- if {online::hard} is "on":
- set {_} to "&awlaczona"
- else:
- set {_} to "&cwylaczona"
- if {online::knock} is "on":
- set {_2} to "&awlaczona"
- else:
- set {_2} to "&cwylaczona"
- if {online::kohi} is "on":
- set {_3} to "&awlaczona"
- else:
- set {_3} to "&cwylaczona"
- if {online::standard} is "on":
- set {_4} to "&awlaczona"
- else:
- set {_4} to "&cwylaczona"
- if {online::xvsx} is "on":
- set {_5} to "&awlaczona"
- else:
- set {_5} to "&cwylaczona"
- wait 1 ticks
- format slot 20 of player with golden apple:1 named "&6&lHARDCORE" with lore "||&9» &7INFORMACJE:|| &9• &7Nazwa: &ehardcore|| &9• &7Aktualnie: %{_}%" to close then run [execute console command "arenapivipi %player% hard"]
- format slot 21 of player with golden apple:0 named "&6&lSTANDARD" with lore "||&9» &7INFORMACJE:|| &9• &7Nazwa: &estandard|| &9• &7Aktualnie: %{_4}%||" to close then run [execute console command "arenapivipi %player% standard"]
- format slot 22 of player with diamond sword named "&6&lKNOCKBACK" with lore "||&9» &7INFORMACJE:|| &9• &7Nazwa: &eknockback|| &9• &7Aktualnie: %{_2}%||" to close then run [execute console command "arenapivipi %player% knock"]
- format slot 23 of player with Water Bottle named "&6&lKOHI" with lore "||&9» &7INFORMACJE:|| &9• &7Nazwa: &ekohi|| &9• &7Aktualnie: %{_3}%" to close then run [execute console command "arenapivipi %player% kohi"]
- format slot 24 of player with Player Head named "&6&lXvsX" with lore "||&9» &7INFORMACJE:|| &9• &7Nazwa: &exvsx|| &9• &7Aktualnie: %{_5}%" to close then run [execute console command "arenapivipi %player% xvsx"]
- command /setspawn [<text>]:
- trigger:
- if player is op:
- set {spawn} to location of player
- send "&7Ustawiles: &espawn&7."
- else:
- send "&cBlad: &7Nie masz uprawnien."
- command /spawn [<offlineplayer>] [<text>]:
- trigger:
- if arg-1 is not set:
- if {spawn} is set:
- if player is op:
- teleport player to {spawn}
- clear player's inventory
- send "&9• &7Teleportacja na &espawn&7."
- send "&9• &7Szybsza teleportacja dzieki &euprawnieniu&7."
- give compass named "&a&l✖ &2WYBIERZ TRYB &a&l✖" to player
- set {last::%player%} to "world"
- stop
- set {_posx} to x-location of player
- set {_posz} to z-location of player
- set {_posy} to y-location of player
- send "&9• &7Teleportacja na &espawn&7. &4&nNie ruszaj sie."
- loop 10 times:
- wait 1 second
- difference between x-location of player and {_posx} is bigger than 0.5:
- send "&9• &cTeleportacja nie powiodla sie."
- stop
- difference between z-location of player and {_posz} is bigger than 0.5:
- send "&9• &cTeleportacja nie powiodla sie."
- stop
- difference between y-location of player and {_posy} is bigger than 0.5:
- send "&9• &cTeleportacja nie powiodla sie."
- stop
- set {last::%player%} to "world"
- teleport player to {spawn}
- clear player's inventory
- give compass named "&a&l✖ &2WYBIERZ TRYB &a&l✖" to player
- send "&9• &7Teleportacja na &espawn&7."
- stop
- else:
- send "&cBlad: &7Nie odnaleziono spawnu."
- if arg-1 is set:
- if player is op:
- if arg-1 is online:
- if {spawn} is set:
- teleport arg-1 to {spawn}
- send "&9• &7Teleportacja gracza &e%arg-1% &7na &espawn&7."
- send "&9• &7Zostales przeteleportowany na &espawn&7." to arg-1
- else:
- send "&cBlad: &7Nie odnaleziono spawnu."
- else:
- send "&cBlad: &7Ten gracz jest offline."
- on respawn:
- if {last::%player%} is "hard" or "knock" or "standard" or "kohi" or "combo":
- wait 5 tick
- execute console command "arenapivipi %player% %{last::%player%}%"
- stop
- wait 8 tick
- set {last::%player%} to "world"
- teleport player to {spawn}
- clear player's inventory
- give compass named "&a&l✖ &2WYBIERZ TRYB &a&l✖" to player
- on join:
- wait 8 ticks
- clear player's inventory
- teleport player to {spawn}
- wait 2 ticks
- give compass named "&a&l✖ &2WYBIERZ TRYB &a&l✖" to player
- command /setarena [<text>]:
- trigger:
- if player is op:
- arg 1 is not set:
- send "&9• &7Uzyj: &e/setarena <knock/hard/standard/kohi/combo>&7."
- arg 1 is "hardcore":
- set {hardcore} to location of player
- send "&cUstawiono arene hardcore!"
- arg 1 is "knockback":
- set {knockback} to location of player
- send "&cUstawiono arene knockback!"
- arg 1 is "standard":
- set {standard} to location of player
- send "&cUstawiono arene standard!"
- arg 1 is "kohi":
- set {kohi} to location of player
- send "&cUstawiono arene kohi!"
- arg 1 is "combo":
- set {combo} to location of player
- send "&cUstawiono arene combo!"
- else:
- send "&cBlad: &7Nie masz uprawnien."
Advertisement
Add Comment
Please, Sign In to add comment