This commit is contained in:
Christer Waren committed 2026-10-22 17:28:35 +03:00
1 parent e41cb3cdf3
commit 4b6a2d3232
3 files changed
+73 -73

No files matched your search

+19 -19
View File
@@ -16,33 +16,33 @@ command /kitpvp [<string>] [<string>]:
wait 2 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
set slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
if {kitpvp.%player's name%.map} is set:
if {kitpvp.%player's name%.map} is "winter":
format slot 12 of player with compass named "&fKartta" with lore "Talvi" to close then run [execute player command "/kitpvp setmap"]
set slot 12 of player with compass named "&fKartta" with lore "Talvi" to close then run [execute player command "/kitpvp setmap"]
if {kitpvp.%player's name%.map} is "nether":
format slot 12 of player with compass named "&fKartta" with lore "Horna" to close then run [execute player command "/kitpvp setmap"]
set slot 12 of player with compass named "&fKartta" with lore "Horna" to close then run [execute player command "/kitpvp setmap"]
if {kitpvp.%player's name%.map} is "farm":
format slot 12 of player with compass named "&fKartta" with lore "Farmi" to close then run [execute player command "/kitpvp setmap"]
set slot 12 of player with compass named "&fKartta" with lore "Farmi" to close then run [execute player command "/kitpvp setmap"]
else:
format slot 12 of player with compass named "&fKartta" to close then run [execute player command "/kitpvp setmap"]
set slot 12 of player with compass named "&fKartta" to close then run [execute player command "/kitpvp setmap"]
if {kitpvp.%player's name%.kit} is set:
if {kitpvp.%player's name%.kit} is "soldier":
format slot 14 of player with iron chestplate named "&fKitit" with lore "Sotilas" to close then run [execute player command "/kitpvp setkit"]
set slot 14 of player with iron chestplate named "&fKitit" with lore "Sotilas" to close then run [execute player command "/kitpvp setkit"]
if {kitpvp.%player's name%.kit} is "speedster":
format slot 14 of player with iron chestplate named "&fKitit" with lore "Vauhtihirmu" to close then run [execute player command "/kitpvp setkit"]
set slot 14 of player with iron chestplate named "&fKitit" with lore "Vauhtihirmu" to close then run [execute player command "/kitpvp setkit"]
if {kitpvp.%player's name%.kit} is "archer":
format slot 14 of player with iron chestplate named "&fKitit" with lore "Jousimies" to close then run [execute player command "/kitpvp setkit"]
set slot 14 of player with iron chestplate named "&fKitit" with lore "Jousimies" to close then run [execute player command "/kitpvp setkit"]
else:
format slot 14 of player with iron chestplate named "&fKitit" to close then run [execute player command "/kitpvp setkit"]
set slot 14 of player with iron chestplate named "&fKitit" to close then run [execute player command "/kitpvp setkit"]
if {kitpvp.%player's name%.started} is set:
format slot 27 of player with barrier named "&fLopeta" to close then run [execute player command "/kitpvp end"]
set slot 27 of player with barrier named "&fLopeta" to close then run [execute player command "/kitpvp end"]
else:
if {kitpvp.%player's name%.map} and {kitpvp.%player's name%.kit} is set:
format slot 35 of player with nether star named "&fAloita" to close then run [execute player command "/kitpvp start"]
set slot 35 of player with nether star named "&fAloita" to close then run [execute player command "/kitpvp start"]
stop
else:
@@ -54,11 +54,11 @@ command /kitpvp [<string>] [<string>]:
wait 2 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
set slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 11 of player with snow block named "&fTalvi" to close then run [execute player command "/kitpvp setmap winter"]
format slot 13 of player with netherrack named "&fHorna" to close then run [execute player command "/kitpvp setmap nether"]
format slot 15 of player with hay block named "&fFarmi" to close then run [execute player command "/kitpvp setmap farm"]
set slot 11 of player with snow block named "&fTalvi" to close then run [execute player command "/kitpvp setmap winter"]
set slot 13 of player with netherrack named "&fHorna" to close then run [execute player command "/kitpvp setmap nether"]
set slot 15 of player with hay block named "&fFarmi" to close then run [execute player command "/kitpvp setmap farm"]
else:
if arg-2 is "winter":
set {kitpvp.%player's name%.map} to "winter"
@@ -80,11 +80,11 @@ command /kitpvp [<string>] [<string>]:
wait 2 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
set slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 11 of player with iron sword named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"]
format slot 13 of player with golden boots named "&fVauhtihirmu" to close then run [execute player command "/kitpvp setkit speedster"]
format slot 15 of player with bow named "&fJousimies" to close then run [execute player command "/kitpvp setkit archer"]
set slot 11 of player with iron sword named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"]
set slot 13 of player with golden boots named "&fVauhtihirmu" to close then run [execute player command "/kitpvp setkit speedster"]
set slot 15 of player with bow named "&fJousimies" to close then run [execute player command "/kitpvp setkit archer"]
stop
else:
if arg-2 is "soldier":