FipsundMunne

MineSucht System 13.02.2018

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