Advertisement
Balerias

Untitled

Aug 13th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. options:
  2. prefix: &7» &bKnockFFA &8| &7
  3.  
  4. on place:
  5. if player is in world "world":
  6. if {build.%player%} is not set:
  7. cancel event
  8. on break:
  9. if player is in world "world":
  10. if {build.%player%} is not set:
  11. cancel event
  12. on inventory click:
  13. if player is in world "world":
  14. if {build.%player%} is not set:
  15. cancel event
  16. on drop:
  17. if player is in world "world":
  18. cancel event
  19. on pickup:
  20. if player is in world "world":
  21. if {build.%player%} is not set:
  22. cancel event
  23. on hunger meter change:
  24. if player is in world "world":
  25. cancel event
  26. on damage:
  27. if victim is in world "world":
  28. if damage cause is fall:
  29. cancel event
  30. command /infos:
  31. trigger:
  32. send "%{KNOCKFFA.PVPhöhe}% %{KNOCKFFA.TODESHÖHE}%"
  33. on damage:
  34. if victim is in world "world":
  35. victim's y-coordinate is higher than {KNOCKFFA.PVPhöhe}:
  36. cancel event
  37. on any movement:
  38. if player is in world "world":
  39. player's y-coord is smaller than {KNOCKFFA.TODESHÖHE}:
  40. teleport player to {KNOCKFFA.SPAWN}
  41.  
  42. on join:
  43. delete {build.%player%}
  44. if {bungeemode} is "Bungeecord":
  45. teleport player to {KNOCKFFA.SPAWN}
  46. set player's gamemode to survival
  47. command /build:
  48. trigger:
  49. if player is in world "world":
  50. if {build.%player%} is not set:
  51. send "{@prefix}Du bist nun im &aBaumodus"
  52. set {build.%player%} to true
  53. else:
  54. delete {build.%player%}
  55. send "{@prefix}Du bist nicht mehr &cBaumodus"
  56. command /knockffa [<text>]:
  57. trigger:
  58. if arg-1 is not set:
  59. send "{@prefix}Hilfe:"
  60. send "&8- &7/KnockFFA <&bsetup&7>"
  61. send "&8- &7/Build"
  62. if arg-1 is "setup":
  63. set slot 0 of player to 348 named "&7» &eSetze den Spawn"
  64. set slot 2 of player to 267 named "&7» &bSetze die PVPhöhe"
  65. set slot 4 of player to 152 named "&7» &cSetze die Todeshöhe"
  66. set slot 8 of player to 388 named "&7» &aFertig"
  67. if {bungeemode} is "Spigot":
  68. set slot 6 of player to 35:9 named "&7» &3Spigot mode"
  69. stop
  70. set slot 6 of player to 35:4 named "&7» &eBungeecord mode"
  71. on rightclick with 348:
  72. set {KNOCKFFA.SPAWN} to location of player
  73. send "{@prefix}Du hast den &eSpawn &7gesetzt"
  74. play "chicken_egg_pop" to player with volume 50 and pitch 5
  75. on rightclick with 267:
  76. set {KNOCKFFA.PVPhöhe} to location of player
  77. send "{@prefix}Du hast die &bPVPhöhe &7gesetzt"
  78. play "chicken_egg_pop" to player with volume 50 and pitch 5
  79. on rightclick with 152:
  80. set {KNOCKFFA.TODESHÖHE} to location of player
  81. send "{@prefix}Du hast die &cTodeshöhe &7gesetzt"
  82. play "chicken_egg_pop" to player with volume 50 and pitch 5
  83. on rightclick with 35:4:
  84. wait 0.1 tick
  85. play "click" to player with volume 50 and pitch 5
  86. set slot 6 of player to 35:9 named "&7» &3Spigot mode"
  87. send "{@prefix}Du hast die Version auf &3Spigot &ageändert"
  88. set {bungeemode} to "Spigot"
  89. on rightclick with 388:
  90. play "level_up" to player with volume 50 and pitch 5
  91. send "{@prefix}Du hast das &aSetup &7abgeschlossen"
  92. clear player's inventory
  93. on rightclick with 35:9:
  94. play "click" to player with volume 50 and pitch 5
  95. set slot 6 of player to 35:4 named "&7» &eBungeecord mode"
  96. send "{@prefix}Du hast die Version auf &eBungeecord &ageändert"
  97. set {bungeemode} to "Bungeecord"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement