-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
67 lines (51 loc) · 2.68 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[center][b][size=24pt]Subspace Corridor[/size][/b][/center]
[center][img]http://imgur.com/QjimETA.png[/img][/center]
[hr]
This is a modders recources, designed to mimick /teleport, due to server commands not being available through the api.
[b]FAQ[/b]
[hr]
#### What does this mod do?
This mod is a modders recource giving modders access to a teleport command. which they can call inside thier scripts.
#### Does the client have to fly through a wormhole?
No. the picture is just an a nice picture. If you watch the gif below youll see that the client is simply teleported to thier destination.
#### does the client need to be an admin?
No. This script will teleport any player.
#### Whats an example use of this mod?
Thier is a command included with the mod showing how you would call this command via /corridor. For examplea modder could limit the where the script is allowed to teleport allowing servers to give strict teleport command to their players. IE players can teleport back to their home base.
#### Why did you make this mod?
Ive got a mod in development that would not work without access to /teleport. So I made this allowing me to accomplish my mod.
#### Can I use this in my mods?
Yes, Thats why im posting it here. Some credit would be appreciated though.
[hr]
[center]Click to see gif of script in use.[/center]
[center][url=http://i.imgur.com/crwVmq9][img]http://i.imgur.com/crwVmq9l.jpg[/img][/url][/center]
[b]INSTALL[/b]
[hr]
Place the SubspaceCorridor.lua inside data/scripts/player/
Access the script like so:
local x = 1
local y = 1
player:addScriptOnce("SubspaceCorridor.lua",x,y)
The script will then teleport the player to that destination.
The script has built in safegaurds preventing a teleportation inside of a rift.
In later versions i'll be making the script easier to use with 'require()' this will allow me to return an error if the x,y provided are not reachable. Or if their is an error in teleporting.
[b]UNINSTALL[/b]
[hr]
Just delete the files, and remove refrences to them out of your own scripts.
[center][b]Downloads[/b][/center]
[hr]
Version 1.1.0
[url=https://github.com/dirtyredz/Subspace-Corridor/releases/download/1.1.0/Subspace-Corridor-v1.1.0.zip]Subspace-Corridor v1.1.0[/url]
Version 1.0.0
[url=https://www.dropbox.com/s/9p1qbkz98nwo6pj/Subspace-Corridor-V1.0.0.zip?dl=0]Subspace-Corridor-V1.0.0[/url]
[center][b]Changelog[/b][/center]
[hr]
[b]Changelog[/b]
Version 1.1.0
-Added more print outs
-Added check to identify if to close to other entities
-Added configs page, (no required)
-Cleaned up code for performance
[b]GITHUB[/b]
[hr]
[url=https://github.com/dirtyredz/Subspace-Corridor]https://github.com/dirtyredz/Subspace-Corridor[/url]