Simple Voice Chat

Simple Voice Chat

337k Downloads

voicechat test command permission doesnt care if the function permission level is set to 4

Closed this issue ยท 6 comments

commented

Confirmation

  • I have read the wiki

Bug description

When your trying to run voicechat test in a datapack it doesnt register the function with the command in it, i interpreted the error in the log as some kind of permission error(and the permission used for the test sub command is "voicechat.admin")

Minecraft version

1.21.7

Mod/Plugin version

1.21.8-2.5.35

Mod/Plugin loader and version

Fabric Loader: 0.17.2 / 1.21.7

Steps to reproduce

  1. Make a fabric server with the mod installed
  2. set the function-permission-level to 4 in the server.properties file
  3. Add This Datapack to the world. If your not comfortable with downloading this datapack just make your own with a single function that has the following command in itvoicechat test @p
  4. restart the server
  5. Join the server with Voicechat installed
  6. try executing the function
    /function voicechat:svc_test_command

you will see that the function does not exist

  1. look at console for error

Expected behavior

it loads the function and lets me execute the command

Log files

https://gist.github.com/ThatCuteOne/19d356d7f47847c11a7dee4b1a1b8802

Screenshots

No response

commented

I know this is a silly issue an probably no one else ever will encounter this. Its totally okay to just not fix it if its to much work

commented

This is completely intended. This command can only be executed as a player.

commented

Well when u add a execute as @p run before it it still doesn't work even though it gets executed as a player, also If you run the function in the Chat it gets executed as the player who's running it

commented

This can only be executed by players that have the mod installed, as players without the mod won't have the translations. It always checks for the player that runs the command.

commented

i had the mod installed both client and server side and it still wouldn't work

commented

Yeah but it isnt executed as a player through a datapack.