Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-15 | Added more aliases | BuildTools | |
2016-02-15 | Added aliases and proper command description | BuildTools | |
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-03-15 | copy dict keys before iterating | jomo | |
python doesn't like changing dicts while iterating over that dict | |||
2015-03-15 | Revert "remove redundant loop" | jomo | |
This reverts commit cc50dc30bc7ad995495fa0cd518b03702c33df28. | |||
2015-03-15 | debug pmutils player leave event | jomo | |
2015-03-15 | remove redundant loop | jomo | |
2015-03-15 | fix all bukkit/uuid issues in pmtoggle | jomo | |
2015-03-15 | Fixed UUID problem in Pmtoggle | Dico200 | |
Thanks @jomo for pointing out | |||
2015-03-15 | Add colon in pmtoggle | Dico200 | |
2015-03-15 | Add check if chatevent is cancelled in pmtoggle | Dico200 | |
2015-03-15 | Remove redundant try/except in Pmtoggle module | Dico200 | |
2015-03-15 | pmtoggle works now, Fixes comments by Jomo | Dico200 | |
BTW: I didn't use retrieve_player as it gets an Offline player which makes it slower and I know the player is online. That's why I used Bukkit.getPlayer(juuid(uuidstring)). (line 40) | |||
2015-03-15 | Added pmtoggle module | Dico200 | |
pmtoggle adds /tm [player](togglemessage). When activated, any chat message you send will be sent as: /msg [player] [msg] |