Go to file
Jordan Irwin 6e4d66d6e8 Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3)
* Change setting key "pvp_areas_enable_pvp" to "pvp_areas.enable_pvp"...

...to match other settings format.

* Use Minetest 0.4.16 settings API if available

* Update settingtypes.txt & README.md
2018-07-26 11:26:33 +01:00
.gitignore Add support for areas hud and toggle settings 2016-12-25 08:58:31 +00:00
LICENSE.txt initial modif 2016-12-24 18:40:54 +00:00
README.md Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 2018-07-26 11:26:33 +01:00
depends.txt initial modif 2016-12-24 18:40:54 +00:00
init.lua Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 2018-07-26 11:26:33 +01:00
mod.conf initial modif 2016-12-24 18:40:54 +00:00
settingtypes.txt Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 2018-07-26 11:26:33 +01:00

README.md

PvP Areas

Sets an area for PvP control.

Use safemode to make areas be safe zones; otherwise they are killzones by default.

Config

in minetest.conf

  • pvp_areas.enable_pvp

    • Allow PvP by default.
    • default is false, PvP is disabled
  • pvp_areas.safemode

    • safemode = true --> PvP Control areas are safe zones
    • default is false, making PvP Control areas kill zones
  • pvp_areas.label

    • if ShadowNinja's areas mod is also present with HUD registration feature, this label will be displayed anywhere a PvP Control area has been set.

Commands

  • /pvp_areas
    • without arguments lists areas, if any.
  • /pvp_areas pos1
    • selects the players current position as the area minimum.
  • /pvp_areas pos2
    • selects the players current position as the area maximum.
  • /pvp_areas set
    • adds an entry using pos1 and pos2 values.
  • /pvp_areas remove n
    • removes an area entry.