When creating maps with NPCs one of the most important things is that they cannot move from their current position, sure you could confine them to a box but to have them out in the open you need to write long strings of commands in order to make the NPC stationary.
The Stationary command will easily suspend any mob or player in their current position. It summons the mob but it can't move from it's current position.
/suspend minecraft:{Insert mob} x y z
/suspend {Playername} x y z
If no coordinates are given the mob or player will teleport on the same block as the player.
If you want to unsuspend the player or mob you simply replace /suspend with /unsuspend
This mechanic could also be used to keep a player in place whilst explaining the rules of a map or minigame.
It would also be helpful to server staff allowing to suspend a player breaking rules in a certain position until someone with the proper authority can evaluate the situation.
When creating maps with NPCs one of the most important things is that they cannot move from their current position, sure you could confine them to a box but to have them out in the open you need to write long strings of commands in order to make the NPC stationary.
The Stationary command will easily suspend any mob or player in their current position. It summons the mob but it can't move from it's current position.
/suspend minecraft:{Insert mob} x y z
/suspend {Playername} x y z
If no coordinates are given the mob or player will teleport on the same block as the player.
If you want to unsuspend the player or mob you simply replace /suspend with /unsuspend
This mechanic could also be used to keep a player in place whilst explaining the rules of a map or minigame.
It would also be helpful to server staff allowing to suspend a player breaking rules in a certain position until someone with the proper authority can evaluate the situation.
You can make mobs stationary with /summon [mob] ~ ~ ~ {NoAI:1}
You can freeze players with /tp [player] [same player]
In a repeating command block.
This is useless, no support
Rollback Post to RevisionRollBack
Click the dragon/egg that is on top to help me raise my dragons
Not everyone has a server with enough specs to handle those looped commands, what about realm owners and small server staff.
On a realm the only person who can kick a player is the owner, if someone on the realm is being a jerk someone with mod privs could suspend them until the owner can do what they need to.
The Meaning of Life, the Universe, and Everything.
Location:
No where
Join Date:
5/19/2017
Posts:
46
Location:
beyond space and time
Minecraft:
kkboys1
Xbox:
Console Sux
PSN:
PSN is old
Nintendo:
nintendo? lol
Member Details
You can easily suspend mobs with the NoAI tag. And you can suspend players using /tp [sameplayername] [sameplayername] with the help of the repeating command like what others said.
Quote from Wcoun27>>
Not everyone has a server with enough specs to handle those looped commands, what about realm owners and small server staff.
I totally disagree with this. Every single server can run up to 50+ looped commands and still not lag. Unless your allocating less than 250mb ram in it. Which most servers run on 1000mb. And realms has some pretty good specs, I've played some custom maps in it with all the massive repeating commands and still not lagging.
So conclusion: Suggestion already in minecraft, but in different form
Rollback Post to RevisionRollBack
Visit my website cuz, why not? Its also a portfolio of mine which is always a WIP: http://www.kkboys1.asia
You do realize that most servers have command blocks disabled, right?
But... You are suggesting a command in the first place... So if command blocks are disabled, why would players be allowed to use commands?
If you are allowed to use commands, you can just use
/effect [entity or player] minecraft:slowness [a high enough number that Minecraft counts as an infinite amount of time, which is actually possible to do.] 7 true
Rollback Post to RevisionRollBack
My avatar is a texture from a small block game I made in Python. It's not very good and it probably won't work if you install it.
I'm very alone in my Minecraft worlds as I don't have a very good internet connection to run a server. If you're like me, you might be interested in my Posse mod suggestion.
Most servers have command blocks disabled but not regular player commands, if a moderator needs to keep a character in one position for a while they can use /suspend which is quicker than building a bedrock hut and teleporting, quicker than getting the command blocks ID number, placing it, typing in a command, setting it to be repeating then activating it with a lever that you have to find in your inventory. Also, command blocks can't be used in survival mode, thus a person who needs to suspend someone quickly who are in survival could just use /suspend.
Not to mention if the player who is being teleported over and over again doesn't hit any movement keys they can freely place blocks. With /suspend block placing and mining is disabled. However, you can still access your inventory.
Also with /tp on a repeating block can't keep players in place vertically, they'll just fall, sure they'll TP back up but that's just sloppy watching them plummet a few blocks before magically going back up to their original height.
/effect [entity or player] minecraft:slowness [a high enough number that Minecraft counts as an infinite amount of time, which is actually possible to do.] 7 true
In an extreme situation where time is of the essence would you rather type this or /suspend {playername}
Most servers have command blocks disabled but not regular player commands, if a moderator needs to keep a character in one position for a while they can use /suspend which is quicker than building a bedrock hut and teleporting, quicker than getting the command blocks ID number, placing it, typing in a command, setting it to be repeating then activating it with a lever that you have to find in your inventory.
Why would a moderator need to keep a player in a position, rather than just kicking them from the server? I don't really see a usecase for this. Besides, if a player is suspended, what's to stop them from simply logging out?
Also, nobody uses ID numbers before, you type in "/give @p minecraft:command_block".
Also, command blocks can't be used in survival mode, thus a person who needs to suspend someone quickly who are in survival could just use /suspend.
If this is a moderator, why can't they switch to creative mode?
Not to mention if the player who is being teleported over and over again doesn't hit any movement keys they can freely place blocks. With /suspend block placing and mining is disabled. However, you can still access your inventory.
You never said that in your post. I double checked.
Also with /tp on a repeating block can't keep players in place vertically, they'll just fall, sure they'll TP back up but that's just sloppy watching them plummet a few blocks before magically going back up to their original height.
Why does that matter? In the event that this is being used for keeping a player in place after he's caused trouble, I don't see why we care if it looks "sloppy".
In an extreme situation where time is of the essence would you rather type this or /suspend {playername}
I can't think of an extreme situation where this is more useful than /kick.
Rollback Post to RevisionRollBack
My avatar is a texture from a small block game I made in Python. It's not very good and it probably won't work if you install it.
I'm very alone in my Minecraft worlds as I don't have a very good internet connection to run a server. If you're like me, you might be interested in my Posse mod suggestion.
Block edit disabling can be done without mods/plugins. Just switch them to Adventure mode! No placing. Or breaking. If you're really hardcore, use more commands and give them crazy regen (max 127, 1 sec. side effects: clears any regen currently on the player) and make a GIANT, invulnerable (to Survivals) slime:
Then you could constantly tp the player to a platform of barriers somewhere high up where only the admins know about it. Make sure the aforementioned slime is there so that it covers the player.
The player constantly gets hurt by the the slime (I think) but the regen stops that.
Change the player to survival so they can't kill the slime. Also name the slime to something so it doesn't despawn.
-- End of making the suspend --
Now, I will talk about making the suspend cmd. There are special commands that you can use for making commands (kind of.) They are: /scoreboard, /trigger.
Then the admin will be pressing a button and then typing /execute <playername> ~ ~ ~ /trigger suspend set 1 and next pressing another button the player will be suspended. This works for multiple players (at once) and if you change the 1 to 0 you'll unsuspend.
This command is complex but it's easier than plugins that only work for version whatever, or pulling out a command block and making a teleport suspender.
-- Slime free method --
If you're not too advanced, try typing:
/gamemode <player> a
ENTER
/effect <player> slowness 10000 127
ENTER
/effect <player> jump_boost 10000 256
Most servers have command blocks disabled but not regular player commands, if a moderator needs to keep a character in one position for a while they can use /suspend which is quicker than building a bedrock hut and teleporting, quicker than getting the command blocks ID number, placing it, typing in a command, setting it to be repeating then activating it with a lever that you have to find in your inventory. Also, command blocks can't be used in survival mode, thus a person who needs to suspend someone quickly who are in survival could just use /suspend.
Not to mention if the player who is being teleported over and over again doesn't hit any movement keys they can freely place blocks. With /suspend block placing and mining is disabled. However, you can still access your inventory.
Also with /tp on a repeating block can't keep players in place vertically, they'll just fall, sure they'll TP back up but that's just sloppy watching them plummet a few blocks before magically going back up to their original height.
In an extreme situation where time is of the essence would you rather type this or /suspend {playername}
You sir are another level of stubborn.
Server issue: Looping command blocks are easily handled as long as it does not spawn or load anything.
Command block issue: OPs can simply go to creative mode and seal you in bedrock for survival. For creative mode, servers already have precautions for that.
Local server issues: You can blacklist them. Or their i.p.
Mob issue: Already addressed by the NoAI tag.
When creating maps with NPCs one of the most important things is that they cannot move from their current position, sure you could confine them to a box but to have them out in the open you need to write long strings of commands in order to make the NPC stationary.
The Stationary command will easily suspend any mob or player in their current position. It summons the mob but it can't move from it's current position.
/suspend minecraft:{Insert mob} x y z
/suspend {Playername} x y z
If no coordinates are given the mob or player will teleport on the same block as the player.
If you want to unsuspend the player or mob you simply replace /suspend with /unsuspend
This mechanic could also be used to keep a player in place whilst explaining the rules of a map or minigame.
It would also be helpful to server staff allowing to suspend a player breaking rules in a certain position until someone with the proper authority can evaluate the situation.
My Mac n' Cheese Screams When I eat It...
How is this different from setting NoAI:1 on the mob? The only benefit that I see is that it works on players.
I made my own shader pack, by the way.
You can make mobs stationary with /summon [mob] ~ ~ ~ {NoAI:1}
You can freeze players with /tp [player] [same player]
In a repeating command block.
This is useless, no support
Click the dragon/egg that is on top to help me raise my dragons
http://www.minecraftforum.net/forums/off-topic/forum-games/2824114-delete-the-block-above-you
You do realize that most servers have command blocks disabled, right?
Not to mention a repeating command block on one player would cause a colossal amount of lag.
My Mac n' Cheese Screams When I eat It...
Not everyone has a server with enough specs to handle those looped commands, what about realm owners and small server staff.
On a realm the only person who can kick a player is the owner, if someone on the realm is being a jerk someone with mod privs could suspend them until the owner can do what they need to.
My Mac n' Cheese Screams When I eat It...
You can easily suspend mobs with the NoAI tag. And you can suspend players using /tp [sameplayername] [sameplayername] with the help of the repeating command like what others said.
I totally disagree with this. Every single server can run up to 50+ looped commands and still not lag. Unless your allocating less than 250mb ram in it. Which most servers run on 1000mb. And realms has some pretty good specs, I've played some custom maps in it with all the massive repeating commands and still not lagging.
So conclusion: Suggestion already in minecraft, but in different form
or you could just get a plugin that you don't have to do any config work.Then the NPC will stay in place.But I agree with the player thing.
But... You are suggesting a command in the first place... So if command blocks are disabled, why would players be allowed to use commands?
If you are allowed to use commands, you can just use
My avatar is a texture from a small block game I made in Python. It's not very good and it probably won't work if you install it.
I'm very alone in my Minecraft worlds as I don't have a very good internet connection to run a server. If you're like me, you might be interested in my Posse mod suggestion.
Most servers have command blocks disabled but not regular player commands, if a moderator needs to keep a character in one position for a while they can use /suspend which is quicker than building a bedrock hut and teleporting, quicker than getting the command blocks ID number, placing it, typing in a command, setting it to be repeating then activating it with a lever that you have to find in your inventory. Also, command blocks can't be used in survival mode, thus a person who needs to suspend someone quickly who are in survival could just use /suspend.
Not to mention if the player who is being teleported over and over again doesn't hit any movement keys they can freely place blocks. With /suspend block placing and mining is disabled. However, you can still access your inventory.
Also with /tp on a repeating block can't keep players in place vertically, they'll just fall, sure they'll TP back up but that's just sloppy watching them plummet a few blocks before magically going back up to their original height.
In an extreme situation where time is of the essence would you rather type this or /suspend {playername}
My Mac n' Cheese Screams When I eat It...
Why would a moderator need to keep a player in a position, rather than just kicking them from the server? I don't really see a usecase for this. Besides, if a player is suspended, what's to stop them from simply logging out?
Also, nobody uses ID numbers before, you type in "/give @p minecraft:command_block".
If this is a moderator, why can't they switch to creative mode?
You never said that in your post. I double checked.
Why does that matter? In the event that this is being used for keeping a player in place after he's caused trouble, I don't see why we care if it looks "sloppy".
I can't think of an extreme situation where this is more useful than /kick.
My avatar is a texture from a small block game I made in Python. It's not very good and it probably won't work if you install it.
I'm very alone in my Minecraft worlds as I don't have a very good internet connection to run a server. If you're like me, you might be interested in my Posse mod suggestion.
Suspending can be done now.
type "/effect @s health_boost 600 127" then "/effect @s instant_health 0 127" in chat to give yourself more hp than the ender dragon.
Block edit disabling can be done without mods/plugins. Just switch them to Adventure mode! No placing. Or breaking. If you're really hardcore, use more commands and give them crazy regen (max 127, 1 sec. side effects: clears any regen currently on the player) and make a GIANT, invulnerable (to Survivals) slime:
Then you could constantly tp the player to a platform of barriers somewhere high up where only the admins know about it. Make sure the aforementioned slime is there so that it covers the player.
The player constantly gets hurt by the the slime (I think) but the regen stops that.
Change the player to survival so they can't kill the slime. Also name the slime to something so it doesn't despawn.
-- End of making the suspend --
Now, I will talk about making the suspend cmd. There are special commands that you can use for making commands (kind of.) They are: /scoreboard, /trigger.
Then the admin will be pressing a button and then typing /execute <playername> ~ ~ ~ /trigger suspend set 1 and next pressing another button the player will be suspended. This works for multiple players (at once) and if you change the 1 to 0 you'll unsuspend.
This command is complex but it's easier than plugins that only work for version whatever, or pulling out a command block and making a teleport suspender.
-- Slime free method --
If you're not too advanced, try typing:
type "/effect @s health_boost 600 127" then "/effect @s instant_health 0 127" in chat to give yourself more hp than the ender dragon.
with suspending this is easier to make rules
Plugins can be used, if you are a command noob and just want to type /suspend a_griefer or /unsuspend innocent_person.
type "/effect @s health_boost 600 127" then "/effect @s instant_health 0 127" in chat to give yourself more hp than the ender dragon.
You sir are another level of stubborn.
Server issue: Looping command blocks are easily handled as long as it does not spawn or load anything.
Command block issue: OPs can simply go to creative mode and seal you in bedrock for survival. For creative mode, servers already have precautions for that.
Local server issues: You can blacklist them. Or their i.p.
Mob issue: Already addressed by the NoAI tag.
--------------