generated from your-land/yl_template
Defines configuration options
This commit is contained in:
parent
858dcd9039
commit
146a42052d
@ -5,8 +5,10 @@ yl_survey.settings = {}
|
||||
|
||||
yl_survey.settings.debug = minetest.settings:get_bool("yl_survey.debug", false)
|
||||
|
||||
yl_survey.settings.external_value = "mod_default" or minetest.settings:get("yl_survey.external_value") or "default"
|
||||
yl_survey.settings.save_path = minetest.settings:get("yl_survey.save_path") or "yl_survey"
|
||||
|
||||
yl_survey.settings.save_path = "yl_survey" or minetest.settings:get("yl_survey.save_path") or "default"
|
||||
yl_survey.settings.surveyedit_privs = minetest.settings:get("yl_survey.surveyedit_privs") or "server"
|
||||
|
||||
yl_survey.settings.admin_priv = "admin_priv" or minetest.settings:get("yl_survey.admin_priv") or "server"
|
||||
yl_survey.settings.surveyanswer_privs = minetest.settings:get("yl_survey.surveyanswer_privs") or "interact"
|
||||
|
||||
yl_survey.settings.surveyevaluate_privs = minetest.settings:get("yl_survey.surveyevaluate_privs") or "server"
|
||||
|
||||
@ -2,6 +2,6 @@ yl_survey.information = {}
|
||||
yl_survey.information.version = "0.0.1"
|
||||
yl_survey.information.author = "AliasAlreadyTaken"
|
||||
yl_survey.information.license = "MIT"
|
||||
yl_survey.information.name = "yl_survey" -- Name of the mod
|
||||
yl_survey.information.name = "yl_survey"
|
||||
yl_survey.information.source = "https://gitea.your-land.de/your-land/yl_survey"
|
||||
yl_survey.information.additional = yl_survey.t("information_additional")
|
||||
|
||||
@ -1,11 +1,26 @@
|
||||
[category]
|
||||
[yl_survey]
|
||||
|
||||
# Debug
|
||||
# Set this to true to enable debug mode, it will output some more values to log
|
||||
# Optional, default is false
|
||||
yl_survey.debug (Debug mode) bool false
|
||||
|
||||
# First line: Name the settings
|
||||
# Second line: Say what it does, how to use it, what it changes
|
||||
# Third line: Is it optional? What's the default value? Does it expect a certain set of values?
|
||||
yl_survey.external_value (Description of the setting) string "default_value"
|
||||
# Save path
|
||||
# Set this to where in the worldfolder you want the JSON files stored.
|
||||
# Optional, default is yl_survey
|
||||
yl_survey.save_path (Save path) string yl_survey
|
||||
|
||||
# Survey edit privs
|
||||
# Enable holders of these privs to edit surveys
|
||||
# Optional, default: server, no setting disables the feature
|
||||
yl_scheduler.surveyedit_privs (Survey edit privs) string server
|
||||
|
||||
# Survey answer privs
|
||||
# Enable holders of these privs to answer surveys
|
||||
# Optional, default: server, no setting disables the feature
|
||||
yl_scheduler.surveyanswer_privs (Survey answer privs) string interact
|
||||
|
||||
# Survey evaluate privs
|
||||
# Enable holders of these privs to evaluate surveys
|
||||
# Optional, default: server, no setting disables the feature
|
||||
yl_scheduler.surveyevaluate_privs (Survey evaluate privs) string server
|
||||
|
||||
@ -13,7 +13,7 @@ texts["get_filepath"] = "get_filepath : @1"
|
||||
|
||||
-- Translateable texts
|
||||
|
||||
texts["information_additional"] = "Additional information"
|
||||
texts["information_additional"] = "Create and answer surveys"
|
||||
|
||||
texts["chatcommand_admin_description"] = "Admin Chatcommand description"
|
||||
texts["chatcommand_admin_parameters"] = "<name> <privilege>"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user