An idea for the teleport command.

Post Reply
Ender_Foo
Member
Posts: 18
Joined: Sat Oct 26, 2013 17:06
In-game: Ender_Foo
Location: Australia

An idea for the teleport command.

by Ender_Foo » Post

I think that there should be another way to type it, like in minecraft, you can type "/tp <player name>".
I'm back, but wont be online as much. My username is back to "Ender_Foo"

User avatar
Mcc457
Member
Posts: 84
Joined: Sat Sep 07, 2013 17:53
Location: Earth..nah too usual; Minetest
Contact:

by Mcc457 » Post

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.
Working on a sub-game; mostly based texture packs, adventure and soon chemistry...

User avatar
Krock
Developer
Posts: 4577
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

by Krock » Post

builtin/chatcommands.lua wrote:

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?
Last edited by Krock on Tue Jan 21, 2014 16:28, edited 1 time in total.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Enke
Member
Posts: 469
Joined: Fri Nov 15, 2013 02:56
GitHub: NANOsoldierEnke
IRC: Enke
In-game: Enke
Location: The internet

by Enke » Post

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.
Lush8
ExtraVars for Red Eclipse

<Anarchid> my turn was still the most awesome, yielding all the cripples, two captured paranormals, and death rate of about 30%
<ORCACommander> Anarchid: you need to work harder
<ORCACommander> I am hereby putting you under review until you can increase the casualty rate

User avatar
philipbenr
Member
Posts: 1743
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

Ender_Foo's logo wrote:...(ruby sword)...
Seems familiar....

Post Reply

Who is online

Users browsing this forum: FinnRules, philipbenr and 2 guests