I dunno if it is just my setup but I was testing command blocks and it seems that they only be triggered by redstone by opped players. I tested by setting a block to the "/give @p ##" command. As an op, i was able to click a button hooked up to the block and it worked fine. Had a friend login to the server without op status and he was not able to trigger the block using redstone.
For example:
A command block is created by an op and configured with the command "/give @p 4. It is wired up to a redstone pushbutton.
OP pushes the button -> receives 1 block of cobblestone as expected.
Non-OP player pushes the button -> Nothing happens.
Can anyone else verify this?
Edit: rephrased for clarity. Seems like people are misunderstanding my post. I am NOT talking about the non-op being able to create command blocks.
Yes, it only works for op players. Can you imagine if a griefer found one that an admin was working with, and started messing around with it.
Nooo I mean that activating the block via redstone doesn't work for a non-op. I didn't mean edit the internal command.
Isnt this the whole point of command blocks? So that an op can place them in the map to enhance gameplay for non-op players.
Scroll down to 'Disabled Commands'. Though, I don't really understand the reasoning. An OP can only edit the command block's command, and an OP can already make others an OP. There's no point in restricting the command.
Scroll down to 'Disabled Commands'. Though, I don't really understand the reasoning. An OP can only edit the command block's command, and an OP can already make others an OP. There's no point in restricting the command.
Only /give isn't a disabled command and the OP said it worked for him so that can't possibly be the problem.
It's weird, though. I don't think the game can detect who activated the block or we'd have an option to target the player who activated it.
Rollback Post to RevisionRollBack
"Can't very well use magic when your wand is out of bullets." - Homestuck
“If, by some strange coincidence, a hundred sharp pencils I was carrying embedded themselves in a third-party, would that be an accidental death?” - Nisemonogatari
Correction to my previous post for misunderstanding. Let me now state that there's no method for Minecraft to detect who activated the command block via redstone. @p is set to the nearest player, so were you, or whoever was in creative mode, simply standing closer to the block than the one activating it? This is the only possibility I can think of.
Only /give isn't a disabled command and the OP said it worked for him so that can't possibly be the problem.
I actually read "/give @p ##" in the opening post as '/give op ##'. Which isn't even the damn /op command, so I'm not sure why I mistook that. My apologies, iamthemik3.
I'm having the same problem. I mean yeah, it is true that this is helpful against griefers, but for me this is just extremely annoying. I made an automatic weather changer (I hate rain for some reason) in my singleplayer, and I find out it doesn't work because of this. Can anyone give me a link to or just tell me how to edit this in the files?
I tested it on 1.9.2 and no matter whether or not your are OP you can have commands happen to you. If you aren't OP though, you can't edit any command blocks. Hope this answers your question clearly.
I tested it on 1.9.2 and no matter whether or not your are OP you can have commands happen to you. If you aren't OP though, you can't edit any command blocks. Hope this answers your question clearly.
Welcome to the forum. This is a very old topic from over 3 years ago when command blocks were first introduced to the game. Please avoid posting on old topics unless you have something meaningful to add. When using the forum search pay attention to the date of the posts.
If you were still wondering, or anyone checking this post nowadays: If you were having trouble with the TP command, make sure you set the position so the player isn't stuck in the gound (1 or 2 y above ground level is ideal).
This general thought process can be applied to most commands, i.e, make sure it is 100% possible to execute the command, in notation and such
For example:
Can anyone else verify this?
Edit: rephrased for clarity. Seems like people are misunderstanding my post. I am NOT talking about the non-op being able to create command blocks.
"Okay!!! Hey look, command block, let's see what commands I can do with this.."
Basically this, I believe, however this can be changed within the config file.
Nooo I mean that activating the block via redstone doesn't work for a non-op. I didn't mean edit the internal command.
Isnt this the whole point of command blocks? So that an op can place them in the map to enhance gameplay for non-op players.
Scroll down to 'Disabled Commands'. Though, I don't really understand the reasoning. An OP can only edit the command block's command, and an OP can already make others an OP. There's no point in restricting the command.
Only /give isn't a disabled command and the OP said it worked for him so that can't possibly be the problem.
It's weird, though. I don't think the game can detect who activated the block or we'd have an option to target the player who activated it.
“If, by some strange coincidence, a hundred sharp pencils I was carrying embedded themselves in a third-party, would that be an accidental death?” - Nisemonogatari
I actually read "/give @p ##" in the opening post as '/give op ##'. Which isn't even the damn /op command, so I'm not sure why I mistook that. My apologies, iamthemik3.
Edit: Well, I tested it and it works perfectly in 1.4.2.
Join the Crying Obsidian Campaign.
I tested it on 1.9.2 and no matter whether or not your are OP you can have commands happen to you. If you aren't OP though, you can't edit any command blocks. Hope this answers your question clearly.
Welcome to the forum. This is a very old topic from over 3 years ago when command blocks were first introduced to the game. Please avoid posting on old topics unless you have something meaningful to add. When using the forum search pay attention to the date of the posts.
by c0yote
I tried it with terrible results. I gave my wife my glasses for a second, a creeper showed up and now my wife is pregnant.
Stupid 3D..
If you were still wondering, or anyone checking this post nowadays: If you were having trouble with the TP command, make sure you set the position so the player isn't stuck in the gound (1 or 2 y above ground level is ideal).
This general thought process can be applied to most commands, i.e, make sure it is 100% possible to execute the command, in notation and such