Mineuniverse
Log in Register
Plugins

WorldRules

A plugin for Bukkit based Mnecraft servers that provides a per-world /rules command
by _ForgeUser6967060
Download Claim this project
9,276 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Informational

WorldRules

Description

This plugin was created for my public server and is being released because it seems like there is no other way to do this. Essentially it will add a /rules command that is specific to the world the player is currently in allowing you to define rules that are only effective in a specific world. The config file allows you to defined global rules (shown in all worlds), world specific rules and set if you want the rules to be shown when a player enters a world or not.

Bug Reports / Suggestions

If you find a bug, encounter a problem or have a suggestion, please fill out a ticket via the Tickets link above. I do not have the time to read through the comments section, any comment that fits the previous three categories will be ignored.

Commands

/rules - This command shows the rules to the player, they must have the permission worldrules.rules.show which will default to true for all players.

/worldrules reload - This command will reload the rules from the config file, it requires the permission worldrules.rules.reload which defaults to ops only.

Config File

The config file will be generated on the first run of the server with the plugin installed, it is fairly self explanatory and will look a bit like this

settings:
  rules-on-enter: true
  header-colour: DARK_GREEN
  rule-colour: GREEN
global-rules:
- Don't be evil
world-rules:
  world:
  - Don't do bad things
  world_nether:
  - Don't break blaze spawners

The world-rules setting contains a section for each world on the server, under each of these sections you can add rules that only apply to that world. Leaving a section blanks means that only the global-rules will apply. The global-rules section contains a list of rules that will be shown in all of the worlds on the server. Finally the rules-on-enter setting controls whether the rules should be shown when a player enters a world or not and the two colour settings allow you to change the colours used in the rules message.

Contributing

Contributions to the project are very much welcome, if you have a feature that you want implemented and know a nice way to do it then consider forking the repo and submitting a pull request. These will be accepted as long as the following simple guidelines are followed.

  • Do not edit the structure of the pom.xml file, feel free to add a dependency if you need it but the formatting and structure should not be changed.
  • If you are exposing a new API method, add a JavaDoc comment to it, but don't over-comment internal code.
  • Follow the existing code style, don't antagonise over every space though !

All dependencies that are used are now available from a public Maven repo, so you don't have to worry about building several other projects just to add a simple change any more.

Source Code

Available on GitHub

Dev Builds

Changes Since Last Release

Download

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

http://bukkit.jacekk.co.uk:8000/job/WorldRules/

Download Stats

View detailed stats

v0.7
MC 1.3.2
Release 2012-09-14 Get
v0.6
MC 1.3.1
Release 2012-02-05 Get
v0.5.3
MC CB 1.1-R1
Release 2012-01-27 Get
v0.5.2
MC CB 1.1-R1
Release 2012-01-26 Get
v0.5.1
MC CB 1.0.1-R1
Release 2012-01-18 Get
v0.5
MC CB 1.0.1-R1
Release 2012-01-16 Get
v0.4.2
MC CB 1.0.1-R1
Release 2011-11-02 Get
v0.4.1
MC CB 1337
Release 2011-10-29 Get
v0.4
MC CB 1337
Release 2011-10-28 Get
v0.3
MC CB 1317
Release 2011-10-14 Get
v0.2
MC CB 1240
Release 2011-09-05 Get

More from _ForgeUser6967060

InfinitePlots
88,230
AlmostFlatLands
7,867
SimpleIRC
4,984
InfiniteLiquids
3,886
SkylandsPlus+
337,173
Texture Pack Gallery
3,051

You Might Also Like

Craftipedia
Craftipedia - View crafting recipes in-game!
97,126
Dynmap-AdminCmd
Show homes/warps from AdminCmd on Dynmap maps
9,912
ClockSign
Create signs that show the time of your world(s), or real-life timezones
9,789
PingNachricht
A easy to use PlayerCounter edit-plugin
9,687
VillageInfo
Displays info about current village
9,596
Askyblock-holostats
Display the top10 players from Askyblock plugin as a hologram
9,538