[Bleeding] A little more config tweaking

This commit is contained in:
unknown 2014-05-05 13:30:17 +02:00
parent 489549a0ea
commit 6e5e70ac90
2 changed files with 8 additions and 6 deletions

View File

@ -188,6 +188,7 @@ unbannable_usernames:
- stampylonghead - stampylonghead
- stampylongnose - stampylongnose
- dantdm - dantdm
- gizzy14gazza
# TwitterBot - Used to allow superadmins to verify themselves using twitter # TwitterBot - Used to allow superadmins to verify themselves using twitter
twitterbot: twitterbot:
@ -208,9 +209,10 @@ logs:
service_checker_url: http://status.mojang.com/check service_checker_url: http://status.mojang.com/check
# HTTPD # HTTPD
httpd_enabled: true httpd:
httpd_public_folder: ./public_html enabled: true
httpd_port: 28966 port: 28966
public_folder: ./public_html
# Inactivity Auto-Kick (Requires Essentials) # Inactivity Auto-Kick (Requires Essentials)
autokick: autokick:

View File

@ -31,7 +31,7 @@ public enum TFM_ConfigEntry
PROTECTED_AREAS_ENABLED(Boolean.class, "protectarea.enabled"), PROTECTED_AREAS_ENABLED(Boolean.class, "protectarea.enabled"),
TOSSMOB_ENABLED(Boolean.class, "tossmob_enabled"), TOSSMOB_ENABLED(Boolean.class, "tossmob_enabled"),
TWITTERBOT_ENABLED(Boolean.class, "twitterbot.enabled"), TWITTERBOT_ENABLED(Boolean.class, "twitterbot.enabled"),
HTTPD_ENABLED(Boolean.class, "httpd_enabled"), HTTPD_ENABLED(Boolean.class, "httpd.enabled"),
AUTOKICK_ENABLED(Boolean.class, "autokick.enabled"), AUTOKICK_ENABLED(Boolean.class, "autokick.enabled"),
CONSOLE_IS_SENIOR(Boolean.class, "console_is_senior"), CONSOLE_IS_SENIOR(Boolean.class, "console_is_senior"),
// //
@ -44,7 +44,7 @@ public enum TFM_ConfigEntry
MOB_LIMITER_MAX(Integer.class, "moblimiter.max"), MOB_LIMITER_MAX(Integer.class, "moblimiter.max"),
NUKE_MONITOR_COUNT_BREAK(Integer.class, "nukemonitor.count_break"), NUKE_MONITOR_COUNT_BREAK(Integer.class, "nukemonitor.count_break"),
NUKE_MONITOR_COUNT_PLACE(Integer.class, "nukemonitor.count_place"), NUKE_MONITOR_COUNT_PLACE(Integer.class, "nukemonitor.count_place"),
HTTPD_PORT(Integer.class, "httpd_port"), HTTPD_PORT(Integer.class, "httpd.port"),
AUTOKICK_TIME(Integer.class, "autokick.time"), AUTOKICK_TIME(Integer.class, "autokick.time"),
// //
FLATLANDS_GENERATE_PARAMS(String.class, "flatlands.generate_params"), FLATLANDS_GENERATE_PARAMS(String.class, "flatlands.generate_params"),
@ -53,7 +53,7 @@ public enum TFM_ConfigEntry
SERVICE_CHECKER_URL(String.class, "service_checker_url"), SERVICE_CHECKER_URL(String.class, "service_checker_url"),
TWITTERBOT_SECRET(String.class, "twitterbot.secret"), TWITTERBOT_SECRET(String.class, "twitterbot.secret"),
TWITTERBOT_URL(String.class, "twitterbot.url"), TWITTERBOT_URL(String.class, "twitterbot.url"),
HTTPD_PUBLIC_FOLDER(String.class, "httpd_public_folder"), HTTPD_PUBLIC_FOLDER(String.class, "httpd.public_folder"),
// //
BLOCKED_COMMANDS(List.class, "blocked_commands"), BLOCKED_COMMANDS(List.class, "blocked_commands"),
HOST_SENDER_NAMES(List.class, "host_sender_names"), HOST_SENDER_NAMES(List.class, "host_sender_names"),