RedstonerServer / redstoner-utils

Redstoner's plugins, written in Python.
MIT License
7 stars 3 forks source link

/damnspam 0 #24

Closed ghost closed 8 years ago

ghost commented 9 years ago

So I set a button with damnspam and decided I didn't need it. I looked at it and ran "/ds 0" and it returned "The timeout must be between 0-60 or -1"

jomo commented 9 years ago

The only way to remove a ds lock is to destroy it (while sneaking). I see how this can be a problem in some cases.

Want to submit a PR to allow using /ds 0 to remove the lock?

ghost commented 9 years ago

I'll see C:

ghost commented 9 years ago

Here is my first attempt/half fix, haven't tested it yet so I don't wanna make a pull request until I confirm it works. https://github.com/LogalGamer/redstoner-utils/commit/3598f0131ff2b16e0679b73d21b323d8255b2d46

PanFritz commented 9 years ago

You have a syntax error at the comparison, should be "==" and might be smart to check if before it tries to round it

jomo commented 9 years ago

You can make a PR and and simply push any additional changes to the same branch, so they'll be included in the PR.

ghost commented 9 years ago

Dumb question, where can I get a working version of PythonPluginLoader? The one I had messed up and the download link I used is broken.

PanFritz commented 9 years ago

Check our wiki

ghost commented 9 years ago

Ah thanks.

Dico200 commented 8 years ago

I've updated damnspam to do this in my latest commit https://github.com/RedstonerServer/redstoner-utils/commit/d00301ccc3de42c6b66bf986e79ce84ca2c09d07