Advertisement
SilentShiro

Untitled

Mar 29th, 2018
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1. options:
  2. start: stone pickaxe
  3. battlepass: iron pickaxe
  4.  
  5. on first join:
  6. clear inventory of player
  7.  
  8. on join:
  9. set join message to ""
  10. broadcast "&8[&a+&8] &8» &a%player% &7joined!"
  11. send player title "&b&liTrinity - Realm" with subtitle "&5&lBattle Royale - Network" for 5 seconds
  12. give player {@start} named "&9&lwCommon &8» &fPickaxe" with lore "&7Free-Pass Item"
  13. if player has permission "br.battlepass":
  14. remove {@start} from the player
  15. give player {@battlepass} named "&5&lEpic &8» &fWorld travelers Pickaxe" with lore "&7Battle-Pass Item"
  16. teleport the player to {spawn}
  17. set gamemode of player to survival
  18.  
  19. on quit:
  20. set quit message to ""
  21. broadcast "&8[&c-&8] &8« &c%player% &7left!"
  22. clear inventory of player
  23.  
  24. on drop of {@start}:
  25. message "&cYou can't drop your Main-Item" to player
  26. cancel event
  27.  
  28. on drop of {@battlepass}:
  29. message "&cYou can't drop your Main-Item" to player
  30. cancel event
  31.  
  32. command /baro <text>:
  33. permission: br.admin
  34. trigger:
  35. if arg is not "setspawn" or "setarena" or "setshop" or "help":
  36. message "&8[&cSystem&8] &cUnknown Command."
  37. if arg is "setspawn":
  38. set {spawn} to location of player
  39. send "&8[&5BattleRoyale&8] &7you set the spawn" to player
  40. if arg is "setarena":
  41. set {spawn} to location of player
  42. send "&8[&5BattleRoyale&8] &7you set the arena" to player
  43. if arg is "setshop":
  44. set {shop} to location of player
  45. send "&8[&5BattleRoyale&8] &7you set the shop" to player
  46. if arg is "help":
  47. message "&e&m----&r&e> &5&lBattle Royale &e<&m----"
  48. message "&7/baro setarena - &esets the arena"
  49. message "&7/baro setspawn - &esets the spawnpoint"
  50. message "&7/baro setshop - &esets the shop"
  51. message "&e&m----&r&e> &5&lPermissions &e<&m----"
  52. message "&7br.arena - &e/arena"
  53. message "&7br.spawn - &e/spawn"
  54. message "&7br.shop - &e/shop"
  55.  
  56. command /setarena:
  57. permission: br.admin
  58. trigger:
  59. set {arena} to location of player
  60. send "&8[&5BattleRoyale&8] &7You set the arena" to player
  61.  
  62. command /setspawn:
  63. permission: br.admin
  64. trigger:
  65. set {spawn} to location of player
  66. send "&8[&5BattleRoyale&8] &7You set the spawnpoint" to player
  67.  
  68. command /setshop:
  69. permission: br.admin
  70. trigger:
  71. set {shop} to location of player
  72. send "&8[&5BattleRoyale&8] &7You set the shop" to player
  73.  
  74. command /shop:
  75. permission: br.freepass
  76. trigger:
  77. teleport the player to {shop}
  78. send "&8[&5BattleRoyale&8] &7You went to the shop" to player
  79.  
  80. command /arena:
  81. permission: br.freepass
  82. trigger:
  83. teleport the player to {arena}
  84. send "&8[&5BattleRoyale&8] &7You went into the town" to player
  85.  
  86. command /spawn:
  87. permission: br.freepass
  88. trigger:
  89. teleport the player to {spawn}
  90. send "&8[&5BattleRoyale&8] &7You fled from the town" to player
  91.  
  92. on break:
  93. cancel event
  94. repair tool of player
  95.  
  96. on break of log:
  97. if player has permission "br.battlepass":
  98. give player 2 oak plank named "&9&lCommon &8» &fWood" with lore "&7Build Material"
  99. cancel event
  100. give player 1 oak plank named "&9&lCommon &8» &fWood" with lore "&7Build Material"
  101.  
  102. on break of brick:
  103. if player has permission "br.battlepass":
  104. give player 2 brick block named "&9&lCommon &8» &fBrick" with lore "&7Build Material"
  105. cancel event
  106. give player 1 brick block named "&9&lCommon &8» &fBrick" with lore "&7Build Material"
  107.  
  108. on break of iron block:
  109. if player has permission "br.battlepass":
  110. give player 2 iron block named "&9&lCommon &8» &fIron" with lore "&7Build Material"
  111. cancel event
  112. give player 1 iron block named "&9&lCommon &8» &fIron" with lore "&7Build Material"
  113.  
  114. on place of oak plank:
  115. wait 20 ticks
  116. set block to redstone block
  117. wait 20 ticks
  118. set block to air
  119.  
  120. on place of iron block:
  121. wait 50 ticks
  122. set block to redstone block
  123. wait 50 ticks
  124. set block to air
  125.  
  126. on place of brick:
  127. wait 35 ticks
  128. set block to redstone block
  129. wait 35 ticks
  130. set block to air
  131.  
  132. on death:
  133. clear inventory of player
  134. teleport the player to {spawn}
  135.  
  136. on respawn:
  137. clear inventory of player
  138. teleport the player to {spawn}
  139. give player {@start} named "&9&lwCommon &8» &fPickaxe" with lore "&7Free-Pass Item"
  140. if player has permission "br.battlepass":
  141. remove {@start} from the player
  142. give player {@battlepass} named "&5&lEpic &8» &fWorld travelers Pickaxe" with lore "&7Battle-Pass Item"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement