Page 1 of 1

[Mod] Teleport Player and Items to other places [teleporter]

PostPosted: Sun Nov 23, 2014 06:49
by addi

MINETEST MOD teleporter



This mod makes it possible for players to teleport to other (known) destinations.

How it Works:
This mod adds 2 new blocks (nodes) to the game. These are a teleporter and a receiver.

A teleporter teleports players, or items to the choose receiver
a teleporter must be linked to a receiver first, before you can use it.
One teleporter can only link to one receiver, you have to unlink it first, before using a new receiver.
a receiver can accessed by many teleporters.

just stand on a teleporter wich is ready and youll teleported to the receivers location.

Part 1: the receiver
Craft the receiver using;

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
copper ingot - steel ingot - copper ingot
steel ingot  - steel ingot - steel ingot

Image

Or use the chat command /giveme teleporter:receiver.

Place the receiver at this destination where you want to teleport to.
You now have to enter a name and a short description

You are maybe allowed to make the receiver public. (read mor at public receiver)
If you want, you can mark this receiver as favorite (that receivers will marked with a Image in the list)

Part 2: the teleporter
Craft the teleporter using;

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
copper ingot - glass       - copper ingot
steel ingot  - mese block  - copper ingot
steel ingot  - steel ingot - steel ingot

Image

Or use the chat command /giveme teleporter:teleporter.

After you placed the teleporter all known receivers will apear in the list.
just choose one and click OKAY.
Image
If you are playing on a server there are maybe some public receivers, you can list it by checking [code single]show the public receivers list[/code].
public receivers can be set by other players, or by server admin, there are maybe some intresting destinations.
----------------------
Dependencies
  • db (download here).
  • default (from minetest_game)
  • minetest version 0.4.10 or above

Download and installation
make shure you have the db mod installed.
you can get it here.

  1. visit the download page
  2. download the zip file or the zip file, that comes with db mod.
  3. extract its content to minetest/mods/
  4. rename the folder to just teleporter
  5. start minetest, select the world where you want to use it, and click configure
  6. select teleporter from the list and click enabled
If this does not work, have a look into the official Minetest Wiki how to install mods.

----------------------

Bug reports/ Feature requests

just create a new ticket, or post your question in the minetest forum.
known bugs: show list on bitbucket
----------------------

License
Image
This work is licensed under a Creative Commons Attribution 4.0 International License.
---------------------

About: public receivers
A public receiver is a receiver which is marked as public by the server admin.
They appear in the public receiver list, and every player is allowed to link a teleporter to it.

About: the runes
The runes on the receiver and teleporter are not magic,or evil they are just Futhark (ᚠᚢᚦᚪᚱᛣ)
Futhark derived from their first six letters of the alphabet: ᚠ, ᚢ, Þ, ᚦ, ᚱ, and ᛣ.
Futhark is one of the oldest alphabet used in German and England (3rd Century)
if you are interested, you can look on Wikipedia:

Re: [Mod] Teleporter [teleporter]

PostPosted: Mon Nov 24, 2014 18:48
by Krock
Interesting. Having reveivers and teleporters as separate nodes can be very helpful in some cases.

Re: [Mod] Teleporter [teleporter]

PostPosted: Tue Nov 25, 2014 01:06
by philipbenr
@addi: Typo:

## Dependencies ##

* db dwonload.


Looks good. Actually, the formspec looks awesome.

Re: [Mod] Teleporter [teleporter]

PostPosted: Tue Nov 25, 2014 14:34
by addi
philipbenr wrote:@addi: Typo:

## Dependencies ##

* db dwonload.


Looks good. Actually, the formspec looks awesome.

thanks a lot. it seems my left hand is a bit faster than my right. :-)

the formspecs in minetest drives me sometimes crazy, just because if you think some items will be in a row, they are not, e.g.
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
   "label[0.1,0.0;Receiver Settings]"..
   "box[0.1,0.6;3,0.05;#FFFFFF]"..
   "checkbox[0.1,1;favorite;mark this receiver as favorite;"..fav.."]"..
   "field[0.1,2.5;4,1;name;Name of this Destination:;${name}]"..
   "button_exit[0.1,4.4;4,1;exit;Abort]"..

here you think all that will be in one row. but the field item is moved to the left. dont know why.

Re: [Mod] Teleporter [teleporter]

PostPosted: Sat Nov 29, 2014 17:26
by kaeza
addi wrote:the formspecs in minetest drives me sometimes crazy, just because if you think some items will be in a row, they are not, e.g.

<snip>

here you think all that will be in one row. but the field item is moved to the left. dont know why.

I noticed that too. Some elements don't respect the size at all, or overflow the specified space. Other items (like `field[]` with label) are aligned to the bottom instead of top like other items. It's a PITA to design UIs sometimes. :/