added snowbrawl to main.py

This commit is contained in:
PanFritz
2015-06-15 22:36:50 +02:00
parent 3a02a4cffc
commit caec2fd0d5

14
main.py
View File

@@ -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 <n> 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())