Started by
Crackerjack
on
Topic category: Plugins and third-party tools
I am interested in starting a Minecraft server but don't know weather to use mods or plugins. I would use mods for the server only because I can create custom ones using MCreator. So I was wondering if anyone could make a plugin that allows you to export a mod as a Spigot plugin.
I have a project to create a plugin generator for Spigot, but it’s really more complicated to do than to say, but don’t worry, there will be a plugin generator for Spigot one day. As soon as I know how to configure one file, I will be able to start the generator.
Would your plugin generator allow you to add new blocks and items? even though it is not usually done in a plugin. Or you could make it be an addon for MCreator. Just an idea
Mods and Plugins are two very different ways of modifying the game.
Mod loaders like Forge and Fabric have the ability to modify and create new blocks, items, or any element of the game.
These directly modify the game's main classes in order to make it possible
On the other hand server software like Spigot, Sponge and Paperspigot can only modify what is sent and recieved from the client, and store data on the server that can be accessed from the client as scoreboard objectives
So converting a mod to a plugin has a lot of requirements. You can not simply add a block or item to the game using a plugin.
And the way of coding elements is very different from mods and plugins. Plugins rely on YAML to store configuration data, while mods use JSON for the same. And that's just one of the many differences. So exporting a mod to a plugin is not easy at all.
However, I would suggest to use Goldorion's plugin generator plugin once its complete. Plugins often support adding commands, modifying data sent to the user and storing data on the server.
If you want to run both Forge mods and plugins at the same time, you could just use SpongeForge or Magma.
Create your mod, move it into the mods directory(SpongeForge or Magma) and you're good to go. For plugins, move the plugin jar file to the plugins directory.
I think the ability to create spigot plugins in MCreator as a custom generator could be useful for some people
I found the way to get and download Spigot with Gradle, so I began to work on a generator. However, i don't know, when i will release a first development version.
https://mcreator.net/forum/64143/spigot-generator-plugin