propjilo.blogg.se

Minecraft teleport command mod
Minecraft teleport command mod




minecraft teleport command mod

minecraft teleport command mod

Make usergroups and restrict permissions for guests to keep your server grief-free. *This is a MOD, not a plugin, so there is no need for sponge, etc.įE adds the most powerful permission system ever seen in Minecraft.

Minecraft teleport command mod mod#

Yes, using the ForgeEssentials Mod for Minecraft 1.7.10. An armour stand is a nice dummy entity: /execute at run summon armor_stand ~ ~ ~ Įxecute as run function set_pos.mcfunctionĮxecute store result entity Pos double 1 run scoreboard players get #current xĮxecute store result entity Pos double 1 run scoreboard players get #current yĮxecute store result entity Pos double 1 run scoreboard players get #current z Now to the actual teleportation: You can't just say /teleport etc., so you have to use an entity of which you can set the coordinates in NBT. I assume here that whatever mechanism you use tags the player with " toTeleport". Instructions for all of these can be found elsewhere. You can use this with yet another trigger of which you constantly check whether someone set it to 1 for himself, you can use the classical renamed item on the ground, you can do it whenever someone jumps 100 times on the spot, etc. Next you need something to actually start the teleportation. The first of these adds 1 to the scoreboard value for that player, the rest should be obvious. Now the players can use commands like these to set their goal coordinates: /trigger x This should be done in a clock, because using a trigger automatically disables it for that player.

minecraft teleport command mod

Then you enable them for use by everyone: /scoreboard players enable x The trigger type is what allows them to be set by non-OPs. You can't grant access to only the /teleport command, but you can prepare a /trigger for them to use.įirst create three scoreboards for the coordinates: /scoreboard objectives add x trigger






Minecraft teleport command mod