summaryrefslogtreecommitdiff
path: root/chatgroups.py
AgeCommit message (Collapse)Author
2016-08-04Fix for bug, where you can use cg without logging inpsrcek
https://redstoner.com/forums/threads/3653-chatgroup-bug
2016-05-25Fix yo shitty chatgroups codeDico200
2016-02-15Added automatic disabling of cgt when leaving a chatgroupBuildTools
2015-11-04Chatgroups optimizationDico
The message is now colorified just once, not for every recipient. I'll test all this at home <3
2015-11-04Add /chatgroup tpahere to chatgroups help messageDico
2015-11-04Update chatgroups, add /cg tpahere, add some cool codeDico
I added a function do_for_chatgroup which takes a groupname, a function, and additional arguments after a receiver.
2015-08-13remove trailing whitespace, replace tabs with 4x spacejomo
2015-04-10Clean up misc.py, add space support for cg keyDico200
2015-04-09Didn't upload this for some reasonDico200
2015-04-09I love less-than-one line list creators!Dico200
2015-04-09Added player configurable chatgroup keysDico200
The keys are stored in chatgroup_keys.json
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-07-27remove try/except. fix code if it doesn't work ;)jomo
2014-07-27rename log to infojomo
2014-07-27apply file read/save helpersjomo
2014-07-19use name for CG logsjomo
2014-07-19fix re-writing variablejomo
2014-07-17use uid(player) helper methodjomo
2014-07-16more code cleanupjomo
2014-07-16removed camelcase, added more coding style to readmejomo
2014-07-14clarify how to use CGjomo
2014-07-14logging groupchat messagesjomo
2014-07-13using jython 2.7b2jomo
2014-07-13typo fixjomo
2014-07-13use uuid in CGjomo
2014-07-12show online users by UUID; add quotes info to readmejomo
2014-07-11Uses UUID now + cg_key is now :Louis Vogt
2014-06-23fixed wrong prefix in /cgtjomo
2014-06-21fix deprecated eventjomo
2014-06-10HUGE code cleanupjomo
2014-06-07remove executable bitjomo
2014-05-17fix pathjomo
2014-05-16first commit via gitjomo