summaryrefslogtreecommitdiff
path: root/damnspam.py
AgeCommit message (Collapse)Author
2016-06-21Fix for bug, where you can shift click and toggle leverspsrcek
2016-05-30Removed unneeded try/except clauseDico200
2016-05-30Updated damnspam, made block breaking check attached levers and buttons, ↵Dico200
denied clicking now mentions timeout left, tweaked command slightly to perceive setting the timeout to 0 as removing it.
2016-04-11Merge pull request #40 from RedstonerServer/tweaksjomo
Fixed indentation error ll 39-41 (damnspam)
2016-04-11Fixed indentation error ll 39-41Pepich
2016-03-26removed some unnecesary codepsrcek
The below if statement is always true and the value of timeout_on isn't used before a return statement. timeout_on = False if timeout_on == False:
2015-05-14Fixes, tweaks, changesDico200
2015-05-13Cleanup misc.py and small fix, also in damnspamDico200
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-03-19Remove annoying Damnspam plugin headerDico200
I hate plugin_header, can we maybe make it return a string which we append the message to instead? ._. or create like plugin_message(String pluginname, Player recipient, String message)
2015-01-16aparently i changed damnspam. FixedPanFritz
2015-01-16added . to maths operator to support floatsPanFritz
2015-01-09fixed indentation on damnspamPanFritz
2015-01-09fixed indentation on damnspamPanFritz
2015-01-06change indentation from 2 spaces to 4, fix #5jomo
2015-01-02using checkargsjomo
2015-01-02stone_button = stone buttonjomo
2014-12-19Added support for damnspam -1 time argumentsshillingp
2014-08-08repalce input with lever/buttonjomo
2014-08-08move line to correct positionjomo
2014-08-08fixing endless loopjomo
2014-08-08check if player is allowed to remove inputjomo
2014-08-08reset changing_inputjomo
2014-08-08allowing to update timeouts | not sure if this works ;_;jomo
2014-07-27apply file read/save helpersjomo
2014-07-17use uid(player) helper methodjomo
2014-07-17using is_creative helperjomo
2014-07-16more code cleanupjomo
2014-07-16removed camelcase, added more coding style to readmejomo
2014-07-14check for cancelled eventjomo
2014-07-14check if player can buildjomo
2014-07-14using floats for timeoutjomo
2014-07-14better message formattingjomo
2014-07-14need more caffeinejomo
2014-07-14fix time checkjomo
2014-07-14fix plugHeader, store last timejomo
2014-07-14I should stop using copy pastajomo
2014-07-14range starts at 0jomo
2014-07-14cannot join string with intsjomo
2014-07-14don't accept 0 args, remove tryjomo
2014-07-14damnspamjomo
2014-07-13using jython 2.7b2jomo
2014-07-12Added WIP DamnSpam moduleLouis Vogt