Dico200
75823ed042
Added basecommands.py
...
Contains @simplecommand and @basecommand
Slightly alterred simplecommand, made both display the command's
required permission when displaying help if the sender has the
permission "utils.showpermission".
Also a small tweak in misc.py's join listener.
2015-03-26 16:44:21 +01: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
d160bbd91a
Revert "Moved simplecommand to its own module"
...
This reverts commit 669c2d0eb8 .
2015-03-24 23:45:23 +01:00
Dico200
669c2d0eb8
Moved simplecommand to its own module
...
The module is named simplecommand.py (wow, didn't expect that!)
And I also cleaned it up a little bit, and tried to make clear how the
fuck it works. This shit is weird.
2015-03-23 23:24:10 +01:00
Dico200
7b8242697a
CommandManager works! (Renamed to simplecommand)
...
See at the bottom of helpers.py!
I'm quite excited for this addition <3
2015-03-23 23:03:11 +01:00
Dico200
55ac6c0977
Change /sudo command fixes #14
2015-03-18 21:09:49 +01:00
Dico200
5ef17713a4
Change runas() in helpers to use player.chat
2015-03-15 04:03:40 +01:00
PanFritz
59c5c8ed02
import
2015-01-17 04:19:03 +01:00
PanFritz
cdc747b740
added import
2015-01-17 01:18:06 +01:00
PanFritz
a86331c33d
added import
2015-01-17 00:47:49 +01:00
jomo
9a916ed2cd
change indentation from 2 spaces to 4, fix #5
2015-01-06 23:38:42 +01:00
jomo
91d4a1e186
re-implement toggle()'s add=True|False
2015-01-06 22:36:57 +01:00
jomo
50b09138f8
re-add optional arg to toggle()
2015-01-06 22:30:30 +01:00
jomo
7d7d5e16e1
remove junk in toggle()
2015-01-06 22:19:06 +01:00
PanFritz
fb4aff2e04
Removed 'add' condition from helpers.py toggle method
2015-01-06 22:08:36 +01:00
jomo
01da1ed812
more docs for helpers, removed unused warp()
2015-01-02 02:26:52 +01:00
jomo
00dfc770fe
add name parameter to toggle()
2015-01-02 02:20:02 +01:00
Louis Vogt
229ee65e2a
Merge branch 'dev' of bitbucket.org:redstonesheep/redstoner-utils into dev
2014-08-07 02:36:23 +02:00
jomo
733e669e8b
clarifiy known_player a bit more
2014-08-07 01:50:26 +02:00
Louis Vogt
cb8334b533
Modified known_player method
2014-08-07 01:46:53 +02:00
jomo
63810a0782
better name + docs for played_before (renamed to known_player)
2014-07-27 22:44:12 +02:00
jomo
4707b0fd91
more documentation
2014-07-27 22:39:20 +02:00
jomo
81669c62d7
rename log to info
2014-07-27 22:20:18 +02:00
jomo
1ee5d9b456
add warn() logging
2014-07-27 22:17:24 +02:00
jomo
333437e87a
readability
2014-07-27 21:52:55 +02:00
jomo
9231d23bcb
readability
2014-07-27 19:43:06 +02:00
jomo
e9b0ad656b
add path to save/open json file
2014-07-27 06:04:31 +02:00
jomo
d58d975910
add default to open_json_file
2014-07-27 06:01:52 +02:00
Dico
5a47cf3c20
Added friends module. Thanks piggly for testing! :D
2014-07-23 00:53:24 +02:00
jomo
fbf7722831
renamed fyle to f
2014-07-20 16:46:20 +02:00
jomo
878caad751
fix horidicode
2014-07-20 16:37:41 +02:00
Dico
ff7053e1b3
Fixed shecode. I knowo that 'file' is the correct spelling, but that does weird stuff and turns blue so just leave it this works and sheeps code doesnt <3
2014-07-19 05:02:09 +02:00
Dico
6ae2f4971a
Added toggle() to helpers.py. I haven't tested it thoroughly but it doesn't give errors on start. You can read the comment for more info :D
2014-07-19 04:53:51 +02:00
jomo
5b1e1ca383
fix dicode
2014-07-19 02:19:12 +02:00
jomo
6268672ccf
fix imports
2014-07-19 02:02:42 +02:00
Dico
4966dac92e
Minor tweaks and fixes
2014-07-19 02:00:54 +02:00
Dico
231a5b8322
Stuff added to helpers.py, forcefield updated to be a lot more efficient (simple change)
2014-07-19 01:39:08 +02:00
Dico
30d670bade
minor changes. @Sheep: Take a look at the changes I made to helpers module and tell me if I'm stupid.
2014-07-18 03:45:28 +02:00
Dico
d2270ac263
Git messed around with my files, I updated it to use the uid() function in helpers.py now.
2014-07-18 02:50:14 +02:00
jomo
8db6085d63
use uid(player) helper method
2014-07-17 22:24:45 +02:00
jomo
a5e9fd348f
make dicode DRY and more readable
2014-07-17 21:36:05 +02:00
Dico
eab60c5502
No saving to files yet, but it definitely works well now.
2014-07-17 04:49:31 +02:00
Dico
23f85b4baa
Merge branch 'dev' of bitbucket.org:redstonesheep/redstoner-utils into dev
2014-07-17 01:17:28 +02:00
Dico
0b94c02757
Working version
2014-07-17 01:13:22 +02:00
jomo
400e8ec4dd
undo dicode
2014-07-17 00:52:22 +02:00
Dico
cda6984726
Fixing bugs & Cleaning up code. Seems to work well now!
2014-07-17 00:48:41 +02:00
jomo
9a0779d168
more code cleanup
2014-07-16 00:49:55 +02:00
jomo
1430a454ed
removed camelcase, added more coding style to readme
2014-07-16 00:33:43 +02:00
jomo
94932ce0bf
creating shared dict
2014-07-14 01:16:40 +02:00
jomo
4791f84356
add motd.py
2014-07-04 01:50:36 +02:00