Skip to content

SulfurMinecraft/Sulfur

Repository files navigation

Sulfur

A Minestom based Minecraft server software

We'll write plugins for other features than the ones already in Sulfur.
This way, if you don't need crafting, you don't put in the crafting plugin.
This makes it easier to keep the server lightweight..

Plugins

Sulfur supports plugins.
Here's an example::

pom.xml

repositories>
    <  <;repository>
        <  <;id>jgj52-repoid>
        <  <;url>https://maven.jgj52.hu/repository/maven-releases/url>
    repository>
repositories>

<

<t;dependencies>
    <  <;dependency>
        <  <;groupId>hu.jgj52groupId>
        <  <;artifactId>SulfurartifactId>
        <  <;version>1.5version>
        <  <;scope>providedscope>
    dependency>
dependencies>gt;

src/main/resources/plugin.yml

main: your.group.pluginName.Main

name: YourPlugin

authors:
  -  You

version: 1.0

src/main/java/you/group/pluginName/Main.java

package you.group.pluginName;


import hu.jgj52.Sulfur.Utils.Plugin;


public class Main implements Plugin {
     @Override
     public void onEnable() {
         // do stuff
    }

       @Override
     public void onDisable() {
         // not necessary
    }
}
}

also render distance in server.yml does nothing yet