Commit Graph

155 Commits

Author SHA1 Message Date
David Leal
0b24486d5c
Clarify license and cleanup (#61) 2024-01-16 20:10:50 +01:00
David Leal
cf6a550378
Update the timer in the formspec in real-time (#55) 2023-10-24 12:13:44 -06:00
David Leal
547e0c8e2e Update copyright notices from 2022 to 2023 2023-09-28 00:56:31 +00:00
David Leal
9fb25e34b9
Remove intllib (#53) 2023-09-27 18:55:57 -06:00
David Leal
c2b6f474bf
Update copyright notices to 2022 2022-03-22 09:42:22 -06:00
David Leal
215fd428cd
Update copyright notices to 2021 2021-01-12 14:24:17 -06:00
David Leal
a11e162bf7
Complete 1 task from TODO list (#30)
- Area owners can now accept area requests from other users.
- Various message improvements.
- Translation updates.

Only compatible with `areas` mod (https://github.com/minetest-mods/areas).
2020-04-07 10:48:22 -05:00
David Leal
ccd6044b19
Senders can deny their own requests (#32) 2020-03-04 10:41:01 -06:00
David Leal
b418b67920
Add new warp sound (#29)
Co-authored-by: ChaosWormz <ChaosWormz@users.noreply.github.com>
2020-01-21 15:31:11 -06:00
David Leal
4d609719ed
Add Factorio Luacheck (#25)
See https://github.com/marketplace/actions/factorio-mod-luacheck for more information.
2020-01-16 14:10:15 -06:00
David Leal
390ce2d199
Divide into various files
Commands, privileges and functions are divided into various files.
2020-01-09 21:13:59 -06:00
Panquesito7
6fd408f5dd
Adjust various lines of code 2020-01-08 14:04:38 -06:00
Panquesito7
2620063046
Fix compatibility with beerchat
Tested; works.
2020-01-05 14:25:15 -06:00
coil
9f99764820 Fix compatibility with beerchat muting (#21) 2020-01-02 18:30:53 -06:00
Panquesito7
065d59ca6b
Fix beerchat compatibility
Untested.
2020-01-01 20:50:00 -06:00
Panquesito7
95b44fde7d
Improve the code 2020-01-01 20:00:50 -06:00
Panquesito7
c8a67de651
Update copyright notices to 2020 2020-01-01 13:50:42 -06:00
OgelGames
bb15b744ff check if node is registered before checking if walkable 2019-12-30 18:49:22 +11:00
Panquesito7
06c076a885
Various improvements
Small changes; and improvements on readability
2019-12-01 19:11:07 -06:00
Panquesito7
723a0ad42d
Add support for gamehub (UNTESTED)
By @shivajiva101.
2019-11-22 13:50:10 -06:00
Panquesito7
50619558ce
Various readability improvements 2019-11-22 13:02:50 -06:00
Panquesito7
ed265b0dfb
Update init.lua 2019-09-05 20:04:19 -05:00
Panquesito7
c86beab20d
Update init.lua 2019-08-16 12:09:41 -05:00
Panquesito7
e4ed515d1f
Add chat2 support
This commit adds chat2 support (https://github.com/minetest-mods/chat2).
Tested with MT/MTG 5.0.1 and works pretty well.

If there's any bug/error/typo, please tell me, so, I can fix it.
2019-08-06 22:19:30 -05:00
Panquesito7
6c0f492fc2
Update init.lua 2019-08-05 23:07:02 -05:00
Panquesito7
d6cf756769
Support for beerchat (UNTESTED)
Thanks to @6r1d for the idea!
This commit also improves the mod and makes the mod better.
2019-08-05 23:04:38 -05:00
Panquesito7
c6b8df9d6f
Big improvement
Almost done, looking into some issues that needs fixing.
2019-08-02 19:31:03 -05:00
Panquesito7
5f424b9b1f
Update init.lua 2019-07-31 22:05:14 -05:00
Panquesito7
2f31f0c317
Add a new function
This commit improves "/tpy" command:
When a player receives more than 1 teleport request and types /tpy, a message will be sent to the receiver telling him the list of the requests sent to him. He must use the player name as a param, so, he will teleport to the specified player (e.g.: /tpy foo).

THIS IS AN UNTESTED FUNCTION. IT MAY RESULT IN A CRASH OR MAY CAUSE ANOTHER BUGS. CHECK IT AT YOUR OWN RISK.
2019-07-31 19:43:40 -05:00
Panquesito7
9aa68848c8
Update init.lua 2019-07-31 17:41:45 -05:00
Panquesito7
56bdc0e30c
Improve "/tpn"
This commit warns the player when they denied a request.
It also tells players what "/tpn" does, the usage.

Tested with MT/MTG 5.0.1 and works fine (no errors/bugs found).
If there's any bug/error/typo, please tell me, so, I can fix it.
2019-07-28 23:11:54 -05:00
Panquesito7
b583c5c637
Add "return" to "tpn"...
...function.
2019-07-28 21:31:24 -05:00
Panquesito7
ea41ff5654
Update init.lua 2019-07-28 18:03:32 -05:00
Panquesito7
07128f83c8
Add "enable_immediate_teleport" 2019-07-27 19:41:04 -05:00
Panquesito7
f09fde8995
Tell both players (sender...
...and receiver) that the request sent timed out.
Tested with MT/MTG 5.0.1 and works fine.

The functions "clear_tpr_list" and "clear_tphr_list" are not used due to a crash while sending the message to both players.
Sorry for any inconveniences. I'll (soon?) probably create a fix for this.
If anyone has a fix for this, it would be greatly appreciated. You may comment on my PR.
2019-07-26 18:51:52 -05:00
Panquesito7
8555e135a6
Remove duplicated code 2019-07-25 23:51:04 -05:00
Panquesito7
fb0ec6ca24
Add "find_free_position_near"...
...function to "tpp_teleport_player" function.
2019-07-25 21:19:18 -05:00
Panquesito7
28b84a69d2
Update init.lua 2019-07-25 19:50:28 -05:00
Panquesito7
fa423ed2f7
Update init.lua 2019-07-25 19:38:31 -05:00
Panquesito7
2a2ba65182
Tidied & tweaked code 2019-07-25 17:50:03 -05:00
Panquesito7
9b4112ab44
Update init.lua 2019-07-25 17:06:13 -05:00
Panquesito7
6e8e997fab
Tidied code 2019-07-25 16:59:37 -05:00
Panquesito7
45943d662a
Update init.lua 2019-07-25 16:07:39 -05:00
Panquesito7
bcd67b8038
Update init.lua 2019-07-25 15:59:21 -05:00
Panquesito7
2ebd3983e4
Oops!
This commit fixes a crash.
2019-07-25 15:57:54 -05:00
Panquesito7
6f407e1629
Tweaked code 2019-07-25 15:46:52 -05:00
Panquesito7
2551dd6f9a
Update init.lua 2019-07-25 14:57:22 -05:00
Panquesito7
4108156118
Update init.lua 2019-07-25 14:53:20 -05:00
Panquesito7
4e050feaa7
Tidied code 2019-07-25 14:16:48 -05:00
Panquesito7
6054324e72
Tweaked code 2019-07-25 13:39:40 -05:00