TankSniperD Posted September 9, 2021 Share Posted September 9, 2021 Here is the Rank Skript: options: noPerm: &c&lRANKS &8| &cNo permission. prefix: &c&lRANKS &8| on join: if {rank::%player's uuid%} is not set: set {rank::%player's uuid%} to "default" on load: set {modPrefix} to "&e&lMOD" set {adminPrefix} to "&c&lADMIN" set {ownerPrefix} to "&4&lOWNER" set {defaultPrefix} to "&7&lDEFAULT" set {traineePrefix} to "&6&lTRAINEE" set {builderPrefix} to "&9&lBUILDER" set {developerPrefix} to "&b&lDEVELOPER" set {managerPrefix} to "&c&lMANAGER" set {ranks::*} to "ADMIN", "OWNER", "MOD" , "HB" , "DEFAULT" , "TRAINEE" , "BUILDER", "MANAGER" and "DEVELOPER" command /rank [<text>] [<offline player>] [<text>]: permission: ranks.set permission message: {@noPerm} aliases: grant, setrank trigger: if argument 1 is not set: send "&6&m&l--------------------" send "&e/rank set (player) (rank) &8» &7Sets a player's rank." send "&e/rank list &8» &7Shows a list of all the groups on the server." send "&6&m&l--------------------" else if argument 1 is "set": if arg 2 is not set: send "{@prefix} &7Please specify a user to set the rank for." stop if {ranks::*} does not contain arg 3: send "{@prefix} &7That is not a role. Do &e/rank list &7to see the roles available." stop loop {ranks::*}: if arg 3 is loop-value: set {rank::%uuid of arg 2%} to {%loop-value%Prefix} send "{@prefix} &e%arg-2%&e's &7rank is now to set to %{%loop-value%Prefix}%&7." send "{@prefix} &7Your rank has been set to %{%loop-value%Prefix}%&7." to argument 2 stop else if argument 1 is "list": send "&6&m&l--------------------" loop {ranks::*}: send "%{%loop-value%Prefix}%" send "&6&m&l--------------------" The Rank Variable for a Custom Chat Skript is {rank::%player's uuid%} Enjoy The Skript 1 Skript Developer Joined Minecraft in 2016 on Bedrock Edition Joined Minecraft in 2020 on Java Edition Joined Minehut in December 2020 5 years Skript experience Link to comment Share on other sites More sharing options...
pnguin Posted September 9, 2021 Share Posted September 9, 2021 Pretty good skript to use! Only that you would have to code the permissions for it though I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
TankSniperD Posted September 12, 2021 Author Share Posted September 12, 2021 Thanks! To be honest I have ZERO clue how to make permissions so I use luckperms.... Skript Developer Joined Minecraft in 2016 on Bedrock Edition Joined Minecraft in 2020 on Java Edition Joined Minehut in December 2020 5 years Skript experience Link to comment Share on other sites More sharing options...
pnguin Posted September 12, 2021 Share Posted September 12, 2021 9 hours ago, TankSniperD said: Thanks! To be honest I have ZERO clue how to make permissions so I use luckperms.... Probably variables or smth I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now