Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &7» &bKnockFFA &8| &7
- on place:
- if player is in world "world":
- if {build.%player%} is not set:
- cancel event
- on break:
- if player is in world "world":
- if {build.%player%} is not set:
- cancel event
- on inventory click:
- if player is in world "world":
- if {build.%player%} is not set:
- cancel event
- on drop:
- if player is in world "world":
- cancel event
- on pickup:
- if player is in world "world":
- if {build.%player%} is not set:
- cancel event
- on hunger meter change:
- if player is in world "world":
- cancel event
- on damage:
- if victim is in world "world":
- if damage cause is fall:
- cancel event
- command /infos:
- trigger:
- send "%{KNOCKFFA.PVPhöhe}% %{KNOCKFFA.TODESHÖHE}%"
- on damage:
- if victim is in world "world":
- victim's y-coordinate is higher than {KNOCKFFA.PVPhöhe}:
- cancel event
- on any movement:
- if player is in world "world":
- player's y-coord is smaller than {KNOCKFFA.TODESHÖHE}:
- teleport player to {KNOCKFFA.SPAWN}
- on join:
- delete {build.%player%}
- if {bungeemode} is "Bungeecord":
- teleport player to {KNOCKFFA.SPAWN}
- set player's gamemode to survival
- command /build:
- trigger:
- if player is in world "world":
- if {build.%player%} is not set:
- send "{@prefix}Du bist nun im &aBaumodus"
- set {build.%player%} to true
- else:
- delete {build.%player%}
- send "{@prefix}Du bist nicht mehr &cBaumodus"
- command /knockffa [<text>]:
- trigger:
- if arg-1 is not set:
- send "{@prefix}Hilfe:"
- send "&8- &7/KnockFFA <&bsetup&7>"
- send "&8- &7/Build"
- if arg-1 is "setup":
- set slot 0 of player to 348 named "&7» &eSetze den Spawn"
- set slot 2 of player to 267 named "&7» &bSetze die PVPhöhe"
- set slot 4 of player to 152 named "&7» &cSetze die Todeshöhe"
- set slot 8 of player to 388 named "&7» &aFertig"
- if {bungeemode} is "Spigot":
- set slot 6 of player to 35:9 named "&7» &3Spigot mode"
- stop
- set slot 6 of player to 35:4 named "&7» &eBungeecord mode"
- on rightclick with 348:
- set {KNOCKFFA.SPAWN} to location of player
- send "{@prefix}Du hast den &eSpawn &7gesetzt"
- play "chicken_egg_pop" to player with volume 50 and pitch 5
- on rightclick with 267:
- set {KNOCKFFA.PVPhöhe} to location of player
- send "{@prefix}Du hast die &bPVPhöhe &7gesetzt"
- play "chicken_egg_pop" to player with volume 50 and pitch 5
- on rightclick with 152:
- set {KNOCKFFA.TODESHÖHE} to location of player
- send "{@prefix}Du hast die &cTodeshöhe &7gesetzt"
- play "chicken_egg_pop" to player with volume 50 and pitch 5
- on rightclick with 35:4:
- wait 0.1 tick
- play "click" to player with volume 50 and pitch 5
- set slot 6 of player to 35:9 named "&7» &3Spigot mode"
- send "{@prefix}Du hast die Version auf &3Spigot &ageändert"
- set {bungeemode} to "Spigot"
- on rightclick with 388:
- play "level_up" to player with volume 50 and pitch 5
- send "{@prefix}Du hast das &aSetup &7abgeschlossen"
- clear player's inventory
- on rightclick with 35:9:
- play "click" to player with volume 50 and pitch 5
- set slot 6 of player to 35:4 named "&7» &eBungeecord mode"
- send "{@prefix}Du hast die Version auf &eBungeecord &ageändert"
- set {bungeemode} to "Bungeecord"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement