crwdns131335:0crwdne131335:0

Note

crwdns131337:0crwdne131337:0

crwdns131339:0crwdne131339:0

crwdns131341:0crwdne131341:0

crwdns131343:0crwdne131343:0

crwdns131345:0:javadoc:crwdne131345: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

crwdns131347:0:doc:crwdne131347:0

crwdns131349:0crwdne131349:0

crwdns131351:0crwdne131351:0

crwdns131353:0:javadoc:crwdnd131353:0:javadoc:crwdne131353: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

crwdns131355:0:doc:crwdne131355:0

crwdns131357:0crwdne131357:0

crwdns131359:0crwdne131359:0

  • crwdns131361:0crwdne131361:0

    • crwdns131363:0:javadoc:crwdne131363:0

    • crwdns131365:0:javadoc:crwdne131365:0

    • crwdns131367:0:javadoc:crwdne131367:0

    • crwdns131369:0:javadoc:crwdne131369:0

    • crwdns131371:0:javadoc:crwdne131371:0

  • crwdns131373:0crwdne131373:0

    • crwdns131375:0:javadoc:crwdne131375:0

    • crwdns131377:0:javadoc:crwdne131377:0

    • crwdns131379:0:javadoc:crwdne131379:0

    • crwdns131381:0:javadoc:crwdne131381:0

    • crwdns131383:0:javadoc:crwdne131383:0

crwdns131385:0:doc:crwdne131385:0