FipsundMunne

MineSucht System 14.02.2018

Feb 14th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.42 KB | None | 0 0
  1. options:
  2. logo: &7[&3Mine&aSucht&c.net&7]
  3. logo2: &f[&eFreunde&f]
  4. logo3: &7[&6CaseOpening&7]
  5.  
  6. #----------[Version.3.0]------------------
  7. #Was ist NEU??
  8. #
  9. #1 Youtuber Rang
  10. #2 Freunde System
  11. #3 Coins System
  12. #4 CASE OPENING SYSTEM (man kann sich Cases Cheaten mit Permission)
  13. #5 Alles Sortiert
  14. #6 Freundes anzeige in Scoreboard
  15. #7 Mit /warp <zahl> zu den Spiel Modi tpn
  16. #8 /nick command nicke dich
  17. #9 Chat Chat Clear Command
  18. #
  19. #-----------------------------------------------
  20. #YT = 100 Abonnenten Spezial Download
  21. #FipsundMunne
  22. #-----------------------------------------------
  23. #Permission für ...
  24. #Spieler: lb.spieler
  25. #Gold: lb.gold
  26. #Gold+: lb.gold+
  27. #Emerald: lb.emerald , lb.gold
  28. #Diamond: lb.diamond , lb.gold
  29. #Master: lb.master , lb.gold
  30. #Hero: lb.hero , lb.gold
  31. #Builder: lb.builder , lb.gold ,lb.team
  32. #Admin: lb.admin , lb.gold ,lb.team
  33. #Owner: lb.owner , lb.gold ,lb.team
  34. #Developer: lb.dev , lb.gold ,lb.team
  35. #Supporter: lb.sup , lb.gold ,lb.team
  36. #Moderator: lb.mod , lb.gold ,lb.team
  37. #Youtuber: lb.yt , lb.gold ,lb.team
  38. #-----------------------------------------------
  39. #Liste für Spiele
  40. #1 = TTT
  41. #2 = MLGrush
  42. #3 = Skywars
  43. #4 = Bedwars
  44. #5 = QSG
  45. #6 = Knock FFA
  46. #7 = TNT Run
  47. #8 = Lucky Block
  48. #9 = Case Opening
  49. #10 = Gun Game
  50. #11 = FFA
  51. #12 = Haustiertrainer
  52. #------------------------------------------------
  53.  
  54. #---------------------------------------------
  55. #ChatClear
  56. #---------------------------------------------
  57. command /chatclear:
  58. aliases: cc
  59. permission: lb.admin
  60. trigger:
  61. loop 100 times:
  62. broadcast " "
  63. send "{@logo} &aDer Chat wurde von &6%player% &agelöscht!"
  64. #---------------------------------------------
  65. #Wenn man Verlässt
  66. #---------------------------------------------
  67.  
  68. on quit:
  69. set leave message to ""
  70.  
  71. #---------------------------------------------
  72. #Wenn man Joint
  73. #---------------------------------------------
  74. on join:
  75. teleport player to {spawn}
  76. set {build.%player%} to false
  77. set join message to ""
  78. loop {friend.list.%player%::*}:
  79. if loop-value is online:
  80. add 1 to {%player%.friends.online}
  81. send "{@logo2} &7Keine deiner Freunde ist online"
  82. send "{@logo3} &aDu hast eine &cGRATIS &aTruhe bekommen, wenn du morgen wieder kommst erhälst du die nächste Truhe."
  83. set {lb.an.1} to true
  84. set {build.%player%} to false
  85. set player's gamemode to Survival
  86. set tab header to "&eMineSucht Network &7- &aLobby" and footer to "&7Teamspeak: &eMineSucht.net\n\&7Shop: &eshop.Minesucht.net" for player
  87. clear player's inventory
  88. set slot 0 of player to compass named "&aTeleporter"
  89. set slot 1 of player to blaze rod named "&6Spieler verstecken"
  90. set slot 3 of player to chest named "&5Extras"
  91. set slot 7 of player to nether star named "&aLobbies"
  92. set slot 8 of player to player's skull named "&6Freunde"
  93. set {nickname.%player%} to false
  94. set player's display name to "%{realname.%player%}%"
  95. set player's tablist name to "%{realname.%player%}%"
  96. send "{@logo} &aDu hast nun wieder deinen richtigen Namen"
  97. if player has permission "lb.spieler":
  98. set {rang.%player%} to "&7Spieler"
  99. set player tab name to "&7%player%"
  100. if player has permission "lb.gold":
  101. set slot 4 of player to name tag named "&eNick Name"
  102. set {rang.%player%} to "&6Gold"
  103. set player tab name to "&6Gold&7| &6%player%"
  104. if player has permission "lb.gold+":
  105. set slot 4 of player to name tag named "&eNick Name"
  106. set {rang.%player%} to "&6Gold+"
  107. set player tab name to "&6Gold+&7| &6%player%"
  108. if player has permission "lb.yt":
  109. set slot 4 of player to name tag named "&eNick Name"
  110. set {rang.%player%} to "&5YouTuber"
  111. set player tab name to "&5YouTuber&7| &6%player%"
  112. if player has permission "lb.emerald":
  113. set {rang.%player%} to "&aEmerald"
  114. set player tab name to "&aEmerald&7| &a%player%"
  115. if player has permission "lb.diamond":
  116. set {rang.%player%} to "&3Diamond"
  117. set player tab name to "&3Diamond&7| &3%player%"
  118. if player has permission "lb.master":
  119. set {rang.%player%} to "&5Master"
  120. set player tab name to "&5Master&7| &5%player%"
  121. if player has permission "lb.hero":
  122. set slot 5 of player to tnt named "&cSlient Lobby"
  123. set {rang.%player%} to "&cHero"
  124. set player tab name to "&cHero&7| &c%player%"
  125. if player has permission "lb.sup":
  126. set slot 5 of player to tnt named "&cSlient Lobby"
  127. set {rang.%player%} to "&bSupporter"
  128. set player tab name to "&bSupporter&7| &b%player%"
  129. if player has permission "lb.dev":
  130. set slot 5 of player to tnt named "&cSlient Lobby"
  131. set {rang.%player%} to "&2Developer"
  132. set player tab name to "&2Developer&7| &2%player%"
  133. if player has permission "lb.mod":
  134. set slot 5 of player to tnt named "&cSlient Lobby"
  135. set {rang.%player%} to "&cMod"
  136. set player tab name to "&cMod&7| &c%player%"
  137. if player has permission "lb.admin":
  138. set slot 5 of player to tnt named "&cSlient Lobby"
  139. set {rang.%player%} to "&cAdmin"
  140. set player tab name to "&cAdmin&7| &c%player%"
  141. if player has permission "lb.owner":
  142. set slot 5 of player to tnt named "&cSlient Lobby"
  143. set {rang.%player%} to "&4Owner"
  144. set player tab name to "&4Owner| &4%player%"
  145.  
  146. on first join:
  147. teleport player to {spawn}
  148. set {rang.%player%} to "&7Spieler"
  149. set {c.%player%} to 0
  150. set {lb.%player%.onlinetime} to 0
  151. set {%player%.friends} to 0
  152. set {lb.chat.%player%} to false
  153.  
  154. #---------------------------------------------
  155. #Chat
  156. #---------------------------------------------
  157.  
  158. on chat:
  159. if player's world is "world":
  160. if {chat.%player%} is false:
  161. cancel event
  162.  
  163. on chat:
  164. cancel event
  165. loop all players:
  166. if {nickname.%player%} is false:
  167. if player has permission "lb.owner":
  168. send "&4Owner&7| &4%player% &7%message%" to loop-player
  169. stop
  170. if player has permission "lb.admin":
  171. send "&cAdmin&7| &c%player% &7%message%" to loop-player
  172. if player has permission "lb.yt":
  173. send "&5Youtuber&7| &5%player% &7%message%"
  174. stop
  175. if player has permission "lb.dev":
  176. send "&2Developer&7| &2%player% &7%message%" to loop-player
  177. stop
  178. if player has permission "lb.sup":
  179. send "&bSupporter&7| &b%player% &7%message%" to loop-player
  180. stop
  181. if player has permission "lb.mod":
  182. send "&cMod&7| &c%player% &7%message%" to loop-player
  183. stop
  184. if player has permission "lb.builder":
  185. send "&3Builder&7| &3%player% &7%message%" to loop-player
  186. stop
  187. if player has permission "lb.hero":
  188. send "&cHero&7| &c%player% &7%message%" to loop-player
  189. stop
  190. if player has permission "lb.master":
  191. send "&5Master&7| &5%player% &7%message%" to loop-player
  192. stop
  193. if player has permission "lb.diamond":
  194. send "&3Diamond&7| &3%player% &7%message%" to loop-player
  195. stop
  196. if player has permission "lb.emerald":
  197. send "&aEmerald&7| &a%player% &7%message%" to loop-player
  198. stop
  199. if player has permission "lb.gold+":
  200. send "&6Gold+&7| &6%player% &7%message%" to loop-player
  201. stop
  202. if player has permission "lb.gold":
  203. send "&6Gold&7| &6%player% &7%message%" to loop-player
  204. stop
  205. if player has permission "lb.spieler":
  206. if player is in world "world":
  207. if {lb.chat.%player%} is true:
  208. send "&aSpieler &7%message%" to loop-player
  209. stop
  210. else:
  211. send "&7[&6Lobby&7] &cDu benötigst einen &6Rang &aum schreiben zu können!"
  212. else:
  213. send "&6Gold&7| &6%player% &7%message%" to loop-player
  214.  
  215.  
  216. #---------------------------------------------
  217. #Slient Lobby
  218. #---------------------------------------------
  219. on rightclick with tnt:
  220. if {lb.slient} is false:
  221. set {lb.slient} to true
  222. hide player from all players
  223. send "{@logo} &aDu bist nun in der Slient Lobby"
  224. else:
  225. set {lb.slient} to false
  226. reveal player from all players
  227. send "{@logo} &aDu bist nun nicht mehr in der Slient Lobby"
  228.  
  229. #---------------------------------------------
  230. #Scoreboard
  231. #---------------------------------------------
  232.  
  233. every 1 second:
  234. loop all players:
  235. wipe loop-player's sidebar
  236. set name of sidebar of loop-player to "&3&lMINE&a&lSUCHT&c&l.NET"
  237. set score " " in sidebar of loop-player to 12
  238. set score "&fDein Rang:" in sidebar of loop-player to 11
  239. set score "&7%{rang.%loop-player%}%" in sidebar of loop-player to 10
  240. set score " " in sidebar of loop-player to 9
  241. set score "&fCoins:" in sidebar of loop-player to 8
  242. set score "&e%{c.%loop-player%}%" in sidebar of loop-player to 7
  243. set score " " in sidebar of loop-player to 6
  244. set score "&fOnlinezeit:" in sidebar of loop-player to 5
  245. set score "&b%{lb.%loop-player%.onlinetime}%&7h" in sidebar of loop-player to 4
  246. set score " " in sidebar of loop-player to 3
  247. set score "&fFreunde" in sidebar of loop-player to 2
  248. set score "&a%{%loop-player%.friends.online}%&7/%{%loop-player%.friends.sc}%" in sidebar of loop-player to 1
  249. set score " " in sidebar of loop-player to 0
  250.  
  251. every real hour:
  252. loop all players:
  253. add 1 to {lb.%loop-player%.onlinetime}
  254.  
  255. #---------------------------------------------
  256. #Sachen die man ohne build mode nicht machen kann
  257. #---------------------------------------------
  258.  
  259. on break:
  260. if {build.%player%} is false:
  261. cancel event
  262.  
  263. on craft:
  264. if {build.%player%} is false:
  265. cancel event
  266.  
  267. on place:
  268. if {build.%player%} is false:
  269. cancel event
  270.  
  271. on drop:
  272. if {build.%player%} is false:
  273. cancel event
  274.  
  275. on pickup:
  276. if {build.%player%} is false:
  277. cancel event
  278.  
  279. on inventory click:
  280. if {build.%player%} is false:
  281. cancel event
  282.  
  283. on inventory click:
  284. if {build.%player%} is false:
  285. cancel event
  286.  
  287. on inventory click:
  288. if {build.%player%} is false:
  289. cancel event
  290.  
  291. on inventory click:
  292. if {build.%player%} is false:
  293. cancel event
  294.  
  295. on inventory click:
  296. if {build.%player%} is false:
  297. cancel event
  298.  
  299. #---------------------------------------------
  300. #Das soll nicht funktionieren
  301. #---------------------------------------------
  302. on damage of player:
  303. cancel event
  304.  
  305. on hunger metre change:
  306. cancel event
  307.  
  308. on weather change:
  309. cancel event
  310.  
  311. #---------------------------------------------
  312. #Commands
  313. #---------------------------------------------
  314.  
  315. command /spawn:
  316. trigger:
  317. teleport player to {spawn}
  318.  
  319. command /l:
  320. trigger:
  321. teleport player to {spawn}
  322.  
  323. command /hub:
  324. trigger:
  325. teleport player to {spawn}
  326.  
  327. command /quit:
  328. trigger:
  329. teleport player to {spawn}
  330.  
  331. command /teamchat <text>:
  332. trigger:
  333. loop all players:
  334. if player has permission "lb.team":
  335. send "&2[Team] %player% &7%arg 1%" to loop-player
  336.  
  337. command /buychest [<number>]:
  338. trigger:
  339. if arg 1 is not set:
  340. wait 3 ticks
  341. open chest with 3 rows named "&6Cases kaufen" to player
  342. format slot 10 of player with chest named "&5Kaufe &e1 &6Case" with lore "&7Preis: &e5000 Coins" to close then run [make player execute command "/buychest 1"]
  343. format slot 11 of player with chest named "&5Kaufe &e3 &6Cases" with lore "&7Preis: &e14500 Coins||&aDu sparst &e500 Coins!" to close then run [make player execute command "/buychest 3"]
  344. format slot 12 of player with chest named "&5Kaufe &e5 &6Cases" with lore "&7Preis: &e24000 Coins||&aDu sparst &e1000 Coins!" to close then run [make player execute command "/buychest 5"]
  345. format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to run ""
  346. if arg 1 is 1:
  347. if {c.%player%} is bigger than 5000:
  348. remove 5000 from {c.%player%}
  349. add 1 to {normal.chests.%player%}
  350. send "{@logo} &aDu hast erfolgreich &a&l1 Chest &agekauft."
  351. else:
  352. send "{@logo} &cDu hast zu wenig Coins"
  353. if arg 1 is 3:
  354. if {c.%player%} is bigger than 14500:
  355. remove 14500 from {c.%player%}
  356. add 3 to {normal.chests.%player%}
  357. send "{@logo} &aDu hast erfolgreich &a&l3 Chests &agekauft."
  358. else:
  359. send "{@logo} &cDu hast zu wenig Coins"
  360. if arg 1 is 5:
  361. if {c.%player%} is bigger than 24000:
  362. remove 24000 from {c.%player%}
  363. add 5 to {normal.chests.%player%}
  364. send "{@logo} &aDu hast erfolgreich &a&l5 Chests &agekauft."
  365. else:
  366. send "{@logo} &cDu hast zu wenig Coins"
  367.  
  368. command /sreset:
  369. permission: lb.admin
  370. trigger:
  371. set {rang.%player%} to "&7Spieler"
  372. set {c.%player%} to 0
  373. set {lb.%player%.onlinetime} to 0
  374. set {%player%.friends} to 0
  375. set {%player%.friends.online} to 0
  376. set {%player%.friends.sc} to 0
  377. set {master.chests.%player%} to 0
  378. set {normal.chests.%player%} to 0
  379. set {lb.an.1} to true
  380.  
  381. command /nick [<text>] [<text>]:
  382. permission: lb.gold
  383. trigger:
  384. if arg 1 is not set:
  385. if arg 2 is not set:
  386. if {nickname.%player%} is false:
  387. set {realname.%player%} to player
  388. set {_nickname} to a random element out of {nicknames::*}
  389. set {nickname.%player%} to true
  390. set player's display name to "&6Gold&7|%{_nickname}%"
  391. set player's tablist name to "&6Gold&7|%{_nickname}%"
  392. set {rang.%player%} to "&6Gold"
  393. send "{@logo} &aDu hast die Erolgreich mit dem Namen &6%{_nickname}% &agenickt"
  394. else:
  395. set {nickname.%player%} to false
  396. kick the player due to "Joine neu"
  397. if arg 1 is "add":
  398. if arg 2 is set:
  399. add arg 2 to {nicknames::*}
  400. send "{@logo} &aDu hast erfolgreich den Namen &6%arg 2% &ahinzugefügt"
  401.  
  402. command /buychat [<text>]:
  403. trigger:
  404. if arg 1 is not set:
  405. if {c.%player%} is bigger than 20000:
  406. remove 20000 from {c.%player%}
  407. set {lb.chat.%player%} to true
  408. send "&7[&6Lobby&7] &aDu kannst nun im Chat für eine Stunde schreiben!"
  409. wait 60 minutes
  410. set {lb.chat.%player%} to false
  411. send "&7[&6Lobby&7] &aDeine Zeit ist abgelaufen du kannst nun nicht mehr schreiben!"
  412. else:
  413. send "&7[&6Lobby&7] &aDu hast leider nicht &620.000 Coins!"
  414. if arg 1 is "open":
  415. wait 3 ticks
  416. open chest with 3 rows named "&6Schreiben kaufen" to player
  417. format slot 10 of player with book named "&4&lWichtige Info:" with lore "&eSobald du dir die Erlaubnis gekauft hast, wird sie auch aktiviert!" to run ""
  418. format slot 12 of player with Paper named "&5kaufe &e1h &6im Chat schreiben" with lore "&7Preis: &e20'000 Coins" to close then run [make player execute command "/buychat"]
  419. format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to run ""
  420.  
  421. command /fly:
  422. permission: lb.hero
  423. trigger:
  424. if player's flight mode is false:
  425. set player's flight mode to true
  426. send "{@logo} &aDu kannst nun fliegen!"
  427. else:
  428. set player's flight mode to false
  429. send "{@logo} &aDu kannst nun nicht mehr fliegen"
  430.  
  431.  
  432. command /build <text>:
  433. permission: lb.admin
  434. trigger:
  435. if arg 1 is "on":
  436. if {build.%player%} is false:
  437. set {build.%player%} to true
  438. set player's gamemode to creative
  439. send "{@logo} &aDein Bau modus ist nun an!"
  440. if arg 1 is "off":
  441. set {build.%player%} to false
  442. set player's gamemode to survival
  443. send "{@logo} &aDein Bau modus ist nun aus!"
  444.  
  445. command /see <text>:
  446. trigger:
  447. if arg 1 is "all":
  448. reveal all players from player
  449. send "&7[&6Lobby&7] &aDir werden nun alle Spieler angezeigt."
  450. if arg 1 is "vip":
  451. hide all players in player's world from player
  452. loop all players:
  453. if loop-player has permission "lb.gold":
  454. reveal loop-player from player
  455. send "&7[&6Lobby&7] &aDir werden nun alle Teammitglieder angezeigt."
  456. if arg 1 is "kein":
  457. hide all players in player's world from player
  458. send "&7[&6Lobby&7] &aDir werden nun keine Spieler mehr angezeigt."
  459.  
  460. command /setlobby <number>:
  461. permission: lb.admin
  462. trigger:
  463. if arg 1 is set:
  464. set {%arg%.lobby} to location of player
  465. send "&aDu hast die Lobby Gesetzt"
  466.  
  467. command /version:
  468. trigger:
  469. send "&aMineSucht System by FipsundMunne [Version.3.0]"
  470. send "&aSkript by FipsundMunne [Version.3.0]"
  471. send "&aYT: FipsundMunne"
  472.  
  473. command /tplobbyvip <number>:
  474. permission: lb.gold
  475. permission message: &aDu darfst das nicht!
  476. trigger:
  477. if arg 1 is set:
  478. teleport player to {%arg%.viplobby}
  479.  
  480. command /setlobbyvip <number>:
  481. trigger:
  482. if arg 1 is set:
  483. set {%arg%.viplobby} to location of player
  484. send "&aDu hast die &6VIP &aLobby Gesetzt"
  485.  
  486. command /pets:
  487. trigger:
  488. wait 3 ticks
  489. open chest with 5 rows named "&7Pets" to player
  490. format slot 0 of player with spawn egg:65 named "&aFledermaus" to close then run [make player execute command "/pet bat"]
  491. format slot 1 of player with spawn egg:61 named "&aBlaze" to close then run [make player execute command "/pet blaze"]
  492. format slot 2 of player with spawn egg:93 named "&aHuhn" to close then run [make player execute command "/pet bat"]
  493. format slot 3 of player with spawn egg:92 named "&aKuh" to close then run [make player execute command "/pet cow"]
  494. format slot 4 of player with spawn egg:50 named "&aCreeper" to close then run [make player execute command "/pet creeper"]
  495. format slot 5 of player with spawn egg:58 named "&aEndermann" to close then run [make player execute command "/pet enderman"]
  496. format slot 6 of player with spawn egg:100 named "&aPferd" to close then run [make player execute command "/pet horse"]
  497. format slot 7 of player with spawn egg:62 named "&aMagma Cube" to close then run [make player execute command "/pet magma cube"]
  498. format slot 8 of player with spawn egg:98 named "&aKatze" to close then run [make player execute command "/pet cat"]
  499. format slot 9 of player with spawn egg:90 named "&aSchwein" to close then run [make player execute command "/pet pig"]
  500. format slot 10 of player with spawn egg:91 named "&aSchaf" to close then run [make player execute command "/pet sheep"]
  501. format slot 11 of player with spawn egg:51 named "&aSkelett" to close then run [make player execute command "/pet skelett"]
  502. format slot 12 of player with spawn egg:55 named "&aSchleim" to close then run [make player execute command "/pet slime"]
  503. format slot 13 of player with spawn egg:52 named "&aSpinne" to close then run [make player execute command "/pet spider"]
  504. format slot 14 of player with spawn egg:120 named "&aDorfbewohner" to close then run [make player execute command "/pet villager"]
  505. format slot 15 of player with nether star named "&aWither" to close then run [make player execute command "/pet wither"]
  506. format slot 16 of player with spawn egg:95 named "&aHund" to close then run [make player execute command "/pet dog"]
  507. format slot 17 of player with spawn egg:54 named "&aZombie" to close then run [make player execute command "/pet zombie"]
  508. format slot 37 of player with name tag named "&eName Your Pat" to close then run [make player execute command "/pet name"]
  509.  
  510.  
  511.  
  512.  
  513. command /tplobby <number>:
  514. trigger:
  515. teleport player to {%arg%.lobby}
  516.  
  517. command /warp <number>:
  518. trigger:
  519. if arg 1 is 1:
  520. teleport player to {ttt}
  521. if arg 1 is 2:
  522. teleport player to {mlgrush}
  523. if arg 1 is 3:
  524. teleport player to {skywars}
  525. if arg 1 is 4:
  526. teleport player to {bedwars}
  527. if arg 1 is 5:
  528. teleport player to {qsg}
  529. if arg 1 is 6:
  530. teleport player to {knockffa}
  531. if arg 1 is 7:
  532. teleport player to {tntrun}
  533. if arg 1 is 8:
  534. teleport player to {luckyblock}
  535. if arg 1 is 9:
  536. teleport player to {caseopening}
  537. if arg 1 is 10:
  538. teleport player to {gungame}
  539. if arg 1 is 11:
  540. teleport player to {ffa}
  541. if arg 1 is 12:
  542. teleport player to {haustiertrainer}
  543.  
  544. command /trail:
  545. trigger:
  546. wait 4 ticks
  547. make player execute command "/trails"
  548.  
  549.  
  550. command /setspawn:
  551. trigger:
  552. set {spawn} to location of player
  553. send "{@logo} &aDu hast den Spawn gesetzt!"
  554.  
  555. command /lobby [<text>] [<number>]:
  556. permission: lb.admin
  557. aliases: lb
  558. trigger:
  559. if arg 1 is not set:
  560. teleport player to {spawn}
  561. if arg 1 is "set":
  562. if arg 2 is 1:
  563. set {ttt} to location of player
  564. send "{@logo} &aDu hast den TTT Spawn gesetzt!"
  565. if arg 2 is 2:
  566. set {mlgrush} to location of player
  567. send "{@logo} &aDu hast den MLG-Rush Spawn gesetzt!"
  568. if arg 2 is 3:
  569. set {skywars} to location of player
  570. send "{@logo} &aDu hast den SkyWars Spawn gesetzt!"
  571. if arg 2 is 4:
  572. set {bedwars} to location of player
  573. send "{@logo} &aDu hast den BedWars Spawn gesetzt!"
  574. if arg 2 is 5:
  575. set {qsg} to location of player
  576. send "{@logo} &aDu hast den QSG Spawn gesetzt!"
  577. if arg 2 is 6:
  578. set {knockffa} to location of player
  579. send "{@logo} &aDu hast den Knock FFA Spawn gesetzt!"
  580. if arg 2 is 7:
  581. set {tntrun} to location of player
  582. send "{@logo} &aDu hast den TNT Run Spawn gesetzt!"
  583. if arg 2 is 8:
  584. set {luckyblock} to location of player
  585. send "{@logo} &aDu hast den Lucky Block Spawn gesetzt!"
  586. if arg 2 is 9:
  587. set {caseopening} to location of player
  588. send "{@logo} &aDu hast den Case Opening Spawn gesetzt!"
  589. if arg 2 is 10:
  590. set {gungame} to location of player
  591. send "{@logo} &aDu hast den Gun Game Spawn gesetzt!"
  592. if arg 2 is 11:
  593. set {ffa} to location of player
  594. send "{@logo} &aDu hast den FFA Spawn gesetzt!"
  595. if arg 2 is 12:
  596. set {haustiertrainer} to location of player
  597. send "{@logo} &aDu hast den Haustiertrainer Spawn gesetzt!"
  598.  
  599. command /onlinezeit <text> <number> <player>:
  600. permission: lb.owner
  601. trigger:
  602. if arg 1 is "add":
  603. if arg 2 is set:
  604. if arg 2 is set:
  605. add arg 2 to {lb.%arg 3%.onlinetime}
  606. send "{@logo} &aDu hast &7%arg 3% &6%arg 2% &aStunde Zeit hinzugefügt!"
  607. if arg 1 is "remove":
  608. if arg 2 is set:
  609. if arg 2 is set:
  610. remove arg 2 from {lb.%arg 3%.onlinetime}
  611. send "{@logo} &aDu hast &7%arg 3% &6%arg 2% &aStunde Zeit entfernt!"
  612.  
  613. #---------------------------------------------
  614. #Wenn man rechts click auf ein item macht
  615. #z.B. Compass
  616. #---------------------------------------------
  617.  
  618. on right click with compass:
  619. wait 3 ticks
  620. open chest with 5 rows named "&aTeleporter" to player
  621. format slot 3 of player with stick named "&4TTT" to close then run [make player execute command "/warp 1"]
  622. format slot 4 of player with light blue dye named "&6QuikJoin" to close then run [make player execute command "/warp 2"]
  623. format slot 5 of player with blaze rod named "&6MLG&f-&1Rush" to close then run [make player execute command "/warp 2"]
  624. format slot 11 of player with grass named "&2SkyWars" to close then run [make player execute command "/warp 3"]
  625. format slot 15 of player with bed item named "&3BedWars" to close then run [make player execute command "/warp 4"]
  626. format slot 20 of player with golden chestplate named "&dQSG" to close then run [make player execute command "/warp 5"]
  627. format slot 22 of player with diamond named "&6Spawn" to close then run [make player execute command "/spawn"]
  628. format slot 24 of player with fishing rod named "&cKnock&f&eFFA" to close then run [make player execute command "/warp 6"]
  629. format slot 29 of player with tnt named "&4TNT&f-Run" to close then run [make player execute command "/warp 7"]
  630. format slot 33 of player with gold block named "&6LuckyBlock" to close then run [make player execute command "/warp 8"]
  631. format slot 36 of player with chest named "&6Case&aOpening" to close then run [make player execute command "/warp 9"]
  632. format slot 39 of player with wooden axe named "&aGunGame" to close then run [make player execute command "/warp 10"]
  633. format slot 41 of player with iron sword named "&eFFA" to close then run [make player execute command "/warp 11"]
  634. format slot 44 of player with spawn egg named "&bHaustiertrainer" to close then run [make player execute command "/warp 12"]
  635.  
  636. on rightclick with chest:
  637. wait 3 ticks
  638. open chest with 3 rows named "&6Extras Auswahl" to player
  639. format slot 13 of player with water bottle named "&aTrails" to close then run [make player execute command "/trail"]
  640. format slot 11 of player with spawn egg named "&aPets" to close then run [make player execute command "/pets"]
  641. format slot 15 of player with chest named "&aChests" to close then run [make player execute command "/buychest"]
  642. format slot 17 of player with paper named "&eChat kaufen" to close then run [make player execute command "/buychat open"]
  643. format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to close
  644.  
  645. on right click with blaze rod:
  646. wait 3 ticks
  647. open chest with 1 row named "&6Spieler verstecken" to player
  648. format slot 2 of player with light green dye named "&aAlle Spieler anzeigen" to close then run [make player execute command "/see all"]
  649. format slot 4 of player with pink dye named "&eNur Teammitglieder anzeigen" to close then run [make player execute command "/see vip"]
  650. format slot 6 of player with red dye named "&4Keine Spieler anzeigen" to close then run [make player execute command "/see kein"]
  651.  
  652.  
  653. on rightclick with nether star:
  654. wait 3 ticks
  655. open chest with 2 rows named "&eWähle deine Lobby" to player
  656. format slot 0 of player with glowstone dust named "&6Premium-Lobby-1" to close then run [make player execute command "/tplobbyvip 1"]
  657. format slot 1 of player with glowstone dust named "&6Premium-Lobby-2" to close then run [make player execute command "/tplobbyvip 2"]
  658. format slot 2 of player with glowstone dust named "&6Premium-Lobby-3" to close then run [make player execute command "/tplobbyvip 3"]
  659. format slot 9 of player with gunpowder named "&aLobby-1" to close then run [make player execute command "/tplobby 1"]
  660. format slot 10 of player with gunpowder named "&aLobby-2" to close then run [make player execute command "/tplobby 2"]
  661. format slot 11 of player with gunpowder named "&aLobby-3" to close then run [make player execute command "/tplobby 3"]
  662. format slot 12 of player with gunpowder named "&aLobby-4" to close then run [make player execute command "/tplobby 4"]
  663. format slot 13 of player with gunpowder named "&aLobby-5" to close then run [make player execute command "/tplobby 5"]
  664. format slot 14 of player with gunpowder named "&aLobby-6" to close then run [make player execute command "/tplobby 6"]
  665. format slot 15 of player with gunpowder named "&aLobby-7" to close then run [make player execute command "/tplobby 7"]
  666. format slot 16 of player with gunpowder named "&aLobby-8" to close then run [make player execute command "/tplobby 8"]
  667.  
  668. on rightclick with name tag:
  669. make player execute command "/nick"
  670.  
  671. on right click with player head:
  672. make player execute command "/friend list"
  673.  
  674. #---------------------------------------------
  675. #Die Nachrichten über dem Inventar
  676. #---------------------------------------------
  677.  
  678. every second:
  679. if {lb.an.1} is true:
  680. loop all players:
  681. send action bar from "&9&lTEAMSPEAK IP: &6&lMINESUCHT.NET" to loop-player
  682. wait 10 seconds
  683. set {lb.an.1} to false
  684. set {lb.an.2} to true
  685.  
  686. every second:
  687. if {lb.an.2} is true:
  688. loop all players:
  689. send action bar from "&5&lUNSER SHOP: &c&lSHOP.MINESUCHT.NET" to loop-player
  690. wait 10 seconds
  691. set {lb.an.2} to false
  692. set {lb.an.3} to true
  693.  
  694.  
  695. every second:
  696. if {lb.an.3} is true:
  697. loop all players:
  698. send action bar from "&a&lCOOLE RÄNGE? &6&l>> &c&lSHOP.MINESUCHT.NET" to loop-player
  699. wait 10 seconds
  700. set {lb.an.3} to false
  701. set {lb.an.1} to true
  702.  
  703. #---------------------------------------------
  704. #Wenn man über die druckplatte läuft
  705. #---------------------------------------------
  706. on pressure plate:
  707. push the player forwards at speed 15
  708. wait 2 ticks
  709. push the player upwards at speed 5
  710. push the player forwards at speed 15
  711. play raw sound "random.bow" at event-block with pitch 2 volume 3
  712.  
  713. #---------------------------------------------
  714. #Freunde System
  715. #---------------------------------------------
  716.  
  717. command /friends [<text>] [<player>] [<text>]:
  718. aliases: friend
  719. trigger:
  720. if arg-1 is not set:
  721. send "{@logo2} &6Freundschaftsverwaltung"
  722. send "&e/friend add <Name> &7Fügt einen neuen Freund hinzu"
  723. send "&e/friend list &7Zeige eine Liste aller Freunde"
  724. send "&e/friend remove <Name> &7Entfernt einen Freund"
  725. send "&e/friend jump <Name> &7Auf des Freundes Server springen"
  726. send "&e/friend clear &7Leert die Freundschaftsanfragen"
  727. send "&e/friend requests &7Zeigt alle Anfragen an"
  728. send "&e/friend accept <Name> &7Nimmt eine Anfrage an"
  729. send "&e/friend acceptall &7Nimmt alle Freundschaftsanfragen an"
  730. send "&e/friend deny <Name> &7Lehnt eine Anfrage ab"
  731. send "&e/friend denyall &7Lehnt alle Freundschaftsanfragen ab"
  732. send "&e/friend toggle &7Anfragen erlauben & verbieten"
  733. send "&e/friend togglenotify &7Online/Offline Nachrichten erlauben & verbieten"
  734. send "&e/friend togglemessage &7Private Nachrichten erlauben & verbieten"
  735. send "&e/friend togglejump &7Erlaube & verbiete Spielrn zu dir zu springen"
  736. if arg 1 is "clear":
  737. clear {friend.list.%player%::*}
  738. send "{@logo2} &eDu hast deine Freundesliste geleert"
  739.  
  740. if arg 1 is "jump":
  741. if arg 2 is set:
  742. teleport player to arg 2
  743.  
  744. if arg 1 is "add":
  745. if arg 2 is set:
  746. loop {friend.list.%player%::*}:
  747. if arg 2 is loop-value:
  748. send "{@logo2} &cDu bist bereits mit diesem Spieler befreundet"
  749. stop
  750. if arg 2 is player:
  751. send "{@logo2} &cDu kannst dir keine Freundschaftsanfrage senden"
  752. stop
  753. else:
  754. send "{@logo2} &cBitte gib einen Namen an"
  755. set {friend.request.%arg 2%} to player
  756. set {friend.request.%player%} to arg 2
  757. send "{@logo2} &eDu hast &7%arg 2% &eeingeladen dein Freund zu sein" to player
  758. send "{@logo2} &7%player% &ehat dir eine Freundschaftsanfrage gesendet" to arg 2
  759. send "{@logo2} &e/friend accept &7%player% Um die Freundschaftsanfrage zu akzeptieren" to arg 2
  760. send "{@logo2} &e/friend deny &7%player% Um die Freundschaftsanfrage zu ablehnen" to arg 2
  761.  
  762. if arg 1 is "accept":
  763. if {friend.request.%player%} is arg 2:
  764. if {friend.request.%arg 2%} is player:
  765. set {friend.request.%player%} to 0
  766. add 1 to {%player%.friends.sc}
  767. set {friend.request.%arg 2%} to 0
  768. add 1 to {%arg 2%.friends.sc}
  769. add player to {friend.list.%arg 2%::*}
  770. add arg 2 to {friend.list.%player%::*}
  771. send "{@logo2} &eDu bist jetzt mit &7%arg 2% &ebefreundet" to player
  772. send "{@logo2} &eDu bist jetzt mit &7%player% &ebefreundet" to arg 2
  773.  
  774. if arg 1 is "deny":
  775. if {friend.request.%player%} is arg 2:
  776. if {friend.request.%arg 2%} is player:
  777. set {friend.request.%player%} to 0
  778. set {friend.request.%arg 2%} to 0
  779. send "{@logo2} &eDu hast die Anfrage von &7%player% &eabgelehnt"
  780. send "{@logo2} &7%player% &ehat deine Anfrage nicht angenommen" to arg 2
  781.  
  782. if arg 1 is "list":
  783. set {friend.count.%player%} to 0
  784. wait 3 ticks
  785. open chest with 6 rows named "&6Freunde" to player
  786. format slot 45 of player with redstone comparator item named "&bEinstellungen" to close
  787. format slot 46 of player with map named "&eFreundschaftsanfragen: &c0" to close
  788. loop {friend.list.%player%::*}:
  789. if loop-value is online:
  790. format slot {friend.count.%player%} of player with loop-value's skull named "&7%loop-value%" with lore "&aOnline" to close then run ""
  791. add 1 to {friend.count.%player%}
  792. if loop-value is offline:
  793. format slot {friend.count.%player%} of player with mob head item named "&7%loop-value%" with lore "&cOffline" to close then run ""
  794. add 1 to {friend.count.%player%}
  795.  
  796. if arg 1 is "remove":
  797. loop {friend.list.%player%::*}:
  798. if arg 3 is loop-value:
  799. remove arg 3 from {friend.list.%player%::*}
  800. send "{@logo2} &eDu hast &7%arg 2% &evon deiner Freundesliste entfernt"
  801. loop {friend.list.%arg 3%::*}:
  802. if player is loop-value:
  803. remove player from {friend.list.%arg 3%::*}
  804. loop {friend.list.%player%::*}:
  805. if arg 2 is loop-value:
  806. remove arg 2 from {friend.list.%player%::*}
  807. send "{@logo2} &eDu hast &7%arg 2% &evon deiner Freundesliste entfernt"
  808. loop {friend.list.%arg 2%::*}:
  809. if player is loop-value:
  810. remove player from {friend.list.%arg 2%::*}
  811.  
  812. #---------------------------------------------
  813. #Coins System
  814. #---------------------------------------------
  815. command /coin [<text>] [<number>] [<player>]:
  816. permission: lb.admin
  817. trigger:
  818. if arg 1 is not set:
  819. send "&aDu hast &6%{c.%player%}% Coins"
  820. if arg 1 is "help":
  821. send "&e/coin add <zahl> <name> &7gebe einen Spieler Coins"
  822. send "&e/coin remove <zahl> <name> &7nehme Coins von einem Spieler"
  823.  
  824. if arg 1 is "add":
  825. if arg 2 is set:
  826. if arg 3 is set:
  827. add arg 2 to {c.%arg 3%}
  828. send "&6[Coins] &aDu hast %arg 3% &6%arg 2% Coins &agegeben" to player
  829.  
  830. if arg 1 is "remove":
  831. if arg 2 is set:
  832. if arg 3 is set:
  833. remove arg 2 from {c.%arg 3%}
  834. send "&6[Coins] &aDu hast %arg 3% &6%arg 2% Coins &agenommen" to player
  835.  
  836. #---------------------------------------------
  837. #CaseOpening
  838. #---------------------------------------------
  839. on inventory click:
  840. inventory name of player's current inventory is "&6Case Opening: Normal":
  841. cancel event
  842.  
  843. on right click on chest:
  844. cancel event
  845. wait 3 ticks
  846. open chest with 3 rows named "&6CaseOpening" to player
  847. format slot 12 of player with chest named "&a&lNormale Truhen" with lore "&7Du hast noch %{normal.chests.%player%}% &7normale Truhen" to close then run [execute player command "/normalcase open"]
  848. format slot 14 of player with ender chest named "&5&lMaster Truhen" with lore "&7Du hast noch %{master.chests.%player%}% &7Master Truhen" to close then run [execute player command "/mastercase open"]
  849.  
  850. command /normalcase <text> [<number>]:
  851. trigger:
  852. if arg 1 is "open":
  853. if {normal.chests.%player%} is bigger than 0:
  854. wait 2 ticks
  855. remove 1 from {normal.chests.%player%}
  856. add iron chestplate named "&6Gold-Rang 1 Monat" to {_itemsnormal::*}
  857. add gold block named "&650000 Coins" to {_itemsnormal::*}
  858. add gold ingot named "&610000 Coins" to {_itemsnormal::*}
  859. add glowstone dust named "&62000 Coins" to {_itemsnormal::*}
  860. add spawn egg:120 named "&aDofbewohner" to {_itemsnormal::*}
  861. add spawn egg:101 named "&aHase" to {_itemsnormal::*}
  862. add spawn egg:100 named "&aPferd" to {_itemsnormal::*}
  863. add spawn egg:98 named "&aKatze" to {_itemsnormal::*}
  864. add spawn egg:96 named "&aPilzKuh" to {_itemsnormal::*}
  865. add spawn egg:95 named "&aHund" to {_itemsnormal::*}
  866. add spawn egg:93 named "&aHuhn" to {_itemsnormal::*}
  867. add spawn egg:92 named "&aKuh" to {_itemsnormal::*}
  868. add spawn egg:91 named "&aSchaf" to {_itemsnormal::*}
  869. add spawn egg:90 named "&aSchwein" to {_itemsnormal::*}
  870. add spawn egg:61 named "&aBlaze" to {_itemsnormal::*}
  871. add spawn egg:55 named "&aSchlime" to {_itemsnormal::*}
  872. add spawn egg:52 named "&aSpinne" to {_itemsnormal::*}
  873. add spawn egg:65 named "&aFeldermaus" to {_itemsnormal::*}
  874. add spawn egg:50 named "&aCreeper" to {_itemsnormal::*}
  875. add spawn egg:58 named "&aEndermann" to {_itemsnormal::*}
  876. add spawn egg:65 named "&aFeldermaus" to {_itemsnormal::*}
  877. add spawn egg:62 named "&aMagma Cube" to {_itemsnormal::*}
  878. add spawn egg:51 named "&aSkelett" to {_itemsnormal::*}
  879. add spawn egg:54 named "&aZombie" to {_itemsnormal::*}
  880. add nether star named "&aWither" to {_itemsnormal::*}
  881. wait 3 ticks
  882. open chest with 3 rows named "&6Case Opening: Normal" to player
  883. format slot 4 of player with hopper named "&7Dein Item" to run ""
  884. set {slot} to 8
  885. add 1 to {slot}
  886. play "DIG_GRAVEL" to player at volume 9
  887. set {caseitem} to a random element out of {_itemsnormal::*}
  888. format slot {slot} of player with {caseitem} to run ""
  889. wait 1 tick
  890. add 1 to {slot}
  891. play "DIG_GRAVEL" to player at volume 9
  892. set {caseitem} to a random element out of {_itemsnormal::*}
  893. format slot {slot} of player with {caseitem} to run ""
  894. wait 1 tick
  895. add 1 to {slot}
  896. play "DIG_GRAVEL" to player at volume 9
  897. set {caseitem} to a random element out of {_itemsnormal::*}
  898. format slot {slot} of player with {caseitem} to run ""
  899. wait 1 tick
  900. add 1 to {slot}
  901. play "DIG_GRAVEL" to player at volume 9
  902. set {caseitem} to a random element out of {_itemsnormal::*}
  903. format slot {slot} of player with {caseitem} to run ""
  904. wait 1 tick
  905. add 1 to {slot}
  906. play "DIG_GRAVEL" to player at volume 9
  907. set {caseitem} to a random element out of {_itemsnormal::*}
  908. format slot {slot} of player with {caseitem} to run ""
  909. wait 1 tick
  910. add 1 to {slot}
  911. play "DIG_GRAVEL" to player at volume 9
  912. set {caseitem} to a random element out of {_itemsnormal::*}
  913. format slot {slot} of player with {caseitem} to run ""
  914. wait 1 tick
  915. add 1 to {slot}
  916. play "DIG_GRAVEL" to player at volume 9
  917. set {caseitem} to a random element out of {_itemsnormal::*}
  918. format slot {slot} of player with {caseitem} to run ""
  919. set {slot} to 8
  920. add 1 to {slot}
  921. play "DIG_GRAVEL" to player at volume 9
  922. set {caseitem} to a random element out of {_itemsnormal::*}
  923. format slot {slot} of player with {caseitem} to run ""
  924. wait 1 tick
  925. add 1 to {slot}
  926. play "DIG_GRAVEL" to player at volume 9
  927. set {caseitem} to a random element out of {_itemsnormal::*}
  928. format slot {slot} of player with {caseitem} to run ""
  929. wait 1 tick
  930. add 1 to {slot}
  931. play "DIG_GRAVEL" to player at volume 9
  932. set {caseitem} to a random element out of {_itemsnormal::*}
  933. format slot {slot} of player with {caseitem} to run ""
  934. wait 1 tick
  935. add 1 to {slot}
  936. play "DIG_GRAVEL" to player at volume 9
  937. set {caseitem} to a random element out of {_itemsnormal::*}
  938. format slot {slot} of player with {caseitem} to run ""
  939. wait 1 tick
  940. add 1 to {slot}
  941. play "DIG_GRAVEL" to player at volume 9
  942. set {caseitem} to a random element out of {_itemsnormal::*}
  943. format slot {slot} of player with {caseitem} to run ""
  944. wait 1 tick
  945. add 1 to {slot}
  946. play "DIG_GRAVEL" to player at volume 9
  947. set {caseitem} to a random element out of {_itemsnormal::*}
  948. format slot {slot} of player with {caseitem} to run ""
  949. wait 1 tick
  950. add 1 to {slot}
  951. play "DIG_GRAVEL" to player at volume 9
  952. set {caseitem} to a random element out of {_itemsnormal::*}
  953. format slot {slot} of player with {caseitem} to run ""
  954. wait 1 tick
  955. add 1 to {slot}
  956. play "DIG_GRAVEL" to player at volume 9
  957. set {caseitem} to a random element out of {_itemsnormal::*}
  958. format slot {slot} of player with {caseitem} to run ""
  959. wait 1 tick
  960. add 1 to {slot}
  961. play "DIG_GRAVEL" to player at volume 9
  962. set {caseitem} to a random element out of {_itemsnormal::*}
  963. format slot {slot} of player with {caseitem} to run ""
  964. set {slot} to 8
  965. add 1 to {slot}
  966. play "DIG_GRAVEL" to player at volume 9
  967. set {caseitem} to a random element out of {_itemsnormal::*}
  968. format slot {slot} of player with {caseitem} to run ""
  969. wait 1 tick
  970. add 1 to {slot}
  971. play "DIG_GRAVEL" to player at volume 9
  972. set {caseitem} to a random element out of {_itemsnormal::*}
  973. format slot {slot} of player with {caseitem} to run ""
  974. wait 1 tick
  975. add 1 to {slot}
  976. play "DIG_GRAVEL" to player at volume 9
  977. set {caseitem} to a random element out of {_itemsnormal::*}
  978. format slot {slot} of player with {caseitem} to run ""
  979. wait 1 tick
  980. add 1 to {slot}
  981. play "DIG_GRAVEL" to player at volume 9
  982. set {caseitem} to a random element out of {_itemsnormal::*}
  983. format slot {slot} of player with {caseitem} to run ""
  984. wait 1 tick
  985. add 1 to {slot}
  986. play "DIG_GRAVEL" to player at volume 9
  987. set {caseitem} to a random element out of {_itemsnormal::*}
  988. format slot {slot} of player with {caseitem} to run ""
  989. wait 1 tick
  990. add 1 to {slot}
  991. play "DIG_GRAVEL" to player at volume 9
  992. set {caseitem} to a random element out of {_itemsnormal::*}
  993. format slot {slot} of player with {caseitem} to run ""
  994. wait 1 tick
  995. add 1 to {slot}
  996. play "DIG_GRAVEL" to player at volume 9
  997. set {caseitem} to a random element out of {_itemsnormal::*}
  998. format slot {slot} of player with {caseitem} to run ""
  999. wait 1 tick
  1000. add 1 to {slot}
  1001. play "DIG_GRAVEL" to player at volume 9
  1002. set {caseitem} to a random element out of {_itemsnormal::*}
  1003. format slot {slot} of player with {caseitem} to run ""
  1004. wait 1 tick
  1005. add 1 to {slot}
  1006. play "DIG_GRAVEL" to player at volume 9
  1007. set {caseitem} to a random element out of {_itemsnormal::*}
  1008. format slot {slot} of player with {caseitem} to run ""
  1009. set {slot} to 8
  1010. add 1 to {slot}
  1011. play "DIG_GRAVEL" to player at volume 9
  1012. set {caseitem} to a random element out of {_itemsnormal::*}
  1013. format slot {slot} of player with {caseitem} to run ""
  1014. wait 1 tick
  1015. add 1 to {slot}
  1016. play "DIG_GRAVEL" to player at volume 9
  1017. set {caseitem} to a random element out of {_itemsnormal::*}
  1018. format slot {slot} of player with {caseitem} to run ""
  1019. wait 1 tick
  1020. add 1 to {slot}
  1021. play "DIG_GRAVEL" to player at volume 9
  1022. set {caseitem} to a random element out of {_itemsnormal::*}
  1023. format slot {slot} of player with {caseitem} to run ""
  1024. wait 1 tick
  1025. add 1 to {slot}
  1026. play "DIG_GRAVEL" to player at volume 9
  1027. set {caseitem} to a random element out of {_itemsnormal::*}
  1028. format slot {slot} of player with {caseitem} to run ""
  1029. wait 1 tick
  1030. add 1 to {slot}
  1031. play "DIG_GRAVEL" to player at volume 9
  1032. set {caseitem} to a random element out of {_itemsnormal::*}
  1033. format slot {slot} of player with {caseitem} to run ""
  1034. wait 1 tick
  1035. add 1 to {slot}
  1036. play "DIG_GRAVEL" to player at volume 9
  1037. set {caseitem} to a random element out of {_itemsnormal::*}
  1038. format slot {slot} of player with {caseitem} to run ""
  1039. wait 1 tick
  1040. add 1 to {slot}
  1041. play "DIG_GRAVEL" to player at volume 9
  1042. set {caseitem} to a random element out of {_itemsnormal::*}
  1043. format slot {slot} of player with {caseitem} to run ""
  1044. wait 1 tick
  1045. add 1 to {slot}
  1046. play "DIG_GRAVEL" to player at volume 9
  1047. set {caseitem} to a random element out of {_itemsnormal::*}
  1048. format slot {slot} of player with {caseitem} to run ""
  1049. wait 1 tick
  1050. add 1 to {slot}
  1051. play "DIG_GRAVEL" to player at volume 9
  1052. set {caseitem} to a random element out of {_itemsnormal::*}
  1053. format slot {slot} of player with {caseitem} to run ""
  1054. set {slot} to 8
  1055. add 1 to {slot}
  1056. play "DIG_GRAVEL" to player at volume 9
  1057. set {caseitem} to a random element out of {_itemsnormal::*}
  1058. format slot {slot} of player with {caseitem} to run ""
  1059. wait 1 tick
  1060. add 1 to {slot}
  1061. play "DIG_GRAVEL" to player at volume 9
  1062. set {caseitem} to a random element out of {_itemsnormal::*}
  1063. format slot {slot} of player with {caseitem} to run ""
  1064. wait 1 tick
  1065. add 1 to {slot}
  1066. play "DIG_GRAVEL" to player at volume 9
  1067. set {caseitem} to a random element out of {_itemsnormal::*}
  1068. format slot {slot} of player with {caseitem} to run ""
  1069. wait 1 tick
  1070. add 1 to {slot}
  1071. play "DIG_GRAVEL" to player at volume 9
  1072. set {caseitem} to a random element out of {_itemsnormal::*}
  1073. format slot {slot} of player with {caseitem} to run ""
  1074. wait 5 ticks
  1075. add 1 to {slot}
  1076. play "DIG_GRAVEL" to player at volume 9
  1077. set {caseitem} to a random element out of {_itemsnormal::*}
  1078. format slot {slot} of player with {caseitem} to run ""
  1079. wait 5 ticks
  1080. add 1 to {slot}
  1081. play "DIG_GRAVEL" to player at volume 9
  1082. set {caseitem} to a random element out of {_itemsnormal::*}
  1083. format slot {slot} of player with {caseitem} to run ""
  1084. wait 5 ticks
  1085. add 1 to {slot}
  1086. play "DIG_GRAVEL" to player at volume 9
  1087. set {caseitem} to a random element out of {_itemsnormal::*}
  1088. format slot {slot} of player with {caseitem} to run ""
  1089. wait 5 ticks
  1090. add 1 to {slot}
  1091. play "DIG_GRAVEL" to player at volume 9
  1092. set {caseitem} to a random element out of {_itemsnormal::*}
  1093. format slot {slot} of player with {caseitem} to run ""
  1094. wait 5 ticks
  1095. add 1 to {slot}
  1096. play "DIG_GRAVEL" to player at volume 9
  1097. set {caseitem} to a random element out of {_itemsnormal::*}
  1098. format slot {slot} of player with {caseitem} to run ""
  1099. set {slot} to 8
  1100. wait 5 ticks
  1101. add 1 to {slot}
  1102. play "DIG_GRAVEL" to player at volume 9
  1103. set {caseitem} to a random element out of {_itemsnormal::*}
  1104. format slot {slot} of player with {caseitem} to run ""
  1105. wait 15 ticks
  1106. add 1 to {slot}
  1107. play "DIG_GRAVEL" to player at volume 9
  1108. set {caseitem} to a random element out of {_itemsnormal::*}
  1109. format slot {slot} of player with {caseitem} to run ""
  1110. wait 15 ticks
  1111. add 1 to {slot}
  1112. play "DIG_GRAVEL" to player at volume 9
  1113. set {caseitem} to a random element out of {_itemsnormal::*}
  1114. format slot {slot} of player with {caseitem} to run ""
  1115. wait 15 ticks
  1116. add 1 to {slot}
  1117. play "DIG_GRAVEL" to player at volume 9
  1118. set {caseitem} to a random element out of {_itemsnormal::*}
  1119. format slot {slot} of player with {caseitem} to run ""
  1120. wait 15 ticks
  1121. add 1 to {slot}
  1122. play "DIG_GRAVEL" to player at volume 9
  1123. set {caseitem} to a random element out of {_itemsnormal::*}
  1124. format slot {slot} of player with {caseitem} to run ""
  1125. if {caseitem} is iron chestplate:
  1126. send "{@logo3} &aDu hast &6Gold-Rang 1 Monat &a&lgewonnen" to player
  1127. make console execute command "/pex user %player% group set Gold"
  1128. wait 730 hours
  1129. make console execute command "/pex user %player% group set Spieler"
  1130. set {slot} to 8
  1131. if {caseitem} is gold block:
  1132. send "{@logo3} &aDu hast &650.000 Coins &a&lgewonnen" to player
  1133. make console execute command "/coin add 50000 %player%"
  1134. if {caseitem} is gold ingot:
  1135. send "{@logo3} &aDu hast &610.000 Coins &a&lgewonnen" to player
  1136. make console execute command "/coin add 10000 %player%"
  1137. if {caseitem} is glowstone dust:
  1138. send "{@logo3} &aDu hast &62.000 Coins &a&lgewonnen" to player
  1139. make console execute command "/coin add 2000 %player%"
  1140. if {caseitem} is spawn egg:120:
  1141. send "{@logo3} &aDu hast &bVillager &a&lgewonnen" to player
  1142. if {caseitem} is spawn egg:101:
  1143. send "{@logo3} &aDu hast &bHase &a&lgewonnen" to player
  1144. if {caseitem} is spawn egg:100:
  1145. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1146. if {caseitem} is spawn egg:98:
  1147. send "{@logo3} &aDu hast &bKatze &a&lgewonnen" to player
  1148. if {caseitem} is spawn egg:96:
  1149. send "{@logo3} &aDu hast &bPilzKuh &a&lgewonnen" to player
  1150. if {caseitem} is spawn egg:95:
  1151. send "{@logo3} &aDu hast &bHund &a&lgewonnen" to player
  1152. if {caseitem} is spawn egg:93:
  1153. send "{@logo3} &aDu hast &bHuhn &a&lgewonnen" to player
  1154. if {caseitem} is spawn egg:92:
  1155. send "{@logo3} &aDu hast &bKuh &a&lgewonnen" to player
  1156. if {caseitem} is spawn egg:91:
  1157. send "{@logo3} &aDu hast &bSchaf &a&lgewonnen" to player
  1158. if {caseitem} is spawn egg:90:
  1159. send "{@logo3} &aDu hast &bSchwein &a&lgewonnen" to player
  1160. if {caseitem} is spawn egg:61:
  1161. send "{@logo3} &aDu hast &bBlaze &a&lgewonnen" to player
  1162. if {caseitem} is spawn egg:55:
  1163. send "{@logo3} &aDu hast &bSchlime &a&lgewonnen" to player
  1164. if {caseitem} is spawn egg:52:
  1165. send "{@logo3} &aDu hast &bSpinne &a&lgewonnen" to player
  1166. if {caseitem} is spawn egg:65:
  1167. send "{@logo3} &aDu hast &bFeldermaus &a&lgewonnen" to player
  1168. if {caseitem} is spawn egg:62:
  1169. send "{@logo3} &aDu hast &bMagma Cube &a&lgewonnen" to player
  1170. if {caseitem} is spawn egg:51:
  1171. send "{@logo3} &aDu hast &bSkelett &a&lgewonnen" to player
  1172. if {caseitem} is spawn egg:65:
  1173. send "{@logo3} &aDu hast &bZombie &a&lgewonnen" to player
  1174. if {caseitem} is nether star:
  1175. send "{@logo3} &aDu hast &bWither &a&lgewonnen" to player
  1176.  
  1177. if arg 1 is "give":
  1178. if arg 2 is set:
  1179. if player has permission "lb.owner":
  1180. add arg 2 to {normal.chests.%player%}
  1181. send "{@logo3} &aDu hast dir erfolgreich &6%arg 2% &aChests geholt!"
  1182.  
  1183. command /mastercase <text> [<number>]:
  1184. trigger:
  1185. if arg 1 is "open":
  1186. if {master.chests.%player%} is bigger than 0:
  1187. wait 2 ticks
  1188. remove 1 from {master.chests.%player%}
  1189. add iron chestplate named "&3Diamond-Rang" to {_itemsmaster::*}
  1190. add gold chestplate named "&6Gold-Rang 1 Monat" to {_itemsmaster::*}
  1191. add emerald ore named "&aEmerald-Rang" to {_itemsmaster::*}
  1192. add diamond chestplate named "&5Master-Rang" to {_itemsmaster::*}
  1193. add gold block named "&a650000" to {_itemsmaster::*}
  1194. add chest named "&bAlle-SkyWars Kits" to {_itemsmaster::*}
  1195. add spawn egg:58 named "&7Wither" to {_itemsmaster::*}
  1196. wait 3 ticks
  1197. open chest with 3 rows named "&6Case Opening: Normal" to player
  1198. format slot 4 of player with hopper named "&7Dein Item" to run ""
  1199. set {slot} to 8
  1200. add 1 to {slot}
  1201. play "DIG_GRAVEL" to player at volume 9
  1202. set {caseitem} to a random element out of {_itemsmaster::*}
  1203. format slot {slot} of player with {caseitem} to run ""
  1204. wait 1 tick
  1205. add 1 to {slot}
  1206. play "DIG_GRAVEL" to player at volume 9
  1207. set {caseitem} to a random element out of {_itemsmaster::*}
  1208. format slot {slot} of player with {caseitem} to run ""
  1209. wait 1 tick
  1210. add 1 to {slot}
  1211. play "DIG_GRAVEL" to player at volume 9
  1212. set {caseitem} to a random element out of {_itemsmaster::*}
  1213. format slot {slot} of player with {caseitem} to run ""
  1214. wait 1 tick
  1215. add 1 to {slot}
  1216. play "DIG_GRAVEL" to player at volume 9
  1217. set {caseitem} to a random element out of {_itemsmaster::*}
  1218. format slot {slot} of player with {caseitem} to run ""
  1219. wait 1 tick
  1220. add 1 to {slot}
  1221. play "DIG_GRAVEL" to player at volume 9
  1222. set {caseitem} to a random element out of {_itemsmaster::*}
  1223. format slot {slot} of player with {caseitem} to run ""
  1224. wait 1 tick
  1225. add 1 to {slot}
  1226. play "DIG_GRAVEL" to player at volume 9
  1227. set {caseitem} to a random element out of {_itemsmaster::*}
  1228. format slot {slot} of player with {caseitem} to run ""
  1229. wait 1 tick
  1230. add 1 to {slot}
  1231. play "DIG_GRAVEL" to player at volume 9
  1232. set {caseitem} to a random element out of {_itemsmaster::*}
  1233. format slot {slot} of player with {caseitem} to run ""
  1234. set {slot} to 8
  1235. add 1 to {slot}
  1236. play "DIG_GRAVEL" to player at volume 9
  1237. set {caseitem} to a random element out of {_itemsmaster::*}
  1238. format slot {slot} of player with {caseitem} to run ""
  1239. wait 1 tick
  1240. add 1 to {slot}
  1241. play "DIG_GRAVEL" to player at volume 9
  1242. set {caseitem} to a random element out of {_itemsmaster::*}
  1243. format slot {slot} of player with {caseitem} to run ""
  1244. wait 1 tick
  1245. add 1 to {slot}
  1246. play "DIG_GRAVEL" to player at volume 9
  1247. set {caseitem} to a random element out of {_itemsmaster::*}
  1248. format slot {slot} of player with {caseitem} to run ""
  1249. wait 1 tick
  1250. add 1 to {slot}
  1251. play "DIG_GRAVEL" to player at volume 9
  1252. set {caseitem} to a random element out of {_itemsmaster::*}
  1253. format slot {slot} of player with {caseitem} to run ""
  1254. wait 1 tick
  1255. add 1 to {slot}
  1256. play "DIG_GRAVEL" to player at volume 9
  1257. set {caseitem} to a random element out of {_itemsmaster::*}
  1258. format slot {slot} of player with {caseitem} to run ""
  1259. wait 1 tick
  1260. add 1 to {slot}
  1261. play "DIG_GRAVEL" to player at volume 9
  1262. set {caseitem} to a random element out of {_itemsmaster::*}
  1263. format slot {slot} of player with {caseitem} to run ""
  1264. wait 1 tick
  1265. add 1 to {slot}
  1266. play "DIG_GRAVEL" to player at volume 9
  1267. set {caseitem} to a random element out of {_itemsmaster::*}
  1268. format slot {slot} of player with {caseitem} to run ""
  1269. wait 1 tick
  1270. add 1 to {slot}
  1271. play "DIG_GRAVEL" to player at volume 9
  1272. set {caseitem} to a random element out of {_itemsmaster::*}
  1273. format slot {slot} of player with {caseitem} to run ""
  1274. wait 1 tick
  1275. add 1 to {slot}
  1276. play "DIG_GRAVEL" to player at volume 9
  1277. set {caseitem} to a random element out of {_itemsmaster::*}
  1278. format slot {slot} of player with {caseitem} to run ""
  1279. set {slot} to 8
  1280. add 1 to {slot}
  1281. play "DIG_GRAVEL" to player at volume 9
  1282. set {caseitem} to a random element out of {_itemsmaster::*}
  1283. format slot {slot} of player with {caseitem} to run ""
  1284. wait 1 tick
  1285. add 1 to {slot}
  1286. play "DIG_GRAVEL" to player at volume 9
  1287. set {caseitem} to a random element out of {_itemsmaster::*}
  1288. format slot {slot} of player with {caseitem} to run ""
  1289. wait 1 tick
  1290. add 1 to {slot}
  1291. play "DIG_GRAVEL" to player at volume 9
  1292. set {caseitem} to a random element out of {_itemsmaster::*}
  1293. format slot {slot} of player with {caseitem} to run ""
  1294. wait 1 tick
  1295. add 1 to {slot}
  1296. play "DIG_GRAVEL" to player at volume 9
  1297. set {caseitem} to a random element out of {_itemsmaster::*}
  1298. format slot {slot} of player with {caseitem} to run ""
  1299. wait 1 tick
  1300. add 1 to {slot}
  1301. play "DIG_GRAVEL" to player at volume 9
  1302. set {caseitem} to a random element out of {_itemsmaster::*}
  1303. format slot {slot} of player with {caseitem} to run ""
  1304. wait 1 tick
  1305. add 1 to {slot}
  1306. play "DIG_GRAVEL" to player at volume 9
  1307. set {caseitem} to a random element out of {_itemsmaster::*}
  1308. format slot {slot} of player with {caseitem} to run ""
  1309. wait 1 tick
  1310. add 1 to {slot}
  1311. play "DIG_GRAVEL" to player at volume 9
  1312. set {caseitem} to a random element out of {_itemsmaster::*}
  1313. format slot {slot} of player with {caseitem} to run ""
  1314. wait 1 tick
  1315. add 1 to {slot}
  1316. play "DIG_GRAVEL" to player at volume 9
  1317. set {caseitem} to a random element out of {_itemsmaster::*}
  1318. format slot {slot} of player with {caseitem} to run ""
  1319. wait 1 tick
  1320. add 1 to {slot}
  1321. play "DIG_GRAVEL" to player at volume 9
  1322. set {caseitem} to a random element out of {_itemsmaster::*}
  1323. format slot {slot} of player with {caseitem} to run ""
  1324. set {slot} to 8
  1325. add 1 to {slot}
  1326. play "DIG_GRAVEL" to player at volume 9
  1327. set {caseitem} to a random element out of {_itemsmaster::*}
  1328. format slot {slot} of player with {caseitem} to run ""
  1329. wait 1 tick
  1330. add 1 to {slot}
  1331. play "DIG_GRAVEL" to player at volume 9
  1332. set {caseitem} to a random element out of {_itemsmaster::*}
  1333. format slot {slot} of player with {caseitem} to run ""
  1334. wait 1 tick
  1335. add 1 to {slot}
  1336. play "DIG_GRAVEL" to player at volume 9
  1337. set {caseitem} to a random element out of {_itemsmaster::*}
  1338. format slot {slot} of player with {caseitem} to run ""
  1339. wait 1 tick
  1340. add 1 to {slot}
  1341. play "DIG_GRAVEL" to player at volume 9
  1342. set {caseitem} to a random element out of {_itemsmaster::*}
  1343. format slot {slot} of player with {caseitem} to run ""
  1344. wait 1 tick
  1345. add 1 to {slot}
  1346. play "DIG_GRAVEL" to player at volume 9
  1347. set {caseitem} to a random element out of {_itemsmaster::*}
  1348. format slot {slot} of player with {caseitem} to run ""
  1349. wait 1 tick
  1350. add 1 to {slot}
  1351. play "DIG_GRAVEL" to player at volume 9
  1352. set {caseitem} to a random element out of {_itemsmaster::*}
  1353. format slot {slot} of player with {caseitem} to run ""
  1354. wait 1 tick
  1355. add 1 to {slot}
  1356. play "DIG_GRAVEL" to player at volume 9
  1357. set {caseitem} to a random element out of {_itemsmaster::*}
  1358. format slot {slot} of player with {caseitem} to run ""
  1359. wait 1 tick
  1360. add 1 to {slot}
  1361. play "DIG_GRAVEL" to player at volume 9
  1362. set {caseitem} to a random element out of {_itemsmaster::*}
  1363. format slot {slot} of player with {caseitem} to run ""
  1364. wait 1 tick
  1365. add 1 to {slot}
  1366. play "DIG_GRAVEL" to player at volume 9
  1367. set {caseitem} to a random element out of {_itemsmaster::*}
  1368. format slot {slot} of player with {caseitem} to run ""
  1369. set {slot} to 8
  1370. add 1 to {slot}
  1371. play "DIG_GRAVEL" to player at volume 9
  1372. set {caseitem} to a random element out of {_itemsmaster::*}
  1373. format slot {slot} of player with {caseitem} to run ""
  1374. wait 1 tick
  1375. add 1 to {slot}
  1376. play "DIG_GRAVEL" to player at volume 9
  1377. set {caseitem} to a random element out of {_itemsmaster::*}
  1378. format slot {slot} of player with {caseitem} to run ""
  1379. wait 1 tick
  1380. add 1 to {slot}
  1381. play "DIG_GRAVEL" to player at volume 9
  1382. set {caseitem} to a random element out of {_itemsmaster::*}
  1383. format slot {slot} of player with {caseitem} to run ""
  1384. wait 1 tick
  1385. add 1 to {slot}
  1386. play "DIG_GRAVEL" to player at volume 9
  1387. set {caseitem} to a random element out of {_itemsmaster::*}
  1388. format slot {slot} of player with {caseitem} to run ""
  1389. wait 5 ticks
  1390. add 1 to {slot}
  1391. play "DIG_GRAVEL" to player at volume 9
  1392. set {caseitem} to a random element out of {_itemsmaster::*}
  1393. format slot {slot} of player with {caseitem} to run ""
  1394. wait 5 ticks
  1395. add 1 to {slot}
  1396. play "DIG_GRAVEL" to player at volume 9
  1397. set {caseitem} to a random element out of {_itemsmaster::*}
  1398. format slot {slot} of player with {caseitem} to run ""
  1399. wait 5 ticks
  1400. add 1 to {slot}
  1401. play "DIG_GRAVEL" to player at volume 9
  1402. set {caseitem} to a random element out of {_itemsmaster::*}
  1403. format slot {slot} of player with {caseitem} to run ""
  1404. wait 5 ticks
  1405. add 1 to {slot}
  1406. play "DIG_GRAVEL" to player at volume 9
  1407. set {caseitem} to a random element out of {_itemsmaster::*}
  1408. format slot {slot} of player with {caseitem} to run ""
  1409. wait 5 ticks
  1410. add 1 to {slot}
  1411. play "DIG_GRAVEL" to player at volume 9
  1412. set {caseitem} to a random element out of {_itemsmaster::*}
  1413. format slot {slot} of player with {caseitem} to run ""
  1414. set {slot} to 8
  1415. wait 5 ticks
  1416. add 1 to {slot}
  1417. play "DIG_GRAVEL" to player at volume 9
  1418. set {caseitem} to a random element out of {_itemsmaster::*}
  1419. format slot {slot} of player with {caseitem} to run ""
  1420. wait 15 ticks
  1421. add 1 to {slot}
  1422. play "DIG_GRAVEL" to player at volume 9
  1423. set {caseitem} to a random element out of {_itemsmaster::*}
  1424. format slot {slot} of player with {caseitem} to run ""
  1425. wait 15 ticks
  1426. add 1 to {slot}
  1427. play "DIG_GRAVEL" to player at volume 9
  1428. set {caseitem} to a random element out of {_itemsmaster::*}
  1429. format slot {slot} of player with {caseitem} to run ""
  1430. wait 15 ticks
  1431. add 1 to {slot}
  1432. play "DIG_GRAVEL" to player at volume 9
  1433. set {caseitem} to a random element out of {_itemsmaster::*}
  1434. format slot {slot} of player with {caseitem} to run ""
  1435. wait 15 ticks
  1436. add 1 to {slot}
  1437. play "DIG_GRAVEL" to player at volume 9
  1438. set {caseitem} to a random element out of {_itemsmaster::*}
  1439. format slot {slot} of player with {caseitem} to run ""
  1440. set {slot} to 8
  1441. if {caseitem} is iron chestplate:
  1442. send "{@logo3} &aDu hast &6Gold-Rang 1 Monat &a&lgewonnen" to player
  1443. make console execute command "/pex user %player% group set Gold"
  1444. wait 730 hours
  1445. make console execute command "/pex user %player% group set Spieler"
  1446. if {caseitem} is gold block:
  1447. send "{@logo3} &aDu hast &650.000 Coins &a&lgewonnen" to player
  1448. make console execute command "/coin add 50000 %player%"
  1449. if {caseitem} is spawn egg:58:
  1450. send "{@logo3} &aDu hast &bWither &a&lgewonnen" to player
  1451. if {caseitem} is iron chestplate:
  1452. send "{@logo3} &aDu hast &3Diamond-Rang &a&lgewonnen" to player
  1453. make console execute command "/coin add 50000 %player%"
  1454. if {caseitem} is gold chestplate:
  1455. send "{@logo3} &aDu hast &6Gold-Rang 1 Monat &a&lgewonnen" to player
  1456. if {caseitem} is emerald ore:
  1457. send "{@logo3} &aDu hast &aEmerald-Rang &a&lgewonnen" to player
  1458. if {caseitem} is diamond chestplate:
  1459. send "{@logo3} &aDu hast &5Master-Rang &a&lgewonnen" to player
  1460. if {caseitem} is chest:
  1461. send "{@logo3} &aDu hast &bAlle-SkyWars Kits &a&lgewonnen" to player
  1462.  
  1463. if arg 1 is "give":
  1464. if arg 2 is set:
  1465. if player has permission "lb.owner":
  1466. add arg 2 to {master.chests.%player%}
  1467. send "{@logo3} &aDu hast dir erfolgreich &6%arg 2% &aMaster Chests geholt!"
  1468.  
  1469. every 24 hours:
  1470. loop all players:
  1471. add 1 to {normal.chests.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment