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.
When updating the config to my suiting, saving it, then restarting my server, the config does not save. Can you please help?
@Daxmau5
What's the order in the config?
@Lolmewn
New players spawn in an extra world that we use for mini games and stuff like plugin help, players are in adventure mode in this world. This 4th world has separate inventories from the 3 survival worlds. And all game modes are separate inventories. On accept, the player is teleported to the survival world.
They do receive a message that they received a kit. But without the kit. If a player that already is in the survival world accepts the rules. He does get the kit.
So i think the kit command is just executed too quickly (before the teleportation has finished and MV-inventories has created the correct files maybe?) and they get it in the wrong world or not at all (not sure).
@Daxmau5
Why not? :o
Hey Lolmewn
Plugin is working great for me.
Just one problem with console commands on accept. Could you add a configurable time delay? just a few seconds. I use multiverse core and inventories and how its set up, players don't get their starter kit in the correct world.
Thanks
Daxmau5
@BBoundless
Do you have any other plugins that might be using the /rules command?
Hi, I am having a issue where when a person joins, they do /rules but it says there isnt any rules and when they do /rules 1 is still does not work. And when they do /acceptrules it says that they need to read the rules. Please fix, I need this urgently
i put my lil acceptrules rules under spawn, and when new players join them its putting them above ground, is there a way to fix this?
@blakkember
Try turning off your server, then making the changes, then turning it on again.
@Thliarisse
Please create a ticket for these suggestions :)
@Thliarisse
I agree with the features with after x amount of days they have to re-read the rules.
as for the OP's, just have one of the ops type /acceptrules player <player>
I was wondering, are there any plans to add such features as, a bypass for ops, admins, mods, owners, or just any group we may choose? Maybe a reset interval so that players have to accept rules again every x days, or like once a week or something? I think these 2 features would make this plugin even more useful, i have been searching for a plugin that would provide these features, but it would be nice if they were already included in this plugin since I like it and would like to keep my plugin list from growing any bigger.
@blakkember
Okay, I have been at this for 2 hours trying to disable the auto updater inside the config. But when I do, it automatically saves over it again and enables it. What the?
I just want to use the version that works for 1.7.4, I do NOT want 1.7.9 because it doesn't work with my server.
I am in need of help, it would be greatly appreciated.
@blakkember
Is it because I am running a 1.7.5 server, and trying to run the newest version of AcceptRules?
I am going to try installing the 1.7.4 version.
Hello, not sure if anyone else is experiencing this - but everytime I restart my Server the Config changes I've made do not stay changed, they revert back to the original default settings.
What am I doing wrong?
Thanks,
Gonna work on those new tickets soon. They look pretty useful.
@IrParadox
Please make a ticket for suggestions.
@CloudeLecaw
I understand what you are trying to do. The only way I can see making this work is using a trigger to give perms upon an action that can not be acquired without first reading the rules. But this would require us to be able to remove the perm for /acceptrules.
Is there a way to remove players permission to use the /acceptrules command? I am working on something and I would like to use this plugin for it. But I don't want to allow users to use that command until they use a sign to get that permission.
@IrParadox
Please make a ticket!
@CloudeLecaw
This plugin doesn't even have a rulesbook. Also, pretty sure that's not possible.
Lolmewn, A good addition for this plugin would be a way for players to be forced to have to read the rules again. An admin command or something that can be put in the perms. This would be nice. I do not see anything of it in your permissions section. Thank you.
If a updated version is waiting to be approved, I'll just
@Lolmewn
I hope it gets approved soon! :)