Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command blocks and /tpj Command don't work #43

Open
sjaustad opened this issue Jul 4, 2019 · 11 comments
Open

Command blocks and /tpj Command don't work #43

sjaustad opened this issue Jul 4, 2019 · 11 comments

Comments

@sjaustad
Copy link

sjaustad commented Jul 4, 2019

Minecraft Version: 1.12.2
Just Enough Dimensions Mod Version: 1.5.5

The command block has the following command set:
/tpj @p 12

Expected Behavior: Teleports executing player to the default spawn area of dimension 12.

Actual Behavior: Nothing. No errors and the server console doesn't even say the command was run at all.

This command works /tpj @p 12 exactly as intended when copied into the chat but does not work with a button on a command block. Command blocks are enabled on the server and I can use other commands such as /tp and /say.

I have also tried

/tpj @s 12
/tpj @a 12
/tpj 12
/tpj @p 0 0 0 0
/tpj 0 @p 0 0 0 (just in case, but this syntax isn't correct)

Any help would be greatly appreciated.

@maruohon
Copy link
Owner

maruohon commented Jul 4, 2019

Hmm, well that is really strange then, because it's certainly supposed to work, and when I tried it just now, it does work in my test world. So tpj @p 1 in a command block teleports me to the End, and tpj @p 0 in a command block in the End teleports me back to the overworld. What does it say in the command block's Previous Output field when you try to run the tpj command?

Also in general I'd highly recommend using the latest 1.6.0 version instead of the old 1.5.5, but that's besides this issue... I tested it in 1.5.5 just now.

Edit: Oh one thing, did you try any other (vanilla) dimension IDs? Are you sure dimension 12 exists currently? (Does it show up in the /jed list-registered-dimensions output?)

@sjaustad
Copy link
Author

sjaustad commented Jul 4, 2019

@maruohon
I used the /jed list-registered-dimensions and it came back with 0, -1, 1, 2, 12 and obviously I can teleport to it just fine. I actually already updated to 1.6.0 to see if that would fix it but it didn't.

I'm running a CatServer so I can use both Forge and Bukkit mods. Is there a possibility of conflicts with any of these:

Forge Mods:
-Applied Energistics 2
-Buildcraft
-ComputerCraft
-EnderCore
-EnderIO
-FloodLights
-Inventory Tweaks
-Just enough items
-Just enough dimensions
-Magical Crops
-Not enough Items
-Project red (all of them)
-Railcraft
-SteveCarts
-WorldEdit

Plugins
-ChestShop
-iConomy
-LuckPerms
-Towny (and chat, NameUpdater)
-Vault

@maruohon
Copy link
Owner

maruohon commented Jul 4, 2019

I don't see how it would be a conflict with another Forge mod, they don't usually do stuff that would break that kind of things. However a bukkit/spigot/etc. server especially with some protection plugins might add/change the command permission such that you would need to add a permission node somewhere to run that command, maybe? That's my best and only guess as to why it wouldn't work. Does it say anything in the command block's Previous Output field after trying to execute the tpj command?

@sjaustad
Copy link
Author

sjaustad commented Jul 4, 2019

No, there is nothing in the previous output box. I'll look into the permissions though.

@sjaustad
Copy link
Author

I tried removing all of the permission plugins/mods on a test server that I set up and did it on a clean build with a new world. The Command block still was not not responsive to a button press with the command /tpj @p 12. Other commands such as /tp @p 0 0 0 were working, however.

@maruohon
Copy link
Owner

Hmm, it should be giving you at least some output in the command block output field? What about if you just make a typo, like /tpjj @p 12, does it then at least complain about not finding the command?

@sjaustad
Copy link
Author

sjaustad commented Jul 12, 2019

No, it doesn't complain about that. In fact, if I try any command that's not registered (or it thinks it's not registered) like /sy instead of /say it doesn't output anything.

@maruohon
Copy link
Owner

maruohon commented Jul 12, 2019

Do you have the output tracking enabled in the command block? The button next to it should show O when it's enabled, and X when it's not.

Edit: In the screenshot you posted, it seemed to be disabled.

@sjaustad
Copy link
Author

Yeah I realized that which is why I got rid of the screen shot. I got it figured out though. It was showing the output for a /tp real_user command block or /tp non-existent_user with a success or error respectively. With both /tpj and /tpjj it didn't do anything. I also loaded up a clean server build and I removed Towny, Luckperm, and Forge Essentials (the only permission mods that I have) and it still didn't work.

@maruohon
Copy link
Owner

It still doesn't show anything for the tpj commands? How is that even possible... Does it work if you remove the Bukkit whatever component you use, and just run it under normal Forge?

@LemADEC
Copy link

LemADEC commented Jul 28, 2019

Forge provides its own /forge setdimension <entity> <world> [<x> <y> <z>], give a try maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants