FipsundMunne

MineSucht 08.02.2018

Feb 8th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.24 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 join message to ""
  77. loop {friend.list.%player%::*}:
  78. if loop-value is online:
  79. add 1 to {%player%.friends.online}
  80. send "{@logo2} &7Keine deiner Freunde ist online"
  81. send "{@logo3} &7Du hast noch &e%{normal.chests.%player%}% &a&lNORMALE Truhe(n) &7und &e%{master.chests.%player%}% &5&lMASTER TRUHE(n)&7,die du beim &6CaseOpening &7öffnen kannst."
  82. set {lb.an.1} to true
  83. set {build.%player%} to false
  84. set player's gamemode to Survival
  85. set tab header to "&eMineSucht Network &7- &aLobby" and footer to "&7Teamspeak: &eMineSucht.net\n\&7Shop: &eshop.Minesucht.net" for player
  86. clear player's inventory
  87. set slot 0 of player to compass named "&aTeleporter"
  88. set slot 1 of player to blaze rod named "&6Spieler verstecken"
  89. set slot 3 of player to chest named "&5Extras"
  90. set slot 7 of player to nether star named "&aLobbies"
  91. set slot 8 of player to player's skull named "&6Freunde"
  92. set {nickname.%player%} to false
  93. set player's display name to "%{realname.%player%}%"
  94. set player's tablist name to "%{realname.%player%}%"
  95. send "{@logo} &aDu hast nun wieder deinen richtigen Namen"
  96. if player has permission "lb.spieler":
  97. set {rang.%player%} to "&7Spieler"
  98. set player tab name to "&7%player%"
  99. if player has permission "lb.gold":
  100. set slot 4 of player to name tag named "&eNick Name"
  101. set {rang.%player%} to "&6Gold"
  102. set player tab name to "&6Gold&7| &6%player%"
  103. if player has permission "lb.gold+":
  104. set slot 4 of player to name tag named "&eNick Name"
  105. set {rang.%player%} to "&6Gold+"
  106. set player tab name to "&6Gold+&7| &6%player%"
  107. if player has permission "lb.yt":
  108. set slot 4 of player to name tag named "&eNick Name"
  109. set {rang.%player%} to "&5YouTuber"
  110. set player tab name to "&5YouTuber&7| &6%player%"
  111. if player has permission "lb.emerald":
  112. set {rang.%player%} to "&aEmerald"
  113. set player tab name to "&aEmerald&7| &a%player%"
  114. if player has permission "lb.diamond":
  115. set {rang.%player%} to "&3Diamond"
  116. set player tab name to "&3Diamond&7| &3%player%"
  117. if player has permission "lb.master":
  118. set {rang.%player%} to "&5Master"
  119. set player tab name to "&5Master&7| &5%player%"
  120. if player has permission "lb.hero":
  121. set {rang.%player%} to "&cHero"
  122. set player tab name to "&cHero&7| &c%player%"
  123. if player has permission "lb.sup":
  124. set {rang.%player%} to "&bSupporter"
  125. set player tab name to "&bSupporter&7| &b%player%"
  126. if player has permission "lb.dev":
  127. set {rang.%player%} to "&2Developer"
  128. set player tab name to "&2Developer&7| &2%player%"
  129. if player has permission "lb.mod":
  130. set {rang.%player%} to "&cMod"
  131. set player tab name to "&cMod&7| &c%player%"
  132. if player has permission "lb.admin":
  133. set {rang.%player%} to "&cAdmin"
  134. set player tab name to "&cAdmin&7| &c%player%"
  135. if player has permission "lb.owner":
  136. set {rang.%player%} to "&4Owner"
  137. set player tab name to "&4Owner| &4%player%"
  138.  
  139. on first join:
  140. teleport player to {spawn}
  141. set {rang.%player%} to "&7Spieler"
  142. set {c.%player%} to 0
  143. set {lb.%player%.onlinetime} to 0
  144. set {%player%.friends} to 0
  145. set {lb.chat.%player%} to false
  146.  
  147. #---------------------------------------------
  148. #Chat
  149. #---------------------------------------------
  150.  
  151. on chat:
  152. if player's world is "world":
  153. if {chat.%player%} is false:
  154. cancel event
  155.  
  156. on chat:
  157. cancel event
  158. loop all players:
  159. if player has permission "lb.owner":
  160. send "&4Owner&7| &4%player% &7%message%" to loop-player
  161. stop
  162. if player has permission "lb.admin":
  163. send "&cAdmin&7| &c%player% &7%message%" to loop-player
  164. if player has permission "lb.yt":
  165. send ""
  166. stop
  167. if player has permission "lb.dev":
  168. send "&2Developer&7| &2%player% &7%message%" to loop-player
  169. stop
  170. if player has permission "lb.sup":
  171. send "&bSupporter&7| &b%player% &7%message%" to loop-player
  172. stop
  173. if player has permission "lb.mod":
  174. send "&cMod&7| &c%player% &7%message%" to loop-player
  175. stop
  176. if player has permission "lb.builder":
  177. send "&3Builder&7| &3%player% &7%message%" to loop-player
  178. stop
  179. if player has permission "lb.hero":
  180. send "&cHero&7| &c%player% &7%message%" to loop-player
  181. stop
  182. if player has permission "lb.master":
  183. send "&5Master&7| &5%player% &7%message%" to loop-player
  184. stop
  185. if player has permission "lb.diamond":
  186. send "&3Diamond&7| &3%player% &7%message%" to loop-player
  187. stop
  188. if player has permission "lb.emerald":
  189. send "&aEmerald&7| &a%player% &7%message%" to loop-player
  190. stop
  191. if player has permission "lb.gold+":
  192. send "&6Gold+&7| &6%player% &7%message%" to loop-player
  193. stop
  194. if player has permission "lb.gold":
  195. send "&6Gold&7| &6%player% &7%message%" to loop-player
  196. stop
  197. if player has permission "lb.spieler":
  198. if player is in world "world":
  199. if {lb.chat.%player%} is true:
  200. send "&aSpieler &7%message%" to loop-player
  201. stop
  202. else:
  203. send "&7[&6Lobby&7] &cDu benötigst einen &6Rang &aum schreiben zu können!"
  204.  
  205. #---------------------------------------------
  206. #Scoreboard
  207. #---------------------------------------------
  208.  
  209. every 1 second:
  210. loop all players:
  211. wipe loop-player's sidebar
  212. set name of sidebar of loop-player to "&3&lMINE&a&lSUCHT&c&l.NET"
  213. set score " " in sidebar of loop-player to 12
  214. set score "&fDein Rang:" in sidebar of loop-player to 11
  215. set score "&7%{rang.%loop-player%}%" in sidebar of loop-player to 10
  216. set score " " in sidebar of loop-player to 9
  217. set score "&fCoins:" in sidebar of loop-player to 8
  218. set score "&e%{c.%loop-player%}%" in sidebar of loop-player to 7
  219. set score " " in sidebar of loop-player to 6
  220. set score "&fOnlinezeit:" in sidebar of loop-player to 5
  221. set score "&b%{lb.%loop-player%.onlinetime}%&7h" in sidebar of loop-player to 4
  222. set score " " in sidebar of loop-player to 3
  223. set score "&fFreunde" in sidebar of loop-player to 2
  224. set score "&a%{%loop-player%.friends.online}%&7/%{%loop-player%.friends.sc}%" in sidebar of loop-player to 1
  225. set score " " in sidebar of loop-player to 0
  226.  
  227. every real hour:
  228. loop all players:
  229. add 1 to {lb.%loop-player%.onlinetime}
  230.  
  231. #---------------------------------------------
  232. #Sachen die man ohne build mode nicht machen kann
  233. #---------------------------------------------
  234.  
  235. on break:
  236. if {build.%player%} is false:
  237. cancel event
  238.  
  239. on craft:
  240. if {build.%player%} is false:
  241. cancel event
  242.  
  243. on place:
  244. if {build.%player%} is false:
  245. cancel event
  246.  
  247. on drop:
  248. if {build.%player%} is false:
  249. cancel event
  250.  
  251. on pickup:
  252. if {build.%player%} is false:
  253. cancel event
  254.  
  255. on inventory click:
  256. if {build.%player%} is false:
  257. cancel event
  258.  
  259. on inventory click:
  260. if {build.%player%} is false:
  261. cancel event
  262.  
  263. on inventory click:
  264. if {build.%player%} is false:
  265. cancel event
  266.  
  267. on inventory click:
  268. if {build.%player%} is false:
  269. cancel event
  270.  
  271. on inventory click:
  272. if {build.%player%} is false:
  273. cancel event
  274.  
  275. #---------------------------------------------
  276. #Das soll nicht funktionieren
  277. #---------------------------------------------
  278. on damage of player:
  279. cancel event
  280.  
  281. on hunger metre change:
  282. cancel event
  283.  
  284. on weather change:
  285. cancel event
  286.  
  287. #---------------------------------------------
  288. #Commands
  289. #---------------------------------------------
  290.  
  291. command /spawn:
  292. trigger:
  293. teleport player to {spawn}
  294.  
  295. command /l:
  296. trigger:
  297. teleport player to {spawn}
  298.  
  299. command /hub:
  300. trigger:
  301. teleport player to {spawn}
  302.  
  303. command /quit:
  304. trigger:
  305. teleport player to {spawn}
  306.  
  307. command /teamchat <text>:
  308. trigger:
  309. loop all players:
  310. if player has permission "lb.team":
  311. send "&2[Team] %player% &7%arg 1%" to loop-player
  312.  
  313. command /buychest [<number>]:
  314. trigger:
  315. if arg 1 is not set:
  316. wait 3 ticks
  317. open chest with 3 rows named "&6Cases kaufen" to player
  318. 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"]
  319. 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"]
  320. 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"]
  321. format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to run ""
  322. if arg 1 is 1:
  323. if {c.%player%} is bigger than 5000:
  324. remove 5000 from {c.%player%}
  325. add 1 to {normal.chests.%player%}
  326. send "{@logo} &aDu hast erfolgreich &a&l1 Chest &agekauft."
  327. else:
  328. send "{@logo} &cDu hast zu wenig Coins"
  329. if arg 1 is 3:
  330. if {c.%player%} is bigger than 14500:
  331. remove 14500 from {c.%player%}
  332. add 3 to {normal.chests.%player%}
  333. send "{@logo} &aDu hast erfolgreich &a&l3 Chests &agekauft."
  334. else:
  335. send "{@logo} &cDu hast zu wenig Coins"
  336. if arg 1 is 5:
  337. if {c.%player%} is bigger than 24000:
  338. remove 24000 from {c.%player%}
  339. add 5 to {normal.chests.%player%}
  340. send "{@logo} &aDu hast erfolgreich &a&l5 Chests &agekauft."
  341. else:
  342. send "{@logo} &cDu hast zu wenig Coins"
  343.  
  344. command /sreset:
  345. permission: lb.admin
  346. trigger:
  347. set {rang.%player%} to "&7Spieler"
  348. set {c.%player%} to 0
  349. set {lb.%player%.onlinetime} to 0
  350. set {%player%.friends} to 0
  351. set {%player%.friends.online} to 0
  352. set {%player%.friends.sc} to 0
  353. set {master.chests.%player%} to 0
  354. set {normal.chests.%player%} to 0
  355. set {lb.an.1} to true
  356.  
  357. command /nick [<text>] [<text>]:
  358. permission: lb.gold
  359. trigger:
  360. if arg 1 is not set:
  361. if arg 2 is not set:
  362. if {nickname.%player%} is false:
  363. set {realname.%player%} to player
  364. set {_nickname} to a random element out of {nicknames::*}
  365. set {nickname.%player%} to true
  366. set player's display name to "%{_nickname}%"
  367. set player's tablist name to "&7%{_nickname}%"
  368. send "{@logo} &aDu hast die Erolgreich mit dem Namen &6%{_nickname}% &agenickt"
  369. else:
  370. set {nickname.%player%} to false
  371. kick the player due to "Joine neu"
  372. if arg 1 is "add":
  373. if arg 2 is set:
  374. add arg 2 to {nicknames::*}
  375. send "{@logo} &aDu hast erfolgreich den Namen &6%arg 2% &ahinzugefügt"
  376.  
  377. command /buychat [<text>]:
  378. trigger:
  379. if arg 1 is not set:
  380. if {c.%player%} is bigger than 20000:
  381. remove 20000 from {c.%player%}
  382. set {lb.chat.%player%} to true
  383. send "&7[&6Lobby&7] &aDu kannst nun im Chat für eine Stunde schreiben!"
  384. wait 60 minutes
  385. set {lb.chat.%player%} to false
  386. send "&7[&6Lobby&7] &aDeine Zeit ist abgelaufen du kannst nun nicht mehr schreiben!"
  387. else:
  388. send "&7[&6Lobby&7] &aDu hast leider nicht &620.000 Coins!"
  389. if arg 1 is "open":
  390. wait 3 ticks
  391. open chest with 3 rows named "&6Schreiben kaufen" to player
  392. 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 ""
  393. 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"]
  394. format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to run ""
  395.  
  396. command /fly:
  397. permission: lb.hero
  398. trigger:
  399. if player's flight mode is false:
  400. set player's flight mode to true
  401. send "{@logo} &aDu kannst nun fliegen!"
  402. else:
  403. set player's flight mode to false
  404. send "{@logo} &aDu kannst nun nicht mehr fliegen"
  405.  
  406.  
  407. command /build <text>:
  408. permission: lb.admin
  409. trigger:
  410. if arg 1 is "on":
  411. if {build.%player%} is false:
  412. set {build.%player%} to true
  413. send "{@logo} &aDein Bau modus ist nun an!"
  414. if arg 1 is "off":
  415. set {build.%player%} to false
  416. send "{@logo} &aDein Bau modus ist nun aus!"
  417.  
  418. command /see <text>:
  419. trigger:
  420. if arg 1 is "all":
  421. reveal all players from player
  422. send "&7[&6Lobby&7] &aDir werden nun alle Spieler angezeigt."
  423. if arg 1 is "vip":
  424. hide all players in player's world from player
  425. loop all players:
  426. if loop-player has permission "lb.gold":
  427. reveal loop-player from player
  428. send "&7[&6Lobby&7] &aDir werden nun alle Teammitglieder angezeigt."
  429. if arg 1 is "kein":
  430. hide all players in player's world from player
  431. send "&7[&6Lobby&7] &aDir werden nun keine Spieler mehr angezeigt."
  432.  
  433. command /setlobby <number>:
  434. permission: lb.admin
  435. trigger:
  436. if arg 1 is set:
  437. set {%arg%.lobby} to location of player
  438. send "&aDu hast die Lobby Gesetzt"
  439.  
  440. command /version:
  441. trigger:
  442. send "&aMineSucht System by FipsundMunne [Version.3.0]"
  443. send "&aSkript by FipsundMunne [Version.3.0]"
  444. send "&aYT: FipsundMunne"
  445.  
  446. command /tplobbyvip <number>:
  447. permission: lb.gold
  448. permission message: &aDu darfst das nicht!
  449. trigger:
  450. if arg 1 is set:
  451. teleport player to {%arg%.viplobby}
  452.  
  453. command /setlobbyvip <number>:
  454. trigger:
  455. if arg 1 is set:
  456. set {%arg%.viplobby} to location of player
  457. send "&aDu hast die &6VIP &aLobby Gesetzt"
  458.  
  459.  
  460. command /tplobby <number>:
  461. trigger:
  462. teleport player to {%arg%.lobby}
  463.  
  464. command /warp <number>:
  465. trigger:
  466. if arg 1 is 1:
  467. teleport player to {ttt}
  468. if arg 1 is 2:
  469. teleport player to {mlgrush}
  470. if arg 1 is 3:
  471. teleport player to {skywars}
  472. if arg 1 is 4:
  473. teleport player to {bedwars}
  474. if arg 1 is 5:
  475. teleport player to {qsg}
  476. if arg 1 is 6:
  477. teleport player to {knockffa}
  478. if arg 1 is 7:
  479. teleport player to {tntrun}
  480. if arg 1 is 8:
  481. teleport player to {luckyblock}
  482. if arg 1 is 9:
  483. teleport player to {caseopening}
  484. if arg 1 is 10:
  485. teleport player to {gungame}
  486. if arg 1 is 11:
  487. teleport player to {ffa}
  488. if arg 1 is 12:
  489. teleport player to {haustiertrainer}
  490.  
  491.  
  492. command /setspawn:
  493. trigger:
  494. set {spawn} to location of player
  495. send "{@logo} &aDu hast den Spawn gesetzt!"
  496.  
  497. command /lobby [<text>] [<number>]:
  498. permission: lb.admin
  499. aliases: lb
  500. trigger:
  501. if arg 1 is not set:
  502. teleport player to {spawn}
  503. if arg 1 is "set":
  504. if arg 2 is 1:
  505. set {ttt} to location of player
  506. send "{@logo} &aDu hast den TTT Spawn gesetzt!"
  507. if arg 2 is 2:
  508. set {mlgrush} to location of player
  509. send "{@logo} &aDu hast den MLG-Rush Spawn gesetzt!"
  510. if arg 2 is 3:
  511. set {skywars} to location of player
  512. send "{@logo} &aDu hast den SkyWars Spawn gesetzt!"
  513. if arg 2 is 4:
  514. set {bedwars} to location of player
  515. send "{@logo} &aDu hast den BedWars Spawn gesetzt!"
  516. if arg 2 is 5:
  517. set {qsg} to location of player
  518. send "{@logo} &aDu hast den QSG Spawn gesetzt!"
  519. if arg 2 is 6:
  520. set {knockffa} to location of player
  521. send "{@logo} &aDu hast den Knock FFA Spawn gesetzt!"
  522. if arg 2 is 7:
  523. set {tntrun} to location of player
  524. send "{@logo} &aDu hast den TNT Run Spawn gesetzt!"
  525. if arg 2 is 8:
  526. set {luckyblock} to location of player
  527. send "{@logo} &aDu hast den Lucky Block Spawn gesetzt!"
  528. if arg 2 is 9:
  529. set {caseopening} to location of player
  530. send "{@logo} &aDu hast den Case Opening Spawn gesetzt!"
  531. if arg 2 is 10:
  532. set {gungame} to location of player
  533. send "{@logo} &aDu hast den Gun Game Spawn gesetzt!"
  534. if arg 2 is 11:
  535. set {ffa} to location of player
  536. send "{@logo} &aDu hast den FFA Spawn gesetzt!"
  537. if arg 2 is 12:
  538. set {haustiertrainer} to location of player
  539. send "{@logo} &aDu hast den Haustiertrainer Spawn gesetzt!"
  540.  
  541. command /onlinezeit <text> <number> <player>:
  542. permission: lb.owner
  543. trigger:
  544. if arg 1 is "add":
  545. if arg 2 is set:
  546. if arg 2 is set:
  547. add arg 2 to {lb.%arg 3%.onlinetime}
  548. send "{@logo} &aDu hast &7%arg 3% &6%arg 2% &aStunde Zeit hinzugefügt!"
  549. if arg 1 is "remove":
  550. if arg 2 is set:
  551. if arg 2 is set:
  552. remove arg 2 from {lb.%arg 3%.onlinetime}
  553. send "{@logo} &aDu hast &7%arg 3% &6%arg 2% &aStunde Zeit entfernt!"
  554.  
  555. #---------------------------------------------
  556. #Wenn man rechts click auf ein item macht
  557. #z.B. Compass
  558. #---------------------------------------------
  559.  
  560. on right click with compass:
  561. wait 3 ticks
  562. open chest with 5 rows named "&aTeleporter" to player
  563. format slot 3 of player with stick named "&4TTT" to close then run [make player execute command "/warp 1"]
  564. format slot 4 of player with light blue dye named "&6QuikJoin" to close then run [make player execute command "/warp 2"]
  565. format slot 5 of player with blaze rod named "&6MLG&f-&1Rush" to close then run [make player execute command "/warp 2"]
  566. format slot 11 of player with grass named "&2SkyWars" to close then run [make player execute command "/warp 3"]
  567. format slot 15 of player with bed item named "&3BedWars" to close then run [make player execute command "/warp 4"]
  568. format slot 20 of player with golden chestplate named "&dQSG" to close then run [make player execute command "/warp 5"]
  569. format slot 22 of player with diamond named "&6Spawn" to close then run [make player execute command "/spawn"]
  570. format slot 24 of player with fishing rod named "&cKnock&f&eFFA" to close then run [make player execute command "/warp 6"]
  571. format slot 29 of player with tnt named "&4TNT&f-Run" to close then run [make player execute command "/warp 7"]
  572. format slot 33 of player with gold block named "&6LuckyBlock" to close then run [make player execute command "/warp 8"]
  573. format slot 36 of player with chest named "&6Case&aOpening" to close then run [make player execute command "/warp 9"]
  574. format slot 39 of player with wooden axe named "&aGunGame" to close then run [make player execute command "/warp 10"]
  575. format slot 41 of player with iron sword named "&eFFA" to close then run [make player execute command "/warp 11"]
  576. format slot 44 of player with spawn egg named "&bHaustiertrainer" to close then run [make player execute command "/warp 12"]
  577.  
  578. on rightclick with chest:
  579. wait 3 ticks
  580. open chest with 3 rows named "&6Extras Auswahl" to player
  581. format slot 13 of player with water bottle named "&aTrails" to close then run [make player execute command "/trails"]
  582. format slot 11 of player with spawn egg named "&aPets" to close then run [make player execute command "/pets"]
  583. format slot 15 of player with chest named "&aChests" to close then run [make player execute command "/buychest"]
  584. format slot 17 of player with paper named "&eChat kaufen" to close then run [make player execute command "/buychat open"]
  585. format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to close
  586.  
  587. on right click with blaze rod:
  588. wait 3 ticks
  589. open chest with 1 row named "&6Spieler verstecken" to player
  590. format slot 2 of player with light green dye named "&aAlle Spieler anzeigen" to close then run [make player execute command "/see all"]
  591. format slot 4 of player with pink dye named "&eNur Teammitglieder anzeigen" to close then run [make player execute command "/see vip"]
  592. format slot 6 of player with red dye named "&4Keine Spieler anzeigen" to close then run [make player execute command "/see kein"]
  593.  
  594.  
  595. on rightclick with nether star:
  596. wait 3 ticks
  597. open chest with 2 rows named "&eWähle deine Lobby" to player
  598. format slot 0 of player with glowstone dust named "&6Premium-Lobby-1" to close then run [make player execute command "/tplobbyvip 1"]
  599. format slot 1 of player with glowstone dust named "&6Premium-Lobby-2" to close then run [make player execute command "/tplobbyvip 2"]
  600. format slot 2 of player with glowstone dust named "&6Premium-Lobby-3" to close then run [make player execute command "/tplobbyvip 3"]
  601. format slot 9 of player with gunpowder named "&aLobby-1" to close then run [make player execute command "/tplobby 1"]
  602. format slot 10 of player with gunpowder named "&aLobby-2" to close then run [make player execute command "/tplobby 2"]
  603. format slot 11 of player with gunpowder named "&aLobby-3" to close then run [make player execute command "/tplobby 3"]
  604. format slot 12 of player with gunpowder named "&aLobby-4" to close then run [make player execute command "/tplobby 4"]
  605. format slot 13 of player with gunpowder named "&aLobby-5" to close then run [make player execute command "/tplobby 5"]
  606. format slot 14 of player with gunpowder named "&aLobby-6" to close then run [make player execute command "/tplobby 6"]
  607. format slot 15 of player with gunpowder named "&aLobby-7" to close then run [make player execute command "/tplobby 7"]
  608. format slot 16 of player with gunpowder named "&aLobby-8" to close then run [make player execute command "/tplobby 8"]
  609.  
  610. on rightclick with name tag:
  611. make player execute command "/nick"
  612.  
  613. on right click with player head:
  614. make player execute command "/friend list"
  615.  
  616. #---------------------------------------------
  617. #Die Nachrichten über dem Inventar
  618. #---------------------------------------------
  619.  
  620. every second:
  621. if {lb.an.1} is true:
  622. loop all players:
  623. send action bar from "&9&lTEAMSPEAK IP: &6&lMINESUCHT.NET" to loop-player
  624. wait 10 seconds
  625. set {lb.an.1} to false
  626. set {lb.an.2} to true
  627.  
  628. every second:
  629. if {lb.an.2} is true:
  630. loop all players:
  631. send action bar from "&5&lUNSER SHOP: &c&lSHOP.MINESUCHT.NET" to loop-player
  632. wait 10 seconds
  633. set {lb.an.2} to false
  634. set {lb.an.3} to true
  635.  
  636.  
  637. every second:
  638. if {lb.an.3} is true:
  639. loop all players:
  640. send action bar from "&a&lCOOLE RÄNGE? &6&l>> &c&lSHOP.MINESUCHT.NET" to loop-player
  641. wait 10 seconds
  642. set {lb.an.3} to false
  643. set {lb.an.1} to true
  644.  
  645. #---------------------------------------------
  646. #Wenn man über die druckplatte läuft
  647. #---------------------------------------------
  648. on pressure plate:
  649. push the player forwards at speed 15
  650. wait 2 ticks
  651. push the player upwards at speed 5
  652. push the player forwards at speed 15
  653. play raw sound "random.bow" at event-block with pitch 2 volume 3
  654.  
  655. #---------------------------------------------
  656. #Freunde System
  657. #---------------------------------------------
  658.  
  659. command /friends [<text>] [<player>] [<text>]:
  660. aliases: friend
  661. trigger:
  662. if arg-1 is not set:
  663. send "{@logo2} &6Freundschaftsverwaltung"
  664. send "&e/friend add <Name> &7Fügt einen neuen Freund hinzu"
  665. send "&e/friend list &7Zeige eine Liste aller Freunde"
  666. send "&e/friend remove <Name> &7Entfernt einen Freund"
  667. send "&e/friend jump <Name> &7Auf des Freundes Server springen"
  668. send "&e/friend clear &7Leert die Freundschaftsanfragen"
  669. send "&e/friend requests &7Zeigt alle Anfragen an"
  670. send "&e/friend accept <Name> &7Nimmt eine Anfrage an"
  671. send "&e/friend acceptall &7Nimmt alle Freundschaftsanfragen an"
  672. send "&e/friend deny <Name> &7Lehnt eine Anfrage ab"
  673. send "&e/friend denyall &7Lehnt alle Freundschaftsanfragen ab"
  674. send "&e/friend toggle &7Anfragen erlauben & verbieten"
  675. send "&e/friend togglenotify &7Online/Offline Nachrichten erlauben & verbieten"
  676. send "&e/friend togglemessage &7Private Nachrichten erlauben & verbieten"
  677. send "&e/friend togglejump &7Erlaube & verbiete Spielrn zu dir zu springen"
  678. if arg 1 is "clear":
  679. clear {friend.list.%player%::*}
  680. send "{@logo2} &eDu hast deine Freundesliste geleert"
  681.  
  682. if arg 1 is "jump":
  683. if arg 2 is set:
  684. teleport player to arg 2
  685.  
  686. if arg 1 is "add":
  687. if arg 2 is set:
  688. loop {friend.list.%player%::*}:
  689. if arg 2 is loop-value:
  690. send "{@logo2} &cDu bist bereits mit diesem Spieler befreundet"
  691. stop
  692. if arg 2 is player:
  693. send "{@logo2} &cDu kannst dir keine Freundschaftsanfrage senden"
  694. stop
  695. else:
  696. send "{@logo2} &cBitte gib einen Namen an"
  697. set {friend.request.%arg 2%} to player
  698. set {friend.request.%player%} to arg 2
  699. send "{@logo2} &eDu hast &7%arg 2% &eeingeladen dein Freund zu sein" to player
  700. send "{@logo2} &7%player% &ehat dir eine Freundschaftsanfrage gesendet" to arg 2
  701. send "{@logo2} &e/friend accept &7%player% Um die Freundschaftsanfrage zu akzeptieren" to arg 2
  702. send "{@logo2} &e/friend deny &7%player% Um die Freundschaftsanfrage zu ablehnen" to arg 2
  703.  
  704. if arg 1 is "accept":
  705. if {friend.request.%player%} is arg 2:
  706. if {friend.request.%arg 2%} is player:
  707. set {friend.request.%player%} to 0
  708. add 1 to {%player%.friends.sc}
  709. set {friend.request.%arg 2%} to 0
  710. add 1 to {%arg 2%.friends.sc}
  711. add player to {friend.list.%arg 2%::*}
  712. add arg 2 to {friend.list.%player%::*}
  713. send "{@logo2} &eDu bist jetzt mit &7%arg 2% &ebefreundet" to player
  714. send "{@logo2} &eDu bist jetzt mit &7%player% &ebefreundet" to arg 2
  715.  
  716. if arg 1 is "deny":
  717. if {friend.request.%player%} is arg 2:
  718. if {friend.request.%arg 2%} is player:
  719. set {friend.request.%player%} to 0
  720. set {friend.request.%arg 2%} to 0
  721. send "{@logo2} &eDu hast die Anfrage von &7%player% &eabgelehnt"
  722. send "{@logo2} &7%player% &ehat deine Anfrage nicht angenommen" to arg 2
  723.  
  724. if arg 1 is "list":
  725. set {friend.count.%player%} to 0
  726. wait 3 ticks
  727. open chest with 6 rows named "&6Freunde" to player
  728. format slot 45 of player with redstone comparator item named "&bEinstellungen" to close
  729. format slot 46 of player with map named "&eFreundschaftsanfragen: &c0" to close
  730. loop {friend.list.%player%::*}:
  731. if loop-value is online:
  732. format slot {friend.count.%player%} of player with loop-value's skull named "&7%loop-value%" with lore "&aOnline" to close then run ""
  733. add 1 to {friend.count.%player%}
  734. if loop-value is offline:
  735. format slot {friend.count.%player%} of player with mob head item named "&7%loop-value%" with lore "&cOffline" to close then run ""
  736. add 1 to {friend.count.%player%}
  737.  
  738. if arg 1 is "remove":
  739. loop {friend.list.%player%::*}:
  740. if arg 3 is loop-value:
  741. remove arg 3 from {friend.list.%player%::*}
  742. send "{@logo2} &eDu hast &7%arg 2% &evon deiner Freundesliste entfernt"
  743. loop {friend.list.%arg 3%::*}:
  744. if player is loop-value:
  745. remove player from {friend.list.%arg 3%::*}
  746. loop {friend.list.%player%::*}:
  747. if arg 2 is loop-value:
  748. remove arg 2 from {friend.list.%player%::*}
  749. send "{@logo2} &eDu hast &7%arg 2% &evon deiner Freundesliste entfernt"
  750. loop {friend.list.%arg 2%::*}:
  751. if player is loop-value:
  752. remove player from {friend.list.%arg 2%::*}
  753.  
  754. #---------------------------------------------
  755. #Coins System
  756. #---------------------------------------------
  757. command /coin [<text>] [<number>] [<player>]:
  758. permission: lb.admin
  759. trigger:
  760. if arg 1 is not set:
  761. send "&aDu hast &6%{c.%player%}% Coins"
  762. if arg 1 is "help":
  763. send "&e/coin add <zahl> <name> &7gebe einen Spieler Coins"
  764. send "&e/coin remove <zahl> <name> &7nehme Coins von einem Spieler"
  765.  
  766. if arg 1 is "add":
  767. if arg 2 is set:
  768. if arg 3 is set:
  769. add arg 2 to {c.%arg 3%}
  770. send "&6[Coins] &aDu hast %arg 3% &6%arg 2% Coins &agegeben" to player
  771.  
  772. if arg 1 is "remove":
  773. if arg 2 is set:
  774. if arg 3 is set:
  775. remove arg 2 from {c.%arg 3%}
  776. send "&6[Coins] &aDu hast %arg 3% &6%arg 2% Coins &agenommen" to player
  777.  
  778. #---------------------------------------------
  779. #CaseOpening
  780. #---------------------------------------------
  781. on inventory click:
  782. inventory name of player's current inventory is "&6Case Opening: Normal":
  783. cancel event
  784.  
  785. on right click on chest:
  786. cancel event
  787. wait 3 ticks
  788. open chest with 3 rows named "&6CaseOpening" to player
  789. format slot 12 of player with chest named "&a&lNormale Truhen" with lore "&7Du hast noch &c%{normal.chests.%player%}% &7normale Truhen||&7Clicke um eine Truhe zu öffnen" to close then run [execute player command "/normalcase open"]
  790. format slot 14 of player with ender chest named "&5&lMaster Truhen" with lore "&7Du hast noch &c%{master.chests.%player%}% &7Master Truhen||&7Clicke um eine Truhe zu öffnen" to close then run [execute player command "/mastercase open"]
  791.  
  792. command /normalcase <text> [<number>]:
  793. trigger:
  794. if arg 1 is "open":
  795. if {normal.chests.%player%} is bigger than 0:
  796. wait 2 ticks
  797. remove 1 from {normal.chests.%player%}
  798. add iron chestplate named "&6Gold-Rang 1 Monat" to {_items::*}
  799. add gold block named "&650000 Coins" to {_items::*}
  800. add gold ingot named "&610000 Coins" to {_items::*}
  801. add glowstone dust named "&62000 Coins" to {_items::*}
  802. add spawn egg:120 named "&aDofbewohner" to {_items::*}
  803. add spawn egg:101 named "&aHase" to {_items::*}
  804. add spawn egg:100 named "&aPferd" to {_items::*}
  805. add spawn egg:98 named "&aKatze" to {_items::*}
  806. add spawn egg:96 named "&aPiltzKuh" to {_items::*}
  807. add spawn egg:95 named "&aHund" to {_items::*}
  808. add spawn egg:93 named "&aHuhn" to {_items::*}
  809. add spawn egg:92 named "&aKuh" to {_items::*}
  810. add spawn egg:91 named "&aSchaf" to {_items::*}
  811. add spawn egg:90 named "&aSchwein" to {_items::*}
  812. add spawn egg:61 named "&aBlaze" to {_items::*}
  813. add spawn egg:55 named "&aSchlime" to {_items::*}
  814. add spawn egg:52 named "&aSpinne" to {_items::*}
  815. add spawn egg:65 named "&aFeldermaus" to {_items::*}
  816. add spawn egg:50 named "&aCreeper" to {_items::*}
  817. add spawn egg:58 named "&aEndermann" to {_items::*}
  818. add spawn egg:65 named "&aFeldermaus" to {_items::*}
  819. add spawn egg:62 named "&aMagma Cube" to {_items::*}
  820. add spawn egg:51 named "&aSkelett" to {_items::*}
  821. add spawn egg:54 named "&aZombie" to {_items::*}
  822. add nether star named "&aWither" to {_items::*}
  823. wait 3 ticks
  824. open chest with 3 rows named "&6Case Opening: Normal" to player
  825. format slot 4 of player with hopper named "&7Dein Item" to run ""
  826. set {slot} to 8
  827. add 1 to {slot}
  828. play "DIG_GRAVEL" to player at volume 9
  829. set {caseitem} to a random element out of {_items::*}
  830. format slot {slot} of player with {caseitem} to run ""
  831. wait 1 tick
  832. add 1 to {slot}
  833. play "DIG_GRAVEL" to player at volume 9
  834. set {caseitem} to a random element out of {_items::*}
  835. format slot {slot} of player with {caseitem} to run ""
  836. wait 1 tick
  837. add 1 to {slot}
  838. play "DIG_GRAVEL" to player at volume 9
  839. set {caseitem} to a random element out of {_items::*}
  840. format slot {slot} of player with {caseitem} to run ""
  841. wait 1 tick
  842. add 1 to {slot}
  843. play "DIG_GRAVEL" to player at volume 9
  844. set {caseitem} to a random element out of {_items::*}
  845. format slot {slot} of player with {caseitem} to run ""
  846. wait 1 tick
  847. add 1 to {slot}
  848. play "DIG_GRAVEL" to player at volume 9
  849. set {caseitem} to a random element out of {_items::*}
  850. format slot {slot} of player with {caseitem} to run ""
  851. wait 1 tick
  852. add 1 to {slot}
  853. play "DIG_GRAVEL" to player at volume 9
  854. set {caseitem} to a random element out of {_items::*}
  855. format slot {slot} of player with {caseitem} to run ""
  856. wait 1 tick
  857. add 1 to {slot}
  858. play "DIG_GRAVEL" to player at volume 9
  859. set {caseitem} to a random element out of {_items::*}
  860. format slot {slot} of player with {caseitem} to run ""
  861. set {slot} to 8
  862. add 1 to {slot}
  863. play "DIG_GRAVEL" to player at volume 9
  864. set {caseitem} to a random element out of {_items::*}
  865. format slot {slot} of player with {caseitem} to run ""
  866. wait 1 tick
  867. add 1 to {slot}
  868. play "DIG_GRAVEL" to player at volume 9
  869. set {caseitem} to a random element out of {_items::*}
  870. format slot {slot} of player with {caseitem} to run ""
  871. wait 1 tick
  872. add 1 to {slot}
  873. play "DIG_GRAVEL" to player at volume 9
  874. set {caseitem} to a random element out of {_items::*}
  875. format slot {slot} of player with {caseitem} to run ""
  876. wait 1 tick
  877. add 1 to {slot}
  878. play "DIG_GRAVEL" to player at volume 9
  879. set {caseitem} to a random element out of {_items::*}
  880. format slot {slot} of player with {caseitem} to run ""
  881. wait 1 tick
  882. add 1 to {slot}
  883. play "DIG_GRAVEL" to player at volume 9
  884. set {caseitem} to a random element out of {_items::*}
  885. format slot {slot} of player with {caseitem} to run ""
  886. wait 1 tick
  887. add 1 to {slot}
  888. play "DIG_GRAVEL" to player at volume 9
  889. set {caseitem} to a random element out of {_items::*}
  890. format slot {slot} of player with {caseitem} to run ""
  891. wait 1 tick
  892. add 1 to {slot}
  893. play "DIG_GRAVEL" to player at volume 9
  894. set {caseitem} to a random element out of {_items::*}
  895. format slot {slot} of player with {caseitem} to run ""
  896. wait 1 tick
  897. add 1 to {slot}
  898. play "DIG_GRAVEL" to player at volume 9
  899. set {caseitem} to a random element out of {_items::*}
  900. format slot {slot} of player with {caseitem} to run ""
  901. wait 1 tick
  902. add 1 to {slot}
  903. play "DIG_GRAVEL" to player at volume 9
  904. set {caseitem} to a random element out of {_items::*}
  905. format slot {slot} of player with {caseitem} to run ""
  906. set {slot} to 8
  907. add 1 to {slot}
  908. play "DIG_GRAVEL" to player at volume 9
  909. set {caseitem} to a random element out of {_items::*}
  910. format slot {slot} of player with {caseitem} to run ""
  911. wait 1 tick
  912. add 1 to {slot}
  913. play "DIG_GRAVEL" to player at volume 9
  914. set {caseitem} to a random element out of {_items::*}
  915. format slot {slot} of player with {caseitem} to run ""
  916. wait 1 tick
  917. add 1 to {slot}
  918. play "DIG_GRAVEL" to player at volume 9
  919. set {caseitem} to a random element out of {_items::*}
  920. format slot {slot} of player with {caseitem} to run ""
  921. wait 1 tick
  922. add 1 to {slot}
  923. play "DIG_GRAVEL" to player at volume 9
  924. set {caseitem} to a random element out of {_items::*}
  925. format slot {slot} of player with {caseitem} to run ""
  926. wait 1 tick
  927. add 1 to {slot}
  928. play "DIG_GRAVEL" to player at volume 9
  929. set {caseitem} to a random element out of {_items::*}
  930. format slot {slot} of player with {caseitem} to run ""
  931. wait 1 tick
  932. add 1 to {slot}
  933. play "DIG_GRAVEL" to player at volume 9
  934. set {caseitem} to a random element out of {_items::*}
  935. format slot {slot} of player with {caseitem} to run ""
  936. wait 1 tick
  937. add 1 to {slot}
  938. play "DIG_GRAVEL" to player at volume 9
  939. set {caseitem} to a random element out of {_items::*}
  940. format slot {slot} of player with {caseitem} to run ""
  941. wait 1 tick
  942. add 1 to {slot}
  943. play "DIG_GRAVEL" to player at volume 9
  944. set {caseitem} to a random element out of {_items::*}
  945. format slot {slot} of player with {caseitem} to run ""
  946. wait 1 tick
  947. add 1 to {slot}
  948. play "DIG_GRAVEL" to player at volume 9
  949. set {caseitem} to a random element out of {_items::*}
  950. format slot {slot} of player with {caseitem} to run ""
  951. set {slot} to 8
  952. add 1 to {slot}
  953. play "DIG_GRAVEL" to player at volume 9
  954. set {caseitem} to a random element out of {_items::*}
  955. format slot {slot} of player with {caseitem} to run ""
  956. wait 1 tick
  957. add 1 to {slot}
  958. play "DIG_GRAVEL" to player at volume 9
  959. set {caseitem} to a random element out of {_items::*}
  960. format slot {slot} of player with {caseitem} to run ""
  961. wait 1 tick
  962. add 1 to {slot}
  963. play "DIG_GRAVEL" to player at volume 9
  964. set {caseitem} to a random element out of {_items::*}
  965. format slot {slot} of player with {caseitem} to run ""
  966. wait 1 tick
  967. add 1 to {slot}
  968. play "DIG_GRAVEL" to player at volume 9
  969. set {caseitem} to a random element out of {_items::*}
  970. format slot {slot} of player with {caseitem} to run ""
  971. wait 1 tick
  972. add 1 to {slot}
  973. play "DIG_GRAVEL" to player at volume 9
  974. set {caseitem} to a random element out of {_items::*}
  975. format slot {slot} of player with {caseitem} to run ""
  976. wait 1 tick
  977. add 1 to {slot}
  978. play "DIG_GRAVEL" to player at volume 9
  979. set {caseitem} to a random element out of {_items::*}
  980. format slot {slot} of player with {caseitem} to run ""
  981. wait 1 tick
  982. add 1 to {slot}
  983. play "DIG_GRAVEL" to player at volume 9
  984. set {caseitem} to a random element out of {_items::*}
  985. format slot {slot} of player with {caseitem} to run ""
  986. wait 1 tick
  987. add 1 to {slot}
  988. play "DIG_GRAVEL" to player at volume 9
  989. set {caseitem} to a random element out of {_items::*}
  990. format slot {slot} of player with {caseitem} to run ""
  991. wait 1 tick
  992. add 1 to {slot}
  993. play "DIG_GRAVEL" to player at volume 9
  994. set {caseitem} to a random element out of {_items::*}
  995. format slot {slot} of player with {caseitem} to run ""
  996. set {slot} to 8
  997. add 1 to {slot}
  998. play "DIG_GRAVEL" to player at volume 9
  999. set {caseitem} to a random element out of {_items::*}
  1000. format slot {slot} of player with {caseitem} to run ""
  1001. wait 1 tick
  1002. add 1 to {slot}
  1003. play "DIG_GRAVEL" to player at volume 9
  1004. set {caseitem} to a random element out of {_items::*}
  1005. format slot {slot} of player with {caseitem} to run ""
  1006. wait 1 tick
  1007. add 1 to {slot}
  1008. play "DIG_GRAVEL" to player at volume 9
  1009. set {caseitem} to a random element out of {_items::*}
  1010. format slot {slot} of player with {caseitem} to run ""
  1011. wait 1 tick
  1012. add 1 to {slot}
  1013. play "DIG_GRAVEL" to player at volume 9
  1014. set {caseitem} to a random element out of {_items::*}
  1015. format slot {slot} of player with {caseitem} to run ""
  1016. wait 5 ticks
  1017. add 1 to {slot}
  1018. play "DIG_GRAVEL" to player at volume 9
  1019. set {caseitem} to a random element out of {_items::*}
  1020. format slot {slot} of player with {caseitem} to run ""
  1021. wait 5 ticks
  1022. add 1 to {slot}
  1023. play "DIG_GRAVEL" to player at volume 9
  1024. set {caseitem} to a random element out of {_items::*}
  1025. format slot {slot} of player with {caseitem} to run ""
  1026. wait 5 ticks
  1027. add 1 to {slot}
  1028. play "DIG_GRAVEL" to player at volume 9
  1029. set {caseitem} to a random element out of {_items::*}
  1030. format slot {slot} of player with {caseitem} to run ""
  1031. wait 5 ticks
  1032. add 1 to {slot}
  1033. play "DIG_GRAVEL" to player at volume 9
  1034. set {caseitem} to a random element out of {_items::*}
  1035. format slot {slot} of player with {caseitem} to run ""
  1036. wait 5 ticks
  1037. add 1 to {slot}
  1038. play "DIG_GRAVEL" to player at volume 9
  1039. set {caseitem} to a random element out of {_items::*}
  1040. format slot {slot} of player with {caseitem} to run ""
  1041. set {slot} to 8
  1042. wait 5 ticks
  1043. add 1 to {slot}
  1044. play "DIG_GRAVEL" to player at volume 9
  1045. set {caseitem} to a random element out of {_items::*}
  1046. format slot {slot} of player with {caseitem} to run ""
  1047. wait 15 ticks
  1048. add 1 to {slot}
  1049. play "DIG_GRAVEL" to player at volume 9
  1050. set {caseitem} to a random element out of {_items::*}
  1051. format slot {slot} of player with {caseitem} to run ""
  1052. wait 15 ticks
  1053. add 1 to {slot}
  1054. play "DIG_GRAVEL" to player at volume 9
  1055. set {caseitem} to a random element out of {_items::*}
  1056. format slot {slot} of player with {caseitem} to run ""
  1057. wait 15 ticks
  1058. add 1 to {slot}
  1059. play "DIG_GRAVEL" to player at volume 9
  1060. set {caseitem} to a random element out of {_items::*}
  1061. format slot {slot} of player with {caseitem} to run ""
  1062. if {caseitem} is iron chestplate:
  1063. send "{@logo3} &aDu hast &6Gold-Rang 1 Monat &a&lgewonnen" to player
  1064. make console execute command "/pex user %player% group set Gold"
  1065. wait 730 hours
  1066. make console execute command "/pex user %player% group set Spieler"
  1067. set {slot} to 8
  1068. if {caseitem} is gold block:
  1069. send "{@logo3} &aDu hast &650.000 Coins &a&lgewonnen" to player
  1070. if {caseitem} is gold ingot:
  1071. send "{@logo3} &aDu hast &610.000 Coins &a&lgewonnen" to player
  1072. if {caseitem} is glowstone dust:
  1073. send "{@logo3} &aDu hast &62.000 Coins &a&lgewonnen" to player
  1074. if {caseitem} is spawn egg:120:
  1075. send "{@logo3} &aDu hast &bVillager &a&lgewonnen" to player
  1076. if {caseitem} is spawn egg:101:
  1077. send "{@logo3} &aDu hast &bHase &a&lgewonnen" to player
  1078. if {caseitem} is spawn egg:100:
  1079. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1080. if {caseitem} is spawn egg:100:
  1081. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1082. if {caseitem} is spawn egg:100:
  1083. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1084. if {caseitem} is spawn egg:100:
  1085. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1086. if {caseitem} is spawn egg:100:
  1087. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1088. if {caseitem} is spawn egg:100:
  1089. send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
  1090.  
  1091. if arg 1 is "give":
  1092. if arg 2 is set:
  1093. if player has permission "lb.owner":
  1094. add arg 2 to {normal.chests.%player%}
  1095. send "{@logo3} &aDu hast dir erfolgreich &6%arg 2% &aChests geholt!"
  1096.  
  1097. every 24 hours:
  1098. loop all players:
  1099. add 1 to {normal.chests.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment