[1.9.0] commands don't work if the player's not OP

Started by mensreamc on Thu, 08/15/2019 - 05:54

Topic category: Bugs and solutions

Last seen on 00:31, 2. Apr 2020
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
[1.9.0] commands don't work if the player's not OP
Thu, 08/15/2019 - 05:54

In this case "execute command / effect @p potioncore:purity 7200" doesn't work if the player's not OP.

The specific configuration involves a potion that runs a procedure that runs the command. Other iterations also fail to run.

Is there any way we can have an option to have the server run commands when a client initiates them?

Thanks!

No, because this would be a…
Thu, 08/15/2019 - 18:16

No, because this would be a security breach. Minecraft does not allow this in its core. This was one could make a client-only mod and convince the server to run commands.

One could make a custom packet that requests command execution on the server that has the mod too, but this is out of scope right now, but might not be in 2.x.x branch of MCreator.