Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &7[&3Mine&aSucht&c.net&7]
- logo2: &f[&eFreunde&f]
- logo3: &7[&6CaseOpening&7]
- #----------[Version.2.0]------------------
- #Was ist NEU??
- #
- #1 Youtuber Rang
- #2 Freunde System
- #3 Coins System
- #4 CASE OPENING SYSTEM (man kann sich Cases Cheaten mit Permission)
- #5 Alles Sortiert
- #6 Freundes anzeige in Scoreboard
- #7 Mit /warp <zahl> zu den Spiel Modi tpn
- #8 /nick command nicke dich
- #
- #-----------------------------------------------
- #YT = 100 Abonnenten Spezial Download
- #FipsundMunne
- #-----------------------------------------------
- #Permission für ...
- #Spieler: lb.spieler
- #Gold: lb.gold
- #Emerald: lb.emerald , lb.gold
- #Diamond: lb.diamond , lb.gold
- #Master: lb.master , lb.gold
- #Hero: lb.hero , lb.gold
- #Builder: lb.builder , lb.gold ,lb.team
- #Admin: lb.admin , lb.gold ,lb.team
- #Owner: lb.owner , lb.gold ,lb.team
- #Developer: lb.dev , lb.gold ,lb.team
- #Supporter: lb.sup , lb.gold ,lb.team
- #Moderator: lb.mod , lb.gold ,lb.team
- #Youtuber: lb.yt , lb.gold ,lb.team
- #-----------------------------------------------
- #Liste für Spiele
- #1 = TTT
- #2 = MLGrush
- #3 = Skywars
- #4 = Bedwars
- #5 = QSG
- #6 = Knock FFA
- #7 = TNT Run
- #8 = Lucky Block
- #9 = Case Opening
- #10 = Gun Game
- #11 = FFA
- #12 = Haustiertrainer
- #------------------------------------------------
- #---------------------------------------------
- #Wenn man Verlässt
- #---------------------------------------------
- on quit:
- set leave message to ""
- #---------------------------------------------
- #Wenn man Joint
- #---------------------------------------------
- on join:
- teleport player to {spawn}
- set join message to ""
- loop {friend.list.%player%::*}:
- if loop-value is online:
- add 1 to {%player%.friends.online}
- send "{@logo2} &7Keine deiner Freunde ist online"
- 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."
- set {lb.an.1} to true
- set {build.%player%} to false
- set player's gamemode to Survival
- set tab header to "&eMineSucht Network &7- &aLobby" and footer to "&7Teamspeak: &eMineSucht.net\n\&7Shop: &eshop.Minesucht.net" for player
- clear player's inventory
- set slot 0 of player to compass named "&aTeleporter"
- set slot 1 of player to blaze rod named "&6Spieler verstecken"
- set slot 3 of player to chest named "&5Extras"
- set slot 7 of player to nether star named "&aLobbies"
- set slot 8 of player to player's skull named "&6Freunde"
- set {nickname.%player%} to false
- set player's display name to "%{realname.%player%}%"
- set player's tablist name to "%{realname.%player%}%"
- send "{@logo} &aDu hast nun wieder deinen richtigen Namen"
- if player has permission "lb.spieler":
- set {rang.%player%} to "&7Spieler"
- set player tab name to "&7%player%"
- if player has permission "lb.gold":
- set slot 4 of player to name tag named "&eNick Name"
- set {rang.%player%} to "&6Gold"
- set player tab name to "&6Gold&7| &6%player%"
- if player has permission "lb.yt":
- set slot 4 of player to name tag named "&eNick Name"
- set {rang.%player%} to "&5YouTuber"
- set player tab name to "&5YouTuber&7| &6%player%"
- if player has permission "lb.emerald":
- set {rang.%player%} to "&aEmerald"
- set player tab name to "&aEmerald&7| &a%player%"
- if player has permission "lb.diamond":
- set {rang.%player%} to "&3Diamond"
- set player tab name to "&3Diamond&7| &3%player%"
- if player has permission "lb.master":
- set {rang.%player%} to "&5Master"
- set player tab name to "&5Master&7| &5%player%"
- if player has permission "lb.hero":
- set {rang.%player%} to "&cHero"
- set player tab name to "&cHero&7| &c%player%"
- if player has permission "lb.sup":
- set {rang.%player%} to "&bSupporter"
- set player tab name to "&bSupporter&7| &b%player%"
- if player has permission "lb.dev":
- set {rang.%player%} to "&2Developer"
- set player tab name to "&2Developer&7| &2%player%"
- if player has permission "lb.mod":
- set {rang.%player%} to "&cMod"
- set player tab name to "&cMod&7| &c%player%"
- if player has permission "lb.admin":
- set {rang.%player%} to "&cAdmin"
- set player tab name to "&cAdmin&7| &c%player%"
- if player has permission "lb.owner":
- set {rang.%player%} to "&4Owner"
- set player tab name to "&4Owner| &4%player%"
- on first join:
- teleport player to {spawn}
- set {rang.%player%} to "&7Spieler"
- set {c.%player%} to 0
- set {lb.%player%.onlinetime} to 0
- set {%player%.friends} to 0
- set {lb.chat.%player%} to false
- #---------------------------------------------
- #Chat
- #---------------------------------------------
- on chat:
- if player's world is "world":
- if {chat.%player%} is false:
- cancel event
- on chat:
- cancel event
- loop all players:
- if player has permission "lb.owner":
- send "&4Owner&7| &4%player% &7%message%" to loop-player
- stop
- if player has permission "lb.admin":
- send "&cAdmin&7| &c%player% &7%message%" to loop-player
- if player has permission "lb.yt":
- send ""
- stop
- if player has permission "lb.dev":
- send "&2Developer&7| &2%player% &7%message%" to loop-player
- stop
- if player has permission "lb.sup":
- send "&bSupporter&7| &b%player% &7%message%" to loop-player
- stop
- if player has permission "lb.mod":
- send "&cMod&7| &c%player% &7%message%" to loop-player
- stop
- if player has permission "lb.builder":
- send "&3Builder&7| &3%player% &7%message%" to loop-player
- stop
- if player has permission "lb.hero":
- send "&cHero&7| &c%player% &7%message%" to loop-player
- stop
- if player has permission "lb.master":
- send "&5Master&7| &5%player% &7%message%" to loop-player
- stop
- if player has permission "lb.diamond":
- send "&3Diamond&7| &3%player% &7%message%" to loop-player
- stop
- if player has permission "lb.emerald":
- send "&aEmerald&7| &a%player% &7%message%" to loop-player
- stop
- if player has permission "lb.gold":
- send "&6Gold&7| &6%player% &7%message%" to loop-player
- stop
- if player has permission "lb.spieler":
- if player is in world "world":
- if {lb.chat.%player%} is true:
- send "&aSpieler &7%message%" to loop-player
- stop
- else:
- send "&7[&6Lobby&7] &cDu benötigst einen &6Rang &aum schreiben zu können!"
- #---------------------------------------------
- #Scoreboard
- #---------------------------------------------
- every 5 minutes:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&3&lMINE&a&lSUCHT&c&l.NET"
- set score " " in sidebar of loop-player to 12
- set score "&fDein Rang:" in sidebar of loop-player to 11
- set score "&7%{rang.%loop-player%}%" in sidebar of loop-player to 10
- set score " " in sidebar of loop-player to 9
- set score "&fCoins:" in sidebar of loop-player to 8
- set score "&e%{c.%loop-player%}%" in sidebar of loop-player to 7
- set score " " in sidebar of loop-player to 6
- set score "&fOnlinezeit:" in sidebar of loop-player to 5
- set score "&b%{lb.%loop-player%.onlinetime}%&7h" in sidebar of loop-player to 4
- set score " " in sidebar of loop-player to 3
- set score "&fFreunde" in sidebar of loop-player to 2
- set score "&a%{%loop-player%.friends.online}%&7/%{%loop-player%.friends.sc}%" in sidebar of loop-player to 1
- set score " " in sidebar of loop-player to 0
- every real hour:
- loop all players:
- add 1 to {lb.%loop-player%.onlinetime}
- #---------------------------------------------
- #Sachen die man ohne build mode nicht machen kann
- #---------------------------------------------
- on break:
- if {build.%player%} is false:
- cancel event
- on craft:
- if {build.%player%} is false:
- cancel event
- on place:
- if {build.%player%} is false:
- cancel event
- on drop:
- if {build.%player%} is false:
- cancel event
- on pickup:
- if {build.%player%} is false:
- cancel event
- on inventory click:
- if {build.%player%} is false:
- cancel event
- on inventory click:
- if {build.%player%} is false:
- cancel event
- on inventory click:
- if {build.%player%} is false:
- cancel event
- on inventory click:
- if {build.%player%} is false:
- cancel event
- on inventory click:
- if {build.%player%} is false:
- cancel event
- #---------------------------------------------
- #Das soll nicht funktionieren
- #---------------------------------------------
- on damage of player:
- cancel event
- on hunger metre change:
- cancel event
- on weather change:
- cancel event
- #---------------------------------------------
- #Commands
- #---------------------------------------------
- command /spawn:
- trigger:
- teleport player to {spawn}
- command /l:
- trigger:
- teleport player to {spawn}
- command /hub:
- trigger:
- teleport player to {spawn}
- command /quit:
- trigger:
- teleport player to {spawn}
- command /teamchat <>:
- trigger:
- command /buychest:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "" to player
- format slot 10 of player with chest named "&5Kaufe &e1 &6Case" with lore "&7Preis: &e5000 Coins" to close then run ""
- format slot 11 of player with chest named "&5Kaufe &e3 &6Cases" with lore "&7Preis: &e14500 Coins" to close then run ""
- format slot 12 of player with chest named "&5Kaufe &e5 &6Cases" with lore "&7Preis: &e24000 Coins" to close then run ""
- format slot 22 of player with chest named "&6Deine Coins:" with lore "&a%{c.%player%}%" to run ""
- command /sreset:
- permission: lb.admin
- trigger:
- set {rang.%player%} to "&7Spieler"
- set {c.%player%} to 0
- set {lb.%player%.onlinetime} to 0
- set {%player%.friends} to 0
- set {%player%.friends.online} to 0
- set {%player%.friends.sc} to 0
- set {master.chests.%player%} to 0
- set {normal.chests.%player%} to 0
- set {lb.an.1} to true
- command /nick [<text>] [<text>]:
- permission: lb.gold
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- if {nickname.%player%} is false:
- set {realname.%player%} to player
- set {_nickname} to a random element out of {nicknames::*}
- set {nickname.%player%} to true
- set player's display name to "%{_nickname}%"
- set player's tablist name to "%{_nickname}%"
- send "{@logo} &aDu hast die Erolgreich mit dem Namen &6%{_nickname}% &agenickt"
- else:
- set {nickname.%player%} to false
- set player's display name to "%{realname.%player%}%"
- set player's tablist name to "%{realname.%player%}%"
- send "{@logo} &aDu hast nun wieder deinen richtigen Namen"
- if arg 1 is "add":
- if arg 2 is set:
- add arg 2 to {nicknames::*}
- send "{@logo} &aDu hast erfolgreich den Namen &6%arg 2% &ahinzugefügt"
- command /buychat [<text>]:
- trigger:
- if arg 1 is not set:
- if {c.%player%} is bigger than 20000:
- remove 20000 from {c.%player%}
- set {lb.chat.%player%} to true
- send "&7[&6Lobby&7] &aDu kannst nun im Chat für eine Stunde schreiben!"
- wait 60 minutes
- set {lb.chat.%player%} to false
- send "&7[&6Lobby&7] &aDeine Zeit ist abgelaufen du kannst nun nicht mehr schreiben!"
- else:
- send "&7[&6Lobby&7] &aDu hast leider nicht &620.000 Coins!"
- if arg 1 is "open":
- wait 3 ticks
- open chest with 3 rows named "&6Schreiben kaufen" to player
- 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 ""
- 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"]
- format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to run ""
- command /fly:
- permission: lb.hero
- trigger:
- if player's flight mode is false:
- set player's flight mode to true
- send "{@logo} &aDu kannst nun fliegen!"
- else:
- set player's flight mode to false
- send "{@logo} &aDu kannst nun nicht mehr fliegen"
- command /build:
- permission: lb.admin
- trigger:
- set {build.%player%} to true
- send "{@logo} &aDein Bau modus ist nun an!"
- command /see <text>:
- trigger:
- if arg 1 is "all":
- reveal all players from player
- send "&7[&6Lobby&7] &aDir werden nun alle Spieler angezeigt."
- if arg 1 is "vip":
- hide all players in player's world from player
- loop all players:
- if loop-player has permission "lb.gold":
- reveal loop-player from player
- send "&7[&6Lobby&7] &aDir werden nun alle Teammitglieder angezeigt."
- if arg 1 is "kein":
- hide all players in player's world from player
- send "&7[&6Lobby&7] &aDir werden nun keine Spieler mehr angezeigt."
- command /setlobby <number>:
- permission: lb.admin
- trigger:
- if arg 1 is set:
- set {%arg%.lobby} to location of player
- send "&aDu hast die Lobby Gesetzt"
- command /version:
- trigger:
- send "&aMineSucht System by FipsundMunne [Version.2.0]"
- send "&aSkript by FipsundMunne [Version.2.0]"
- send "&aYT: FipsundMunne"
- command /tplobbyvip <number>:
- permission: lb.gold
- permission message: &aDu darfst das nicht!
- trigger:
- if arg 1 is set:
- teleport player to {%arg%.viplobby}
- command /setlobbyvip <number>:
- trigger:
- if arg 1 is set:
- set {%arg%.viplobby} to location of player
- send "&aDu hast die &6VIP &aLobby Gesetzt"
- command /tplobby <number>:
- trigger:
- teleport player to {%arg%.lobby}
- command /warp <number>:
- trigger:
- if arg 1 is 1:
- teleport player to {ttt}
- if arg 1 is 2:
- teleport player to {mlgrush}
- if arg 1 is 3:
- teleport player to {skywars}
- if arg 1 is 4:
- teleport player to {bedwars}
- if arg 1 is 5:
- teleport player to {qsg}
- if arg 1 is 6:
- teleport player to {knockffa}
- if arg 1 is 7:
- teleport player to {tntrun}
- if arg 1 is 8:
- teleport player to {luckyblock}
- if arg 1 is 9:
- teleport player to {caseopening}
- if arg 1 is 10:
- teleport player to {gungame}
- if arg 1 is 11:
- teleport player to {ffa}
- if arg 1 is 12:
- teleport player to {haustiertrainer}
- command /setspawn:
- trigger:
- set {spawn} to location of player
- send "{@logo} &aDu hast den Spawn gesetzt!"
- command /lobby [<text>] [<number>]:
- permission: lb.admin
- aliases: lb
- trigger:
- if arg 1 is not set:
- teleport player to {spawn}
- if arg 1 is "set":
- if arg 2 is 1:
- set {ttt} to location of player
- send "{@logo} &aDu hast den TTT Spawn gesetzt!"
- if arg 2 is 2:
- set {mlgrush} to location of player
- send "{@logo} &aDu hast den MLG-Rush Spawn gesetzt!"
- if arg 2 is 3:
- set {skywars} to location of player
- send "{@logo} &aDu hast den SkyWars Spawn gesetzt!"
- if arg 2 is 4:
- set {bedwars} to location of player
- send "{@logo} &aDu hast den BedWars Spawn gesetzt!"
- if arg 2 is 5:
- set {qsg} to location of player
- send "{@logo} &aDu hast den QSG Spawn gesetzt!"
- if arg 2 is 6:
- set {knockffa} to location of player
- send "{@logo} &aDu hast den Knock FFA Spawn gesetzt!"
- if arg 2 is 7:
- set {tntrun} to location of player
- send "{@logo} &aDu hast den TNT Run Spawn gesetzt!"
- if arg 2 is 8:
- set {luckyblock} to location of player
- send "{@logo} &aDu hast den Lucky Block Spawn gesetzt!"
- if arg 2 is 9:
- set {caseopening} to location of player
- send "{@logo} &aDu hast den Case Opening Spawn gesetzt!"
- if arg 2 is 10:
- set {gungame} to location of player
- send "{@logo} &aDu hast den Gun Game Spawn gesetzt!"
- if arg 2 is 11:
- set {ffa} to location of player
- send "{@logo} &aDu hast den FFA Spawn gesetzt!"
- if arg 2 is 12:
- set {haustiertrainer} to location of player
- send "{@logo} &aDu hast den Haustiertrainer Spawn gesetzt!"
- command /onlinezeit <text> <number> <player>:
- permission: lb.owner
- trigger:
- if arg 1 is "add":
- if arg 2 is set:
- if arg 2 is set:
- add arg 2 to {lb.%arg 3%.onlinetime}
- send "{@logo} &aDu hast &7%arg 3% &6%arg 2% &aStunde Zeit hinzugefügt!"
- if arg 1 is "remove":
- if arg 2 is set:
- if arg 2 is set:
- remove arg 2 from {lb.%arg 3%.onlinetime}
- send "{@logo} &aDu hast &7%arg 3% &6%arg 2% &aStunde Zeit entfernt!"
- #---------------------------------------------
- #Wenn man rechts click auf ein item macht
- #z.B. Compass
- #---------------------------------------------
- on right click with compass:
- wait 3 ticks
- open chest with 5 rows named "&aTeleporter" to player
- format slot 3 of player with stick named "&4TTT" to close then run [make player execute command "/warp 1"]
- format slot 4 of player with light blue dye named "&6QuikJoin" to close then run [make player execute command "/warp 2"]
- format slot 5 of player with blaze rod named "&6MLG&f-&1Rush" to close then run [make player execute command "/warp 2"]
- format slot 11 of player with grass named "&2SkyWars" to close then run [make player execute command "/warp 3"]
- format slot 15 of player with bed item named "&3BedWars" to close then run [make player execute command "/warp 4"]
- format slot 20 of player with golden chestplate named "&dQSG" to close then run [make player execute command "/warp 5"]
- format slot 22 of player with diamond named "&6Spawn" to close then run [make player execute command "/spawn"]
- format slot 24 of player with fishing rod named "&cKnock&f&eFFA" to close then run [make player execute command "/warp 6"]
- format slot 29 of player with tnt named "&4TNT&f-Run" to close then run [make player execute command "/warp 7"]
- format slot 33 of player with gold block named "&6LuckyBlock" to close then run [make player execute command "/warp 8"]
- format slot 36 of player with chest named "&6Case&aOpening" to close then run [make player execute command "/warp 9"]
- format slot 39 of player with wooden axe named "&aGunGame" to close then run [make player execute command "/warp 10"]
- format slot 41 of player with iron sword named "&eFFA" to close then run [make player execute command "/warp 11"]
- format slot 44 of player with spawn egg named "&bHaustiertrainer" to close then run [make player execute command "/warp 12"]
- on rightclick with chest:
- wait 3 ticks
- open chest with 3 rows named "&6Extras Auswahl" to player
- format slot 13 of player with water bottle named "&aTrails" to close then run [make player execute command "/trails"]
- format slot 11 of player with spawn egg named "&aPets" to close then run [make player execute command "/pets"]
- format slot 15 of player with chest named "&aChests" to close then run [make player execute command "/buychest"]
- format slot 17 of player with paper named "&eChat kaufen" to close then run [make player execute command "/buychat open"]
- format slot 26 of player with gold nugget named "&6Deine Coins:" with lore "&a%{c.%player%}%" to close
- on right click with blaze rod:
- wait 3 ticks
- open chest with 1 row named "&6Spieler verstecken" to player
- format slot 2 of player with light green dye named "&aAlle Spieler anzeigen" to close then run [make player execute command "/see all"]
- format slot 4 of player with pink dye named "&eNur Teammitglieder anzeigen" to close then run [make player execute command "/see vip"]
- format slot 6 of player with red dye named "&4Keine Spieler anzeigen" to close then run [make player execute command "/see kein"]
- on rightclick with nether star:
- wait 3 ticks
- open chest with 2 rows named "&eWähle deine Lobby" to player
- format slot 0 of player with glowstone dust named "&6Premium-Lobby-1" to close then run [make player execute command "/tplobbyvip 1"]
- format slot 1 of player with glowstone dust named "&6Premium-Lobby-2" to close then run [make player execute command "/tplobbyvip 2"]
- format slot 2 of player with glowstone dust named "&6Premium-Lobby-3" to close then run [make player execute command "/tplobbyvip 3"]
- format slot 9 of player with gunpowder named "&aLobby-1" to close then run [make player execute command "/tplobby 1"]
- format slot 10 of player with gunpowder named "&aLobby-2" to close then run [make player execute command "/tplobby 2"]
- format slot 11 of player with gunpowder named "&aLobby-3" to close then run [make player execute command "/tplobby 3"]
- format slot 12 of player with gunpowder named "&aLobby-4" to close then run [make player execute command "/tplobby 4"]
- format slot 13 of player with gunpowder named "&aLobby-5" to close then run [make player execute command "/tplobby 5"]
- format slot 14 of player with gunpowder named "&aLobby-6" to close then run [make player execute command "/tplobby 6"]
- format slot 15 of player with gunpowder named "&aLobby-7" to close then run [make player execute command "/tplobby 7"]
- format slot 16 of player with gunpowder named "&aLobby-8" to close then run [make player execute command "/tplobby 8"]
- on rightclick with name tag:
- make player execute command "/nick"
- on right click with player head:
- make player execute command "/friend list"
- #---------------------------------------------
- #Die Nachrichten über dem Inventar
- #---------------------------------------------
- every second:
- if {lb.an.1} is true:
- loop all players:
- send action bar from "&9&lTEAMSPEAK IP: &6&lMINESUCHT.NET" to loop-player
- wait 10 seconds
- set {lb.an.1} to false
- set {lb.an.2} to true
- every second:
- if {lb.an.2} is true:
- loop all players:
- send action bar from "&5&lUNSER SHOP: &c&lSHOP.MINESUCHT.NET" to loop-player
- wait 10 seconds
- set {lb.an.2} to false
- set {lb.an.3} to true
- every second:
- if {lb.an.3} is true:
- loop all players:
- send action bar from "&a&lCOOLE RÄNGE? &6&l>> &c&lSHOP.MINESUCHT.NET" to loop-player
- wait 10 seconds
- set {lb.an.3} to false
- set {lb.an.1} to true
- #---------------------------------------------
- #Wenn man über die druckplatte läuft
- #---------------------------------------------
- on pressure plate:
- push the player forwards at speed 15
- wait 2 ticks
- push the player upwards at speed 5
- push the player forwards at speed 15
- play raw sound "random.bow" at event-block with pitch 2 volume 3
- #---------------------------------------------
- #Freunde System
- #---------------------------------------------
- command /friends [<text>] [<player>] [<text>]:
- aliases: friend
- trigger:
- if arg-1 is not set:
- send "{@logo2} &6Freundschaftsverwaltung"
- send "&e/friend add <Name> &7Fügt einen neuen Freund hinzu"
- send "&e/friend list &7Zeige eine Liste aller Freunde"
- send "&e/friend remove <Name> &7Entfernt einen Freund"
- send "&e/friend jump <Name> &7Auf des Freundes Server springen"
- send "&e/friend clear &7Leert die Freundschaftsanfragen"
- send "&e/friend requests &7Zeigt alle Anfragen an"
- send "&e/friend accept <Name> &7Nimmt eine Anfrage an"
- send "&e/friend acceptall &7Nimmt alle Freundschaftsanfragen an"
- send "&e/friend deny <Name> &7Lehnt eine Anfrage ab"
- send "&e/friend denyall &7Lehnt alle Freundschaftsanfragen ab"
- send "&e/friend toggle &7Anfragen erlauben & verbieten"
- send "&e/friend togglenotify &7Online/Offline Nachrichten erlauben & verbieten"
- send "&e/friend togglemessage &7Private Nachrichten erlauben & verbieten"
- send "&e/friend togglejump &7Erlaube & verbiete Spielrn zu dir zu springen"
- if arg 1 is "clear":
- clear {friend.list.%player%::*}
- send "{@logo2} &eDu hast deine Freundesliste geleert"
- if arg 1 is "jump":
- if arg 2 is set:
- teleport player to arg 2
- if arg 1 is "add":
- if arg 2 is set:
- loop {friend.list.%player%::*}:
- if arg 2 is loop-value:
- send "{@logo2} &cDu bist bereits mit diesem Spieler befreundet"
- stop
- if arg 2 is player:
- send "{@logo2} &cDu kannst dir keine Freundschaftsanfrage senden"
- stop
- else:
- send "{@logo2} &cBitte gib einen Namen an"
- set {friend.request.%arg 2%} to player
- set {friend.request.%player%} to arg 2
- send "{@logo2} &eDu hast &7%arg 2% &eeingeladen dein Freund zu sein" to player
- send "{@logo2} &7%player% &ehat dir eine Freundschaftsanfrage gesendet" to arg 2
- send "{@logo2} &e/friend accept &7%player% Um die Freundschaftsanfrage zu akzeptieren" to arg 2
- send "{@logo2} &e/friend deny &7%player% Um die Freundschaftsanfrage zu ablehnen" to arg 2
- if arg 1 is "accept":
- if {friend.request.%player%} is arg 2:
- if {friend.request.%arg 2%} is player:
- set {friend.request.%player%} to 0
- add 1 to {%player%.friends.sc}
- set {friend.request.%arg 2%} to 0
- add 1 to {%arg 2%.friends.sc}
- add player to {friend.list.%arg 2%::*}
- add arg 2 to {friend.list.%player%::*}
- send "{@logo2} &eDu bist jetzt mit &7%arg 2% &ebefreundet" to player
- send "{@logo2} &eDu bist jetzt mit &7%player% &ebefreundet" to arg 2
- if arg 1 is "deny":
- if {friend.request.%player%} is arg 2:
- if {friend.request.%arg 2%} is player:
- set {friend.request.%player%} to 0
- set {friend.request.%arg 2%} to 0
- send "{@logo2} &eDu hast die Anfrage von &7%player% &eabgelehnt"
- send "{@logo2} &7%player% &ehat deine Anfrage nicht angenommen" to arg 2
- if arg 1 is "list":
- set {friend.count.%player%} to 0
- wait 3 ticks
- open chest with 6 rows named "&6Freunde" to player
- format slot 45 of player with redstone comparator item named "&bEinstellungen" to close
- format slot 46 of player with map named "&eFreundschaftsanfragen: &c0" to close
- loop {friend.list.%player%::*}:
- if loop-value is online:
- format slot {friend.count.%player%} of player with loop-value's skull named "&7%loop-value%" with lore "&aOnline" to close then run ""
- add 1 to {friend.count.%player%}
- if loop-value is offline:
- format slot {friend.count.%player%} of player with mob head item named "&7%loop-value%" with lore "&cOffline" to close then run ""
- add 1 to {friend.count.%player%}
- if arg 1 is "remove":
- loop {friend.list.%player%::*}:
- if arg 3 is loop-value:
- remove arg 3 from {friend.list.%player%::*}
- send "{@logo2} &eDu hast &7%arg 2% &evon deiner Freundesliste entfernt"
- loop {friend.list.%arg 3%::*}:
- if player is loop-value:
- remove player from {friend.list.%arg 3%::*}
- loop {friend.list.%player%::*}:
- if arg 2 is loop-value:
- remove arg 2 from {friend.list.%player%::*}
- send "{@logo2} &eDu hast &7%arg 2% &evon deiner Freundesliste entfernt"
- loop {friend.list.%arg 2%::*}:
- if player is loop-value:
- remove player from {friend.list.%arg 2%::*}
- #---------------------------------------------
- #Coins System
- #---------------------------------------------
- command /coin [<text>] [<number>] [<player>]:
- permission: lb.admin
- trigger:
- if arg 1 is not set:
- send "&aDu hast &6%{c.%player%}% Coins"
- if arg 1 is "help":
- send "&e/coin add <zahl> <name> &7gebe einen Spieler Coins"
- send "&e/coin remove <zahl> <name> &7nehme Coins von einem Spieler"
- if arg 1 is "add":
- if arg 2 is set:
- if arg 3 is set:
- add arg 2 to {c.%arg 3%}
- send "&6[Coins] &aDu hast %arg 3% &6%arg 2% Coins &agegeben" to player
- if arg 1 is "remove":
- if arg 2 is set:
- if arg 3 is set:
- remove arg 2 from {c.%arg 3%}
- send "&6[Coins] &aDu hast %arg 3% &6%arg 2% Coins &agenommen" to player
- #---------------------------------------------
- #CaseOpening
- #---------------------------------------------
- on inventory click:
- inventory name of player's current inventory is "&6Case Opening: Normal":
- cancel event
- on right click on chest:
- cancel event
- wait 3 ticks
- open chest with 3 rows named "&6CaseOpening" to player
- 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"]
- 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"]
- command /normalcase <text> [<number>]:
- trigger:
- if arg 1 is "open":
- if {normal.chests.%player%} is bigger than 0:
- wait 2 ticks
- remove 1 from {normal.chests.%player%}
- add iron chestplate named "&6Gold-Rang 1 Monat" to {_items::*}
- add gold block named "&650000 Coins" to {_items::*}
- add gold ingot named "&610000 Coins" to {_items::*}
- add glowstone dust named "&62000 Coins" to {_items::*}
- add spawn egg:120 named "&aDofbewohner" to {_items::*}
- add spawn egg:101 named "&aHase" to {_items::*}
- add spawn egg:100 named "&aPferd" to {_items::*}
- add spawn egg:98 named "&aKatze" to {_items::*}
- add spawn egg:96 named "&aPiltzKuh" to {_items::*}
- add spawn egg:95 named "&aHund" to {_items::*}
- add spawn egg:93 named "&aHuhn" to {_items::*}
- add spawn egg:92 named "&aKuh" to {_items::*}
- add spawn egg:91 named "&aSchaf" to {_items::*}
- add spawn egg:90 named "&aSchwein" to {_items::*}
- add spawn egg:61 named "&aBlaze" to {_items::*}
- add spawn egg:55 named "&aSchlime" to {_items::*}
- add spawn egg:52 named "&aSpinne" to {_items::*}
- add spawn egg:65 named "&aFeldermaus" to {_items::*}
- add spawn egg:50 named "&aCreeper" to {_items::*}
- add spawn egg:58 named "&aEndermann" to {_items::*}
- add spawn egg:65 named "&aFeldermaus" to {_items::*}
- add spawn egg:62 named "&aMagma Cube" to {_items::*}
- add spawn egg:51 named "&aSkelett" to {_items::*}
- add spawn egg:54 named "&aZombie" to {_items::*}
- add nether star named "&aWither" to {_items::*}
- wait 3 ticks
- open chest with 3 rows named "&6Case Opening: Normal" to player
- format slot 4 of player with hopper named "&7Dein Item" to run ""
- set {slot} to 8
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- set {slot} to 8
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- set {slot} to 8
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- set {slot} to 8
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- set {slot} to 8
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 1 tick
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 5 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 5 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 5 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 5 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 5 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- set {slot} to 8
- wait 5 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 15 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 15 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- wait 15 ticks
- add 1 to {slot}
- play "DIG_GRAVEL" to player at volume 9
- set {caseitem} to a random element out of {_items::*}
- format slot {slot} of player with {caseitem} to run ""
- if {caseitem} is iron chestplate:
- send "{@logo3} &aDu hast &6Gold-Rang 1 Monat &a&lgewonnen" to player
- make console execute command "/pex user %player% group set Gold"
- wait 730 hours
- make console execute command "/pex user %player% group set Spieler"
- set {slot} to 8
- if {caseitem} is gold block:
- send "{@logo3} &aDu hast &650.000 Coins &a&lgewonnen" to player
- if {caseitem} is gold ingot:
- send "{@logo3} &aDu hast &610.000 Coins &a&lgewonnen" to player
- if {caseitem} is glowstone dust:
- send "{@logo3} &aDu hast &62.000 Coins &a&lgewonnen" to player
- if {caseitem} is spawn egg:120:
- send "{@logo3} &aDu hast &bVillager &a&lgewonnen" to player
- if {caseitem} is spawn egg:101:
- send "{@logo3} &aDu hast &bHase &a&lgewonnen" to player
- if {caseitem} is spawn egg:100:
- send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
- if {caseitem} is spawn egg:100:
- send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
- if {caseitem} is spawn egg:100:
- send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
- if {caseitem} is spawn egg:100:
- send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
- if {caseitem} is spawn egg:100:
- send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
- if {caseitem} is spawn egg:100:
- send "{@logo3} &aDu hast &bPferd &a&lgewonnen" to player
- if arg 1 is "give":
- if arg 2 is set:
- if player has permission "lb.owner":
- add arg 2 to {normal.chests.%player%}
- send "{@logo3} &aDu hast dir erfolgreich &6%arg 2% &aChests geholt!"
- every 24 hours:
- loop all players:
- add 1 to {normal.chests.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment