Advertisement
CARAB4O

Untitled

Oct 28th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. options:
  2.  
  3.  
  4. #Flying Stuff
  5.  
  6. Fly Permission: pun.fly
  7. Fly Command: /fly
  8. Fly Message Enable: &a&l(!) &7Flying mode has been &a&l&nENABLED
  9. Fly Message Disable: &c&l(!) &7Flying mode has been &c&l&nDISABLED
  10. Fly Message No Permission: &cNo Permission
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. on command "{@Fly Command}":
  63. if player has permission "{@Fly Permission}":
  64. if {void.fly.mode.%player%} is "True":
  65. message "{@Fly Message Disable}"
  66. set {void.fly.mode.%player%} to "False"
  67. set player's fly mode to false
  68. else:
  69. message "{@Fly Message Enable}"
  70. set {void.fly.mode.%player%} to "True"
  71. set player's flight mode to true
  72.  
  73. else:
  74. message "{@Fly Message No Permission}"
  75. cancel event
  76.  
  77. on damage:
  78. if {void.fly.mode.%attacker%} is "True":
  79. set {void.fly.mode.%attacker%} to "False"
  80. send "{@Fly Message Disable}" to attacker
  81. set attacker's flight mode to false
  82.  
  83.  
  84.  
  85. if {void.fly.mode.%victim%} is "True":
  86. set {void.fly.mode.%victim%} to "False"
  87. send "{@Fly Message Disable}" to victim
  88. set victim's flight mode to false
  89.  
  90.  
  91.  
  92.  
  93. on any movement:
  94. if player has permission "{@Fly Permission}":
  95. if {void.fly.mode.%player%} is "True":
  96. if block below player is air:
  97. umbaska spawn 5 of particle red dust offset at .5, .1, .5 at player
  98. umbaska spawn 5 of particle enchantment table offset at .4, .1, .4 at player
  99.  
  100. command /list:
  101. trigger:
  102. loop all players:
  103. loop-player has permission "list.staff"
  104. add loop-player to {_staff::*}
  105. message "&8&m---------------------------------------"
  106. message " &7There are &7%number of all players%&8/&710 &7players on the server!"
  107. message ""
  108. message " &7Staff&8: &8%{_staff::*}%"
  109. message "&8&m---------------------------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement