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.
-
View User Profile
-
Send Message
Posted Jun 24, 2013@FuSe18
@FuSe18
This plugin was not updated for more than a year... I'm quite happy that it still works. I'm not planning on updates sorry. If you need it use it if you don't need it/like it... Obviously don't use it!
-
View User Profile
-
Send Message
Posted Jun 24, 2013This plugin is extremely glitchy and needs fixed. Please update
-
View User Profile
-
Send Message
Posted Jun 24, 2013How come we cannot use colour in the /rules?
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Cedar2000 to set the "AcceptRules" rules list, go to \plugins\AcceptRules\rules.txt and put the rules list there. For color codes you may need to use "§" instead of "&" because of latest minecraft updates. To make the character "§" hold ALT while putting in "21" on the number pad. Hope this helped you set the rules list for AcceptRules.
-
View User Profile
-
Send Message
Posted May 17, 2013@Cedar2000
If you are using the essentials plugin, the rules.txt file is located in "server directory"/plugins/essentials/ . It is usually the 7th file from the top after the motd.txt.
-
View User Profile
-
Send Message
Posted Apr 13, 2013Maybe im just new, but can someone tell me how to set the rules?
-
View User Profile
-
Send Message
Posted Apr 3, 2013can this auto promote people with permissions ex when they accept
-
View User Profile
-
Send Message
Posted Mar 28, 2013@BlueCola
Im really not into updating it but if you want here is the source code: https://github.com/rigor789/AcceptRules
If you change something make sure you contact me about publishing it, thanks!
-
View User Profile
-
Send Message
Posted Mar 28, 2013@Mc_Pasta
Yes.
-
View User Profile
-
Send Message
Posted Mar 22, 2013-
View User Profile
-
Send Message
Posted Mar 3, 2013@rigor789 ,
Could you make a option that even after someone did accept the rules, they cannot build? (Like a "AllowBuildAfterAccept" setting in the config file).
I don't want that new users can build after they accept the rules, I only want to tp them to another place
Hope you can fix this in an upcomming update!
-
View User Profile
-
Send Message
Posted Feb 28, 2013@smeths
Yea, i hope this is updated too!!! :D
-
View User Profile
-
Send Message
Posted Feb 17, 2013@RigiTv
please carry on updating this, i will even help if you need me to
-
View User Profile
-
Send Message
Posted Feb 17, 2013@RigiTv
please carry on updating this, i will even help if you need me to
-
View User Profile
-
Send Message
Posted Feb 9, 2013@jrobi230
Im not really sure if i am gonna ever update this, i havent been coding bukkit things for almost a year, everything changed so much and i dont really want to get into it again as it takes up lot of time :(
-
View User Profile
-
Send Message
Posted Feb 9, 2013@sakura_blades
Yes i know, but the thing you see is caused by another plugin!
-
View User Profile
-
Send Message
Posted Feb 8, 2013I lIke This Plugin Alot It Is Good But IS There Going To Be An Updated Version And More Things To Come Becuase I Think That This Plugin Can Go A Long Way
-
View User Profile
-
Send Message
Posted Feb 7, 2013@rigor789
I am pretty sure I already said I removed the .jar and the folder... There is nothing left of the plugin on the server that I can see... :\ I even did the whole server wipe and left the plugin out when reinstalling stuff. ><
-
View User Profile
-
Send Message
Posted Feb 7, 2013@sakura_blades
Thats really weird, check if your server provider isnt messing the things up... if it happens again go to ftp/plugins delete acceptrules.jar and acceptrules folder... it will not stay there after that... if the problem is still there make sure you dont have another plugin with the same functionallity! :) And btw this plugin wasent updated since march 2012 and im not even sure if i am going to update it ever again. Sorry!
-
View User Profile
-
Send Message
Posted Feb 7, 2013I installed this plugin just fine had no problems with it the first few tests. However it started to act weird. I had a new player come onto my server and they read the rules and typed in the accept command. It announced to me that they had accepted the rules, but they were still unable to speak or do anything at all. So I tried to disable the plugin, I wound up with the same results. The player was still unable to do anything and when attempting to speak was told they had to read the rules in order to do so. So once again I shut the server down and decided to uninstall the plugin and remove any traces of it from my server FTP files. Started the server up again and still the same problems. Players were unable to get past the "accept the rules to talk".
Frustrated out of my mind at this point I decided to do a complete server wipe of everything, all files, permission files, map, everything. (Server not open to public yet) Started the server up without anything installed, seemed to be okay player could talk, and do whatever. So I slowly began to re-add the plugins to the server, omitting this particular one and things were fine, player could speak, destroy and build. I shut-down the server over night and assumed things were fine, that was until I started the server up last night to attempt to prepare spawn. Player logged in to assist me and we discovered once again that they were unable to talk until they accepted the rules... So we checked again, knowing we avoided this plugin it made no sense why it would still be bothering us.... We're still stuck with this annoying "ghosting" of this plugin and are clueless how to fix it.. x.x;