Datapack issues (Trying to install a CTM on paper 1.20.4 server)
I'm trying to install a CTM map https://ctmrepository.com/index.php?action=viewMap&id=629 on my native 1.20.4 Paper server, but am facing issues with unrecognised datapacks and similar. Would like to figure out what I did wrong and if there is any method of making it function.
I manage my worlds using the myworlds plugin, one interesting thing I note is that datapacks in my other MW worlds have a bukkit.yml file while this CTM does not, other than that I do not see any differences
74 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by .deathpacito#0
World in question (Datapacks do not function)

Exisiting world, no datapacks installed

Contains this file and folder path

While this does not

What I expect to happen:
Since the CTM was built for 1.20.4 and my server is natively 1.20.4, CTM should function once loaded in the world without compatibility issues
What happens:
Datapacks throw an error even though I am opped that the datapacks are unrecognised. As this is my first time dealing with datapacks I am unsure as to why this problem happens
What I would like to achieve:
Through a combination of My_worlds, XenoworldReset, Viaversion, and a hub, let my friends play through CTMs we like, and then easily reset them to the start state whenever we finish. This involves datapack management and maps build for vanilla launchers launched through Paper



Server consuming a lot of CPU for some reason https://spark.lucko.me/ouvO56UyWR
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by .deathpacito • Page 1 of 4
Download the acompaning datapack?
Looks to me like it just doesnt have it
Logs is way more useful than a spark report as it cant show datapacks
Like to post here?
Or for the client
Datapack is already on the server
I didnt know client needs the datapack too
It doesnt i misread it as if the server didnt have it
Alright so the server does have it
Could it potentially be a permissions issue for Myworlds? I know ptero has that thing which allows you to set perms
My thought is to copy the bukkit thing here and move it to the CTM world/datapack folder
See if that fixes things
Anyone else familiar with how datapacks work can weigh in?
https://apexminecrafthosting.com/how-to-add-a-datapack/ Referencing this
None of these commands recommended from there seem to work

Is this a Luckperms issue?
I also see that apparantly all zip files in the datapacks folder need to be unzipped
Doing that and restarting now
Still does not work
I notice unloading the map from my_worlds reduces CPU usage by a lot
So maybe the datapacks are working but commands can't be called?
Function commands are specific to each datapack.
/datapack list
tells you what datapacks are on the server. Can you please share your logs of the issues and what happens when you try to run different commands that are supposed to work?I set this on a vanilla server and it works

Give me a moment lemme check the paper server
30 min ago https://mclo.gs/bdZqEET
15 min ago, second restart https://mclo.gs/1UZO1vq
Latest.log https://mclo.gs/wD9T7Xr
These show up on the vanilla server while they did not for the paper

When I tried to toggle the blue text items (Map settings) in the paper server this happens
Send a screenshot of your datapacks folder rq?
Which server
I'll assume the paper server

This is the vanilla server's one (Original as intended from download), I unzipped the zip files in the paper server after this didn't work

Also some circumstantial info that may help is that all our databases got corrupted so Chatcontrolred, Luckperms, and whatever plugins relied on database stuff are just screwed
Idk how related that is to datapacks
huh…
usually I’d say make sure all datapacks are zipped.
If you unzip the datapack on the broken server does it have the firetick enable function?
So one of the datapacks was unzipped that wasn't supposed to, it shouldn't break anything but it would prevent that specific pack from loading.
Contents of map_core

Contents of golf_in_minecraft

the pack.mcmeta might have overwritten each other
they shouldn’t
oh
well if you unzip them it would
if that doesn't make it work, the next step should be to get rid of my_worlds as it is responsible for loading it and may do it in such a way to ignore things like datapacks.
Hmm that would be a bit problematic
My idea was to attempt to have the myworlds plugin manage worlds and their datapacks
it may also be config option for my_worlds. That would be something to ask in the my_worlds discord
Datapacks arent per world
^^^^
yes they are
datapacks are located in each world
since when?
as long as they have existed. they typically are designed to work for entire servers but they are loaded in each world and if a system like my_worlds does this correctly the datapacks would be per world.
datapacks are located inside the world files.
since never has datapacks been per world
All his issues indicate that its not loading the pack
Nop, theres only 1 level.dat and all datapacks are there
No per world support

^^
and paper does not add any support for that
What
in this case the OP has multiple worlds
There are datapacks for each world here

as in multiple folders each containing an overworld, nether and end which combined are a world.
Right
Try putting it in the main world folders
Datapack
So datapacks only function for the main world in server.properties?
After a backup if you want to be safe

\

So this means the datapacks for the thing should go into the main world folder instead of the CTM folder
Just give it a go
See if loads
After a backup*
Little bit off topic but I love this map
moving datapacks on paper server now
Moved datapacks, deleted in original CTM world

Starting up server
Gentlemen, it works exactly like how it was supposed to
!solved
post closed!
The post/thread has been closed!
Requested by .deathpacito#0
Thanks for helping out
Nevermind, some datapacks work, and some don't
It seems the map_core and golf_in_minecraft ones work
But the rest don't
Perhaps they need to be zipped?
the datapack commands completely do not work
for available and enabled
At least my_worlds shouldn't be the thing interfering
datapacks needs to be in .zip
Why tf did this map creator have half the datapacks zipped and half not smh
These 3 only have data and pack.mcmeta, do I just send them to zip and upload?

And is there a datapack reload command or do I need to restart the server?
Alright this seems to be it

I think the issue is it's applying the datapack to the "world" world, meaning that the conversation activated regions don't work on the CTM
That really sucks
I think I need to look for CTM's that don't use datapacks if I want to have them automatically reset using XWR
So I added a CTM without datapacks and it seems to function fine, I wonder if there are datapack managers out there that can make datapacks correspond to a certain world instead of across a server