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

[1.18.2] Issue with XaeroWorldmap's "tp" command #56

Open
Pierstoval opened this issue Apr 28, 2022 · 1 comment
Open

[1.18.2] Issue with XaeroWorldmap's "tp" command #56

Pierstoval opened this issue Apr 28, 2022 · 1 comment

Comments

@Pierstoval
Copy link

Installed the plugin on a server that has only 2 mods: ClaimChunk and ThutPerms.

ThutPerms allowed me to create a group that is allowed to run the /teleport command, and they indeed can run it.

However, since Xaero executes /tp @p ..., I receive an error "Unauthorized selector" in the console. When activating debug mode, I can see this output when trying to teleport with a non-op user:

[Server thread/INFO] [thutperms/]: permnode: thutperms.command.teleport com.mojang.authlib.GameProfile@155b951b[id=4299ea70-6255-3a07-bd74-45671d7ec00c,name=Jillian,properties={},legacy=false] true

I have no idea why but it seems that the /tp command doesn't accept @p.

However, if I manually type /tp MyPlayerName ..., it works.

Any idea?

@Thutmose
Copy link
Owner

not sure, /tp and /teleport may end up with different perms involved? the forge permissions API isn't well set for argument permissions yet, hence the "Unauthorized selector" thing.

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

2 participants