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.
@Lolmewn
even if they accept the rules, after each restart they need to accept the rules again so its kind of annoying :/
I've released v2.5. If the plugin appears to break, you can do two things. Either
:)
@SatansDaughter66
well maybe if they just accept the rules they don't have to accept them ever again ;)
there should be an option where only first time players accept the rules. if they connect alot and always have to accept the rules, itll be annoying to them
Hey Lolmewn and rigor789! i worked pretty hard to make a review of the plugin,i hope you like it! i show how to set it up and demonstrate most of the features!
i was trying to keep it short and informative,i would be very graceful if you put it on this page as a showcase because im right now growing,and a video is sometimes easier for people to see than text so i guess its a win-win situation! thanks!
The link to the video:Video LINK
Thanks, this plugin will come in handy :)
Hi,
i get lots of errors in the Log - posted them in a ticket!
thx
@augesrob
Glad you figured it out yourself ;)
Do you think can include if you accept rules the rank can be changed? Guest to Normal is an example?
Sorry I did not see that function until I saw the config stating pex promote ====
@cobrasvt1999
Well, it's been under review for over a day now... I'm guessing a new member of staff claimed it and a mature member has to recheck it (to make sure the new staff member did things right).
If you know where to find it, you can just download it though :)
@Lolmewn
Any ETA on when this update will get approved?
@Lolmewn
Lol, Its bound to happen to the best of us, no worries, and glad there's a fix!
@cobrasvt1999
Already fixed and uploaded, just awaiting approval. The code was missing an '!' somewhere (facepalm)
Unfortunately the plugin decided to update itself and as soon as the update came though, general chat stopped working entirely... we had to remove the plugin to keep the server chat..
Edit: Upon further testing, with 2.2, all players who have accepted the rules are not allowed to chat, while those who have not are permitted to. the setting for preventing chat is set to FALSE
@Lord_Cuddles
Nothing anymore. That's why I removed it from the documentation.
What does the RulesCmd option in the config do?
I can't seem to find any documentation about it
@FafterCrafter
Just add the console command to the config. Check how to do it on the "Example config" page.
How do you make it use a command where when the player accepts the rule, they get automatically ranked to Builder title?
@Lolmewn
Done :)
@SirWilli
Please make a ticket.
Hey,
can you remove the first message of this:
I think we dont need this message twice.
Could you add a function that the chat is empty from other stuff and he only the notifications from acceptrules is displayed?
And that the player takes no damage if they read the rules?