Skip to content
jummes edited this page Mar 11, 2020 · 7 revisions

MoreCompost is a plugin that allows you to define custom drops and custom items to compost, and give these new features to player in form of permissions. It permits the use of hoppers to put compostables in composters and to take out the drops. It's even possible to redefine custom compostables.

Getting Started

Install the plugin

To install the plugin you just need to place the jar downloaded from the spigot page in the plugins folder of your server. After that you just need to restart the server and you are ready to go.

Commands

MoreCompost provides few but useful commands:

  • /mc help prints the help message.

  • /mc reload reloads configuration files.

  • /mc inspect shows the owner of the composter you are looking at.

  • /mc dropsopens drops menu

  • /mc compostables opens compostables menu

  • /mc about Print the plugin info.

  • /composter help Print the help message.

  • /composter drops Show the drops and their percentage.

  • /composter compostables Show a list of custom compostables.

Permissions

MoreCompost uses some useful permissions:

Commands permissions:

  • morecompost.commands.compostables description: Opening compostables menu permission default: op
  • morecompost.commands.drops Opening drops menu permission default: op
  • morecompost.commands.help description: Print help message permission default: op
  • morecompost.commands.inspect description: Inspect blocks permission default: op
  • morecompost.commands.reload description: Reload configuration files permission default: op
  • morecompost.commands.* description: Wildcard MoreCompost editing permission default: op

Composter custom drops permissions:

  • morecompost.drops.[id] description: Access to the drops of the droptable having [id] as its id, only the highest priority droptable will be used

Composter custom compostables permissions:

  • morecompost.compostables.[id] description: Access to the compostables of the compostabletable having [id] as its id, only the highest priority compostabletable will be used

Example: Let's say you want to give to a group of players access to the droptable called "tierOne", you will have to give to that group the permission morecompost.drops.tierOne. Let's say instead you want to give players access to the compostabletable named "anotherTier", you need to give them the permission morecompost.compostables.anotherTier

Drops

What are drops

Drops are the objects that are dropped when a composter is full. You can define drop tables to be associated to a permission, this permission will be morecompost.drops.[id], where id is the name you want to give to the drop table. Each drop table has a priority, that determines the hierarchy of the permissions, a minimum and a maximum number of rolls and a list of drops. Each drop is associated to a weight, that determines the chance that the drop will be dropped.

Modify composter drops

You can edit drops by typing /mc drops, in the menu that will be opened you will be able to modify every drop.

Compostables

What are compostables

Compostables are the items that are put inside composters. You can define compostable tables, that will be associated to permissions. The permissions will be morecompost.compostables.[id], where id is the name you want to give to the compostable table. Each compostable table has a priority, that determines the hierarchy of permissions. It also has a tag, replaceDefaultCompostables, that blocks the items that are usually put inside composters. Compostables tables also have a set of compostables. A compostable is determined by the material of the compostable(e.g. dirt or stone or whathever item), by a minimum and a maximum number of rolls and by a chance of success.

Modify compostables

You can edit compostables by typing /mc compostables, in the menu that will be opened you will be able to modify every compostable.