crwdns150601:0crwdne150601:0

Note

crwdns150603:0crwdne150603:0

crwdns150605:0crwdne150605:0

crwdns150607:0crwdne150607:0

crwdns150609:0crwdne150609:0

crwdns150611:0:javadoc:crwdne150611:0

package io.github.username.project;

import org.spongepowered.api.plugin.Plugin;

@Plugin(id = "exampleplugin", name = "Example Plugin", version = "1.0")
public class ExamplePlugin {

}

Note

crwdns150613:0:doc:crwdne150613:0

crwdns150615:0crwdne150615:0

crwdns150617:0crwdne150617:0

crwdns150619:0:javadoc:crwdnd150619:0:javadoc:crwdne150619:0

import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.game.state.GameStartedServerEvent;

@Plugin(id = "exampleplugin", name = "Example Plugin", version = "1.0")
public class ExamplePlugin {
    @Listener
    public void onServerStart(GameStartedServerEvent event) {
        // Hey! The server has started!
        // Try instantiating your logger in here.
        // (There's a guide for that)
    }
}

Tip

crwdns150621:0:doc:crwdne150621:0

crwdns150623:0crwdne150623:0

crwdns150625:0crwdne150625:0

  • crwdns150627:0crwdne150627:0

    • crwdns150629:0:javadoc:crwdne150629:0

    • crwdns150631:0:javadoc:crwdne150631:0

    • crwdns150633:0:javadoc:crwdne150633:0

    • crwdns150635:0:javadoc:crwdne150635:0

    • crwdns150637:0:javadoc:crwdne150637:0

  • crwdns150639:0crwdne150639:0

    • crwdns150641:0:javadoc:crwdne150641:0

    • crwdns150643:0:javadoc:crwdne150643:0

    • crwdns150645:0:javadoc:crwdne150645:0

    • crwdns150647:0:javadoc:crwdne150647:0

    • crwdns150649:0:javadoc:crwdne150649:0

crwdns150651:0:doc:crwdne150651:0