Apollo 5106eb4eb1 Added Waypoints & Limits
Limits:
   Players can now be governed by how many total homes they can place
   Default values are:
    Basic = 2
    Advanced = 4
    Super = 8
    Unlimited = inf
   Where Basic is default for singleplayer modes (ie given by default)

  Waypoints:
   Players can now choose what homes become visable via a waypoint.
   THIS FEATURE REQUIRES MINETEST VERSION 5.0 OR HIGHER
   Removing a home that has been "marked" as a waypoint also will remove
the waypoint
   Setting a home to a new location will update the waypoint to the new
location
   The api for waypoints has been reworked to support golang-like
function responses (success, errmsg, value)
   Waypoints currently use (0, 200, 0) RGB values 0x0c800 in HEX

  This mod is ready to prepare for release onto contentdb. (v1.0)
2022-05-24 17:22:24 -04:00
2021-09-09 17:52:51 -04:00
2022-05-24 17:22:24 -04:00
2021-09-09 17:52:51 -04:00
2021-09-09 19:00:25 -04:00
2022-05-24 17:22:24 -04:00
2022-05-24 17:22:24 -04:00
2022-05-24 17:22:24 -04:00
2022-05-24 17:22:24 -04:00

home_point

A multi homes teleport feature.

Commands

All commands require home_point privilege (And /sh needs one of the further privileges, See Limiting homes section below)

  • /h (place_name) Goes to a place called place_name unless not given then your player name is used.
  • /sh (place_name) Saves a place called place_name unless not given then your player name is used.
  • /rh (place_name) Removes a place called place_name unless not given then your player name is used.
  • /lh Lists all your homes, if you don't have any it will tell you how to make one.
  • /wh (place_name) Places a waypoint at the designated home till you log-out/quit, if place_name not given then your player name is used.

/wh actually toggles a waypoint, and when /sh is used with the same home as a waypoint a new waypoint will be place at the new location. (Also when /rh is used on a home with a waypoint the waypoint will be removed)

Notice

This mod uses mod storage... this means if the server crashes the mod could lose a few home points.

Limiting homes

There are 4 default privileges which are defined in settings.

All these do is limit the number of home_points players can set.

(For servers) This means you need to add home_point and at least home_point_basic to your default_privs in minetest.conf, so new players can at least use home_point. (See here for info on default_privs in minetest.conf)

home_point_basic

Defaults to max of 2 homes (Change with home_point.home_point_basic in settings)

home_point_advanced

Defaults to max of 4 homes (Change with home_point.home_point_advanced in settings)

home_point_super

Defaults to max of 8 homes (Change with home_point.home_point_super in settings)

home_point_unlimited

Allows unlimited number of homes (Not defined in settings, as unlimited is assumed to be unlimited)

Description
No description provided
Readme 370 KiB
Languages
Lua 100%