Advertisement
Balerias

Untitled

Jun 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. options:
  2. p: &8(&2FTP &7Skript&8) &7
  3. command /close:
  4. trigger:
  5. set {asdg} to true
  6. command /is [<text>] [<text>] [<text>]:
  7. permission: op.op
  8. trigger:
  9. if arg-1 is not set:
  10. play "click" to player at volume 100
  11. open chest with 5 rows named "{@p}" to player
  12. wait 3 ticks
  13. format slot 9 of player with 160:7 named " " to be unstealable
  14. format slot 10 of player with 160:7 named " " to be unstealable
  15. format slot 11 of player with 160:7 named " " to be unstealable
  16. format slot 12 of player with 160:7 named " " to be unstealable
  17. format slot 13 of player with 160:7 named " " to be unstealable
  18. format slot 14 of player with 160:7 named " " to be unstealable
  19. format slot 15 of player with 160:7 named " " to be unstealable
  20. format slot 16 of player with 160:7 named " " to be unstealable
  21. format slot 17 of player with 160:7 named " " to be unstealable
  22. format slot 19 of player with 160:8 named " " to be unstealable
  23. format slot 21 of player with 160:8 named " " to be unstealable
  24. format slot 23 of player with 160:8 named " " to be unstealable
  25. format slot 25 of player with 160:8 named " " to be unstealable
  26. format slot 28 of player with 160:8 named " " to be unstealable
  27. format slot 30 of player with 160:8 named " " to be unstealable
  28. format slot 32 of player with 160:8 named " " to be unstealable
  29. format slot 34 of player with 160:8 named " " to be unstealable
  30. format slot 36 of player with 160:7 named " " to be unstealable
  31. format slot 37 of player with 160:7 named " " to be unstealable
  32. format slot 38 of player with 160:7 named " " to be unstealable
  33. format slot 39 of player with 160:7 named " " to be unstealable
  34. format slot 40 of player with 325 named "&cSchließen" to close then run [make player execute command "/close"]
  35. format slot 41 of player with 160:7 named " " to be unstealable
  36. format slot 42 of player with 160:7 named " " to be unstealable
  37. format slot 43 of player with 160:7 named " " to be unstealable
  38. format slot 44 of player with 160:7 named " " to be unstealable
  39. if {Slot.1} is "aktiv":
  40. format slot 27 of player with tnt named "&4Skript löschen" to run [make player execute command "/is delete %{Name.1}%"]
  41. format slot 18 of player with 76 named "&6Skript &6reloaden" to run [make player execute command "/is reload %{Name.1}%"]
  42. format slot 0 of player with 351:10 named "&aSkript &7&o%{Name.1}%" with lore "&7&m------------||&7Status &aaktiv|| ||&7%{Link.1}%" to run [make player execute command "/is disssable 1"]
  43. if {Slot.1} is "aus":
  44. format slot 0 of player with 351:9 named "&aSkript &7&o%{Name.1}%" with lore "&7&m------------||&7Status &cdeaktiviert|| ||&7%{Link.1}%" to run [make player execute command "/is enablee 1"]
  45. format slot 18 of player with 160:8 named " " to be unstealable
  46. format slot 27 of player with 160:8 named " " to be unstealable
  47. if {Slot.1} is not set:
  48. format slot 0 of player with 166 named "&cFreier Slot" with lore "&7&m------------||&7Status &cdeaktiviert" to be unstealable
  49. format slot 18 of player with 160:8 named " " to be unstealable
  50. format slot 27 of player with 160:8 named " " to be unstealable
  51. #----
  52. if {Slot.2} is "aktiv":
  53. format slot 29 of player with tnt named "&4Skript löschen" to run [make player execute command "/is delete %{Name.2}%"]
  54. format slot 20 of player with 76 named "&6Skript &6reloaden" to run [make player execute command "/is reload %{Name.2}%"]
  55. format slot 2 of player with 351:10 named "&aSkript &7&o%{Name.2}%" with lore "&7&m------------||&7Status &aaktiv|| ||&7%{Link.2}%" to run [make player execute command "/is disssable 2"]
  56. if {Slot.2} is "aus":
  57. format slot 20 of player with 160:8 named " " to be unstealable
  58. format slot 29 of player with 160:8 named " " to be unstealable
  59. format slot 2 of player with 351:9 named "&aSkript &7&o%{Name.2}%" with lore "&7&m------------||&7Status &cdeaktiviert|| ||&7%{Link.2}%" to run [make player execute command "/is enablee 2"]
  60. if {Slot.2} is not set:
  61. format slot 2 of player with 166 named "&cFreier Slot" with lore "&7&m------------||&7Status &cdeaktiviert" to be unstealable
  62. format slot 20 of player with 160:8 named " " to be unstealable
  63. format slot 29 of player with 160:8 named " " to be unstealable
  64. #----
  65. if {Slot.3} is "aktiv":
  66. format slot 31 of player with tnt named "&4Skript löschen" to run [make player execute command "/is delete %{Name.3}%"]
  67. format slot 22 of player with 76 named "&6Skript &6reloaden" to run [make player execute command "/is reload %{Name.3}%"]
  68. format slot 4 of player with 351:10 named "&aSkript &7&o%{Name.3}%" with lore "&7&m------------||&7Status &aaktiv|| ||&7%{Link.3}%" to run [make player execute command "/is disssable 3"]
  69. if {Slot.3} is "aus":
  70. format slot 4 of player with 351:9 named "&aSkript &7&o%{Name.3}%" with lore "&7&m------------||&7Status &cdeaktiviert|| ||&7%{Link.3}%" to run [make player execute command "/is enablee 3"]
  71. format slot 22 of player with 160:8 named " " to be unstealable
  72. format slot 31 of player with 160:8 named " " to be unstealable
  73. if {Slot.3} is not set:
  74. format slot 4 of player with 166 named "&cFreier Slot" with lore "&7&m------------||&7Status &cdeaktiviert" to be unstealable
  75. format slot 22 of player with 160:8 named " " to be unstealable
  76. format slot 31 of player with 160:8 named " " to be unstealable
  77. #----
  78. if {Slot.4} is "aktiv":
  79. format slot 33 of player with tnt named "&4Skript löschen" to run [make player execute command "/is delete %{Name.4}%"]
  80. format slot 24 of player with 76 named "&6Skript &6reloaden" to run [make player execute command "/is reload %{Name.4}%"]
  81. format slot 6 of player with 351:10 named "&aSkript &7&o%{Name.4}%" with lore "&7&m------------||&7Status &aaktiv|| ||&7%{Link.4}%" to run [make player execute command "/is disssable 4"]
  82. if {Slot.4} is "aus":
  83. format slot 24 of player with 160:8 named " " to be unstealable
  84. format slot 33 of player with 160:8 named " " to be unstealable
  85. format slot 6 of player with 351:9 named "&aSkript &7&o%{Name.4}%" with lore "&7&m------------||&7Status &cdeaktiviert|| ||&7%{Link.4}%" to run [make player execute command "/is enablee 4"]
  86. if {Slot.4} is not set:
  87. format slot 6 of player with 166 named "&cFreier Slot" with lore "&7&m------------||&7Status &cdeaktiviert" to be unstealable
  88. format slot 24 of player with 160:8 named " " to be unstealable
  89. format slot 33 of player with 160:8 named " " to be unstealable
  90.  
  91. #----
  92. if {Slot.5} is "aktiv":
  93. format slot 35 of player with tnt named "&4Skript löschen" to run [make player execute command "/is delete %{Name.5}%"]
  94. format slot 26 of player with 76 named "&6Skript &6reloaden" to run [make player execute command "/is reload %{Name.5}%"]
  95. format slot 8 of player with 351:10 named "&aSkript &7&o%{Name.5}%" with lore "&7&m------------||&7Status &aaktiv|| ||&7%{Link.5}%" to run [make player execute command "/is disssable 5"]
  96. if {Slot.5} is "aus":
  97. format slot 26 of player with 160:8 named " " to be unstealable
  98. format slot 35 of player with 160:8 named " " to be unstealable
  99. format slot 8 of player with 351:9 named "&aSkript &7&o%{Name.5}%" with lore "&7&m------------||&7Status &cdeaktiviert|| ||&7%{Link.5}%" to run [make player execute command "/is enablee 5"]
  100. if {Slot.5} is not set:
  101. format slot 8 of player with 166 named "&cFreier Slot" with lore "&7&m------------||&7Status &cdeaktiviert" to be unstealable
  102. format slot 26 of player with 160:8 named " " to be unstealable
  103. format slot 35 of player with 160:8 named " " to be unstealable
  104. #---
  105. #---
  106. if arg-1 is "help":
  107. send "{@p}Hilfe:"
  108. send "{@p}/is <slot> <name> <link>"
  109. send "{@p}/is delete <slot>"
  110. if arg-1 is "1":
  111. if arg-2 is set:
  112. if arg-3 is set:
  113. send "{@p}&6Die Installation wird vorbereitet"
  114. wait 1 seconds
  115. delete file "plugins/Skript/scripts/%{Name.1}%.sk"
  116. send "{@p}&eSkript wird installiert .."
  117. wait 1 ticks
  118. set {_is.temp} to arg-3
  119. replace "." with "." in {_is.temp}
  120. create file "plugins/Skript/scripts/%arg-2%.sk"
  121. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  122. execute console command "sk reload %arg-2%"
  123. set {link.1} to "%arg-3%"
  124. set {Slot.%arg-1%} to "aktiv"
  125. set {Name.1} to "%arg-2%"
  126. send "{@p}&aSkript wurde erfolgreich installiert"
  127. if arg-1 is "2":
  128. if arg-2 is set:
  129. if arg-3 is set:
  130. delete file "plugins/Skript/scripts/%{Name.2}%.sk"
  131. wait 1 ticks
  132. set {_is.temp} to arg-3
  133. replace "." with "." in {_is.temp}
  134. create file "plugins/Skript/scripts/%arg-2%.sk"
  135. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  136. execute console command "sk reload %arg-2%"
  137. set {link.2} to "%arg-3%"
  138. set {Slot.%arg-1%} to "aktiv"
  139. set {Name.2} to "%arg-2%"
  140. send "&aDu hast erfolgreich die Datei %arg-2% erstellt"
  141. if arg-1 is "3":
  142. if arg-2 is set:
  143. if arg-3 is set:
  144. delete file "plugins/Skript/scripts/%{Name.3}%.sk"
  145. wait 1 ticks
  146. set {_is.temp} to arg-3
  147. replace "." with "." in {_is.temp}
  148. create file "plugins/Skript/scripts/%arg-2%.sk"
  149. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  150. execute console command "sk reload %arg-2%"
  151. set {link.3} to "%arg-3%"
  152. set {Slot.%arg-1%} to "aktiv"
  153. set {Name.3} to "%arg-2%"
  154. send "&aDu hast erfolgreich die Datei %arg-2% erstellt"
  155. if arg-1 is "4":
  156. if arg-2 is set:
  157. if arg-3 is set:
  158. delete file "plugins/Skript/scripts/%{Name.4}%.sk"
  159. wait 1 ticks
  160. set {_is.temp} to arg-3
  161. replace "." with "." in {_is.temp}
  162. create file "plugins/Skript/scripts/%arg-2%.sk"
  163. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  164. execute console command "sk reload %arg-2%"
  165. set {link.4} to "%arg-3%"
  166. set {Slot.%arg-1%} to "aktiv"
  167. set {Name.4} to "%arg-2%"
  168. send "&aDu hast erfolgreich die Datei %arg-2% erstellt"
  169. if arg-1 is "5":
  170. if arg-2 is set:
  171. if arg-3 is set:
  172. delete file "plugins/Skript/scripts/%{Name.5}%.sk"
  173. wait 1 ticks
  174. set {_is.temp} to arg-3
  175. replace "." with "." in {_is.temp}
  176. create file "plugins/Skript/scripts/%arg-2%.sk"
  177. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  178. execute console command "sk reload %arg-2%"
  179. set {link.5} to "%arg-3%"
  180. set {Slot.%arg-1%} to "aktiv"
  181. set {Name.5} to "%arg-2%"
  182. send "&aDu hast erfolgreich die Datei %arg-2% erstellt"
  183. if arg-1 is "delete":
  184. if arg-2 is "%{Name.1}%":
  185. delete {Slot.1}
  186. delete {link.1}
  187. delete file "plugins/Skript/scripts/%{Name.1}%.sk"
  188. format slot 27 of player with 0 tnt named "&4&lWIRD &lGELÖSCHT" to be unstealable
  189. delete {Name.1}
  190. wait 1 ticks
  191. execute console command "sk reload all"
  192. wait 1 ticks
  193. execute player command "is"
  194. send "{@p}&cErfolgreich gelöscht"
  195. if arg-2 is "%{Name.2}%":
  196. delete {Slot.2}
  197. delete {link.2}
  198. delete file "plugins/Skript/scripts/%{Name.2}%.sk"
  199. format slot 29 of player with 0 tnt named "&4&lWIRD &lGELÖSCHT" to be unstealable
  200. delete {Name.2}
  201. wait 1 ticks
  202. execute console command "sk reload all"
  203. wait 1 ticks
  204. execute player command "is"
  205. send "{@p}&cErfolgreich gelöscht"
  206. if arg-2 is "%{Name.3}%":
  207. delete {Slot.3}
  208. delete {link.3}
  209. delete file "plugins/Skript/scripts/%{Name.3}%.sk"
  210. format slot 31 of player with 0 tnt named "&4&lWIRD &lGELÖSCHT" to be unstealable
  211. delete {Name.3}
  212. wait 1 ticks
  213. execute console command "sk reload all"
  214. wait 1 ticks
  215. execute player command "is"
  216. send "{@p}&cErfolgreich gelöscht"
  217. if arg-2 is "%{Name.4}%":
  218. delete {Slot.4}
  219. delete {link.4}
  220. delete file "plugins/Skript/scripts/%{Name.4}%.sk"
  221. format slot 33 of player with 0 tnt named "&4&lWIRD &lGELÖSCHT" to be unstealable
  222. delete {Name.4}
  223. wait 1 ticks
  224. execute console command "sk reload all"
  225. wait 1 ticks
  226. execute player command "is"
  227. send "{@p}&cErfolgreich gelöscht"
  228. if arg-2 is "%{Name.5}%":
  229. delete {Slot.5}
  230. delete {link.5}
  231. delete file "plugins/Skript/scripts/%{Name.5}%.sk"
  232. format slot 35 of player with 0 tnt named "&4&lWIRD &lGELÖSCHT" to be unstealable
  233. delete {Name.5}
  234. wait 1 ticks
  235. execute console command "sk reload all"
  236. wait 1 ticks
  237. execute player command "is"
  238. send "{@p}&cErfolgreich gelöscht"
  239. if arg-1 is "disssable":
  240. if arg-2 is "1":
  241. set {Slot.1} to "aus"
  242. execute console command "sk disable %{Name.1}%"
  243. execute player command "is"
  244. if arg-2 is "2":
  245. set {Slot.2} to "aus"
  246. execute console command "sk disable %{Name.2}%"
  247. execute player command "is"
  248. if arg-2 is "3":
  249. set {Slot.3} to "aus"
  250. execute console command "sk disable %{Name.3}%"
  251. execute player command "is"
  252. if arg-2 is "4":
  253. set {Slot.4} to "aus"
  254. execute console command "sk disable %{Name.4}%"
  255. execute player command "is"
  256. if arg-2 is "5":
  257. set {Slot.5} to "aus"
  258. execute console command "sk disable %{Name.5}%"
  259. execute player command "is"
  260. if arg-1 is "enablee":
  261. if arg-2 is "1":
  262. set {Slot.%arg-2%} to "aktiv"
  263. play "click" to player at volume 100
  264. format slot 0 of player with 351:2 named "&dSkript startet" to be unstealable
  265. wait 1 ticks
  266. execute console command "sk enable %{Name.1}%"
  267. wait 1 ticks
  268. execute player command "is"
  269. if arg-2 is "2":
  270. set {Slot.%arg-2%} to "aktiv"
  271. play "click" to player at volume 100
  272. format slot 2 of player with 351:2 named "&dSkript startet" to be unstealable
  273. wait 1 ticks
  274. execute console command "sk enable %{Name.2}%"
  275. wait 1 ticks
  276. execute player command "is"
  277. if arg-2 is "3":
  278. set {Slot.%arg-2%} to "aktiv"
  279. play "click" to player at volume 100
  280. format slot 4 of player with 351:2 named "&dSkript startet" to be unstealable
  281. wait 1 ticks
  282. execute console command "sk enable %{Name.3}%"
  283. wait 1 ticks
  284. execute player command "is"
  285. if arg-2 is "4":
  286. set {Slot.%arg-2%} to "aktiv"
  287. play "click" to player at volume 100
  288. format slot 6 of player with 351:2 named "&dSkript startet" to be unstealable
  289. wait 1 ticks
  290. execute console command "sk enable %{Name.4}%"
  291. wait 1 ticks
  292. execute player command "is"
  293. if arg-2 is "5":
  294. set {Slot.%arg-2%} to "aktiv"
  295. play "click" to player at volume 100
  296. format slot 8 of player with 351:2 named "&dSkript startet" to be unstealable
  297. wait 1 ticks
  298. execute console command "sk enable %{Name.5}%"
  299. wait 1 ticks
  300. execute player command "is"
  301. if arg-1 is "reload":
  302. if arg-2 is "%{Name.1}%":
  303. send "{@p}&eWird reloadet.."
  304. format slot 18 of player with 348 named "&aSkript &areloaden" to be unstealable
  305. set {_is.temp} to {Link.1}
  306. replace "." with "." in {_is.temp}
  307. create file "plugins/Skript/scripts/%arg-2%.sk"
  308. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  309. wait 1 ticks
  310. execute console command "sk reload %{Name.1}%"
  311. wait 1 ticks
  312. execute player command "is"
  313. send "{@p}Das Skript wurde erfolgreich &areloadet"
  314. if arg-2 is "%{Name.2}%":
  315. send "{@p}&eWird reloadet.."
  316. format slot 20 of player with 348 named "&aSkript &areloaden" to be unstealable
  317. set {_is.temp} to {Link.2}
  318. replace "." with "." in {_is.temp}
  319. create file "plugins/Skript/scripts/%arg-2%.sk"
  320. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  321. wait 1 ticks
  322. execute console command "sk reload %{Name.2}%"
  323. wait 1 ticks
  324. execute player command "is"
  325. send "{@p}Das Skript wurde erfolgreich &areloadet"
  326. if arg-2 is "%{Name.3}%":
  327. send "{@p}&eWird reloadet.."
  328. format slot 22 of player with 348 named "&aSkript &areloaden" to be unstealable
  329. set {_is.temp} to {Link.3}
  330. replace "." with "." in {_is.temp}
  331. create file "plugins/Skript/scripts/%arg-2%.sk"
  332. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  333. wait 1 ticks
  334. execute console command "sk reload %{Name.3}%"
  335. wait 1 ticks
  336. execute player command "is"
  337. send "{@p}Das Skript wurde erfolgreich &areloadet"
  338. if arg-2 is "%{Name.4}%":
  339. send "{@p}&eWird reloadet.."
  340. format slot 24 of player with 348 named "&aSkript &areloaden" to be unstealable
  341. set {_is.temp} to {Link.4}
  342. replace "." with "." in {_is.temp}
  343. create file "plugins/Skript/scripts/%arg-2%.sk"
  344. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  345. wait 1 ticks
  346. execute console command "sk reload %{Name.4}%"
  347. wait 1 ticks
  348. execute player command "is"
  349. send "{@p}Das Skript wurde erfolgreich &areloadet"
  350. if arg-2 is "%{Name.5}%":
  351. send "{@p}&eWird reloadet.."
  352. format slot 26 of player with 348 named "&aSkript &areloaden" to be unstealable
  353. set {_is.temp} to {Link.5}
  354. replace "." with "." in {_is.temp}
  355. create file "plugins/Skript/scripts/%arg-2%.sk"
  356. download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
  357. wait 1 ticks
  358. execute console command "sk reload %{Name.5}%"
  359. wait 1 ticks
  360. execute player command "is"
  361. send "{@p}Das Skript wurde erfolgreich &areloadet"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement