Jump to content

need /freerank skript


ItsMyThijs

Recommended Posts

For stuff like this, in the future, please post under the correct section:

https://forums.minehut.com/forum/12-marketplace/

Also, what plugin are you using for the rank thing? Like LP or PEX or GroupManager?

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

Moved to Marketplace

Joined on January 17th 2016

VIP since April 5 2017 - August 1st 2019

JrMod since August 1st

Mod since October 1st

SrMod since November 2nd - 2/7/21

Patron since February 8 - 3/7/21

Mod since March 8 2021

Retired since idk when

 

    [IMG]    button.png?t=Appeal&f=Calibri-Bold&ts=26&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=10&bgt=gradient&bgc=1d0dea&ebgc=1a0855&be=1 button.png?t=Rules&f=Calibri-Bold&ts=26&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=10&bgt=gradient&bgc=1d0dea&ebgc=1a0855&be=1  

If I helped or entertained you at all today, please react with a heart.

Link to comment
Share on other sites

#Change this
options:
    Ranks: supporter
on first join:
    set {R_:: %player's uuid%} to "True"
command /freerank:
    trigger:
        if {R_:: %player's uuid%} is not set:
            message "&eYou have already gotten this package!"
            stop
        if {R_:: %player's uuid%} is "True":
            set player's group to {@Ranks}
            message "&eEnjoy your free %{@Ranks}%&e!"
            delete {R_:: %player's uuid%}
            stop

command /resetfreerank [<player>]:
    permission: freerank.admin.use
    permission message: &cInsufficient permissions!
    trigger:
        if arg-1 is not set:
            set {R_:: %player's uuid%} to "True"
            message "&eSuccessfully reset player's free rank status!"
        if arg-1 is set:
            set {R_:: %arg-1's uuid%} to "True"
            message "&eSuccessfully reset player's free rank status!"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...