Yes this WILL require a client mod to work, it’ll just receive the zips and deal with them.
Ziptie is a planned plugin/mod combo I came up with. It allows servers to send mod data to clients to make custom gameplay components on the fly. Taking input, but heres the current basic plan.
Zip file:
mod.json- Contains the mods data like custom blocks, items, ect. Also contains basic mod info like description, author ect.
somemodimg.png - A block, item ect image file
somemcmodel.(json?) - Custom model json file
README.txt - Optional file containing installation instructions for server owners
That’s all for now. I’ll take input, because I have no idea if this is 100% possible.
Also, if the request is high, I might consider XML
Server sends a zip file to client containing some mod information for, for instance, an emerald sword. Client receives it, then injects it into the game before logging in to the server 100%.
Yep. Also I just added that sentence, don’t feel stupid
Anyway, this’ll probably require a build on both forge and sponge if thats even remotely possible
We aren’t passing java code to the client, all the client reads is JSON. Also, yeah. Without some changes to the log in process to servers on the client this would be difficult
What do you plan on doing with just the Json? From what I’m reading in your post, you’re adding the ability for custom blocks, but I’m not seeing any way to make those blocks do anything.
Its a very vague description. It won’t open up for a ton of customizaton, but for the most part, custom item drops, hardness and blast resistance to start with.
I experimented with using method calling on classes and objects but that would be dangerous so I would recommend limiting it to a finite set of possible actions in the JSON.