From 6e4d66d6e8e9520180f71e4f955eff8e7f4e1799 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Thu, 26 Jul 2018 03:26:33 -0700 Subject: 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 --- settingtypes.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'settingtypes.txt') diff --git a/settingtypes.txt b/settingtypes.txt index d0c30d5..22572b8 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,2 +1,9 @@ # Allow PvP by default. -pvp_areas_enable_pvp (PvP by Default) bool false +pvp_areas.enable_pvp (PvP by default) bool false + +# When not enabled PvP Control areas are kill zones. +pvp_areas.safemode (PvP Control areas are safe zones) bool false + +# 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. +pvp_areas.label (Show PvP area labels) string Defined area. -- cgit v1.2.3