How to use the summon command from server console

How to use the summon command from server console - From above of crop anonymous male hacker typing on netbook with data on screen while sitting at desk

I haven't found the answer to this. Can I summon an object in Minecraft from the Server console? I have the exact coordinate where I'd like an item to appear and I want to type the command from the server console window.

I tried using e.g. this command:

/summon Creeper X Y Z {powered:1}

But it returns an error:

Cannot summon the object out of the world

I'm assuming that this command is valid from an ingame relative position and not valid from the server console.



Best Answer

You can't summon an entity to an unloaded chunk; trying to do so will give you the "Cannot summon the object out of the world" error.

What you can do is summon the entity to a loaded chunk, say a world spawn chunk, and then teleport it to the desired location. You could also change the world spawn location, but this is generally inadvisable, especially for the purposes of a prank, and may still not load until a player moves into them. If you do this for a mob, you'll probably want to give it a custom name so that it doesn't despawn immediately, either in the world spawn chunks or the desired location.

Note that somebody still needs to be online and in the overworld for this to work. If that isn't the case, you'll get the same error again.




Pictures about "How to use the summon command from server console"

How to use the summon command from server console - From above of crop unrecognizable male with console controller playing video game in living room
How to use the summon command from server console - Crop gamer with potato chip and joystick in room
How to use the summon command from server console - Crop smiling friends in casual clothes with gamepads



How do you use the Summon command?

The command for summoning is pretty simple. "/summon mob". Players just need to fill in the mob name, though there are a few exceptions. The command remains the same for both Minecraft Java and Bedrock Edition, and is one of the simplest to use.

How do you summon items on a Minecraft server?

In order to summon an item, you have to add a data tag to specify which item to summon and the quantity of that item. Replace <item> with the item to summon. Must be a valid item id, or block id for which items exist. You could also use a minecraft item generator which supports summoning items.

Can you use commands in Minecraft servers?

By default when you start a new Minecraft server, command blocks will be disabled even for players with operator status. This means that players can not program or run command blocks on the multiplayer server. You can enable command blocks by changing a setting in the server.



How to use the /summon command in minecraft




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Sora Shimazaki, Eren Li, Eren Li, Gustavo Fring