Inactive [SEC] Rules v1.1 - Whitelisting via Rules [1240]

Discussion in 'Inactive/Unsupported Plugins' started by DigitalTyrant, Mar 19, 2011.

  1. Offline

    DigitalTyrant

    Rules - Whitelisting via Rules

    Version: 1.1 [jar]
    CraftBukkit: [b1240jnks]
    Description: Rules is a plugin that allows system administrators to deliver rules using a command.
    Administrators can disable build/destroy and chat until a visitor has accepted the rules.​

    Files (open)
    Rules.jar: Main plugin file


    Rules/rules.txt: File containing your server's rules. Can be colorized using the codes below.
    Automatically generated.​

    Rules/config.yml: File that stores settings and User status, layout and options below.

    Automatically generated.​
    config.yml (open)
    AllowChat: [true/false]
    Specifies whether a user can chat before accepting rules.​

    AllowBuild: [true/false]

    Specifies whether a user can build/destroy before accepting rules.​

    ShowOnLogin: [true/false]

    Specifies whether a login message is displayed reminding users that have not accepted the rules to do so. Useful if an motd plugin is in use.​

    LoginMessage: Message

    Message to be displayed if ShowOnLogin is set to true.​

    MessageColor: '&b'

    Defines default color for messages related to the Rules plugin.​

    Users:

    Username:
    Shown: [true/false] - Set to true when a user has been shown the rules​
    Accepted: [true/false] - Set to true when a user accepts the rules​

    Default values are bolded.
    Commands (open)
    /rules

    Displays server rules to the user. Sets Shown to true for that user in config.yml​

    /acceptrules

    Command used to accept rules. User must first view rules in order to accept them. Sets Accepted to true for that user in config.yml​


    /disablerules
    Command to allow an Op or authorized user via Permissions plugin to disable the Rules plugin. Designed for debugging. Server must be reloaded using /reload by an Op, reload from console, or by restarting the server in order to re-enable the Rules plugin. Currently in development.​

    /rulesviewed username

    Command to allow an Op or authorized user via Permissions plugin to view whether a user has seen the rules. Currently in development.​

    /rulesaccepted username

    Command to allow an Op or authorized user via Permissions plugin to view whether a user has accepted the rules. Currently in development.​
    Changelog:
    Version 1.1 - [jar]
    fixed inaccurate version number reported in console​
    rule.txt is now created upon first run​
    updated event handler for CraftBukkit RB #617​
    disabled running of /acceptrules from console​
    cleaned code, removing and rearranging​
    fixed potential issue with Ops accepting rules​
    added command /disablerules​
    added command /rulesviewed​
    added command /rulesaccepted​

    Version 1.0 - [jar]
    Initial Release!​


    Thanks and Enjoy!
     
    Zacky1 and joby890 like this.
  2. Offline

    noahk11

    Please update this for build 740!
     
  3. Offline

    FrozenSUSHI

    When used together with the HeroChat plugin all messages will appear twice once in the correct HeroChat chan and a 2nd time in the regular MC chat. right now you can only avoid this problem by setting AllowChat: false.

    I'd be grateful for any hint on how to fix this problem ... or maybe the plugin author could fix it?

    Otherwise great plugin!
     
  4. Offline

    noahk11

    Its working now on build 740
     
  5. Offline

    Chekkaa

    Great plugin, thanks!
     
  6. Offline

    DigitalTyrant

    You're welcome :)
     
  7. Offline

    ledhead900

    Request
    Spanning over multiple pages like essentials /info does, Infact if you could get this to accept reading other rules such as maybe typing /info rules then having it check if u did that and add the /accept to that it would be great.

    Really needs Multiple pages and also so accept only works if u read all pages. For me I really need it to span 1 and 1/2 a page.
     
  8. Offline

    Junrall

    Hi,
    I love this plugin! One of the best out there!!

    It would be great if you could make it so that doors can't be opened if a player hasn't accepted the rules.
     
  9. Offline

    DigitalTyrant

    @ledhead900
    I may do this. There are a few more additions I would like make to this plugin. Both are good ideas.
     
  10. Offline

    DeltaDevil

    Please update this to work with build 818.
     
  11. Offline

    noahk11

    Its working for me on 818
     
  12. Offline

    DeltaDevil

    Oh, does not work for me, when i type /rules nothing comes up.
     
  13. Offline

    noahk11

    Try re-installing it
     
  14. Offline

    Jawdan

    Please make rules pages.

    Like /rules 1 for page 1 and /rules 2 for page 2.
     
  15. Offline

    DeltaDevil

    Ok, it was not updated, now works, i had to edit some files in eclipse to get it to work. Thanks anyways
     
  16. Offline

    Chekkaa

    Hey Delta, mind sending that to me? I'm kinda stupid with Java still and I'd like a version where /rules actually works. :D
     
  17. Offline

    DigitalTyrant

    :confused: u mean of the 2 versions ever created neither have worked? -- You make it sound like I keep releasing broken versions lol...
     
  18. Offline

    Tyres

    Pages would be awesome. One page is too little.
     
  19. Offline

    Ghostetr

    just found this plugin now and would be realy great to use :D
    are u gonna upate it for 1.6.6 any time soon?
    //Ghostetr
     
  20. Offline

    Clem

    anyway you could make it run a command when they accept? like have a fake user who is an admin promote them?
     
    Nlioc4 likes this.
  21. Offline

    duhfux

    I think it would be a good idea to give this plugin the option to change the permission group of a user who accepts the rules. There's much more I'd want members to be able to do after accepting the rules.
     
  22. Offline

    Nlioc4

    Seconded
    Also, is it possible to prevent the user from moving until they have accepted the rules? Even better would be to prevent them from moving out of a set area.

    EDIT
    I have found a bug, when your using Herochat, all chat shows up twice, once by Herochat and once by this plugin. I think Herochat has some sort of API, you should check it out. That would be awesome if you could get it working with HeroChat
     
  23. Offline

    iMattxC

    it is showing my commandbook rules and keeps showing the default chat AND herochat when typed... :/

    I think there is a problem with this and Herochat

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  24. Offline

    duhfux

    I sort of have a temporary fix for promoting. on my server users can pay 30 money (starting money) to become a member. They execute the command by clicking a sign
     
  25. Offline

    sillyrosster

    This is what I've been Looking for, thank you!
     
  26. Offline

    GmK

    @DigitalTyrant

    Any plans to work on this a bit more? Especially the incompability with HeroChat kills it for many servers, as all chat is shown twice. I wonder if there could be a workaround?
     
  27. Offline

    DigitalTyrant

    I haven't had a chance to revisit this yet, but yes, I do plan on working through a few things. I know there are some methods that I can change and it should remove the duplicate messages. I will download HeroChat and do some testing.
     
  28. Offline

    GmK

    Fantastic and no hurry/worries, pplus is a good priority ;)
     
  29. Offline

    ostepop2211

  30. Offline

    DigitalTyrant

  31. Offline

    joby890

    Any
    still being work or is it fixed
     

Share This Page