Advertisement
Guest User

Kit Ayarlama

a guest
Oct 29th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.77 KB | None | 0 0
  1. options:
  2. prefix: &b&oBNW &8&l→
  3. noperm: &cUzgunum, Yetkiniz yok!
  4. # Kit Ayarlama Yeri Ayarlari Ayarlamalari Yukaridan ve Bu Kisimdan Yapabilirsin Diger Yerlere Bilgin Yoksa Dokunmani Onermem.
  5. jointogive: false
  6. deathtogive: false
  7. sword.slot: 0
  8. fns.slot: 1
  9. fishingrod.slot: 2
  10. bow.slot: 3
  11. helmet.mat: chain
  12. chestplate.mat: iron
  13. leggings.mat: iron
  14. boots.mat: iron
  15. sword.mat: iron
  16. sword.name: &7Murderer Weapon
  17. sword.lorename: &6You may kill someone with IsmetRG's Block-hit power!
  18. fns.name: &cBu&6rn&eer
  19. fns.lorename: &6Please don't burn yourself
  20. fishingrod.name: &9Enemy Pusher
  21. fishingrod.lorename: &6Try to push yourself
  22. bow.name: &4AWP | Dragon Lore
  23. bow.lorename: &6360 no scope
  24. arrow.number: 15
  25. arrow.number.save: 16
  26. arrow.slot: 8
  27. arrow.name: &2Green Arrow
  28. arrow.lorename: &6Hacker destroyer
  29.  
  30. on rightclick on sign:
  31. line 3 of the clicked block is "&8[&eAyarla&8]":
  32. make player execute command "/starterkit save"
  33. stop
  34. line 3 of the clicked block is "&8[&eSıfırla&8]":
  35. make player execute command "/starterkit unsave"
  36. stop
  37. line 3 of the clicked block is "&8[&eAl&8]":
  38. execute console command "/strtdsjfsdfs %player%"
  39. stop
  40. line 3 of the clicked block is "&eKit Ayarlama":
  41. line 4 of the clicked block is "&eYerine Git":
  42. make player execute command "/starterkit saveplace"
  43. stop
  44. line 3 of the clicked block is "&4&lSpawna":
  45. line 4 of the clicked block is "&c&lGeri Don":
  46. send "{@prefix} &aSpawna Geri Dondun!"
  47. set {save.available.%player%} to false
  48. clear player's inventory
  49. make player execute command "/spawn"
  50. stop
  51.  
  52. command /starterkit [<text>] [<player>]:
  53. trigger:
  54. if arg 1 is not "load" or "save" or "unsave" or "unsaveall" or "saveplace":
  55. send "{@prefix} &cYou did something wrong&8."
  56. stop
  57. if arg 1 is not set:
  58. send "{@prefix} &6Starterkit Commands"
  59. if player has the permission "starterkit.give":
  60. send "{@prefix} &7/starterkit load &8(&7<player>&8)"
  61. send "{@prefix} &7/starterkit unsaveall"
  62. send "{@prefix} &7/starterkit save"
  63. send "{@prefix} &7/starterkit unsave"
  64. send "{@prefix} &7/starterkit saveplace"
  65. stop
  66. if arg 1 is "load":
  67. if player has the permission "starterkit.give":
  68. if arg 2 is not set:
  69. if {kitinv.saved.%player%} is not set:
  70. clear the player's inventory
  71. message "{@prefix} &2Your starter kit succesfully loaded&8." to player
  72. set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
  73. set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
  74. set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
  75. set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
  76. set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
  77. equip player with {@helmet.mat} helmet
  78. equip player with {@chestplate.mat} chestplate
  79. equip player with {@leggings.mat} leggings
  80. equip player with {@boots.mat} boots
  81. stop
  82. else if {kitinv.saved.%player%} is set:
  83. message "{@prefix} &2Your starter kit succesfully loaded&8." to player
  84. clear the player's inventory
  85. equip player with {@helmet.mat} helmet
  86. equip player with {@chestplate.mat} chestplate
  87. equip player with {@leggings.mat} leggings
  88. equip player with {@boots.mat} boots
  89. set {_slot} to 0
  90. loop 36 times:
  91. set slot {_slot} of player to {kitinv.%{_slot}%.%player%}
  92. add 1 to {_slot}
  93. set slot 0 of player to {kitinv.slotzero.%player%}
  94. stop
  95. if arg 2 is set:
  96. if {kitinv.saved.%arg 2%} is not set:
  97. clear the arg 2's inventory
  98. message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
  99. message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
  100. set slot {@sword.slot} of arg 2 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
  101. set slot {@fns.slot} of arg 2 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
  102. set slot {@fishingrod.slot} of arg 2 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
  103. set slot {@bow.slot} of arg 2 to bow named "{@bow.name}" with lore "{@bow.lorename}"
  104. set slot {@arrow.slot} of arg 2 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
  105. equip arg 2 with {@helmet.mat} helmet
  106. equip arg 2 with {@chestplate.mat} chestplate
  107. equip arg 2 with {@leggings.mat} leggings
  108. equip arg 2 with {@boots.mat} boots
  109. stop
  110. else if {kitinv.saved.%arg 2%} is true:
  111. message "{@prefix} &2%arg 2%'s starter kit succesfully loaded&8." to player
  112. message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 2
  113. clear the arg 2's inventory
  114. equip arg 2 with {@helmet.mat} helmet
  115. equip arg 2 with {@chestplate.mat} chestplate
  116. equip arg 2 with {@leggings.mat} leggings
  117. equip arg 2 with {@boots.mat} boots
  118. set {_slot} to 0
  119. loop 36 times:
  120. set slot {_slot} of arg 2 to {kitinv.%{_slot}%.%arg 2%}
  121. add 1 to {_slot}
  122. set slot 0 of arg 2 to {kitinv.slotzero.%arg 2%}
  123. stop
  124. else:
  125. send "{@prefix} {@noperm}"
  126. if arg 1 is "saveplace":
  127. teleport player to {warp.saveplace}
  128. send "{@prefix} &2You are teleported to starterkit saveplace!"
  129. set {save.available.%player%} to true
  130. clear the player's inventory
  131. if arg 1 is "save":
  132. if arg 2 is not set:
  133. if {save.available.%player%} is true:
  134. if player has 1 {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}":
  135. if player has 1 flint and steel named "{@fns.name}" with lore "{@fns.lorename}":
  136. if player has 1 bow named "{@bow.name}" with lore "{@bow.lorename}":
  137. if player has {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}":
  138. set {_kitinvslot} to 0
  139. loop 36 times:
  140. set {kitinv.%{_slot}%.%player%} to slot {_slot} of player
  141. add 1 to {_slot}
  142. set {kitinv.saved.%player%} to true
  143. set {kitinv.slotzero.%player%} to slot 0 of player
  144. wait 5 ticks
  145. send "{@prefix} &cLoading..."
  146. wait 10 ticks
  147. send "{@prefix} &eKitini Basariyla Kaydettin!"
  148. stop
  149. else:
  150. send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
  151. else:
  152. send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
  153. else:
  154. send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
  155. else:
  156. send "{@prefix} &cEnvanterinde fazladan veya baska bir esya var!"
  157. else:
  158. send "{@prefix} &cKit Ayarlamak Icin Kit Ayarla Bolgesine Gitmelisin!"
  159. if arg 1 is "unsave":
  160. delete {kitinv.saved.%player%}
  161. wait 5 ticks
  162. send "{@prefix} &cLoading..."
  163. wait 10 ticks
  164. clear the player's inventory
  165. set slot {@sword.slot} of player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
  166. set slot {@fns.slot} of player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
  167. set slot {@fishingrod.slot} of player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
  168. set slot {@bow.slot} of player to bow named "{@bow.name}" with lore "{@bow.lorename}"
  169. set slot {@arrow.slot} of player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
  170. equip player with {@helmet.mat} helmet
  171. equip player with {@chestplate.mat} chestplate
  172. equip player with {@leggings.mat} leggings
  173. equip player with {@boots.mat} boots
  174. send "{@prefix} &eYou've successfully unsaved your inventory!"
  175. stop
  176. if arg 1 is "unsaveall":
  177. if player has the permission "strtrkt.give":
  178. loop all players:
  179. delete {kitinv.saved.%loop-player%}
  180. wait 5 ticks
  181. send "{@prefix} &cLoading..."
  182. wait 10 ticks
  183. loop all players:
  184. clear the loop-player's inventory
  185. set slot {@sword.slot} of loop-player to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
  186. set slot {@fns.slot} of loop-player to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
  187. set slot {@fishingrod.slot} of loop-player to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
  188. set slot {@bow.slot} of loop-player to bow named "{@bow.name}" with lore "{@bow.lorename}"
  189. set slot {@arrow.slot} of loop-player to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
  190. equip loop-player with {@helmet.mat} helmet
  191. equip loop-player with {@chestplate.mat} chestplate
  192. equip loop-player with {@leggings.mat} leggings
  193. equip loop-player with {@boots.mat} boots
  194. send "{@prefix} &eYou've successfully unsaved your inventory!"
  195. stop
  196. else:
  197. send "{@prefix} {@noperm}"
  198.  
  199. command /strtdsjfsdfs [<player>]:
  200. permission: console.anan
  201. executable by: console
  202. trigger:
  203. if {kitinv.saved.%arg 1%} is not set:
  204. clear the arg 1's inventory
  205. message "{@prefix} &2%arg 1%'s starter kit succesfully loaded&8." to player
  206. message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
  207. set slot {@sword.slot} of arg 1 to {@sword.mat} sword named "{@sword.name}" with lore "{@sword.lorename}"
  208. set slot {@fns.slot} of arg 1 to flint and steel named "{@fns.name}" with lore "{@fns.lorename}"
  209. set slot {@fishingrod.slot} of arg 1 to fishing rod named "{@fishingrod.name}" with lore "{@fishingrod.lorename}"
  210. set slot {@bow.slot} of arg 1 to bow named "{@bow.name}" with lore "{@bow.lorename}"
  211. set slot {@arrow.slot} of arg 1 to {@arrow.number} arrow named "{@arrow.name}" with lore "{@arrow.lorename}"
  212. equip arg 1 with {@helmet.mat} helmet
  213. equip arg 1 with {@chestplate.mat} chestplate
  214. equip arg 1 with {@leggings.mat} leggings
  215. equip arg 1 with {@boots.mat} boots
  216. stop
  217. else if {kitinv.saved.%arg 1%} is true:
  218. message "{@prefix} &2Your starter kit succesfully loaded&8." to arg 1
  219. clear the arg 1's inventory
  220. equip arg 1 with {@helmet.mat} helmet
  221. equip arg 1 with {@chestplate.mat} chestplate
  222. equip arg 1 with {@leggings.mat} leggings
  223. equip arg 1 with {@boots.mat} boots
  224. set {_slot} to 0
  225. loop 36 times:
  226. set slot {_slot} of arg 1 to {kitinv.%{_slot}%.%arg 1%}
  227. add 1 to {_slot}
  228. set slot 0 of arg 1 to {kitinv.slotzero.%arg 1%}
  229. stop
  230.  
  231. command /starterkitbolge [<text>]:
  232. permission: starterkit.admin
  233. permission message: &cUzgunum, Yetkiniz yok!
  234. trigger:
  235. if arg 1 is not set:
  236. send "Komut Kullanimi: /starterkitbolge"
  237. if arg 1 is "ayarla":
  238. if player have the permission "starterkit.admin":
  239. set {warp.saveplace} to location of player
  240. send "{@prefix} &aBasariyla alani sectin!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement