Advertisement
Guest User

Untitled

a guest
Feb 29th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. options:
  2. prefix: §7[§3Lobby§7] §a
  3.  
  4. on first join:
  5. set join message to ""
  6. set player's gamemode to adventure
  7. set {build.%player%} to false
  8. execute player command "/hotbar"
  9. teleport player to {spawn}
  10.  
  11. on join:
  12. set join message to ""
  13. set player's gamemode to adventure
  14. set {build.%player%} to false
  15. execute player command "/hotbar"
  16. teleport player to {spawn}
  17.  
  18. on rightclick with compass:
  19. open chest with 3 rows named "&8▎ &6Spielmodus &8» &7Auswahl" to player
  20. wait 0.1 second
  21. format slot 0 of player with gray stained glass pane named "&8-/-" to be unstealable
  22. format slot 1 of player with gray stained glass pane named "&8-/-" to be unstealable
  23. format slot 2 of player with gray stained glass pane named "&8-/-" to be unstealable
  24. format slot 3 of player with gray stained glass pane named "&8-/-" to be unstealable
  25. format slot 4 of player with gray stained glass pane named "&8-/-" to be unstealable
  26. format slot 5 of player with gray stained glass pane named "&8-/-" to be unstealable
  27. format slot 6 of player with gray stained glass pane named "&8-/-" to be unstealable
  28. format slot 7 of player with gray stained glass pane named "&8-/-" to be unstealable
  29. format slot 8 of player with gray stained glass pane named "&8-/-" to be unstealable
  30.  
  31. format slot 9 of player with gray stained glass pane named "&8-/-" to be unstealable
  32. format slot 10 of player with gray stained glass pane named "&8-/-" to be unstealable
  33. format slot 11 of player with gray stained glass pane named "&8-/-" to be unstealable
  34. format slot 12 of player with gold ingot named "&8CityBuild-Gold" to close then run [execute player command "/cb gold"]
  35. format slot 13 of player with nether star named "&d&oSpawn" to close then run [execute player command "/Spawn"]
  36. format slot 14 of player with iron bars named "&c§o???" to close
  37. format slot 15 of player with gray stained glass pane named "&8-/-" to be unstealable
  38. format slot 16 of player with gray stained glass pane named "&8-/-" to be unstealable
  39. format slot 17 of player with gray stained glass pane named "&8-/-" to be unstealable
  40.  
  41. format slot 18 of player with gray stained glass pane named "&8-/-" to be unstealable
  42. format slot 19 of player with gray stained glass pane named "&8-/-" to be unstealable
  43. format slot 20 of player with gray stained glass pane named "&8-/-" to be unstealable
  44. format slot 21 of player with gray stained glass pane named "&8-/-" to be unstealable
  45. format slot 22 of player with gray stained glass pane named "&8-/-" to be unstealable
  46. format slot 23 of player with gray stained glass pane named "&8-/-" to be unstealable
  47. format slot 24 of player with gray stained glass pane named "&8-/-" to be unstealable
  48. format slot 25 of player with gray stained glass pane named "&8-/-" to be unstealable
  49. format slot 26 of player with gray stained glass pane named "&8-/-" to be unstealable
  50.  
  51. command /cb <text>:
  52. trigger:
  53. bungeecord connect player to "CB-%arg-1%"
  54. send "§8[§6Bungee§8] §aVerbinde zu §eCityBuild-Gold§a..."
  55.  
  56. on place:
  57. if {build.%player%} is false:
  58. cancel event
  59.  
  60. on break:
  61. if {build.%player%} is false:
  62. cancel event
  63.  
  64. on drop:
  65. if {build.%player%} is false:
  66. cancel event
  67.  
  68. on rightclick on chest:
  69. cancel event
  70.  
  71. on rightclick on ender chest:
  72. cancel event
  73.  
  74. on pickup:
  75. if {build.%player%} is false:
  76. cancel event
  77.  
  78. on inventory click:
  79. if {build.%player%} is false:
  80. cancel event
  81.  
  82. on damage:
  83. cancel event
  84.  
  85. on hunger meter change:
  86. set hunger to 20
  87.  
  88. on weather change to rain or thunder:
  89. cancel event
  90.  
  91. on tool change:
  92. play "CLICK" to player with volume 0.4 and pitch 10
  93.  
  94. command /build:
  95. permission: lobby.build
  96. permission message: {@prefix}§cDazu hast du keine Rechte.
  97. trigger:
  98. if {build.%player%} is false:
  99. set {build.%player%} to true
  100. clear player's inventory
  101. send "{@prefix}§7Du kannst nun Bauen."
  102. stop
  103.  
  104. if {build.%player%} is true:
  105. set {build.%player%} to false
  106. execute player command "/hotbar"
  107. send "{@prefix}§7Du kannst nun nicht mehr Bauen."
  108. stop
  109.  
  110. if {build.%player%} is not "true" or "false":
  111. send "§cEs ist ein Fehler aufgetreten, bitte Verbinde neu!"
  112. stop
  113.  
  114. command /hotbar:
  115. trigger:
  116. clear player's inventory
  117. set slot 1 of player's inventory to compass named "§6Spielmodus §8(§7Rechtsklick§8)"
  118. if player have permission "lobby.fly":
  119. set slot 4 of player's inventory to feather named "§6Fliegen §8(§7Rechtsklick§8)"
  120. set slot 7 of player's inventory to nether star named "§6Lobbys §8(§7Rechtsklick§8)"
  121. if {spieler.%player%} is true:
  122. set slot 2 of player's inventory to glowstone dust named "§6Spieler§8 × §aSichtbar §8(§7Rechtsklick§8)"
  123.  
  124. if {spieler.%player%} is false:
  125. set slot 2 of player's inventory to gunpowder named "§6Spieler§8 × §cVersteckt §8(§7Rechtsklick§8)"
  126.  
  127. set slot 6 of player's inventory to chest named "§6Gadgets §8(§7Rechtsklick§8)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement