Added onjoin module for moving players on join as the first mumo plugin. Numerous fixes/changes in the underlying stuff. Moved sample configuration files from modules-enabled to modules-available.

This commit is contained in:
Stefan Hacker
2010-12-20 18:13:04 +01:00
parent 41e1e75211
commit a71cf75a83
10 changed files with 247 additions and 84 deletions

View File

@@ -72,32 +72,32 @@ class test(MumoModule):
#--- Server callback functions
#
@logModFu
def userConnected(self, state, context = None):
def userConnected(self, server, state, context = None):
pass
@logModFu
def userDisconnected(self, state, context = None):
def userDisconnected(self, server, state, context = None):
pass
@logModFu
def userStateChanged(self, state, context = None):
def userStateChanged(self, server, state, context = None):
pass
@logModFu
def channelCreated(self, state, context = None):
def channelCreated(self, server, state, context = None):
pass
@logModFu
def channelRemoved(self, state, context = None):
def channelRemoved(self, server, state, context = None):
pass
@logModFu
def channelStateChanged(self, state, context = None):
def channelStateChanged(self, server, state, context = None):
pass
#
#--- Server context callback functions
#
@logModFu
def contextAction(self, action, user, session, channelid, context = None):
def contextAction(self, server, action, user, session, channelid, context = None):
pass