[Short] Rank/Rule accept

Discussion in 'Archived: Plugin Requests' started by MajikalBlood, Nov 5, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    MajikalBlood

    Hey, I'm running a small server that only has 2 player ranks; Guest and User.

    What I would like is either a Sign plugin or using something like "/user" so when a Guest rank clicks the sign or types "/user" they will get a message saying...

    "In order to play here you need to accept the Rules Agreement."
    "Do you accept? Yes or No"

    and need to say in chat "Yes" or "No"; If they say Yes a pex command will run changing them to the next rank however if they say No they will be kicked from the server.

    Please let me know if you can do this.

    P.S. Message format customization would be a bonus and appreciated
     
  2. Offline

    MajikalBlood

    Any luck with this?
     
  3. Offline

    msnijder30

    Heya I was working on this :D
    here you go:
    <Edit by Moderator: Redacted mediafire url>

    the command is /user.

    You have:
    /user yes to accept
    /user no to decline.

    it also has a custom config and it is possible to use color codes. Please tell me what you think of it!

    Alright you can download it now.
    I forgot to add an input. Now you can do for example "pex user %user% add member" and %user% will be the person performing the command.
     
    Last edited by a moderator: Oct 31, 2016
  4. Offline

    MajikalBlood

    [quote uid=90576907 name="msnijder30" post=2875309]Heya I was working on this :D
    here you go:
    <Edit by Moderator: Redacted mediafire url>

    the command is /user.

    You have:
    /user yes to accept
    /user no to decline.

    it also has a custom config and it is possible to use color codes. Please tell me what you think of it!

    Alright you can download it now.
    I forgot to add an input. Now you can do for example "pex user %user% add member" and %user% will be the person performing the command.[/quote]
    Will it only work for a specific rank or can I use a permission?
     
    Last edited by a moderator: Oct 31, 2016
  5. Offline

    msnijder30

    MajikalBlood
    It does not require a permission to use the command. Would you like one? If that's the case, do you have a permission you would like me to use?
     
  6. Offline

    MajikalBlood

    a simple permission such as rules.use or something like that would be fine; I just don't want people who already agreed to it to be able to use it again once they are User or higher.

    PS a small bug with the config.
    When I use color formats on the first word for the message it removes it;
    This
    Code:
    &aIn order to play here you need to accept the Rules. Type &6/user yes &ato accept the rules or &7/user no &ato decline them.
    Becomes...
    Code:
    order to play here you need to accept the Rules. Type &6/user yes &ato accept the rules or &7/user no &ato decline them.
     
  7. Offline

    msnijder30

    [quote uid=90691329 name="MajikalBlood" post=2876211]a simple permission such as rules.use or something like that would be fine; I just don't want people who already agreed to it to be able to use it again once they are User or higher.

    PS a small bug with the config.
    When I use color formats on the first word for the message it removes it;
    This
    Code:
    &aIn order to play here you need to accept the Rules. Type &6/user yes &ato accept the rules or &7/user no &ato decline them.
    Becomes...
    Code:
    order to play here you need to accept the Rules. Type &6/user yes &ato accept the rules or &7/user no &ato decline them.
    [/quote]


    Alright I will add something that will do that :)
    and for the config file, I think if you put the sentence in ' sentence here ' it should work.

    Alright new download:
    <Edit by Moderator: Redacted mediafire url>
    people who already did the command won't be able to do it again.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 31, 2016
  8. Offline

    MajikalBlood

    [quote uid=90576907 name="msnijder30" post=2876385]Alright new download:
    <Edit by Moderator: Redacted mediafire url>
    people who already did the command won't be able to do it again.[/quote]
    You should totally perfect the plugin and release it for the public :3
     
    Last edited by a moderator: Oct 31, 2016
  9. Offline

    msnijder30

    MajikalBlood
    Haha I might, I am near my computer on monday again so I can work on it then. Anything else you would want to have it?
     
  10. Offline

    MajikalBlood

    Well if you're able to do it would you be able to impliment the saying "Yes" or "No" in chat thing instead of needing to type "/user yes" or "/user no"?
     
  11. Offline

    msnijder30

  12. Offline

    msnijder30

    MajikalBlood
    Hello I worked on it again :) and it worked. here you go
    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Oct 31, 2016
  13. Offline

    MajikalBlood

    [quote uid=90576907 name="msnijder30" post=2881629]MajikalBlood
    Hello I worked on it again :) and it worked. here you go
    <Edit by Moderator: Redacted mediafire url>
    Works but a small bug; They can't just say "Yes" or "No" it has to be "yes" or "no"
     
    Last edited by a moderator: Oct 31, 2016
  14. Offline

    msnijder30

    MajikalBlood
    oh that's a stupid mistake on my side

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Oct 31, 2016
  15. Offline

    MajikalBlood

    [quote uid=90576907 name="msnijder30" post=2882745]MajikalBlood
    oh that's a stupid mistake on my side

    <Edit by Moderator: Redacted mediafire url>
    Thanks lol
     
    Last edited by a moderator: Oct 31, 2016
Thread Status:
Not open for further replies.

Share This Page