SHARE
TWEET

Untitled

a guest Feb 16th, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /Build:
  2.     trigger:
  3.         if player has permission "system.build":
  4.             if {build.%player%} is 1:
  5.                 set {build.%player%} to 0
  6.                 execute player command "/gm 0"
  7.                 send "&cBUILD &c&lDEAKTIVIERT"
  8.                 clear the player's inventory
  9.                 stop
  10.             if {build.%player%} is 0:
  11.                 set {build.%player%} to 1
  12.                 execute player command "/gm 1"
  13.                 send "&aBUILD &a&lAKTIVIERT"
  14.                 stop
  15.             if {build.%player%} is not set:
  16.                 set {build.%player%} to 0
  17.                 execute player command "/gm 0"
  18.        
  19. on break:
  20.     if {build.%player%} is 1:
  21.         command ""
  22.     else:
  23.         cancel event
  24.  
  25. on place:
  26.     if {build.%player%} is 1:
  27.         command ""
  28.     else:
  29.         cancel event
  30.  
  31. on join:
  32.     if player has permission "system.build":
  33.         set {build.%player%} to 0
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40. on explode:
  41.     cancel event
  42.  
  43. on animal spawn:
  44.     cancel event
  45.  
  46. on hunger:
  47.     cancel event
  48.  
  49. on damage:
  50.     cancel event
  51.  
  52. on join:
  53.     set join message to "&7[&a+&7%player%&8]"
  54.  
  55. on quit:
  56.     set quit message to "&7[&c-&7%player%&8]"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top