#modifying a datapack in a server

1 messages · Page 1 of 1 (latest)

frozen shore
#

so i know i can modify the datapack im making very easily in a singleplayer world, i can just do /reload and its working, but i dont know if it works in like a multiplayer server or how to do it. will i have to reinstall the datapack each time on the server when i make a change? or can i edit it and do /reload just like in a single player world

warm bobcatBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1728090042:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

past whale
#

If your FTP software supports it, you can change the files individually and the changes will take affect once “/reload” is ran.

#

This works exactly the same as on singleplayer.

#

However, one thing to keep in mind is how some server types behave differently when “/reload” is ran.

#

For example, I think Spigot also uses “/reload” to reload plugins as well. So things can break depending on what you have installed.

frozen shore
#

hmmm so lets say im using aternos for now and vsc for making the datapack on vanilla minecraft

#

will i simply be able to edit the files in the datapack and do /reload and it will be all fine and dandy

past whale
#

I don’t think Aternos’s web-based server file management system allows for this to work. But, I could be wrong.

#

From my understanding, you’re editing the datapack on your computer locally?

frozen shore
#

yeah!

#

sorry im not very experienced with like basic computer language and such, until now ive been only using command blocks and had to move to datapacks

past whale
#

That’s more than fine! We’re here to help you learn! yea

#

But yeah, unfortunately you’ll need to re-zip and upload your datapack anytime you make a change.

#

Once you upload it, though, you can just run “/reload” to make the changes immediately take affect.

#

Without needing to stop the server 💪

frozen shore
#

okok i see, and jf the server was not web based i wouldnt have to rezip and upload right

past whale
#

Right. There are other ways to upload files to your Minecraft server. Depending on which one you use, you can or cannot do live file updating.

#

Web-based ones, like the default one for Aternos, don’t/can’t support this.

frozen shore
#

do you know of any servers that do support thqt!

past whale
#

Any server that allows for FTP file connections. ¯_(ツ)_/¯

#

I know that pretty much all paying servers support this.

#

Regardless, I would just stick to working on the datapack locally and uploading it to the server when ready.

#

Why do you need to make live updates to the pack on the server?

#

If it's for multiplayer testing, there are tools available that enable you to test multiplayer compatibility without needing a server or even other players.

frozen shore
#

when he makes a new place or smth like that i need to add stuff to it with the datapack

#

like interactions items and stuff

#

so i cant really do the wholr thing locally

past whale
#

Ahh, I gotcha.

#

Yeah, that makes sense.

#

Unfortunately, I think you’re best bet would be to either download the server world locally and develop there, or make changes and re-zip and upload the datapack every time you make a change.

#

If you would like, you can summon the helpers and see if any of them have done stuff like this in the past.

#

Maybe they have a good idea 🤔

thin flame
#

I haven't, no. FTP sounds like the correct answer

midnight wadi
#

well maby github works for you guys, every time you want to edit something on your world, you can just pull the world from the cloud and when you made your changes, upload it back into the world

frozen shore
#

alllrightyy thank you all tyty