Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- #
- # SKRIPT MADE BY: MAGICAA
- # DISCORD: Magicaa#0827
- # DISCORD SERVER: https://discord.gg/fj6kkVF
- #
- # FEEL FREE TO CHANGE THINGS AND DONT FORGET TO SEND IT TO ME ON DISCORD ;)
- #
- command /rank [<text>] [<offline player>] [<text>]:
- permission: server.admin
- permission message: &cServer &8&l» &7Je moet de rank &4Admin&7 hebben om dit command uit te voeren!
- executable by: console and player
- trigger:
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is "Speler":
- if {rank.name.%player%} is "Admin" or "Owner":
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &7Player" to player
- send "&cServer &8&l» &7Your rank has been set to: &7Player &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Player"
- set {rank.color.%arg-2%} to "&7"
- set {rank.prefix.%arg-2%} to "&8[&7Player&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else if sender is op:
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &7Player" to player
- send "&cServer &8&l» &7Your rank has been set to: &7Player &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Player"
- set {rank.color.%arg-2%} to "&7"
- set {rank.prefix.%arg-2%} to "&8[&7Owner&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else:
- send "&cServer &8&l» &7Je moet de rank &cAdmin&7 hebben om dit command uit te voeren!"
- else:
- send "&cServer &8&l» &7Usage: &c/rank [&7Set, Reset&c] [&7Player&c] [&7Rank&c]" to player
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is "Premium":
- if {rank.name.%player%} is "Admin" or "Owner":
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &ePremium" to player
- send "&cServer &8&l» &7Your rank has been set to: &ePremium &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Premium"
- set {rank.color.%arg-2%} to "&e"
- set {rank.prefix.%arg-2%} to "&8[&ePremium&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else if sender is op:
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &ePremium" to player
- send "&cServer &8&l» &7Your rank has been set to: &ePremium &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Premium"
- set {rank.color.%arg-2%} to "&e"
- set {rank.prefix.%arg-2%} to "&8[&ePremium&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else:
- send "&cServer &8&l» &7Je moet de rank &cAdmin&7 hebben om dit command uit te voeren!"
- else:
- send "&cServer &8&l» &7Usage: &c/rank [&7Set, Remove, Reset&c] [&7Player&c] [&7Rank&c]" to player
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is "Helper":
- if {rank.name.%player%} is "Admin" or "Owner":
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &9Helper" to player
- send "&cServer &8&l» &7Your rank has been set to: &9Helper &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Helper"
- set {rank.color.%arg-2%} to "&9"
- set {rank.prefix.%arg-2%} to "&8[&9Helper&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else if sender is op:
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &9Helper" to player
- send "&cServer &8&l» &7Your rank has been set to: &9Helper &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Helper"
- set {rank.color.%arg-2%} to "&9"
- set {rank.prefix.%arg-2%} to "&8[&9Helper&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else:
- send "&cServer &8&l» &7Je moet de rank &cAdmin&7 hebben om dit command uit te voeren!"
- else:
- send "&cServer &8&l» &7Usage: &c/rank [&7Set, Remove, Reset&c] [&7Player&c] [&7Rank&c]" to player
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is "Moderator":
- if {rank.name.%player%} is "Admin" or "Owner":
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &3Moderator" to player
- send "&cServer &8&l» &7Your rank has been set to: &3Moderator &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Moderator"
- set {rank.color.%arg-2%} to "&3"
- set {rank.prefix.%arg-2%} to "&8[&3Moderator&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else if sender is op:
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &3Moderator" to player
- send "&cServer &8&l» &7Your rank has been set to: &3Moderator &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Moderator"
- set {rank.color.%arg-2%} to "&3"
- set {rank.prefix.%arg-2%} to "&8[&3Moderator&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else:
- send "&cServer &8&l» &7Je moet de rank &cAdmin&7 hebben om dit command uit te voeren!"
- else:
- send "&cServer &8&l» &7Usage: &c/rank [&7Set, Remove, Reset&c] [&7Player&c] [&7Rank&c]" to player
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is "Admin":
- if {rank.name.%player%} is "Owner":
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &cAdmin" to player
- send "&cServer &8&l» &7Your rank has been set to: &cAdmin &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Admin"
- set {rank.color.%arg-2%} to "&c"
- set {rank.prefix.%arg-2%} to "&8[&cAdmin&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else if sender is op:
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &cAdmin" to player
- send "&cServer &8&l» &7Your rank has been set to: &cAdmin &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Admin"
- set {rank.color.%arg-2%} to "&c"
- set {rank.prefix.%arg-2%} to "&8[&cAdmin&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else:
- send "&cServer &8&l» &7Je moet de rank &cAdmin&7 hebben om dit command uit te voeren!"
- else:
- send "&cServer &8&l» &7Usage: &c/rank [&7Set, Remove, Reset&c] [&7Player&c] [&7Rank&c]" to player
- if arg-1 is "set":
- if arg-2 is set:
- if arg-3 is "Owner":
- if {rank.name.%player%} is "Owner":
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &4Owner" to player
- send "&cServer &8&l» &7Your rank has been set to: &4Owner &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Owner"
- set {rank.color.%arg-2%} to "&4"
- set {rank.prefix.%arg-2%} to "&8[&4Owner&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else if sender is op:
- send "&cServer &8&l» &7The rank of %{rank.color.%player%}%%arg-2% &7has been set to: &4Owner" to player
- send "&cServer &8&l» &7Your rank has been set to: &4Owner &7by: %{rank.color.%player%}%%player%" to arg-2
- set {rank.name.%arg-2%} to "Owner"
- set {rank.color.%arg-2%} to "&4"
- set {rank.prefix.%arg-2%} to "&8[&4Owner&8]"
- #execute console command "/nte player %arg-2% prefix &4Owner &8&l» &7" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte player %arg-2% priority 1" < IF YOU USE NAMETAGEDIT!
- #execute console command "/nte reload" < IF YOU USE NAMETAGEDIT!
- #execute console command "/pex user %arg-2% group add %arg-3" < IF YOU USE "PERMISSIONSEX"
- else:
- send "&cServer &8&l» &7Je moet de rank &cAdmin&7 hebben om dit command uit te voeren!"
- else:
- send "&cServer &8&l» &7Usage: &c/rank [&7Set, Remove, Reset&c] [&7Player&c] [&7Rank&c]" to player
- on chat:
- cancel event
- if {rank.name.%player%} is not "Player" or "Premium":
- broadcast "%{rank.prefix.%player%}% %{rank.color.%player%}%%displayname of the player% &8&l» &f%message%"
- if {rank.name.%player%} is "Player" or "Premium":
- broadcast "%{rank.prefix.%player%}% %{rank.color.%player%}%%displayname of the player% &8&l» &7%message%"
- on first join:
- set {rank.name.%player%} to "Player"
- set {rank.color.%player%} to "&7"
- set {rank.prefix.%player%} to "&7Player &8»"
- on join:
- if {rank.name.%player%} is "Player":
- set player tab name to "&7Player &8&l» &7%player's name%"
- stop
- if {rank.name.%player%} is "Premium":
- set player tab name to "&ePremium &8&l» &e%player's name%"
- stop
- if {rank.name.%player%} is "Helper":
- set player tab name to "&9Helper &8&l» &9%player's name%"
- stop
- if {rank.name.%player%} is "Moderator":
- set player tab name to "&3Mod &8&l» &3%player's name%"
- stop
- if {rank.name.%player%} is "Admin":
- set player tab name to "&cAdmin &8&l» &c%player's name%"
- stop
- if {rank.name.%player%} is "Owner":
- set player tab name to "&4Owner &8&l» &4%player's name%"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement