Commit Graph

150 Commits

Author SHA1 Message Date
Panquesito7
579f75769c
Update init.lua 2019-07-18 20:56:06 -05:00
Panquesito7
9fcc62c1fc
Fix typo 2019-07-18 20:43:38 -05:00
Panquesito7
3e8fcf3fc4
Update init.lua 2019-07-17 19:03:00 -05:00
Panquesito7
033f3fbf53
Merge branch 'license_changes' into 'master'
I've changed the license to complete another task from the TODO list (and to make it compatible with MT/MTG and many other games/mods) .

Please decide if it was correct to change the license.
If you do not like this change, please tell me, so, I can revert these changes.
2019-07-17 18:04:52 -05:00
Panquesito7
536a30ff87
Translate log 2019-07-16 14:48:29 -05:00
Panquesito7
0dd475f1dc
Translate params 2019-07-16 14:26:28 -05:00
Panquesito7
736512ee3c
Add intllib support
Tested with MT/MTG 5.0.1 and works fine.
If there is any typo/bug/error, please tell me, so, I can fix it.
2019-07-15 13:52:31 -05:00
Panquesito7
4986742a24
Update init.lua 2019-07-15 11:47:34 -05:00
Panquesito7
0247e31203
Update init.lua 2019-07-15 11:46:14 -05:00
Panquesito7
abcdb44584
Fixed big typo 2019-07-14 20:04:30 -05:00
Panquesito7
11384e2797
Some fixes 2019-07-12 19:30:51 -05:00
Panquesito7
905afd49d2
Tweaked code 2019-07-11 20:59:46 -05:00
Panquesito7
ad57543608
Update init.lua 2019-07-11 20:50:48 -05:00
Panquesito7
8e43351cc4
Fix some bugs
This commit fixes some bugs which could create a crash. 😋
2019-07-11 20:43:42 -05:00
Panquesito7
beed2ea017
Update init.lua 2019-07-10 17:17:57 -05:00
Panquesito7
ff7d99bc3f
Oops 😋 2019-07-08 20:30:16 -05:00
Panquesito7
c921f786d7
Small changes
Completed 2 tasks from the TODO list.
See the "README.md" changes commit.
2019-07-08 20:23:57 -05:00
BillyS
b3edd61085 Fixed teleporting outside of map 2019-03-24 15:38:32 +00:00
ChaosWormz
cf663c9e75 tpj and tpe require a priv 2017-01-24 10:22:31 +02:00
ChaosWormz
d5abac3df9 remove buggy particles 2017-01-24 10:12:42 +02:00
Robbie Ferguson
54c62edc47 Require interact for approve/deny
Could be used to circumvent prison or a bad player could annoy n00bs by teleporting them out of spawn, etc. So restrict until they have interact.
2016-05-20 15:54:15 -04:00
Robbie Ferguson
7d7deaddfc Remove find_air until we can get it stable. 2016-05-19 23:11:28 -04:00
Robbie Ferguson
eae1735780 Update init.lua 2016-05-19 23:06:43 -04:00
Robbie Ferguson
c385f54ced Update init.lua 2016-05-19 22:58:08 -04:00
Robbie Ferguson
287ad8fd84 Update init.lua 2016-05-19 22:49:28 -04:00
Robbie Ferguson
6c311647e5 Update init.lua 2016-05-19 22:40:53 -04:00
Robbie Ferguson
45d0e334a7 Update init.lua 2016-05-19 22:36:57 -04:00
Robbie Ferguson
ba17fc804c Keep testing... not yet stable. 2016-05-19 22:30:04 -04:00
Robbie Ferguson
9e2de9c995 Update init.lua 2016-05-19 22:20:43 -04:00
Robbie Ferguson
16262b3b51 Test my own theory 2016-05-19 22:17:00 -04:00
Robbie Ferguson
33c81b3d72 Update init.lua 2016-05-19 20:43:36 -04:00
Robbie Ferguson
c9325322a8 Update init.lua 2016-05-19 20:25:02 -04:00
Robbie Ferguson
12f9444cf5 Fixes
Thanks, DonBatman.
2016-05-19 20:20:49 -04:00
Robbie Ferguson
7d157495fc Fix function declaration for find_air 2016-05-19 20:07:09 -04:00
Robbie Ferguson
716a42e4f6 First attempt at implementing find_air 2016-05-19 20:05:19 -04:00
Robbie Ferguson
8de3848a7a Begin working on find_air function
Thanks to sofar for the advice and DonBatman for the initial [untested] code.
2016-05-19 17:23:02 -04:00
Robbie Ferguson
58b8198de2 Minor fix 2016-05-18 18:59:28 -04:00
Robbie Ferguson
704bc994e1 Evade should be working perfectly now.
Only thing left to do is make it so it doesn't spawn you inside rocks! For now you can to /tpj y 20 to recover  ;)
2016-05-18 18:52:26 -04:00
Robbie Ferguson
a505e92faa Version 1.5
Now with a version of /tpe that will make your mind explode instead of your server.
2016-05-18 18:47:49 -04:00
Robbie Ferguson
6c21a250c6 Update init.lua 2016-05-18 18:04:40 -04:00
Robbie Ferguson
b2ce7f38b0 Testing 2016-05-18 18:01:39 -04:00
Robbie Ferguson
30718b325f Update init.lua 2016-05-18 17:17:05 -04:00
Robbie Ferguson
0829e02c19 Make it go! 2016-05-18 17:10:58 -04:00
Robbie Ferguson
97437c3a80 Update init.lua 2016-05-18 16:48:43 -04:00
Robbie Ferguson
38982dadf2 Fix the /tpe loop 2016-05-18 16:31:08 -04:00
Robbie Ferguson
0e0eb50206 Update init.lua 2016-05-18 15:55:38 -04:00
Robbie Ferguson
a3d18f5a70 Look, I'm learning! 2016-05-18 15:48:04 -04:00
Robbie Ferguson
acf9658732 n00b coder repair 2016-05-18 15:44:25 -04:00
Robbie Ferguson
aa537a6765 Update init.lua 2016-05-18 15:35:25 -04:00
Robbie Ferguson
a601838eba Fix negative distances 2016-05-18 15:29:35 -04:00
Robbie Ferguson
2f82b11d9c Add /tpe
hehe
2016-05-18 15:10:23 -04:00
Robbie Ferguson
55a86adc76 Minor improvements to the UX. 2016-05-18 07:49:07 -04:00
Robbie Ferguson
4964bf1de7 Increase version to 1.4
So much development has gone into it so far so I think it warrants a tick on the increment clock  :)
2016-05-18 07:41:39 -04:00
Robbie Ferguson
9778db4268 Make /tpj require interact priv and recode /tpj
Also make it so Minetest checks for the tp_tpc priv rather than our function.
2016-05-18 07:40:42 -04:00
Robbie Ferguson
a17658174f Add /tpj
From ChaosWormz "mt_reletive_teleportation" mod (typo his).
2016-05-18 07:16:48 -04:00
Robbie Ferguson
5f12f7b6d6 /tpc now requires tp_tpc priv
As requested by ChaosWormz
2016-05-17 13:15:48 -04:00
Robbie Ferguson
14bb394336 Add sound to /tpr and /tphr 2016-05-13 18:08:55 -04:00
Robbie Ferguson
5c13b8b9ec Other players hear teleporter
Put it back to allowing nearby players to hear the teleport sound effect.
2016-05-13 17:52:39 -04:00
Robbie Ferguson
0b5fd2ca98 Missed an instance of new sound 2016-05-13 17:41:23 -04:00
Robbie Ferguson
aa5e87dbf6 Improve sound. 2016-05-13 17:36:35 -04:00
Robbie Ferguson
80fc854a93 Add particles, fix sound. 2016-05-13 14:59:32 -04:00
Robbie Ferguson
e97baea05a Update init.lua 2016-05-13 14:09:57 -04:00
Robbie Ferguson
1a4e71c0bb Update init.lua 2016-05-13 13:56:36 -04:00
Robbie Ferguson
cd6a2c3fa5 Reorder functions 2016-05-13 13:41:44 -04:00
Robbie Ferguson
07b44e6b29 Ensure area is walkable for /tpc
Don't spawn in rock. :)
2016-05-13 13:24:39 -04:00
Robbie Ferguson
f06658f319 Working on areas protection.
Changing the way we detect areas and whether the player is allowed to teleport to a protected area.
2016-05-13 13:12:11 -04:00
Robbie Ferguson
80da1f0614 Update init.lua
Test fix for admin priv
2016-05-13 12:03:18 -04:00
Robbie Ferguson
9f6f5034d8 Admin priv update
Heh - I had no idea the original author had already added a placeholder for a priv called tpr_admin (how did I miss that), but since it did nothing, I removed it. I also renamed my admin priv to "tp_admin" - I'd originally called it tpr_admin because I still tend to refer to the mod as TPR even though it's evolving into something different, but then realized people might get confused since this mod is called tps_teleport (so should it be tps_admin?) -- so I opted for tp_admin instead... avoid the confusion, and since the original mod doesn't yet use tpr_admin, there's no reason to keep it as that.

Also, incremented the version to 1.3 because I feel we've been making pretty big headway here.
2016-05-13 08:42:58 -04:00
Robbie Ferguson
836b417586 Add tpr_admin priv
New tpr_admin priv overrides area check for /tpc
2016-05-13 08:35:20 -04:00
DonBatman
c1fedad691 Added areas support 2016-05-12 18:45:09 -07:00
NathanSalapat
ef4b78e4c2 can TPC to your own areas. 2016-05-11 16:06:15 -05:00
Robbie Ferguson
ab53bbc594 First working commit.
Thanks to DonBatman and NathanS21 for helping as testers.
2016-05-10 15:17:01 -04:00
Robbie Ferguson
71288b302a More minor fixing :) 2016-05-10 14:20:28 -04:00
Robbie Ferguson
31f1ba75a5 Update init.lua 2016-05-10 14:18:03 -04:00
Robbie Ferguson
abbcd56a6b Update init.lua 2016-05-10 14:11:20 -04:00
Robbie Ferguson
be7441143a Update init.lua 2016-05-10 13:58:24 -04:00
Robbie Ferguson
664b03135c Fixes
Change x,y,z to posx,posy,posz.
Change the way target_pos is created.
2016-05-10 13:53:26 -04:00
Robbie Ferguson
654224d2c8 Work in progress--does not work yet.
Don't pull this. It is not stable.
2016-05-10 13:42:17 -04:00
Robbie Ferguson
a9dd5e2c1b First version after fork.
Simply getting the code laid out. Probably doesn't work yet (untested) but setting up for coordinate teleportation and making minor changes.
2016-05-10 11:11:31 -04:00
HybridDog
b5f6fa8419 short a bit the code
fix readme newline
2015-08-28 22:10:04 +02:00
Raphael Leroux
b3be1e19b6 make var p local to avoid warnings | Fix description of tphr 2015-02-28 19:23:32 +01:00
Vanessa Ezekowitz
cd95a32edd minetest.env:* --> minetest.* 2014-12-09 13:04:36 +10:00
Craig Robbins
aed423eecb Added /tpn to request message 2014-07-31 14:45:23 +10:00
Craig Robbins
3b42410468 Removed superfluous statements 2014-07-31 14:43:04 +10:00
Craig Robbins
dcdc836b1d Added credits; Bumped to version 1.1 2014-07-31 14:41:44 +10:00
Craig Robbins
1717bb229d Removed deprecated stuff 2014-07-30 17:02:06 +10:00
Craig Robbins
8df9e73a5d Fixed tpr_deny() 2014-07-30 16:56:20 +10:00
Craig Robbins
b791f13380 Changed timeout_delay back to 60 seconds 2014-07-30 16:40:10 +10:00
Craig Robbins
e9e9a0c8a4 Removed last of namespace pollution 2014-07-30 16:39:09 +10:00
Craig Robbins
2aa668c42a source/dest were back to front 2014-07-30 14:46:45 +10:00
Craig Robbins
973092d27d Made registering new priv configurable; fixed timeout value 2014-07-30 14:06:42 +10:00
Craig Robbins
0404719dab Removed superflous comments 2014-07-30 14:05:03 +10:00
Craig Robbins
c19a3ba084 Refactored 2014-07-30 14:01:44 +10:00
Craig Robbins
4763c53cb8 Removed emoticons 2014-07-30 12:32:42 +10:00
Craig Robbins
05018b636a Restricted scope of variables 2014-07-30 12:30:37 +10:00
Craig Robbins
2ae3d6932f Reformatted/indented source 2014-07-30 12:15:08 +10:00
Zeno-
42d4bc82e7 Buf fix 2014-07-27 11:35:39 +10:00
Zeno-
0faca079e4 Bug fix 2014-07-27 11:30:50 +10:00
ChaosWormz
bb4fc51090 fixed error 2014-07-26 09:54:37 +03:00
ChaosWormz
bf94003964 first commit 2014-07-26 09:20:32 +03:00