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

Inproved version of the mod and maybe in future anti damage mod, main features 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.

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_notify bool true if enable, permit to send notifications chat messages to involved players, check the next setting for details
pvpinvul_send_to_all bool false 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) 2021 Sandro Del Toro De Ana

antipvp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

antipvp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with antipvp. If not, see https://www.gnu.org/licenses/.

Description
ANTI mod for invulnerability in game agains players
Readme
Languages
Lua 100%