_0090 Posted July 21, 2021 Share Posted July 21, 2021 Hi there, I just wanted to know how to skript ranks for my server. Could anyone help? Thanks -090 Link to comment Share on other sites More sharing options...
Rodney_RWR Posted July 27, 2021 Share Posted July 27, 2021 (edited) Hey I've got a solution although it uses skript you need a few plugins that you should already have! Plugins needed: - Skript (duh xD) - Vault - Luckperms Hopes this helps! ^^ [WARNING] Untested [WARNING] Code: #This is a config type thing Edit stuff past the colons only Options: permmsg: &cNo permission! perm: ranks.grant #If you know how to skript you can fiddle with this part on chat: set chat format to "%player's prefix% %player's nickname% >> %message%" #This command is for giving players a rank! command /grant [<player>] [<text>]: permission: {@perm} permission message: {@permmsg} usage: /grant <player> <rank> trigger: if arg-1 is not set: send "&cSpecify Player!" if arg-1 is set: if arg-2 is not set: send "&cSpecify rank to give player!" if arg-2 is set: execute command "/lp user %arg-1% parent add %arg-2%" Edited July 27, 2021 by ___Rodney_RWR___ fixed code (thx tarna) still untested ------------------------------------------------------------------- NO RANK ALL THE WAY --------------------------------------------------------------------- play.koolkidzmc.com (Velocity + Pufferfish FTW) discord.koolkidzmc.com Spoiler /_(•v•)_7 Link to comment Share on other sites More sharing options...
_Tarna_ Posted July 27, 2021 Share Posted July 27, 2021 3 minutes ago, ___Rodney_RWR___ said: Hey I've got a solution although it uses skript you need a few plugins that you should already have! Plugins needed: - Skript (duh xD) - Vault - Luckperms [WARNING] Untested [WARNING] Code: #This is a config type thing Edit stuff past the colons only Options: permmsg: &cNo permission! perm: ranks.grant #If you know how to skript you can fiddle with this part on chat: set chat format to "%player's prefix% %player's nickname% >> %message%" #This command is for giving players a rank! command /grant [<player>] [<text>]: permission: {@perm} permission message: {@permmsg} usage: /grant <player> <rank> trigger: if arg-1 is not set: send "&cSpecify Player!" if arg-1 is set: if arg-2 is not set: send "&cSpecify rank to give player!" if arg-2 is set: execute command "/lp user %{arg-1}% parent add %{arg-2}%" That command is not gonna work. You are using global variables which you never defined. Think you mean %arg-1% and %arg-2%. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Rodney_RWR Posted July 27, 2021 Share Posted July 27, 2021 yea lol i haven't made a proper skript in ages and didnt test at all i will fix thx ------------------------------------------------------------------- NO RANK ALL THE WAY --------------------------------------------------------------------- play.koolkidzmc.com (Velocity + Pufferfish FTW) discord.koolkidzmc.com Spoiler /_(•v•)_7 Link to comment Share on other sites More sharing options...
_Tarna_ Posted July 27, 2021 Share Posted July 27, 2021 1 minute ago, ___Rodney_RWR___ said: yea lol i haven't made a proper skript in ages and didnt test at all i will fix thx Another thing I just noticed is that %player's nickname% isn't a thing. Just use %player% or %player's displayname% to show the player name. Note that %player's displayname% will also show the prefix and suffix depending on how the permission plugin is set up. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Rodney_RWR Posted July 27, 2021 Share Posted July 27, 2021 (edited) oh yea uhh players nickname is an essentials thing isnt it edit: tarna if you find anthing else thats wrong uhh just delete my comment Edited July 27, 2021 by ___Rodney_RWR___ ------------------------------------------------------------------- NO RANK ALL THE WAY --------------------------------------------------------------------- play.koolkidzmc.com (Velocity + Pufferfish FTW) discord.koolkidzmc.com Spoiler /_(•v•)_7 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