Unable to compile packages #121

Closed
opened 2020-01-25 05:26:52 -05:00 by SuixideBunneh · 2 comments
SuixideBunneh commented 2020-01-25 05:26:52 -05:00 (Migrated from github.com)

Works fine for 1.18 but as soon as it reached 1.14, it says net.minecraft.server.v1_14_R1 does not exists. How do I import this using maven?

Works fine for 1.18 but as soon as it reached 1.14, it says net.minecraft.server.v1_14_R1 does not exists. How do I import this using maven?
SuixideBunneh commented 2020-01-25 05:30:37 -05:00 (Migrated from github.com)

The reason I am doing this is to change the aliases for the silentchest command [sc] as it clashes with my other plugin and I would like this [sc] aliases to be removed. Thanks

The reason I am doing this is to change the aliases for the silentchest command [sc] as it clashes with my other plugin and I would like this [sc] aliases to be removed. Thanks
Jikoo commented 2020-01-25 11:05:28 -05:00 (Migrated from github.com)

Regarding compiling: you must have the correct versions of Spigot (not Spigot-API) installed in your local Maven repository to compile a particular NMS revision. BuildTools will automatically install for you when running, or you can manually install files using the process outlined in the readme.

To compile, the relevant Craftbukkit/Spigot jars must be installed in your local repository using the install plugin.
Ex: mvn install:install-file -Dpackaging=jar -Dfile=spigot-1.8-R0.1-SNAPSHOT.jar -DgroupId=org.spigotmc -DartifactId=spigot -Dversion=1.8-R0.1-SNAPSHOT

Regarding your reason for compiling youself: you can use your commands.yml to enforce aliasing or you could edit the plugin.yml in the compiled jar to remove the alias.

Regarding compiling: you must have the correct versions of Spigot (not Spigot-API) installed in your local Maven repository to compile a particular NMS revision. BuildTools will automatically install for you when running, or you can manually install files using the process outlined in the readme. >To compile, the relevant Craftbukkit/Spigot jars must be installed in your local repository using the install plugin. Ex: `mvn install:install-file -Dpackaging=jar -Dfile=spigot-1.8-R0.1-SNAPSHOT.jar -DgroupId=org.spigotmc -DartifactId=spigot -Dversion=1.8-R0.1-SNAPSHOT` Regarding your reason for compiling youself: you can use your [commands.yml](https://bukkit.gamepedia.com/Commands.yml) to enforce aliasing or you could edit the plugin.yml in the compiled jar to remove the alias.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minster586/OpenInv#121
No description provided.