Jump to content

Certain Commands In Command Blocks No Longer Run In Minehut


frankthetank

Recommended Posts

If I have an active repeating command block on my server running /execute as @a run op (playername) it doesn't work. I have this just in case someone tries to ban/deop me and destroy my server. I also have /execute as @a run pardon (playername) which also doesn't work. These worked before but just today I noticed that they don't. Has anyone else experienced this and does anyone know why this is happeneing?

Link to comment
Share on other sites

1 minute ago, frankthetank said:

If I have an active repeating command block on my server running /execute as @a run op (playername) it doesn't work. I have this just in case someone tries to ban/deop me and destroy my server. I also have /execute as @a run pardon (playername) which also doesn't work. These worked before but just today I noticed that they don't. Has anyone else experienced this and does anyone know why this is happeneing?

Hello!

The /op command requires a Minecraft permission level of atleast 3. Command blocks execute commands at a permission level of 2. There is no way to change this. Consider using a plugin like Skript to run commands with higher permission levels.

 - Discord: Brim#0768

 

image.png.f1adf348277e390065b8e913c0f185d4.png

 

 

 

Link to comment
Share on other sites

Just now, frankthetank said:

Is this a new thing? Command blocks now cannot run /op commands?

They've never been able to. See this wiki page for further details.

That being said, they should be able to run /whitelist unless Minehut has changed the behavior; have you enabled command blocks in your server settings?

 - Discord: Brim#0768

 

image.png.f1adf348277e390065b8e913c0f185d4.png

 

 

 

Link to comment
Share on other sites

The thing is, the command block isn't running /op it's running /execute and the player it executes as is running /op. The command block at level 2 perms is executing the command as the all players with level 3 perms. That's why it worked in the past but perhaps this was patched by bukkit?

Link to comment
Share on other sites

Just now, frankthetank said:

The thing is, the command block isn't running /op it's running /execute and the player it executes as is running /op. The command block at level 2 perms is executing the command as the all players with level 3 perms. That's why it worked in the past but perhaps this was patched by bukkit?

Yes, but it assumes the other players have OP; do you have other players online with OP?

And perhaps it was fixed in PaperMC.

 - Discord: Brim#0768

 

image.png.f1adf348277e390065b8e913c0f185d4.png

 

 

 

Link to comment
Share on other sites

1 minute ago, frankthetank said:

I know this is a very oddball thing but it's kind of frustrating that this broke on me. I guess I have to bite the bullet and do some magic with some skript.

Yes. Honestly skript is your best solution here regardless. I kinda feel bad that I couldn't fix this one for you. 😅

If you contact me on Discord (Brim#0768) I'll write the Skript(s) for you.

 - Discord: Brim#0768

 

image.png.f1adf348277e390065b8e913c0f185d4.png

 

 

 

Link to comment
Share on other sites

2 minutes ago, Brim said:

Yes. Honestly skript is your best solution here regardless. I kinda feel bad that I couldn't fix this one for you. 😅

If you contact me on Discord (Brim#0768) I'll write the Skript(s) for you.

Thank you very much! I might take you up on that offer if skripts prove too much for me. Thanks for trying to help me out though, lol.

Link to comment
Share on other sites

On 2/26/2021 at 12:36 AM, frankthetank said:

I've even tried /minecraft:op and /minecraft:pardon with no additional luck. Actually I meant /minecraft:execute but I did try those other ones.

execute as @e run op MineralMiner

This worked for me ^^. Maybe try @e instead of @a. I even did execute as @e[type=minecraft:cow] run op MineralMiner and it worked.

Edited by MineralMiner_
Link to comment
Share on other sites

11 minutes ago, frankthetank said:

Actually this is solved now. It turns out I was wrong. The command blocks I was using were generated by a command. The thing was I actually needed powered to be 0b instead of 1b. Thanks for the help everyone, I am an idiot, lol.

Glad to hear the issue is fully resolved! 😄

 - Discord: Brim#0768

 

image.png.f1adf348277e390065b8e913c0f185d4.png

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...