WaypointTeleport

by payk12

This mod is a recreation of the minecraft teleportation plugin for servers.

Content
5 years ago
0.16
5
Transportation
Owner:
payk12
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
6 years ago
Latest Version:
0.0.2 (5 years ago)
Factorio version:
0.16
Downloaded by:
5 users

It's a mod that allows you to make waypoints sort of like the minecraft waypoint plugin most servers have.
There isn't any set amount of homes a person can have but it can be added if someone knows how to code.
Feel free to modify the mod as you see fit, this was originally in an admin mod I am making but someone suggested I make them two different mods.

Update: I have been noted of an error, which has been fixed. Along with the fix I have added a prefix - what you put before typing any command out like /home. The set prefix is >, please note that I couldn't use / because the game thought it was a command so I needed to use another character. If you want me to make it so you can set your own prefix in game let me know and I will add it.

HOW TO USE:
There are 6 commands, please put a > at the start of the command.
tp - first type tp then the players name you wish to teleport to so "tp bob".
sethome - type sethome and then the name you want the teleport to be called so "sethome base".
home - type home then the teleports name you want to teleport to so "home base".
phomes - type phomes it will print out your homes that you have listed so you don't have to remember it xD.
resethomes - type resethomes and it will clear your homes, great when you have a lot of homes you don't want.
removehome - type removehome and the name of the teleport and it will be removed from the list and will never be accessible ever again.

As a side note no two teleports can be named the same. It is setup like this so you don't accidentally save over a current teleport.

EXTRA INFORMATION
If you want to modify the mod as I have stated above feel free, everything is in the control.lua file.
If you just want to look it over and see how some stuff is done you can.