Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- MsgBan: &cVoce foi banido de nosso servidor! &cPor &c&l%player%
- MsgSucesso: &aVoce baniu &c%entity% &acom sucesso!
- MsgBanido: &cVoce esta banido de nosso servidor!
- command /admin [<text>] [<text>]:
- trigger:
- if player has permission "bueno.admin":
- if arg 1 isn't set:
- open chest with 1 row named " &c&lBuenoAdmin" to player
- format slot 0 of player with blaze rod named "&c&lBanir" to close then run "sudo %player% admin ban"
- format slot 1 of player with stick named "&c&lDesbanir" to close then run "sudo %player% admin unban"
- format slot 3 of player with 95 named "&c&lKick" to close then run "sudo %player% admin kick"
- format slot 2 of player with 95 named "&b&lVanish" to close then run "sudo %player% admin vanish"
- if arg 1 is "ban":
- if arg 2 isn't set:
- give 1 blaze rod named "&c&lBan Permanente" to the player
- if arg 2 is set:
- set {banido::%arg 2%} to true
- send "{@MsgSucesso}" to the player
- if arg 1 is "unban":
- if arg 2 isn't set:
- send "&cPara desbanir um player digite &7/admin unban <player>"
- if arg 2 is set:
- set {banido::%arg 2%} to false
- send "&a%arg 2% &cdesbanido com sucesso!"
- if arg 1 is "vanish":
- if {vanish::%player%} is false:
- set {vanish::%player%} to true
- apply potion of Invisibility to the player for 999 days
- apply Invisibility 1000 to the player
- set the player's tablist name to " "
- send "&aModo invisível foi ativado!" to player
- if {vanish::%player%} is true:
- set {vanish::%player%} to false
- remove Invisibility from the player
- set the player's tablist name to "%player%"
- send "&cModo invisível foi desativado!" to player
- if arg 1 is "kick":
- give 1 blaze rod named "&c&lKick" to the player
- else:
- stop
- on right click on entity:
- if player has permission "bueno.ban":
- if player is holding blaze rod named "&c&lKick":
- kick clicked entity due to "&cVocê foi expulso de nosso servidor."
- send "&cVocê kikou &a%entity%&c!" to the player
- else:
- cancel event
- on right click on entity:
- if player has permission "bueno.ban":
- if player is holding blaze rod named "&c&lBan Permanente":
- kick clicked entity due to "{@MsgBan}"
- set {banido::%entity%} to true
- send "{@MsgSucesso}" to the player
- else:
- cancel event
- on join:
- if {banido::%player%} is true:
- kick player due to "{@MsgBanido}"
- loop all players:
- if loop-player has permission "bueno.admin":
- send "&a%player% &ctentou entrar no servidor mas está banido." to loop-player
- else:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement