Skip to content

Instantly share code, notes, and snippets.

@kinggoesgaming
Created February 12, 2016 20:11
Show Gist options
  • Save kinggoesgaming/4830ebe559c394157542 to your computer and use it in GitHub Desktop.
Save kinggoesgaming/4830ebe559c394157542 to your computer and use it in GitHub Desktop.
@Listener
public void onInit(GameInitializationEvent e) {
CommandSpec someCommand = CommandSpec.builder.(some builder additions).build;
Sponge.getCommandManager().register(plugin, someCommand, "firstAlias", "secondAlias");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment