Commit Graph

14 Commits

Author SHA1 Message Date
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
James Alexander Stevenson
493e23d3a8 Use fixed horizontal/vertical functions. (#3)
Replaces deprecates yaw/pitch functions.
2017-10-03 09:05:12 -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
ded6fd1195 Allow admins to travel without waiting when using the /warp cmd. 2016-01-03 23:18:23 -08: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
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
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