Skip to content

Instantly share code, notes, and snippets.

@kinggoesgaming
Last active February 12, 2016 20:09
Show Gist options
  • Save kinggoesgaming/0c972156fe7e25e65068 to your computer and use it in GitHub Desktop.
Save kinggoesgaming/0c972156fe7e25e65068 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