Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set player's tablist name to "&8[Member] &7%player%"
- set player's display name to "&8[Member] &7%player%"
- set {rank.%player%} to "Member"
- on join:
- if {rank.%player%} is "Admin":
- set player's tablist name to "&c[ADMIN] &7%player%"
- if {rank.%player%} is "Mod":
- set player's tablist name to "&e[MOD] &7%player%"
- if {rank.%player%} is "Builder":
- set player's tablist name to "&a[BUILDER] &7%player%"
- if {rank.%player%} is "YT":
- set player's tablist name to "&5[YT] &7%player%"
- if {rank.%player%} is "Legend":
- set player's tablist name to "&6[LEGEND] &7%player%"
- if {rank.%player%} is "Pro":
- set player's tablist name to "&b[PRO] &7%player%"
- if {rank.%player%} is "VIP":
- set player's tablist name to "&a[VIP] &7%player%"
- if {rank.%player%} is "Member":
- set player's tablist name to "&8[Member] &7%player%"
- command /rank [<player>] [<text>]:
- permission: server.rank
- trigger:
- if arg-1 is set:
- if arg-player is not set:
- message "&cInvalid Player ( Offline / Spelling Error / Non Existing )"
- if arg-player is set:
- if arg-2 is "admin":
- message "&c%arg-player%&7 is now an &cAdministrator"
- send "&7You're now an &cAdminstrator" to arg-player
- execute console command "pex user %arg-player% group set admin"
- set arg 1's tablist name to "&c[ADMIN] &7%arg-1%"
- set arg 1's display name to "&c[ADMIN] &7%arg-1%"
- set {rank.%arg-1%} to "Admin"
- if arg-player is set:
- if arg-2 is "administrator":
- message "&c%arg-player%&7 is now an &cAdministrator"
- send "&7You're now an &cAdministrator" to arg-player
- execute console command "pex user %arg-player% group set admin"
- set arg 1's tablist name to "&c[ADMIN] &7%arg-1%"
- set arg 1's display name to "&c[ADMIN] &7%arg-1%"
- set {rank.%arg-1%} to "Admin"
- if arg-player is set:
- if arg-2 is "mod":
- message "&c%arg-player%&7 is now a &eModerator"
- send "&7You're now a &eModerator" to arg-player
- execute console command "pex user %arg-player% group set mod"
- set arg 1's tablist name to "&e[MOD] &7%arg-1%"
- set arg 1's display name to "&e[MOD] &7%arg-1%"
- set {rank.%arg-1%} to "Mod"
- if arg-player is set:
- if arg-2 is "moderator":
- message "&c%arg-player%&7 is now a &eModerator"
- send "&7You're now a &eModerator" to arg-player
- execute console command "pex user %arg-player% group set mod"
- set arg 1's tablist name to "&e[MOD] &7%arg-1%"
- set arg 1's display name to "&e[MOD] &7%arg-1%"
- set {rank.%arg-1%} to "Mod"
- if arg-player is set:
- if arg-2 is "builder":
- message "&c%arg-player%&7 is now a &aBuilder"
- send "&7You're now a &aBuilder" to arg-player
- execute console command "pex user %arg-player% group set Builder"
- set arg 1's tablist name to "&a[BUILDER] &7%arg-1%"
- set arg 1's display name to "&a[BUILDER] &7%arg-1%"
- set {rank.%arg-1%} to "Builder"
- if arg-player is set:
- if arg-2 is "YT":
- message "&c%arg-player%&7 is now a &5YT"
- send "&7You're now a &5YT" to arg-player
- execute console command "pex user %arg-player% group set YT"
- set arg 1's tablist name to "&5[YT] &7%arg-1%"
- set arg 1's display name to "&5[YT] &7%arg-1%"
- set {rank.%arg-1%} to "YT"
- if arg-player is set:
- if arg-2 is "Legend":
- message "&c%arg-player%&7 is now a &6Legend"
- send "&7You're now a &6Legend" to arg-player
- execute console command "pex user %arg-player% group set Legend"
- set arg 1's tablist name to "&6[LEGEND] &7%arg-1%"
- set arg 1's display name to "&6[LEGEND] &7%arg-1%"
- set {rank.%arg-1%} to "Legend"
- if arg-player is set:
- if arg-2 is "Pro":
- message "&c%arg-player%&7 is now a &bPro"
- send "&7You're now a &bPro" to arg-player
- execute console command "pex user %arg-player% group set Pro"
- set arg 1's tablist name to "&b[PRO] &7%arg-1%"
- set arg 1's display name to "&b[PRO] &7%arg-1%"
- set {rank.%arg-1%} to "Pro"
- if arg-player is set:
- if arg-2 is "VIP":
- message "&c%arg-player%&7 is now a &aVIP"
- send "&7You're now a &aVIP" to arg-player
- execute console command "pex user %arg-player% group set vip"
- set arg 1's tablist name to "&a[VIP] &7%arg-1%"
- set arg 1's display name to "&a[VIP] &7%arg-1%"
- set {rank.%arg-1%} to "VIP"
- if arg-1 is not set:
- message "&c/rank (player) (rank)"
- if arg-2 is not "mod":
- if arg-2 is not "admin":
- if arg-2 is not "moderator":
- if arg-2 is not "reset":
- if arg-2 is not "Builder":
- if arg-2 is not "YT":
- if arg-2 is not "Legend":
- if arg-2 is not "Pro":
- if arg-2 is not "VIP":
- message "&cInvalid Rank"
- message " "
- message "&7Available ranks are:"
- message " "
- message "&cAdministrator"
- message "&eModerator"
- message "&aBuilder"
- message "&5YT"
- message "&6Legend"
- message "&bPro"
- message "&aVIP"
- message "&7&oYou can also use Reset to reset someone's rank"
- if arg-player is set:
- if arg-2 is not set:
- message "&c%arg-player%&7 is %arg-player's prefix%"
- if arg-player is set:
- if arg-2 is "reset":
- message "&c%arg-player%&7 is now a &8Member"
- send "&7You're now a &8Member" to arg-player
- execute console command "pex user %arg-player% group set default"
- set arg 1's tablist name to "&8[Member] &7%arg-1%"
- set arg 1's display name to "&8[Member] &7%arg-1%"
- set {rank.%arg-1%} to "Member"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement