You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jordan Irwin 6e4d66d6e8 Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 4 years ago
.gitignore Add support for areas hud and toggle settings 6 years ago
LICENSE.txt initial modif 6 years ago
README.md Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 4 years ago
depends.txt initial modif 6 years ago
init.lua Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 4 years ago
mod.conf initial modif 6 years ago
settingtypes.txt Update settingtypes.txt & Use 0.4.16 API on Newer Servers (#3) 4 years ago

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.