AcceptRules
AcceptRules - Made by rigor789, recoded by Lolmewn
What does this plugin do?
This plugin makes sure all players have accepted the rules before they can start playing.
The plugin is highly customizable, you can change everything around to your own liking!
Missing something? Make a ticket!
Other features
- Teleporting the player after accepting the rules (can be turned on/off in config)
- Teleporting the player on first spawn (can be turned on/off in config)
- Remembers if the user has accepted the rules
- Block building/breaking of blocks until player accepts the rules (can be turned on/off in config)
- Block commands, except for /rules and /acceptrules of course, until player accepts the rules (can be turned on/off in config)
- Forces the player to read the rules! Can't accept them before reading them!
- Send messages to OP's or players with permission node when someone accepts the rules!
- Let the player or console perform commands upon acceptation of the rules! Use %PLAYER% to add the playername to the command.
- Multiple pages of rules, you have to read all of them before you can do /acceptrules!
How to install
Installation of the plugin is dead simple. Simply download the plugin and drag it into your 'plugins' folder in the root directory of your server. Just like any other plugin!
Configuration
For a how-to on doing your configuration,click here!
Commands and Permissions
All permission nodes default to OP
Command | Permission | Description |
---|---|---|
/rules | Lets the user read the rules of the server. You can specify what rules will be shown in the /plugins/AcceptRules/rules.yml file | |
/acceptrules | Accept the rules. The /rules command must be run prior to this command | |
/acceptrules settp | acceptrules.settp | This command sets the spawning point players are teleported to when they accept the rules, and this function is enabled in the config |
/acceptrules setspawn | acceptrules.setspawn | This command sets the spawning point for players joining for the first time, if this function is enabled in the config |
/acceptrules reload | acceptrules.reload | Reloads the rules and users files |
acceptrules.notifyonaccept | When a player accepts the rules, all users with this permission node will be sent a message, telling the user that the rules were accepted by that player | |
/acceptrules player <player> | acceptrules.acceptForOthers | Accepts the rules for player <player>, as requested by ticket #14 |
/acceptrules reset <player/all> | acceptrules.reset | User has to re-read and accept the rules. Use all if you want everyone to re-accept the rules |
Multi-page setup
#This is page one 1: - "&2Rule one" - "&2Rule two" - "&2Rule three" #page two! 2: - "&2Rule four" - "&2Rule five" ...etc
Metrics
This plugin utilises a plugin metrics system, which means that the following information is collected and sent to bstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
If you wish to disable this feature (/me cries), you can do so by opt-ing out, which you can do in the config file under /plugins/bStats/
Auto-updater
This plugin has a built-in auto-updater, which connects to BukkitDev to check for updates. If you, for some reason, wish to disable this process, you can do so by setting 'update' to false in the plugins' settings file.
Changelog
You can find the changelog over at our changelog page.
@GoopyComet
Heh, it seems like it completely ignored all my code changes and just built the old version. Releasing the one with the code changes now.
@GoopyComet
Hmm... Lolmewn will most likely fix it ASAP. Until that I suggest you remove it temporarily.
@GoopyComet
nope i guess not.. since i am owner it worked after about 10 tries but its still not working for anyone else.. they keep accepting rules but then it says they still have to accept rules.. guess its got to go :(
@GoopyComet
nevermind.. i think my bukkit update had the v2.0 in it which didnt work.. i manually uploaded the v2.0.1 and it is working fine now.. that was a close call.. i dont know what i would have done with out this plugin.. it has been a life saver since i discovered it about 7 months ago
not sure what you did to the update but it is broken now... everyone has to re acceptrules.. even me.. and after i accept it says thank you for accepting the rules.. i go to do something and it says you have to accept rules first after i allready did 4 times in a row... this is now horrible.. was the best plugin i had now is the worst since no one on my server can do anything.. its unfortunate i have to now spend time looking for a new rules plugin for my server and discontinue this one
@SamzRulez
If you click the link for my comment you can see it, but here you go: here
@RigiTv
When was I? I don't remember this?
@SamzRulez
You were advertising your plugin over here too. Don't be annoyed if we do the same.
@Lolmewn
I'm not getting mad, it annoys me. What is the need to advertise? If people need a plugin they search for it.
@SamzRulez
So just tell me, no need to get mad.
No you cannot post a link to this plugin just because I'm not updating mine anymore!
@Lolmewn
Awesome. :) Thanks for updating it! I'm currently working on other plugins, so I might release some fun stuff. :)
BETA version 2.0 released.
Use this version with caution. Make a backup first (as always) of all your important files, then install the update.
It should work with your old config and old files.
If you find a bug, please report it using the 'Ticket' tab above. Bugs will not be replied to in the comments section.
Thank you for using AcceptRules, I will update the main page soon with the latest description.
Very happy that this plugin is being updated again.
It's the only one (that I've found) that allows me to have the rules the way I want it. On our server when a player types /rules they are given a book with the rules typed instead of page after page in the chat.
Thanks again Lolmewn
@gdude2002
I was on vacation, but now I am back. I am pretty much finished with the rewrite, only thing left is pretty much testing. If you want to help, send me a pm ;)
@Lolmewn
@RigiTv
So.. Getting an EventException on player join, apparently caused by the plugin trying to register events when disabled. The plugin is /not/ disabled, however, and the /acceptrules command works fine.
Seems to be AcceptRulesListener.java, line 56.
Is there no build server or available source code for this? It looks like the update is taking quite a long time, but we /really/ need this plugin to work properly.
@Lolmewn
Yes, he is gonna update it! Hope you guys will still download it!
Don't worry guys, I'll be developing this soon!
@cubecraftz
You could of PM that you know?
@rigor789 Well, If you need a coder or someone that knows Java and C, PhP. I can recode this plugin as i get credit for it.