frankthetank Posted February 26, 2021 Share Posted February 26, 2021 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 More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 Also /execute as @a run whitelist add (playername) is useful and doesn't work. Link to comment Share on other sites More sharing options...
BurningBrimstone Posted February 26, 2021 Share Posted February 26, 2021 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 Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 Is this a new thing? Command blocks now cannot run /op commands? Link to comment Share on other sites More sharing options...
BurningBrimstone Posted February 26, 2021 Share Posted February 26, 2021 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 Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 I have. Also I am 100% sure this has worked in the past and has changed recently. Even my /whitelist blocks no longer work. Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 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 More sharing options...
BurningBrimstone Posted February 26, 2021 Share Posted February 26, 2021 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 Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 Yes other players indeed do have op. In fact, if only I was online it would be so fast because it's a repeating command block that I would op myself. So if I deoped myself I would still be reopped by myself because of the command block. Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 (edited) 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. Edited February 26, 2021 by frankthetank Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 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. Link to comment Share on other sites More sharing options...
BurningBrimstone Posted February 26, 2021 Share Posted February 26, 2021 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 Link to comment Share on other sites More sharing options...
frankthetank Posted February 26, 2021 Author Share Posted February 26, 2021 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 More sharing options...
aaaCya Posted February 26, 2021 Share Posted February 26, 2021 Ah thats why command blocks dont work for me I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
frankthetank Posted February 27, 2021 Author Share Posted February 27, 2021 On 2/26/2021 at 9:57 AM, pizzaschut said: Ah thats why command blocks dont work for me Certain commands or are command blocks completely broken for you? Make sure command blocks are enabled in your server settings. Link to comment Share on other sites More sharing options...
MineralMiner Posted February 28, 2021 Share Posted February 28, 2021 (edited) 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 February 28, 2021 by MineralMiner_ Link to comment Share on other sites More sharing options...
frankthetank Posted March 1, 2021 Author Share Posted March 1, 2021 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. Link to comment Share on other sites More sharing options...
BurningBrimstone Posted March 1, 2021 Share Posted March 1, 2021 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now