by SiliconPenguin » Sun Sep 22, 2019 10:53
Hi all!
I so hate this to be my first post, but here it goes:
Obligatory Preamble: I've been playing minetest for a number of months now, and I'm having a wonderful time! Thank you so much to everyone that has contributed everything from the simplest png, to the most complex mods...
My current issue: My friend came over and expressed interest in playing along with me in the sub-game I'd created. So I set it up as a server game, and I thought I should probably add a protection mod as per the recommendations. I read through this entire thread to familiarize myself with this mod, and I thought I had a handle on how to use it. However... The README.md points you to the settingtypes.txt file as a guide for setting up the mod on a server, and this file just seems to be confusing at best.
It starts out:
# This file is parsed in "settings.lua". Check regex first.
Okay, this tells me it's parsed in "settings.lua", but why am I checking my regular expressions first? And what am I checking them for?
The next statement is:
# Static paths do not work well with settings
#areas.filename (Configuration file path) string (world_path)/areas.dat
Okay, we get a warning that static paths "do not work well with settings", but the following line makes no sense at all to me. What's it for, and what relation does it have to the former warning? Am I supposed to create said areas.dat file? Or does the mod create it for me? No idea, but I'll check my regex's anyway... Sarcasm aside, If I'm supposed to create this file, is this saying that my configuration file path should equal my worldpath/areas.dat? And that areas.dat is my config file? Because the README.md says I should adjust my minetest.conf file with these settings, so now I'm doubly confused.
Next we get this:
# Allow players with a privilege create their own areas using /protect
# within the specified size and amount limits.
areas.self_protection (Self protection) bool false
Is this supposed to be added to my minetes.conf file?
If so, am I supposed to replace "(Self protection)" with "=" ? <-- Not self explanatory!
and if so, am I supposed to select true or false after the "=" ?
I could go on, but I think I made it clear why I'm confused by these directions. There aren't any concise examples for how to use these commands.
Anyway, I hope someone in the community will help make this a little clearer for me, and maybe the settingtypes.txt file can be rewritten to be a bit more helpful.
Thanks in advance!
Terry.