Hello all! Sorry for my absence! I've been busy lately with school and my power kind of skitzed it - needed to get a power-point fixed. But I'm back and ready to help you all!
To add in a player name, simply add the "extra" tag, like so: extra:[{selector:"@p"}] A working command is pasted below:
/tellraw @a ["",{"text":"Kill? ",extra:[{selector:"@p"}],"clickEvent":{"action":"run_command","value":"/kill @p"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Are you sure?"}]}}}]
Indeed you can, easily too. Say we have our two teams; Recon and Heavy. We want recon to have Speed and Heavy to have Nausea.
/effect @a[team=Heavy] nausea 10
/effect @a[team=Recon] speed 10 5
Of course, to make these infinite you can simply adjust the timing, and make sure players have no access to milk.
Quite simple, really. Using the /gamemode command, have it like normal but simply attach parameters, like so:
/gamemode 1 @a[r=3,m=2]
Anyone within 3 blocks of the command blocks and in Adventure mode (gamemode 2) will be changed to Creative mode. Anyone NOT within this radius and in this mode will be unaffected.
Pretty simple. Again, as seems to be most cases, it's simply parameters after the player selector. Examples:
(input received from a fast clock) /execute @p ~ ~ ~ testforblock ~ ~-1 ~ gold_block
(comparator from previous command block into this one) execute @p ~ ~ ~ setblock ~ ~-1 ~ cobblestone
However, if the player is sprints, this poses some problems. Perhaps disallow players to sprint - make non-pacman slower so he he has a chance to catch them though!
Happy Minecrafting!
-xFeare_
Thanks for the help with my question. I'm adding classes to my map and I thought maybe I could run a clock with a /effect command but I only wanted it for certain classes
Can you do a tutorial on /testfor? (Not testforblock/s, thats something else) If so, can you tell me how to test if a player is standing on specific coordinates?
Nice! It is helpful for people who needs help with commandblocks, I saw a thread who needed help with command blocks, and I sent him link to this thread! Good work man!
I have a question. This isn't important to your answer just helpful but... I was wondering, is it possible to "bann" an item with a certain name? Example: In my map to get "keys" (levers) you have to pay using some custom villager trades. By doing this the player can get into a room. Now I don't want them just crafting a lever, so how Would I make it so no item with the name "lever" can be allowed in any players inventory? I'm sure it takes more than one command block but I can do that if you show me how. Yet again I don't NEED this in my map it would just be helpful if it is possible.
Thank you feare for responding! I figured out how to do most of this bye now but the idea about slowness is still most definitely very helpful, what i might do is slowness I for pacman and slowness II for ghosts (might change that, seems to slow...) but i have also got a slightly adjusted version of your way of doing it, what I am going to do is have the standard commandblock clock and coming off that the testforblock and setblock but slightly altered system which should also work well.
You forget to answer my second question, How do you equip armour onto a player and make it so that if the take it of it gets put back on?
Last thing, I'm not very good with the whole team thing so first off i would be very appreciative if you added a little bit about that onto the tutorial thing and second how do you teleport someone on a team and teleport them according to such team (meaning if your on the team your tped but if your not on the team your not tped)?
I have also linked a top view for the design of the pacman minigame i just finished building, I hope u like it!
For the last question I think I could answer. The command should use a selector like this: /tp @a[team=Ghosts] X Y Z This should also work for other commands using an @p, @a or @r.
Very nice post! Although, I would like to see a command block tutorial on how to make an infinite redstone repeater that uses /setblock to place a redstone block, then the redstone block gets destroyed and is set again.
Rollback Post to RevisionRollBack
I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
To take the test, check out https://minecraftnoobtest.com/test.php
I had this idea, but I don't know how to put it in works :
I'd like to automated WorldEdit schematics on my server, small ones, for specific occasions. I know this can be done thru the command blocks, I just don't understand how.
Can someone give me a baseline on how this, as :
- calling timers
- WorlEdit schematic loading/pasting
- worldEdit cut once i want the schematic out of there .....
I know, this is a lot lol. Any type of help would be appreciated !
I am working on a basic command block creation that allows you to walk on air by placing barrier blocks below you and deleting them behind you, I want to make it so when you crouch it makes you go down, but I'm not quite that good with commands. I just need a command that detects if you are crouching, or if you are crouching on a barrier block, or it does what was previously stated and gives you levitation 150 for 1 second, just whatever is simplest to do in one command without summoning more command blocks (if possible.). the levitation is so that you constantly hit a barrier 2 blocks below you before it gets deleted, as to prevent fall damage.
(ps if something like that is in the guide, i'm sorry, but I'm too tired to read right now)
Hey, Can you give me your discord ( if you have ), so that i can ask and discuss some more things as posting comment again and again will flood the comment section.
Thanks for the help with my question. I'm adding classes to my map and I thought maybe I could run a clock with a /effect command but I only wanted it for certain classes
Can you do a tutorial on /testfor? (Not testforblock/s, thats something else) If so, can you tell me how to test if a player is standing on specific coordinates?
Nice! It is helpful for people who needs help with commandblocks, I saw a thread who needed help with command blocks, and I sent him link to this thread! Good work man!
I have a question. This isn't important to your answer just helpful but... I was wondering, is it possible to "bann" an item with a certain name? Example: In my map to get "keys" (levers) you have to pay using some custom villager trades. By doing this the player can get into a room. Now I don't want them just crafting a lever, so how Would I make it so no item with the name "lever" can be allowed in any players inventory? I'm sure it takes more than one command block but I can do that if you show me how. Yet again I don't NEED this in my map it would just be helpful if it is possible.
For the last question I think I could answer. The command should use a selector like this: /tp @a[team=Ghosts] X Y Z This should also work for other commands using an @p, @a or @r.
Very nice post! Although, I would like to see a command block tutorial on how to make an infinite redstone repeater that uses /setblock to place a redstone block, then the redstone block gets destroyed and is set again.
I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!


To take the test, check out
https://minecraftnoobtest.com/test.php
I scored 91% on the Minecraft Trivia Quiz. How much do you know about Minecraft?
when i type in this command: /execute @a ~ ~ ~ detect ~ ~-1 ~ tnt 0 playsound game.tnt.primed it says failed to execute 'detect as Siqle
i know it's a stupid question but how do i add new water effects
Thx so much feare i have used all of them and it works! awesome!
The,spawnpoint command,does not work!
Completely useful!!!
Hi can u help me of how to do SKYWARS with these command blocks
Nicholas Pham
Heyas !!
I had this idea, but I don't know how to put it in works :
I'd like to automated WorldEdit schematics on my server, small ones, for specific occasions. I know this can be done thru the command blocks, I just don't understand how.
Can someone give me a baseline on how this, as :
- calling timers
- WorlEdit schematic loading/pasting
- worldEdit cut once i want the schematic out of there .....
I know, this is a lot lol. Any type of help would be appreciated !
I am working on a basic command block creation that allows you to walk on air by placing barrier blocks below you and deleting them behind you, I want to make it so when you crouch it makes you go down, but I'm not quite that good with commands. I just need a command that detects if you are crouching, or if you are crouching on a barrier block, or it does what was previously stated and gives you levitation 150 for 1 second, just whatever is simplest to do in one command without summoning more command blocks (if possible.). the levitation is so that you constantly hit a barrier 2 blocks below you before it gets deleted, as to prevent fall damage.
(ps if something like that is in the guide, i'm sorry, but I'm too tired to read right now)
This is SO useful! Thank you for making it!
One question, will these commands work in any other versions of minecraft? Just wondering, thanks!
Virtual Hugs,
Yinyangwarrior2 😆
Hey, Can you give me your discord ( if you have ), so that i can ask and discuss some more things
as posting comment again and again will flood the comment section. 