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.
What You Should Do Is Have Like Page 1 Or Page 2 Like but it in the rules config it would be easier because these are my rules:
Read All Rules To Build And Move
====================================
Rule #1
Do NOT Hack
====================================
We Have Anti Hacking Plugins And Hacking
Detectors We Advise To NOT Hack
At All Costs Or Serious Consequenses Will
Be Taken!
Rule #2
Respect All Staff
====================================
Respect All Staff Do Not Make Fun Of Them
Or Say Stuff About Them Behind Their Back
Our Staff Can Report Them To MarioDSVideos
Or Megawesome01 And You'll Be Banned For
5 Hours!
Rule #3
DO NOT Advertise
====================================
Do Not Advertise About Other Servers! Or
You Will Be Muted The First Time And The
Second Time You Will Be BANNED!
Rule #4
DO NOT Ask For Ranks/Classes
====================================
Do Not Ask For Ranks Like CitizenX Or
Moderator Or Op You Will Be Banned If
You Do!
Rule #5
Do Not Over Curse Or Be Racist In Chat!
====================================
We Allow Curse But There Is A Limit!
Also DO NOT Be Racist In Chat You Will
Be Banned Or Muted Depending What You
Said!
@SamzRulez
What plugin?
Hi. I was wondering if at any point soon, if you are going to update this plugin to meet the standards for 1.3.2 R1. Also, does anyone know if this works with 1.3.2 R1 and/or R2, because I plan on upgrading my server soon and I just want to make sure this won't cause any issues.
Update? :o
@Kingrobichaud
If They Accept The rules First, They will not read them and just do /acceptrules
@Pato51423
Try to use xAuth and put this in the xAuth's whitelist to use these commands and after they accept the rules they can register and login :)
Hello, I have AuthMe and when someone login for the first time, they can't do /register [password]. Please make a vid on how to Whitelist commands.
Kind Regards, Pato
nice plugin, i'll be using it but i wish it worked well with permissionsex. i wish that the user could join as guest, and then be promoted to member once they accept the rules, but for now i'll just make everyone auto member.
thanks again
@ZathrasNotTheOne
I did not abandon but im not having time for this. if i get time ill probably do an update!
3 months old... i'd say rigor has abandoned. Probably doesn't want to deal with the new event system.
update?
@RigiTv
Would like to see the ticket you requested at least reviewed...
would it be possible to force them to read + accept the rules, AFTER signing up/logging in with Xauth?
Would it be possible for Permission Groups to be supported?, For example, a user says "/acceptrules" and they are promoted to the group "Standard Member".
Thanks.
@Galexrt
Make sure you have set builtinrulesmanager to true!
@pricey123
There was a try for that, but it looked really buggy so i removed it. Maybe i'll add it again!
Could You Make It So In The Config File People arent able to move until they have accepted the rules? Other Than That Amazing Plugin Will Definately Add This To Server Now
i have the problem that your plugin isnt overwritting the essentials /rules command. I added /rules to the overriden commands list but it hasn't worked yet.
@Smiley43210
Thanks :)
@rigor789
I guess I'll hang around a bit and help out here and there where I can. I created a ticket for jaredlivingstone based on his comment.
@jaredlivingstone
PLEASE post as a ticket!!