So I've got a realm through Java and I have 7 playes who I don't want all OPed and I read you can essentially remake commands with datapacks and let them be used with /trigger but I have NO idea what I'm doing and the only tutorials I could find are before the formatting changed to in 1.20.5 so I'm not sure how to accomplish this. I've never made a datapack, but I would think this would be pretty simple. The other issue is making sure it works on realms, there's a pack made by Eclipse Studios that I thought would work, but for some reason it just doesn't work with realms. Help would be greatly appreciated.
#Datapack that lets players use /tp on a realm.
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Well, you can make players able to run commands and such with triggers, but calling it remaking commands is a little misleading. You wouldn't be able to have it be like /trigger tp <player 1> <player 2>, you'd need to make it just /trigger tp and then go from there. Naturally, this produces some limitations.
With great effort you can probably get pretty close to recreating the TP command entirely through triggers, click event text menus, and etc., but I wouldn't call this a beginner task.
With regards to the Eclipse Studios pack, you'd probably be better off talking to them, not us, but if the pack in question is a worldgen or custom dimension pack, that would be why it doesn't work; worldgen is still considered experimental and so Realms do not support it.
right, i tried to add a "creative" dimension one time and that went horribly
welp
back to inconvienant sign teleports it is
If you just want hardcoded warps rather than truly recreating the TP command, that is a usecase where one or more triggers may be beneficial and relatively easy to implement
well, i was going for something that's just having the ability to teleport to other players
Ah yeah that's a little more involved I'd say
i would just follow guides on how to do stuff like thath from youtube but everything is outdated now
the closest thing is like, "how to update your pack"
i know the new update changed how nbt works or something
The scoreboard and tp commands should be essentially unchanged between 1.20.4 and 1.20.6
The main changes in 1.20.5+ were to items and related commands
well that's what i thought but even the vanilla tweaks teleport doesn't work anymore
That doesn't necessarily mean anything on its own
Why it doesn't work is more important, and I can tell you it's not because the tp or scoreboard commands changed
so switching gears, how would i figure out why it doesn't work?
is there a way i could potentially update the pack myself?
Checking logs would be a good place to start
If you just want the ability to teleport to other players, you could use a scoreboard id system
When you load or reload the pack, with output logs open, it should spit out a bunch of warnings and/or errors with details as to where the issues are and what they are
Every player would have a number, and you could run /trigger tp <number> to teleport to any player you want
so i could assign numbers to people? or would it auto assign?
I was thinking it would auto assign but you can make it manual if you want
i know where minecraft puts crash logs, but i don't know how you get to output logs anymore.. didn't that used to run in the background in like 1.6.4?
Our little helper bot is having a moment, but Output Logs are enabled in the Minecraft Launcher by going to Settings in the lower-left corner, and then clicking this checkbox
Then simply restart the game and they'll open alongside
gotcha
okay well
this is odd, the teleportation packs are still working on a world i just made
they were working on the realm
That sounds like a good thing, then 🙂
i mean unless i royally screwed something up
How can you have screwed something up if it's working?
because it's not working on the realm, or it wasnt the last time i checked
But you just said here it was
yeah before
Confusing.
I see.
but then i saw that the vanilla tweaks site said not to use them, so i disabled them and removed them from the world
Could be that the 1.20.6 version of the pack is not backwards compatible with older versions of itself
I know I have to do that sometimes for my packs
well the thing is it's not updated yet
so i'm stuck with a 1.20.4 pack
but it was working
Ah, then why is any of this news? You knew it didn't work and were going to update it
no that's not it, i was trying for an alternative
I don't understand where you're at right now then
ugh sorry this is all confusing and annoying
Do you want to try and update the Vanilla Tweaks one or do you want help writing your own pack?
i'm worried something is going on with my world...
What is making you think that?
i type /trigger and doesn't have any options to autofill and any time i type anything in manually it says "scoreboard doesn't exist"
these datapacks are working on another world i just created in the same version
And that's the VT pack, yes?
yeah, it's the tpa homes and spawn packs
they all three work on another world with 0 issues
So it sounds like the load function(s) isn't running. The logs should tell you why
the only thing that's not loading is custom advancements
if i list the datapacks they're all there
That makes sense, they had a minor syntax change
but it also says that on the world that they work on
But that would not be the cause of the trigger issue
typing /reload makes everything reload but the start up messages aren't working on any of them
Right, again, it clearly sounds like the load functions are not running
This is probably due to a syntax error in one or more of your data packs' load functions, which can cause the load functions for all data packs to not run
L o g s
Presumably/hopefully Realms has them, or if you have data packs on your Realm that you weren't testing with in singleplayer, go ahead and put those in the singleplayer world too
So you can check logs there
i downloaded my realm so i could see logs
You're on 1.20.6 and not 24w21b right?
right
yeah you're right
the load functions are not working at all
wait nvm they are for some
Then it may be errors in only some of the load functions that aren't significant enough to cause all of the loads to fail
i was able to load the tpa pack but it still isn't working when i use /trigger
In what way doesn't it work?
it doens't show up
the only thing that shows up is the remnant of a datapack i freaking removed
"it" being?
nothing shows up
Just removing a data pack won't clear its scoreboard objectives
should autofill with "tpa"
most of them have an 'uninstall' which clears those right?
OK, so yes it still sounds like the load function isn't running. It's unlikely the objective would be getting created anywhere else
I'd say it's hit or miss
But, if it is getting created elswhere, that isn't running
It may serve you at this point to open up the pack and find where the tpa scoreboard objective is getting created
okay.
So we can investigate why it isn't running.
alright
is there a way i can clear all scoreboard objectives and just do a clean reset for datapacks?
A new world would be simpler
obviously something has broken several of my datapacks
the health indicator one just stopped working upon reload
i'm looking at logs but i don't know what's causing what errors
That's okay, that's what we're here for. If there are errors, that's a good sign
It means the issue can actually be fixed
"Couldn't load tag minecraft:tick as it is missing following references: hp:tick (from file/playerhealthindicatorV2.zip)"
well that's why the health indicator died
So there's a syntax error in hp:tick, that error is probably somewhere above where you found that line
"Pack file/clgd-info-tools-v1.2.3.zip declared support for versions [26, 41] but declared main format is 18, defaulting to 18"
info tools stopped working randomly too
While Info Tools may be having problems, this error shouldn't be causing any issues
the UI just stopped displaying all together
it's supposed to show coords with a compass in your inventory
and where it's supposed to show your health via tab now says "0"
"Couldn't parse element loot_tables:homes:create_dimension_marker - Not a json array: {"function":"minecraft:copy_nbt","source":"this","ops":[{"source":"Dimension","target":"homesData.markDimension","op":"replace"}]}; Unknown registry key in ResourceKey[minecraft:root / minecraft:loot_function_type]: minecraft:copy_nbt"
Right, so this is an issue directly relating to the 1.20.5 update. Item NBT doesn't exist anymore, it's components now, so that requires updating to the new format
i think it's miniblocks
there's a whole string of errors with that
so
it wont let me send th error
clyde says no
Too long?
12:03:31.354
net.minecraft.class_1863
Server thread
Loaded 1707 recipes
12:03:31.355
net.minecraft.class_5349
Server thread
Failed to load function homes:start_to_mark_dimension
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Failed to parse structure: Failed to get element ResourceKey[minecraft:loot_table / homes:create_dimension_marker] at position 51: ...ion_marker<--[HERE]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Failed to parse structure: Failed to get element ResourceKey[minecraft:loot_table / homes:create_dimension_marker] at position 51: ...ion_marker<--[HERE]
at net.minecraft.class_2158.method_9195(class_2158.java:80)
at net.minecraft.class_5349.method_29451(class_5349.java:83)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 6 more
well that's one error
homes:create_dimension_marker Would need to see more of this function to be able to identify what's wrong there
But it's a syntax error
Listen my guy, I do want to help you, but if you're trying to update what sounds like 5+ data packs to 1.20.6, that is a huge undertaking, and pasting one error after another, culminating in what is very probably dozens of them, is a waste of both of our energy. This is not beginner stuff.
I may be able to help you update something simple like the VT tp pack, but all of this other stuff, you're going to need to wait on their devs to actually support the version you're trying to play in. It's beyond me why you even tried all this in the first place
these packs said they WERE updated
that's the only reason i downloaded them
the only ones that claimed they weren't updated were VT
Well, in that case you'd do better to contact their respective devs and report the bug(s)
And test each of them on their own first to ensure it's not due to incompatibilities caused by the packs that do not state they are updated
how do i remove the current packs that are malfunctioning if they don't have an uninstall feature?
Well you can certainly just remove them
but like you said that doesn't remove the scoreboard right?
They may leave things behind like extra scoreboards but they won't break anything else
I figured out what was causing it.
Oh?
obtainable lights, better hanging signs, and Elytra Quest
Neat
i'm pretty sure miniblocks is what broke everything's /trigger
thank you for your help
Sure thing
i literally wouldn't have known what to do at all, sorry this was a massive disaster lol
Don't worry about it, but I think a lot of this ballooning could have been avoided by listening to our suggestions much earlier, primarily with regards to checking the logs, and being more upfront about your situation. I was prepared to help update one or two packs that I was told just used scoreboards and tps, but by not disclosing that you had several other packs, whether you believed they were working or not, my ability to provide more direct recommendations was delayed.
i apologize
Thank you
Now if there's nothing else, you can go ahead and resolve this thread with /resolve
Question Closed
Your question, #1244677003140141101 (Datapack that lets players use /tp on a realm.), was resolved!
Original Message
#1244677003140141101 message
Duration open
2h2m