From caec2fd0d553490ddb7df796c38b4f6faf54c709 Mon Sep 17 00:00:00 2001 From: PanFritz Date: Mon, 15 Jun 2015 22:36:50 +0200 Subject: [PATCH] added snowbrawl to main.py --- main.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/main.py b/main.py index 92c7315..5c7264c 100644 --- a/main.py +++ b/main.py @@ -25,13 +25,12 @@ def on_enable(): @hook.disable def on_disable(): shared["modules"]["reports"].stop_reporting() + shared["modules"]["snowbrawl"].stop_match_end_thread() info("RedstonerUtils disabled!") info("Loading RedstonerUtils...") - - # Import all modules, in this order shared["load_modules"] = [ # Collection of tiny utilities @@ -40,8 +39,8 @@ shared["load_modules"] = [ "adminchat", # Adds /badge, allows to give players achievements "badges", - # Adds a few block placement corrections/mods - "blockplacemods", + # Adds a few block placement corrections/mods + "blockplacemods", # Adds /calc, toggles automatic solving of Math expressions in chat "calc", # Plugin to locate laggy chunks. /lc lists chunks with more than n entities @@ -75,14 +74,12 @@ shared["load_modules"] = [ # Adds /imout, displays fake leave/join messages "imout", #adds snowbrawl minigame - #"snowbrawl", + "snowbrawl", # Adds /tm [player] for a messages to be sent to this player via /msg "pmtoggle" # Replacement for LoginSecurity #"loginsecurity" - # NOTICE: If you add something here, please add a small descriptive comment above! ] - shared["modules"] = {} for module in shared["load_modules"]: try: @@ -90,5 +87,4 @@ for module in shared["load_modules"]: info("Module %s loaded." % module) except: error("Failed to import module %s:" % module) - error(print_traceback()) - + error(print_traceback()) \ No newline at end of file