MMCRules [1.2] - Force players to read and accept the rules


#1

Description

This plugin is designed to force users to read and accept the rules of the server before being able to do certain actions. (configurable)

This plugin features bStats

Github

Features

  • Configurable restrictions for not accepting the rules
  • Configurable feedback messages
  • Reset a single player or everyone to accept the rules again
  • Option to teleport a player after accepting the rules

Permissions

  • mmcrules.commands.settp - Set the teleport location for when a player accepts the rules
  • mmcrules.commands.reset - Force a player to read and accept the rules again
  • mmcrules.commands.resetall - Force all players to read and accept the rules again
  • mmcrules.commands.acceptfor - Accept the rules for a player

Commands

  • /rules
  • /acceptrules
  • /mmcrules settp
  • /mmcrules reset (player)
  • /mmcrules resetall
  • /mmcrules acceptfor (player)

Example of /rules


Default message for when a player attempts to build before accepting rules (in enabled)

Download

Releases

Source

Donate

If you like what I do, Please consider giving a donation, every little helps! :slight_smile: Donate


#2

Great plugin! I was wondering if it was possible to support links though? I have put a rules summary on /rules but have a more detailed version on our website which I'd like to link them to, if they're interested in reading.


#3

Ill look into it :slight_smile:


#4

V1.1

  • Option to display a header above the rules in /rules

Download

Releases

Source

@SnowBlitzz Im sure this will fit your needs, You can now display text above the rules, which can send users to a URL when clicked :slight_smile:


#5

Thanks! I'll try it out


#6

Should add some screenshots to the OP post displaying what this looks like. Cheers.


#7

Just went and did this, thanks for suggesting :smiley:


#8

Could this be a full replacement for "Rules Agreement"?


#9

Interesting, It doesn't work in the same way but it is the same principle.

If there is anything you would personally like to see added, put it on the github issues page and i will see what i can do.


#10

I would just like to see see "Accept" and the "Deny" Buttons / Links.


#11

https://pastebin.com/9Kxyvicd

Hello, there seems to be a problem if i use the {player} thing in console command


#12

Could you send me a copy of your config for this error?


#13

https://pastebin.com/sWAgV10T


#14

Try surrounding it with " " , Im assuming that being a json type format file, it is confusing the { } for something it isnt


#15

You mean “{player}”? Or the whole command “lp blah blah {player}”


#16

For the entire line: “blah blah {player} blah blah”


#17

Hey I was wondering if there’s a way to make the players invisible until they accept the rules?

Since I had them set to not be able to move until they accept, there are times when there’s 2 people joining at once and that kinda blocks the view for both of them.


#18

That’s a cool idea, ill look into it, shouldn’t be too hard to achieve :slight_smile:


#19

Awesome! Thanks for considering it xD


#20

This is very nice and i would defently use it however it lack 2 features who could be awesome to have.

Feature 1: Move the player to a usergroup when he type /acceptrules
Feature 2: being able to make command aliases so you could have multiple commands to execute /rules. i am danish and would like to have it as /regler instead of /rules :wink: