Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /hideplayers [<text>]:
- trigger:
- if arg-1 is not set:
- message "&9•&1● &bHide &8| &cBitter verwende &b/hideplayers &8<&ban&8/&baus&8>&c!"
- stop
- if arg-1 is "an" or "on":
- hide all players from the player
- message "&9•&1● &bHide &8| &7Spieler verstecken ist nun &eAN&7!"
- if arg-1 is "aus" or "off":
- reveal all players from the player
- message "&9•&1● &bHide &8| &7Spieler verstecken ist nun &eAUS&7!"
- on join:
- set {buildmode.%player%} to false
- set player's gamemode to adventure
- clear player's inventory
- set slot 1 of player's inventory to stick named "&8* &eSpieler verstecken &8*" with lore "&7Aktuell: &caus"
- set slot 4 of player's inventory to compass named "&8* &aNavigator &8*"
- set slot 7 of player's inventory to chest named "&8* &9Custom Item &8*"
- command /build [<text>]:
- permission: lobby.enterbuildmode
- trigger:
- if arg-1 is not set:
- send "&8[&cLobby&8] &7Verwende &c/build <an|aus>&7!"
- stop
- if arg-1 is not "an" or "aus":
- send "&8[&cLobby&8] &7Verwende &c/build <an|aus>&7!"
- stop
- if arg-1 is "an":
- if {buildmode.%player%} is false:
- set {buildmode.%player%} to true
- clear player's inventory
- set player's gamemode to creative
- send "&8[&cLobby&8] &7Der &cBuildmode &7ist nun an!"
- stop
- if {buildmode.%player%} is true:
- send "&8[&cLobby&8] &7Der &cBuildmode &7ist bereits an!"
- stop
- if arg-1 is "aus":
- if {buildmode.%player%} is true:
- set {buildmode.%player%} to false
- clear player's inventory
- set slot 1 of player's inventory to stick named "&8* &eSpieler verstecken &8*" with lore "&7Aktuell: &caus"
- set slot 4 of player's inventory to compass named "&8* &aNavigator &8*"
- set slot 7 of player's inventory to chest named "&8* &9Custom Item &8*"
- set player's gamemode to adventure
- send "&8[&cLobby&8] &7Der &cBuildmode &7ist nun aus!"
- stop
- if {buildmode.%player%} is false:
- send "&8[&cLobby&8] &7Der &cBuildmode &7ist bereits aus!"
- stop
- on break:
- if {buildmode.%player%} is false:
- cancel event
- on place:
- if {buildmode.%player%} is false:
- cancel event
- command /forcefield [<text>]:
- permission: lobby.forcefield
- trigger:
- if arg-1 is not set:
- send "&8[&cLobby&8] &7Verwende &c/forcefield <an|aus>&7!"
- stop
- if arg-1 is not "an" or "aus":
- send "&8[&cLobby&8] &7Verwende &c/forcefield <an|aus>&7!"
- stop
- if arg-1 is "an":
- if {lobby.forcefield.%player%} is false:
- set {lobby.forcefield.%player%} to true
- send "&8[&cLobby&8] &7Dein &cSchutzschild &7ist nun an!"
- stop
- if {lobby.forcefield.%player%} is true:
- send "&8[&cLobby&8] &7Dein &cSchutzschild &7ist bereits an!"
- stop
- if arg-1 is "aus":
- if {lobby.forcefield.%player%} is true:
- set {lobby.forcefield.%player%} to false
- send "&8[&cLobby&8] &7Dein &cSchutzschild &7ist nun aus!"
- stop
- if {lobby.forcefield.%player%} is false:
- send "&8[&cLobby&8] &7Dein &cSchutzschild &7ist bereits aus!"
- stop
- every 15 tick:
- loop all players:
- if loop-player has permission "system.forcefield":
- if {lobby.forcefield.%loop-player%} is true:
- execute loop-player command "dha3"
- command /dha3:
- permission: system.forcefield
- trigger:
- loop all players in radius 5 around the sender:
- if loop-player does not have permission "system.forcefield.bypass":
- push loop-player 3 blocks forwards
- push loop-player 3 blocks left
- push loop-player 3 blocks right
- on right click with stick:
- if name of item is "&8* &eSpieler verstecken &8*":
- set slot 1 of player's inventory to blaze rod named "&8* &eSpieler verstecken &8*" with lore "&7Aktuell: &can"
- hide all players from player
- on right click with blaze rod:
- if name of item is "&8* &eSpieler verstecken &8*":
- set slot 1 of player's inventory to stick named "&8* &eSpieler verstecken &8*" with lore "&7Aktuell: &caus"
- reveal all players from player
- on right click with compass:
- if name of item is "&8* &aNavigator &8*":
- open virtual chest inventory with size 5 named "&8* &aNavigator &8*" to player
- wait 1 tick
- set slot 4 of player's current inventory to grass block named "&8* &cComing Soon &8*"
- set slot 19 of player's current inventory to barrier named "&8* &cComing Soon &8*"
- set slot 25 of player's current inventory to barrier named "&8* &cComing Soon &8*"
- set slot 40 of player's current inventory to barrier named "&8* &cComing Soon &8*"
- wait 2 tick
- set slot 22 of player's current inventory to nether star named "&8* &bSpawn &8*"
- on inventory click:
- if name of player's current inventory is "&8* &aNavigator &8*":
- cancel event
- if clicked slot is 22:
- teleport player to location 30000, 65, 0 in world "Lobby44"
- if clicked slot is 4:
- message "[&5Lobby&f] &cDas kommt noch!"
- if clicked slot is 25:
- message "[&5Lobby&f] &cDas kommt noch!"
- if clicked slot is 40:
- message "[&5Lobby&f] &cDas kommt noch!"
- if clicked slot is 19:
- message "[&5Lobby&f] &cDas kommt noch!"
- on chat:
- if message contains "hurensohn" or "arsch" or "fick" or "penner" or "bitch":
- cancel event
- send "[&5Lobby&f] &cBitte achte auf deine Wortwahl!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement