Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {totaljoins} = 1
- options:
- name: &6Gravestone &7»
- #CHAT FORMATTING--------------------------------
- on chat:
- if {rank::%player's uuid%} is not "&5[VIP]" or "[DEFAULT]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%message%"
- if {rank::%player's uuid%} is "&5[VIP]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &7%message%"
- if {rank::%player's uuid%} is "[DEFAULT]":
- set chat format to "&7%player% &7» &7%message%"
- if {rank::%player's uuid%} is "&C[ADMIN]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%colored message%"
- if {rank::%player's uuid%} is "&3[BUILDER]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%message%"
- if {rank::%player's uuid%} is "&6[SR.MOD]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%message%"
- if {rank::%player's uuid%} is "&6[MOD]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%message%"
- if {rank::%player's uuid%} is "&6[JR.MOD]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%message%"
- if {rank::%player's uuid%} is "&D[BETA]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &7%message%"
- if {rank::%player's uuid%} is "&C[DEV]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &f%message%"
- if {rank::%player's uuid%} is "&9[MH]":
- set chat format to "%{rank::%player's uuid%}% &7%player% &7» &7%message%"
- ################################################################################################################
- variables:
- {totaljoins} = 1
- options:
- name: &6Gravestone &7»
- #RANKS----------------------------------------------------------------------------------------------------------------------------------
- command /rank [<offline player>] [<text>]:
- trigger:
- if sender is "McThistle2" or "DependencyJr" or "xMuel" or "Pndq":
- if arg 1 is set:
- if arg 2 is "admin":
- set {rank::%arg 1's uuid%} to "&C[ADMIN]"
- execute console command "pex user %arg-1% group set admin"
- send "{@name} &3You have set %arg 1%&3's rank to &c[ADMIN]&3!" to player
- send "{@name} &3Your rank has been set to &c[ADMIN] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "dev" or "developer":
- set {rank::%arg 1's uuid%} to "&c[DEV]"
- execute console command "pex user %arg-1% group set dev"
- send "{@name} &3You have set %arg 1%&3's rank to &C[DEV]&3!" to player
- send "{@name} &3Your rank has been set to &C[DEV] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "builder":
- set {rank::%arg 1's uuid%} to "&3[BUILDER]"
- execute console command "pex user %arg-1% group set builder"
- send "{@name} &3You have set %arg 1%&3's rank to &3[BUILDER]&3!" to player
- send "{@name} &3Your rank has been set to &3[BUILDER] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "srmod" or "senior mod" or "seniormod" or "sr.mod":
- set {rank::%arg 1's uuid%} to "&6[SR.MOD]"
- execute console command "pex user %arg-1% group set srmod"
- send "{@name} &3You have set %arg 1%&3's rank to &6[SR.MOD]&3!" to player
- send "{@name} &3Your rank has been set to &6[SR.MOD] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "mod" or "moderator":
- set {rank::%arg 1's uuid%} to "&6[MOD]"
- execute console command "pex user %arg-1% group set mod"
- send "{@name} &3You have set %arg 1%&3's rank to &6[MOD]&3!" to player
- send "{@name} &3Your rank has been set to &6[MOD] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "jrmod":
- set {rank::%arg 1's uuid%} to "&6[JR.MOD]"
- execute console command "pex user %arg-1% group set jrmod"
- send "{@name} &3You have set %arg 1%&3's rank to &6[JR.MOD]&3!" to player
- send "{@name} &3Your rank has been set to &6[JR.MOD]&3 by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "mh" or "minehut":
- set {rank::%arg 1's uuid%} to "&9[MH]"
- execute console command "pex user %arg-1% group set minehut"
- send "{@name} &3You have set %arg 1%&3's rank to &9[MH]&3!" to player
- send "{@name} &3Your rank has been set to &9[MH] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "vip":
- set {rank::%arg 1's uuid%} to "&A[VIP]"
- execute console command "pex user %arg-1% group set vip"
- send "{@name} &3You have set %arg 1%&3's rank to &A[VIP]&3!" to player
- send "{@name} &3Your rank has been set to &A[VIP] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "beta":
- set {rank::%arg 1's uuid%} to "&d[BETA]"
- execute console command "pex user %arg-1% group set beta"
- send "{@name} &3You have set %arg 1%&3's rank to &d[BETA]&3!" to player
- send "{@name} &3Your rank has been set to &d[BETA] &3by &3%player%&3!" to arg 1
- set arg 1's tablist name to "%{rank::%arg 1's uuid%}% &7%arg-1%"
- if arg 2 is "default" or "regular":
- set {rank::%arg 1's uuid%} to "[DEFAULT]"
- execute console command "pex user %arg-1% group set default"
- send "{@name} &3You have set %arg 1%&3's rank to default&3!" to player
- send "{@name} &3Your rank has been set to default &3by &3%player%!" to arg 1
- set arg 1's tablist name to "&7%arg-1%"
- if arg 2 is not "default" or "regular" or "beta" or "vip" or "mh" or "minehut" or "jrmod" or "Junior" or "Jr.Mod" or "mod" or "moderator" or "srmod" or "senior mod" or "seniormod" or "sr.mod" or "builder" or "dev" or "developer" or "admin":
- send "&cPlease select a valid rank!"
- else:
- send "&cPlease select a player!"
- else:
- send "&cError! You don't have permission to use this command!"
- on join:
- wait 3 ticks
- if {rank::%player's uuid%} is not set:
- set {rank::%player's uuid%} to "[DEFAULT]"
- set player's tablist name to "&7%player%"
- if {rank::%player's uuid%} is "&C[ADMIN]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&C[DEV]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&6[SR.MOD]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&6[MOD]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&3[BUILDER]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&6[JR.MOD]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&A[VIP]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&9[MH]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "&d[BETA]":
- set player's tablist name to "%{rank::%player's uuid%}% &7%player%"
- if {rank::%player's uuid%} is "[DEFAULT]":
- set player's tablist name to "&7%player%"
- on chat:
- if message contains "@everyone" or "@here" or "@moderator" or "@administrator" or "@developer" or "@senior moderator" or "@junior moderator" or "@builder" or "@building manager" or "@staff manager" or "@community manager":
- cancel event
- send "&cPlease don't ping people!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement