JannisX11 / blockbench-plugins

Blockbench plugin repository
120 stars 157 forks source link
blockbench hacktoberfest

Blockbench Plugin Repository

Create a pull request to submit or update plugins. Open an issue to report bugs within plugins and tag the author if possible.

Installing Plugins

To install a plugin, go to File > Plugins... and switch to the available tab. Find the plugin you want to use and click Install.

Links

Conventions

File Structure

Blockbench supports two file structure systems.

Legacy structure

The legacy format, where plugin Javascript files are saved directly in the plugins directory, was used by Blockbench 4.7 and older, and will continue to be supported for already existing plugins.

Current structure

The new structure utilizes a separate directory per plugin in the plugins directory, which contains the plugin Javascript file, as well as other optional files. The new structure will be used by Blockbench if the "min_version" is set to 4.8.0 or higher. The new structure is recommended for new plugins.

These are the files that can be added to the plugin directory

Development

Bundling

Submission

In order to submit your plugin, you need to meet a few requirements:

Once you are ready to submit your plugin, create a pull request.

Updates

Updates to plugins can be submitted via pull request.

In order for the plugin to auto update for users who already have it installed, the version number needs to be increased both in the plugin file and in plugins.json.

Optionally, a changelog can indicate what changed in a given update. See Current structure.

Third party contributions

As explained above, you can add approved contributors in the members.yml file.

For contributions from third parties, the original creator or maintainer of the plugin will be pinged in the respective Pull Request for permission.

If you have a preference, you can specify in membery.yml under abandoned what you would like to happen if you no longer contribute to the plugin and no longer approval third party contributions. If unspecified, if you haven't replied within 4 weeks and are no longer active on Github, or if you haven't replied in 8 weeks despite being active, we may test and merge the contribution.

Some small changes like fixes for changed Blockbench APIs may be merged without asking for permission of the original creator.