mojira.dev
BDS-5318

Op command not working in-game

Summary

OP command is not available when using BDS, the same command on Realms appears to function normally.

Steps to reproduce...

  1. Setup new BDS instance

  2. Log in to server and OP your player

  3. Attempt to use the /OP command in game to elevate another player

  4. Note that the command appears as an autocomplete option but returns "Unknown Command: OP. Please check that the command exists and you have permission to use it."

What I expected to happen...

Op command works in game as it does on Realms.

What actually happens...

The game returns an error that the command does not exist or is unavailable.

Notes

  • The user running the command must be opped or the command doesn't show in the autocomplete list (expected).

  • Having cheats enabled or disabled does not impact the issue.

  • Command works as expected on a Realm.

  • OP command works fine from the console.

Comments 12

When using the command in the console are you using the "/"??

Commands in the console don't need, and wont work with, the / but there shouldn't be any issue running it from the console.

I haven't had enough time to test properly but its very possible its broken in-game. The above should get you a workaround though.

When using the command in the console are you using the "/"??

Commands in the console don't need, and wont work with, the / but there shouldn't be any issue running it from the console.

I haven't had enough time to test properly but its very possible its broken in-game. The above should get you a workaround though.

Thanks @IonicEcko. Yes, Op commands doesn't work in console with or without the "/". After further exploration, I found that I was able to Op other players using the in-game GUI (clicking the crown icon). However, the in-game command still doesn't work.

FWIW, the reason I don't rely on the server console is because I run this in Ubuntu as a startup script and so it's headless. (In full transparency, I could re-write the script to use 'screen'and put to the background to re-access the console, however, since there are in-game commands, I was hoping I wouldn't need to bother.

Thanks @IonicEcko. Yes, Op commands doesn't work in console with or without the "/". After further exploration, I found that I was able to Op other players using the in-game GUI (clicking the crown icon). However, the in-game command still doesn't work.

FWIW, the reason I don't rely on the server console is because I run this in Ubuntu as a startup script and so it's headless. (In full transparency, I could re-write the script to use 'screen'and put to the background to re-access the console, however, since there are in-game commands, I was hoping I wouldn't need to bother.

2 more comments

Yes, cheats enabled.

it doesnt work directly in the world only from console

it doesnt work directly in the world only from console

Thank you for your report!
However, this issue has been closed as Working as Intended.

Note:
"You need to make sure that your server settings has the right op-permission-level set (the right value is 2 in this case). You can change this in the server.properties file in the server files, and then you will be able to use the /op command."

If you need help or have a suggestion you might like to follow a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Thank you for your report!
However, this issue has been closed as Working as Intended.

Note:
"You need to make sure that your server settings has the right op-permission-level set (the right value is 2 in this case). You can change this in the server.properties file in the server files, and then you will be able to use the /op command."

If you need help or have a suggestion you might like to follow a link below.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Lon Binder

(Unassigned)

Confirmed

Retrieved