Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-03 | Added (sub/main)command, removed abot error check | Dico200 | |
@command is untested. | |||
2015-03-28 | Added cmd check to ABOT, commented out advancedcmd | Dico200 | |
advancedcmd doens't work atm, apparently function.func_code is a thing but adding co_consts isn't an attribute of that. Tested abot, seems to work well. | |||
2015-03-19 | Changed all CommandExecutor arguments | Dico200 | |
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-06 | change indentation from 2 spaces to 4, fix #5 | jomo | |
2014-07-27 | rename log to info | jomo | |
2014-07-27 | apply file read/save helpers | jomo | |
2014-07-21 | fix problem with 'none' permission | jomo | |
2014-07-16 | more code cleanup | jomo | |
2014-07-16 | removed camelcase, added more coding style to readme | jomo | |
2014-07-14 | add noperm; return true | jomo | |
2014-07-14 | fix basecolor in abot | jomo | |
2014-07-14 | can't call function before definition | jomo | |
2014-07-14 | use json config for abot | jomo | |
2014-07-11 | more abot fixes | jomo | |
2014-07-10 | more abot fixes | jomo | |
2014-07-10 | match e.g. who can clear plot | jomo | |
2014-07-10 | remove empty matchgroup; first match has to be a word | jomo | |
2014-07-10 | fix false positive for e.g. MODel, MODern | jomo | |
2014-07-10 | fix false positive for e.g. MODel, MODern | jomo | |
2014-07-10 | skip abot for players with 'utils.ignore_abot' permission | jomo | |
2014-07-10 | fix literal '.' in regex, fixes | jomo | |
2014-07-10 | more noob matching | jomo | |
2014-07-10 | needs trailing space | jomo | |
2014-07-10 | fix typo, nicer output | jomo | |
2014-07-10 | do not require extra words | jomo | |
2014-07-10 | fucking comma | jomo | |
2014-07-10 | fix braces | jomo | |
2014-07-10 | more questions | jomo | |
2014-07-10 | add abot (AnswerBot) to get rid of stupid FAQ asking | jomo | |