options:
prefix: &b&oKITSAVE &8&l→
noperm: &cUzgunum, Yetkiniz yok!
# Kit Ayarlama Yeri Ayarlari Ayarlamalari Yukaridan ve Bu Kisimdan Yapabilirsin Diger Yerlere Bilgin Yoksa Dokunmani Onermem.
jointogive: false
deathtogive: false
sword.slot: 0
fns.slot: 1
fishingrod.slot: 2
bow.slot: 3
helmet.mat: chain
chestplate.mat: iron
leggings.mat: iron
boots.mat: iron
sword.mat: iron
sword.name: &7Murderer Weapon
sword.lorename: &6You may kill someone with IsmetRG's Block-hit power!
fns.name: &cBu&6rn&eer
fns.lorename: &6Please don't burn yourself
fishingrod.name: &9Enemy Pusher
fishingrod.lorename: &6Try to push yourself
bow.name: &4AWP | Dragon Lore
bow.lorename: &6360 no scope
arrow.number: 15
arrow.number.save: 16
arrow.slot: 8
arrow.name: &2Green Arrow
arrow.lorename: &6Hacker destroyer
on rightclick on sign:
line 3 of the clicked block is "&8[&eAyarla&8]":
make player execute command "/starterkit save"
stop
line 3 of the clicked block is "&8[&eSıfırla&8]":
make player execute command "/starterkit unsave"
stop
line 3 of the clicked block is "&8[&eAl&8]":
execute console command "/strtdsjfsdfs %player%"
stop
line 3 of the clicked block is "&eKit Ayarlama":
line 4 of the clicked block is "&eYerine Git":
make player execute command "/starterkit saveplace"
stop
line 3 of the clicked block is "&4&lSpawna":
line 4 of the clicked block is "&c&lGeri Don":
send "{@prefix} &aSpawna Geri Dondun!"
set {save.available.%player%} to false
clear player's inventory
make player execute command "/spawn"
stop
command /starterkit [<text>] [<player>]:
trigger:
if arg 1 is not "load" or "save" or "unsave" or "unsaveall" or "saveplace":
send "{@prefix} &cYou did something wrong&8."
stop
if arg 1 is not set:
send "{@prefix} &6Starterkit Commands"
if player has the permission "starterkit.give":
send "{@prefix} &7/starterkit load &8(&7<player>&8)"
send "{@prefix} &7/starterkit unsaveall"
send "{@prefix} &7/starterkit save"
send "{@prefix} &7/starterkit unsave"
send "{@prefix} &7/starterkit saveplace"
stop
if arg 1 is "load":
if player has the permission "starterkit.give":
if arg 2 is not set:
if {kitinv.saved.%player%} is not set:
clear the player's inventory
message "{@prefix} &2Your starter kit succesfully loaded&8." to player
set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
equip player with {@helmet.mat} helmet
equip player with {@chestplate.mat} chestplate
equip player with {@leggings.mat} leggings
equip player with {@boots.mat} boots
stop
else if {kitinv.saved.%player%} is set:
message "{@prefix} &2Your starter kit succesfully loaded&8." to player
clear the player's inventory
equip player with {@helmet.mat} helmet
equip player with {@chestplate.mat} chestplate
equip player with {@leggings.mat} leggings
equip player with {@boots.mat} boots
set {_slot} to 0
loop 36 times:
set slot {_slot} of player to {kitinv.%{_slot}%.%player%}
add 1 to {_slot}
set slot 0 of player to {kitinv.slotzero.%player%}
stop
if arg 2 is set:
if {kitinv.saved.%arg 2%} is not set:
clear the arg 2's inventory
message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
set slot {@sword.slot} of arg 2 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
set slot {@fns.slot} of arg 2 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
set slot {@fishingrod.slot} of arg 2 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
set slot {@bow.slot} of arg 2 to bow named "{@bow.name}" with lore "{@bow.lorename}"
set slot {@arrow.slot} of arg 2 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
equip arg 2 with {@helmet.mat} helmet
equip arg 2 with {@chestplate.mat} chestplate
equip arg 2 with {@leggings.mat} leggings
equip arg 2 with {@boots.mat} boots
stop
else if {kitinv.saved.%arg 2%} is true:
message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
clear the arg 2's inventory
equip arg 2 with {@helmet.mat} helmet
equip arg 2 with {@chestplate.mat} chestplate
equip arg 2 with {@leggings.mat} leggings
equip arg 2 with {@boots.mat} boots
set {_slot} to 0
loop 36 times:
set slot {_slot} of arg 2 to {kitinv.%{_slot}%.%arg 2%}
add 1 to {_slot}
set slot 0 of arg 2 to {kitinv.slotzero.%arg 2%}
stop
else:
send "{@prefix} {@noperm}"
if arg 1 is "saveplace":
teleport player to {warp.saveplace}
send "{@prefix} &2You are teleported to starterkit saveplace!"
set {save.available.%player%} to true
clear the player's inventory
if arg 1 is "save":
if arg 2 is not set:
if {save.available.%player%} is true:
if player has 1 {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}":
if player has 1 flint and steel named "{@fns.name}" with lore "{@fns.lorename}":
if player has 1 bow named "{@bow.name}" with lore "{@bow.lorename}":
if player has {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}":
set {_kitinvslot} to 0
loop 36 times:
set {kitinv.%{_slot}%.%player%} to slot {_slot} of player
add 1 to {_slot}
set {kitinv.saved.%player%} to true
set {kitinv.slotzero.%player%} to slot 0 of player
wait 5 ticks
send "{@prefix} &cLoading..."
wait 10 ticks
send "{@prefix} &eKitini Basariyla Kaydettin!"
stop
else:
send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
else:
send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
else:
send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
else:
send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
else:
send "{@prefix} &cKit Ayarlamak Icin Kit Ayarla Bolgesine Gitmelisin!"
if arg 1 is "unsave":
delete {kitinv.saved.%player%}
wait 5 ticks
send "{@prefix} &cLoading..."
wait 10 ticks
clear the player's inventory
set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
equip player with {@helmet.mat} helmet
equip player with {@chestplate.mat} chestplate
equip player with {@leggings.mat} leggings
equip player with {@boots.mat} boots
send "{@prefix} &eYou've successfully unsaved your inventory!"
stop
if arg 1 is "unsaveall":
if player has the permission "strtrkt.give":
loop all players:
delete {kitinv.saved.%loop-player%}
wait 5 ticks
send "{@prefix} &cLoading..."
wait 10 ticks
loop all players:
clear the loop-player's inventory
set slot {@sword.slot} of loop-player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
set slot {@fns.slot} of loop-player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
set slot {@fishingrod.slot} of loop-player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
set slot {@bow.slot} of loop-player to bow named "{@bow.name}" with lore "{@bow.lorename}"
set slot {@arrow.slot} of loop-player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
equip loop-player with {@helmet.mat} helmet
equip loop-player with {@chestplate.mat} chestplate
equip loop-player with {@leggings.mat} leggings
equip loop-player with {@boots.mat} boots
send "{@prefix} &eYou've successfully unsaved your inventory!"
stop
else:
send "{@prefix} {@noperm}"
command /strtdsjfsdfs [<player>]:
permission: console.anan
executable by: console
trigger:
if {kitinv.saved.%arg 1%} is not set:
clear the arg 1's inventory
message "{@prefix} &2%arg 1%'s starter kit succesfully loaded&8." to player
message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
set slot {@sword.slot} of arg 1 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
set slot {@fns.slot} of arg 1 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
set slot {@fishingrod.slot} of arg 1 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
set slot {@bow.slot} of arg 1 to bow named "{@bow.name}" with lore "{@bow.lorename}"
set slot {@arrow.slot} of arg 1 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
equip arg 1 with {@helmet.mat} helmet
equip arg 1 with {@chestplate.mat} chestplate
equip arg 1 with {@leggings.mat} leggings
equip arg 1 with {@boots.mat} boots
stop
else if {kitinv.saved.%arg 1%} is true:
message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
clear the arg 1's inventory
equip arg 1 with {@helmet.mat} helmet
equip arg 1 with {@chestplate.mat} chestplate
equip arg 1 with {@leggings.mat} leggings
equip arg 1 with {@boots.mat} boots
set {_slot} to 0
loop 36 times:
set slot {_slot} of arg 1 to {kitinv.%{_slot}%.%arg 1%}
add 1 to {_slot}
set slot 0 of arg 1 to {kitinv.slotzero.%arg 1%}
stop
command /starterkitbolge [<text>]:
permission: starterkit.admin
permission message: &cUzgunum, Yetkiniz yok!
trigger:
if arg 1 is not set:
send "Komut Kullanimi: /starterkitbolge"
if arg 1 is "ayarla":
if player have the permission "starterkit.admin":
set {warp.saveplace} to location of player
send "{@prefix} &aBasariyla alani sectin!"