Commit Graph

31 Commits

Author SHA1 Message Date
PanFritz
f45da9bf42 Fix missing () 2015-04-13 20:57:25 +02:00
Dico200
85df528fc3 Added /rp list as alias for /rp open 2015-04-13 18:38:03 +02:00
Dico200
ce3b911b35 /pluginversions is broken, Fixed mail send colours.
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-04-10 23:55:30 +02:00
Dico200
75c9a86ba3 Replaced /sudo and /me with @simplecommand hook
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-25 00:38:56 +01:00
Dico200
f1b2c61411 Fix reports.py. Oops. 2015-03-23 22:04:53 +01:00
Dico200
8a95dc65f6 Quick fix 2015-03-20 01:28:02 +01:00
Dico200
98774e8f84 Report code cleanup and /rp reopen
These changes are not yet tested!!!
2015-03-20 01:25:35 +01:00
Dico200
71c0f8782c Removed redundant code check and small tweak 2015-03-20 00:07:47 +01:00
Dico200
3bdb56e8a2 Changed reports module fixes #10
Write /rp ingame for new commands n stuff.
2015-03-20 00:06:47 +01:00
Dico200
1750c82208 Changed all CommandExecutor arguments
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-03-19 23:51:33 +01:00
jomo
9a916ed2cd change indentation from 2 spaces to 4, fix #5 2015-01-06 23:38:42 +01:00
jomo
0b98ba42d3 forgot space 2014-08-07 03:03:27 +02:00
jomo
adaddd7500 use threading for offline players 2014-08-07 02:49:34 +02:00
jomo
0cf6c53405 use new thread for reports list 2014-08-07 02:30:44 +02:00
jomo
bea7d369ac get rid of dico's stupid nonsense :3 2014-08-07 02:27:49 +02:00
jomo
81669c62d7 rename log to info 2014-07-27 22:20:18 +02:00
jomo
b1a3a92e49 apply file read/save helpers 2014-07-27 19:42:33 +02:00
jomo
8db6085d63 use uid(player) helper method 2014-07-17 22:24:45 +02:00
Dico
372a831c82 Converted reports module to UUID and minor changes to forcefield module 2014-07-17 15:26:48 +02:00
jomo
1430a454ed removed camelcase, added more coding style to readme 2014-07-16 00:33:43 +02:00
jomo
7981591fb7 using jython 2.7b2 2014-07-13 17:10:14 +02:00
jomo
568b619122 use uuid in CG 2014-07-13 16:34:31 +02:00
jomo
241292acce fix double quites 2014-07-12 03:10:42 +02:00
Louis Vogt
0466cb781b Changed single quotes to double quotes 2014-07-12 01:17:13 +02:00
jomo
c2031cbeed avoid using deleting e.g. reports[-1] 2014-07-05 18:58:22 +02:00
jomo
d5e2cf282f fix broken report deletion 2014-07-05 18:54:52 +02:00
jomo
8ffa50c436 fix deleteing non-existing report 2014-07-02 01:13:12 +02:00
jomo
98620428ec HUGE code cleanup 2014-06-10 01:31:03 +02:00
jomo
099de5abe1 remove executable bit 2014-06-07 20:13:10 +02:00
jomo
a9a540a73e fix path 2014-05-17 01:17:05 +02:00
jomo
9f1ed1fb66 first commit via git 2014-05-16 23:04:40 +02:00