Advertisement
Guest1221

Untitled

Dec 30th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. options:
  2. top-prefix: &8(&b%player%&8)
  3.  
  4. message-color: &7
  5.  
  6. display-time: 5 # in seconds
  7.  
  8. height: 2 # blocks
  9.  
  10. permission-node: holochat.chat
  11.  
  12. toggle-on: &8[&bHoloChat&8]&7: &7Holochat has switched &aon&7!
  13.  
  14. toggle-off: &8[&bHoloChat&8]&7: &7Holochat has switched &coff&7!
  15.  
  16. #Do not edit this!!
  17.  
  18. command /holochat:
  19. description: toggle holochat
  20. permission: "{@permission-node}"
  21. trigger:
  22. if {holochat.%player%.toggle} is true:
  23. set {holochat.%player%.toggle} to false
  24. message "{@toggle-off}"
  25. stop trigger
  26. if {holochat.%player%.toggle} is not set:
  27. set {holochat.%player%.toggle} to true
  28. set {holochat.%player%.toggle} to true
  29. message "{@toggle-on}"
  30.  
  31. on chat:
  32. if {holochat.%player%.toggle} is true:
  33. if player has permissions "{@permission-node}":
  34. bind hologram "{@top-prefix};{@message-color}%message%" to player for {@display-time} seconds offset by 0.0, {@height}.0, 0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement