Page 1 of 1

An idea for the teleport command.

PostPosted: Tue Jan 21, 2014 15:59
by Ender_Foo
I think that there should be another way to type it, like in minecraft, you can type "/tp <player name>".

PostPosted: Tue Jan 21, 2014 16:16
by Mcc457
That would definitely make the system simpler, but it would need to be different for teleporting played to you, or another player to someone else.

PostPosted: Tue Jan 21, 2014 16:28
by Krock
builtin/chatcommands.lua wrote:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_chatcommand("teleport", {
    params = "<X>,<Y>,<Z> | <to_name> | <name> <X>,<Y>,<Z> | <name> <to_name>",
    description = "teleport to given position",
    privs = {teleport=true},
...

Err..what?

PostPosted: Tue Jan 21, 2014 22:27
by Enke
Mcc457 wrote:That would definitely make the system simpler, but it would need to be different for teleporting played to you, or another player to someone else.

This can be done already. The teleport command is probably the best we can make it at this point.

PostPosted: Wed Jan 22, 2014 06:37
by philipbenr
Ender_Foo's logo wrote:...(ruby sword)...


Seems familiar....