FipsundMunne

MineSucht System 2.0

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