summaryrefslogtreecommitdiff
path: root/reports.py
AgeCommit message (Collapse)Author
2015-04-13Fix missing ()PanFritz
2015-04-13Added /rp list as alias for /rp openDico200
2015-04-10/pluginversions is broken, Fixed mail send colours.Dico200
I attempted to fix /pluginversions but ended up just commenting it out. The problem is in retrieving the plugins where instead of object type Plugin it returns "array.array"? I tried a whole bunch of things but I didn't succeed to make it work.
2015-03-25Replaced /sudo and /me with @simplecommand hookDico200
Also improved simplecommand a little bit. Don't ask me why it doesn't work in its own file as I have no clue, it wasn't tracing the errors.
2015-03-23Fix reports.py. Oops.Dico200
2015-03-20Quick fixDico200
2015-03-20Report code cleanup and /rp reopenDico200
These changes are not yet tested!!!
2015-03-20Removed redundant code check and small tweakDico200
2015-03-20Changed reports module fixes #10Dico200
Write /rp ingame for new commands n stuff.
2015-03-19Changed all CommandExecutor argumentsDico200
Added arguments command and label to all command executor functions, hopefully for massive performance increase. This is due to the following mess in PythonLoader: ``` Java @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { boolean result; if (argcount == -1) { try { result = call(4, sender, command, label, args); argcount = 4; } catch (PyException e) { //this could goof up someone ... they'll probably yell at us and eventually read this code ... fuck them if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 3 arguments (4 given)") || e.value.toString().endsWith("takes exactly 4 arguments (5 given)"))) { result = call(3, sender, command, label, args); argcount = 3; } else if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 2 arguments (4 given)") || e.value.toString().endsWith("takes exactly 3 arguments (5 given)"))) { result = call(2, sender, command, label, args); argcount = 2; } else { throw e; } } } else { result = call(argcount, sender, command, label, args); } return result; } ``` Note: Still WIP on reports - I'm working on making it keep solved reports to fix issue 10
2015-01-06change indentation from 2 spaces to 4, fix #5jomo
2014-08-07forgot spacejomo
2014-08-07use threading for offline playersjomo
2014-08-07use new thread for reports listjomo
2014-08-07get rid of dico's stupid nonsense :3jomo
2014-07-27rename log to infojomo
2014-07-27apply file read/save helpersjomo
2014-07-17use uid(player) helper methodjomo
2014-07-17Converted reports module to UUID and minor changes to forcefield moduleDico
2014-07-16removed camelcase, added more coding style to readmejomo
2014-07-13using jython 2.7b2jomo
2014-07-13use uuid in CGjomo
2014-07-12fix double quitesjomo
2014-07-12Changed single quotes to double quotesLouis Vogt
2014-07-05avoid using deleting e.g. reports[-1]jomo
2014-07-05fix broken report deletionjomo
2014-07-02fix deleteing non-existing reportjomo
2014-06-10HUGE code cleanupjomo
2014-06-07remove executable bitjomo
2014-05-17fix pathjomo
2014-05-16first commit via gitjomo