Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Making a plugin

For a Sulfur plugin, you need three things:

package your.plugin.name;
import dev.sulfurmc.Sulfur.Utils.Plugin;
public class Main implements Plugin {
@Override
public void onEnable() {
// do stuff
}
@Override
public void onDisable() {
// not necessary
}
}
main: your.plugin.name.Main
name: YourPlugin
version: 1.0-SNAPSHOT
authors:
- You
prefix: prefix in logs