This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Listener | |
public void onInit(GameInitializationEvent e) { | |
CommandSpec someCommand = CommandSpec.builder.(some builder additions).build; | |
Sponge.getCommandManager().register(plugin, someCommand, "firstAlias", "secondAlias"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Listener | |
public void onInit(GameInitializationEvent e) { | |
CommandSpec someCommand = CommandSpec.builder.(some builder additions).build; | |
Sponge.getCommandManager().register(plugin, someCommand, "firstAlias", "secondAlias"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class { | |
public AnotherOne() { | |
} | |
@CommandSpecifier("inscrutable", "poet") private CommandSpec inscrutableThePoet = CommandSpec.builder.description(Text.of("I love Insrutable's poetry!").build(); | |
@CommandSpecifier("haxy") private CommandSpec clienthaxHacks = CommandSpec.builder.description().build(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/jvm/java-8-openjdk/bin/java -Didea.launcher.port=7532 -Didea.launcher.bin.path=/usr/share/intellijidea-ce/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar:/home/hunar/FoundationsMC/FoundationsCore/build/classes/main:/home/hunar/FoundationsMC/FoundationsCore/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Plugin(id = "com.kinggoesgaming.foundations.api") | |
public class TestPlugin { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Server thread/WARN] [Sponge]: Plugin 'com.kinggoesgaming.foundations.api' seems to be missing a valid mcmod.info metadata file. This is not a problem when testing plugins, however it is recommended to include one in public plugins. Please see the in-existent SpongeDocs link for details. | |
[11:54:36] [Server thread/ERROR] [Sponge]: Plugin 'com.kinggoesgaming.foundations.api' is using the old dependencies format in the @Plugin annotation (before SpongeAPI 4.0.0). This is only supported for compatibility reasons and will be removed soon. Please notify the author to update the plugin as soon as possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> sponge plugins | |
[12:13:24 INFO]: Plugins (4): Minecraft, SpongeVanilla, SpongeAPI, foundationscore | |
> sponge plugins foundationscore | |
[12:13:37 INFO]: Input command plugins was not a valid subcommand! | |
plugins foundationscore | |
^ | |
[12:13:37 INFO]: Usage: /sponge audit|plugins|timings|heap|version|[-global|-g <global>] [-world|-w <world>] [-dimension|-d <dimension>] reload|chunks|save|config | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ConfigurationLoader<CommentedConfigurationNode> loader = HoconConfigurationLoader.builder().setPath(file).build(); | |
ConfigurationLoader<CommentedConfigurationNode> loader1 = GsonConfigurationLoader.builder().setPath(file).build(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- Minecraft Crash Report ---- | |
WARNING: coremods are present: | |
SpongeCoremod (spongeforge-1.8.9-1763-4.1.0-BETA-1212.jar) | |
ThaumcraftLoader (Thaumcraft-1.8.9-5.2.2.jar) | |
BookshelfLoadingPlugin (Bookshelf-1.8.9-1.1.1.203.jar) | |
NowWithRendering (redstonepaste-mc1.8.8-1.7.2.jar) | |
Contact their authors BEFORE contacting forge | |
// You're mean. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kinggoesgaming.foundations.api.configuration.abstraction.concrete; | |
import com.kinggoesgaming.foundations.api.configuration.Configuration; | |
import ninja.leaping.configurate.ConfigurationNode; | |
import ninja.leaping.configurate.loader.ConfigurationLoader; | |
import java.io.IOException; | |
import java.nio.file.Path; | |
/** |
OlderNewer