minetest-mod-antipvp/README.md

1.9 KiB

minetest mod antipvp

Provides pvp invulnerability to players by privilegie.

Information

This mod is named antipvp and add a priv that give PvP(Player vs Player) invulnerability.

screenshot.png

tech information

This is a fork from original https://notabug.org/gnuhacker/antipvp if still exits.

Main difference are:

  • the message event is configurable so it doesn't flood the chat for every hit on multiple attacks (to all players or only involved)
  • It provides backguard compatibility and stability for older engines, so we avoid the pain of upgrades with stupids reasons by developers

It provides a way to grant pvp god privilegies agains pvp(Player vs Player) battles:

/grant <player> antipvp

The PVP term means player versus player.

Download

Can be downloaded from https://codeberg.org/minenux/minetest-mod-antipvp and must be named as antipvp.

Original work can be downloaded from https://notabug.org/gnuhacker/pvpinvul if still exits.

Configuration

You can set those configurations in the mod tab at the gui, or added those option to the minetest config file at game directory, to the main global config file.

config option type default description
pvpinvul_kill_hitter bool false if enable, players that hit will be killed.
pvpinvul_admin_privs bool true if enable, the admin of the server will be automaticaly with antipvp privilegies.
pvpinvul_send_to_all bool true if enable, when a hitter try to hurt to a invulnerable player, send the message to all players.

For more info check https://codeberg.org/venenux/venenux-minetest/src/branch/master/tutorials/manage-minetest-configuration.md

License

Copyright (C) 2022 PICCORO Lenz McKAY Copyright (C) ???? Sandro Del Toro De Ana

LICENCE CC-BY-SA-NC