BugFixer

BugFixer

3.6k Downloads

BugFixer

Short Description

A simple plugin that manages bugfixes. You can donwload bugfix files, put them into the BugFixer folder and the plugin will load them. You can enable or disable them runtime one-by-one or all at the same time. Bugfixes work like plugins for bukkit, anyone programmer can write new bugfixes for it. //dev.bukkit.org/projects/bugfixer/files/775200/download" rel="noopener nofollow" target="_blank">https://dev.bukkit.org/projects/bugfixer/files/775200/download">Download: Release 1.2
BugFixer 1.2 released!
Do not forget to download the bugfixes too!

Features

  • Downloadable content
  • Turn on or off bugfixes runtime
  • Development support
  • More then one bugfix in one plugin
  • Able to select which bugfix you want to use

BugFixes

Do not forget to download the bugfixes!

Bukkit 1.7.2 has a bug, that players can build a machine from 2 pistons and 3 rails that duplicate all type of powered railways while break them. This bugfix disables it. The powered rail won't drop 2 but 1 rail on break. This bugfix does not harm rail systems which use piston.

On the list of bukkit plugins there are a few region protection plugin. These are for protect a region from harm. But these protection plugins usually do not care about ItemFrames, because ItemFrames aren't block, but they are Entities in the minecraft code. This bugfix denies players from hitting ItemFrames in protected areas and obtain the item from them. Currently only works with WorldGuard regions!

Install of a bugfix

Bugfix files are jar files. Download them as plugins and instead of putting them into the 'plugins' folder put them into the 'plugins\BugFixer' folder, which is the folder of the this plugin. On server start all bugfixes will be loaded from that folder, or if you want to load them runtime just use the /bug reload command.

Commands

You can check them detailed by clicking here.

  • /bugfix, /bug
  • /bug list
  • /bug enable, /bug e
  • /bug disable, /bug d
  • /bug description, /bug info
  • /bug reload, /bug rl

Permissions

  • BugFixer.*
  • BugFixer.Admin
  • BugFixer.Handle
  • BugFixer.List

Informations for Developers

Structure of a bugfix file

Basically you must create a .jar file which contains at least one class that inheritates from class 'BugFix' from the BugFixer.jar. On bugfix loading the .jar will be opened and an instance object will be created from the classes which are subclasses of the 'BugFix' class. It has onEnable() and onDisable(), event an onReload() method. It must be able to return a boolean that is the BugFix enabled or not.

About commands and event listeners

If you want to use own commands and/or event listeners (which you probably will) you'll have to have a Plugin object to register them. This plugin object is obtainable via the getPlugin() method in the BugFix class.

Happy and successful coding!