An idea for the teleport command.

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

An idea for the teleport command.

by Ender_Foo » Tue Jan 21, 2014 15:59

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

by Mcc457 » Tue Jan 21, 2014 16:16

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
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Tue Jan 21, 2014 16:28

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?
Last edited by Krock on Tue Jan 21, 2014 16:28, edited 1 time in total.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

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

by Enke » Tue Jan 21, 2014 22:27

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: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Wed Jan 22, 2014 06:37

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


Seems familiar....
"The Foot is down!"
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 12 guests

cron