Moving accounts to player files added unnecessary complexity. Restore original API and add code to migrate accounts back from player files. While here, wrap CFBank with a context manager so it can be used with the Python 'with' statement. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20449 282e977c-c81d-0410-88c4-b93c2d0d6712 |
||
---|---|---|
.. | ||
born | ||
clock | ||
death | ||
init | ||
kick | ||
login | ||
muzzle | ||
remove | ||
README | ||
python_event.py | ||
python_init.py |
README
This directory contains 2 scripts: * python_init.py: called when the plugin is called. Will execute scripts in the 'init' subdirectory. * python_event.py: called when a global event (except plugin init) happens. Looks for scripts in the revelant subdirectory (Crossfire.ScriptParameters()) and executes them.