minetest-mod-antipvp/README.md

69 lines
2.4 KiB
Markdown
Raw Normal View History

2022-01-25 13:55:04 -08:00
minetest mod pvpinvul
=====================
Provides pvp invulnerability to players by privilegie.
2022-01-25 13:55:04 -08:00
Information
-----------
This mod is named `pvpinvul` and add a priv that give PvP(Player vs Player) invulnerability.
2022-01-25 13:55:04 -08:00
![screenshot.png](screenshot.png)
## tech information
This is a fork from original https://notabug.org/gnuhacker/pvpinvul if still exits.
2022-01-25 13:55:04 -08:00
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:
2022-01-25 13:55:04 -08:00
`/grant <player> pvpinvul`
The `PVP` term means player versus player.
2022-01-25 13:55:04 -08:00
### Download
Can be downloaded from https://codeberg.org/minenux/minetest-mod-pvpinvul and
2022-01-25 13:55:04 -08:00
must be named as `pvpinvul`.
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.
2022-01-25 13:55:04 -08:00
| 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 pvpinvul 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
2022-01-25 13:55:04 -08:00
## License
Copyright (C) 2021 Sandro Del Toro De Ana
Pvpinvul 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.
Pvpinvul 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 Pvpinvul. If not, see <https://www.gnu.org/licenses/>.