Commit Graph

31 Commits

Author SHA1 Message Date
Montandalar
b2d71bf105
Fix errors under 5.x and allow selecting warps from a dropdown (#5)
- Loading would previously fail if there was both no data in mod_storage "warps" and no warps.txt
- A wrong variable used while adding the warp queue was causing crashes when attempting to warp
- Don't even attempt to teleport to a warp spot that doesn't exit
- Allow selecting warps from a dropdown for ease of use, but still allow text input as warps might be created later than the warp crystals are created (negotiable, invalid input could be dropped and only the combobox allowed if others object).
2021-02-16 22:07:09 +01:00
Auke Kok
81c3bd5bd9 Remove debug info. 2019-02-02 22:15:26 -08:00
Auke Kok
70fedaa536 Update docs. 2019-02-02 21:19:08 -08:00
Auke Kok
0a6451608d Set the node to non-diggable, to prevent accidental digging by admin. 2019-02-02 21:13:19 -08:00
Auke Kok
c8e4942e41 Convert warps to mod_storage. 2019-02-02 21:11:53 -08:00
Auke Kok
b7fd67c431 Support send_mapblock when we can. 2019-02-02 20:47:23 -08:00
Auke Kok
37315e72c9 Remove hard dependency on default. 2019-02-02 20:44:37 -08:00
James Alexander Stevenson
5c24fff8b5 Modified whoosh sound. (#2) 2017-10-16 16:09:01 -07:00
James Alexander Stevenson
493e23d3a8 Use fixed horizontal/vertical functions. (#3)
Replaces deprecates yaw/pitch functions.
2017-10-03 09:05:12 -07:00
Auke Kok
6125489914 Fix license copypasta. 2017-09-01 18:45:55 -07:00
SmallJoker
928c997e0b Tidy up code (#1)
- Break too long lines
- Use vector helper functions
- Round warp positions (less data to save)
- Disallow from setting warp ""
2016-06-27 13:09:27 -07:00
Auke Kok
74e68db79c Attempt to emerge/mapgen areas before teleporting to them.
The client will still have to actually load the mapblocks, but the
server should safely teleport a player to the location, even if
it wasn't even generated.
2016-04-06 11:43:27 -07:00
Auke Kok
979ba1c934 Change licenses slightly, more permissive. 2016-04-06 11:42:46 -07:00
Auke Kok
e83b17a0de Adding screenshot.png for the in-game mod manager. 2016-01-30 15:56:45 -08:00
Auke Kok
32c4680329 Add mod.conf 2016-01-04 14:59:04 -08:00
Auke Kok
ded6fd1195 Allow admins to travel without waiting when using the /warp cmd. 2016-01-03 23:18:23 -08:00
Auke Kok
1053e592df Fix sound level for woosh/plop.
positional sounds need to be mono, otherwise they're
player loud at all distances, which is not what is
intended.
2015-12-26 22:53:44 -08:00
Auke Kok
5da8914073 Merge pull request #2 from everamzah/master 2015-09-14 14:31:59 -07:00
James Stevenson
7d36e4b3c0 Remove odd chars from warp name 2015-09-09 11:04:03 -04:00
James Stevenson
aa772124b3 Update init.lua
Check if the player exists before doing warp queue.
2015-09-09 07:41:11 -04:00
Auke Kok
0f2900fa55 Bugfix: orientation 2015-04-30 00:30:25 -07:00
Auke Kok
0c6c38b939 Obligatory LICENSE file. 2015-04-29 00:00:57 -07:00
Auke Kok
c8318946c6 Unneeded file 2015-04-29 00:00:35 -07:00
Auke Kok
f72569d782 Description txt file 2015-04-28 23:37:14 -07:00
Auke Kok
37dc9db8b8 Add sounds.
- woosh sound at warp start. Gets cancelled if you move.
- plop sound at warp success.

freesounds.org sounds, license/attribution included.
2015-04-28 21:15:56 -07:00
Auke Kok
65c800e641 Make warps delayed by 5 seconds, handled by a queue worked. 2015-04-28 00:47:58 -07:00
Auke Kok
b39c36d931 Fix some handling issues and picking up/removal 2015-04-27 23:45:18 -07:00
Auke Kok
ba6ade74b3 Warpstones. 2015-04-27 22:08:26 -07:00
Auke Kok
ab19dcd381 Added config file hint 2015-04-24 22:13:26 -07:00
Auke Kok
7675f9a560 quick'n'dirty README 2015-04-24 22:12:07 -07:00
Auke Kok
b1861b6a2f Initial checking.
"Warps" a simple warp mod for minetest.

/setwarp [name]
/delwarp [name]
/warp [name]
/listwarps

priv: warp_admin - set/change/delete warps
priv: warp_user  - list, and use warps
2015-04-24 22:01:40 -07:00