How to make a player specific back to hub item

How to make a player specific back to hub item - Man in White and Blue Jersey Shirt Standing on Tennis Court

I'm making a server-like world with mimigames that currently relies on "back to hub" pressure plates, but i would like to have a system like they have on most servers were you can drop a item and it will send you back to hub but i cant figure out a way to do it.



Best Answer

Unfortunately, in Bedrock Edition, this is not possible, as complex NBT tags don't exist. Even if it would be possible, then you would need command blocks for every player in the server.

But in Java Edition, this is possible:

Repeat command block, always active

/execute at @a[nbt={SelectedItem:{id:"minecraft:nether_star"}}] run tp @s 0 64 0

Replace coords 0 64 0 with your wanted coordinates, and minecraft:nether_star for your wanted item. This checks if a player is holding a nether star, and if so, it teleports that person to the hub. I hope this helps.




Pictures about "How to make a player specific back to hub item"

How to make a player specific back to hub item - High angle hands of anonymous tattooist in blue gloves using professional tool to make tattoo on back of client in salon
How to make a player specific back to hub item - From above of colorful pack of trading cards for game placed on gray surface
How to make a player specific back to hub item - Man in White Top Playing Basketball



How do you return to a lobby in Minecraft?

The Return to Hub Command is a command that, once activated, allows you to return to the hub/lobby. It is represented by a Clock. The command appears in its "physical" form in a Game Wait Room in the player's inventory, in the eighth slot/right next to the Cosmetics.

How do you make a hub command?

You can summon an entity (or mob) whenever you want using the /summon command in Minecraft....Summon Command in Minecraft Java Edition (PC/Mac)
  • entity is the Minecraft entity value of the entity to summon. (See Minecraft Entities).
  • x y z is optional. ...
  • nbt is optional.




  • BEST Minecraft Lobby/Hub Plugin For Your Minecraft Server! (DeluxeHub Tutorial)




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

    Images: Martin Péchy, Lucas Guimarães, Caleb Oquendo, Ale The Alien