Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: §7[§3Lobby§7] §a
- on first join:
- set join message to ""
- set player's gamemode to adventure
- set {build.%player%} to false
- execute player command "/hotbar"
- teleport player to {spawn}
- on join:
- set join message to ""
- set player's gamemode to adventure
- set {build.%player%} to false
- execute player command "/hotbar"
- teleport player to {spawn}
- on rightclick with compass:
- open chest with 3 rows named "&8▎ &6Spielmodus &8» &7Auswahl" to player
- wait 0.1 second
- format slot 0 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 1 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 2 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 3 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 4 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 5 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 6 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 7 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 8 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 9 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 10 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 11 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 12 of player with gold ingot named "&8CityBuild-Gold" to close then run [execute player command "/cb gold"]
- format slot 13 of player with nether star named "&d&oSpawn" to close then run [execute player command "/Spawn"]
- format slot 14 of player with iron bars named "&c§o???" to close
- format slot 15 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 16 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 17 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 18 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 19 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 20 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 21 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 22 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 23 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 24 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 25 of player with gray stained glass pane named "&8-/-" to be unstealable
- format slot 26 of player with gray stained glass pane named "&8-/-" to be unstealable
- command /cb <text>:
- trigger:
- bungeecord connect player to "CB-%arg-1%"
- send "§8[§6Bungee§8] §aVerbinde zu §eCityBuild-Gold§a..."
- on place:
- if {build.%player%} is false:
- cancel event
- on break:
- if {build.%player%} is false:
- cancel event
- on drop:
- if {build.%player%} is false:
- cancel event
- on rightclick on chest:
- cancel event
- on rightclick on ender chest:
- cancel event
- on pickup:
- if {build.%player%} is false:
- cancel event
- on inventory click:
- if {build.%player%} is false:
- cancel event
- on damage:
- cancel event
- on hunger meter change:
- set hunger to 20
- on weather change to rain or thunder:
- cancel event
- on tool change:
- play "CLICK" to player with volume 0.4 and pitch 10
- command /build:
- permission: lobby.build
- permission message: {@prefix}§cDazu hast du keine Rechte.
- trigger:
- if {build.%player%} is false:
- set {build.%player%} to true
- clear player's inventory
- send "{@prefix}§7Du kannst nun Bauen."
- stop
- if {build.%player%} is true:
- set {build.%player%} to false
- execute player command "/hotbar"
- send "{@prefix}§7Du kannst nun nicht mehr Bauen."
- stop
- if {build.%player%} is not "true" or "false":
- send "§cEs ist ein Fehler aufgetreten, bitte Verbinde neu!"
- stop
- command /hotbar:
- trigger:
- clear player's inventory
- set slot 1 of player's inventory to compass named "§6Spielmodus §8(§7Rechtsklick§8)"
- if player have permission "lobby.fly":
- set slot 4 of player's inventory to feather named "§6Fliegen §8(§7Rechtsklick§8)"
- set slot 7 of player's inventory to nether star named "§6Lobbys §8(§7Rechtsklick§8)"
- if {spieler.%player%} is true:
- set slot 2 of player's inventory to glowstone dust named "§6Spieler§8 × §aSichtbar §8(§7Rechtsklick§8)"
- if {spieler.%player%} is false:
- set slot 2 of player's inventory to gunpowder named "§6Spieler§8 × §cVersteckt §8(§7Rechtsklick§8)"
- set slot 6 of player's inventory to chest named "§6Gadgets §8(§7Rechtsklick§8)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement