Commit Graph

68 Commits

Author SHA1 Message Date
Pepich
086eade43f fixed colorify method 2015-10-30 16:36:47 +01:00
Dico200
9119c3d150 Moved /signalstrength to its own file, added default configurability, added basecommands documentation, added can_build() to helpers 2015-10-20 18:03:05 +02:00
Pepich
9a93cd3203 Added two functions for the iptracker 2015-10-18 15:36:08 +02:00
PanFritz
1cc8126a9f Added args and kwargs 2015-09-11 11:44:46 +02:00
PanFritz
945cc977a7 Imported db password and user from secrets, added target_args 2015-09-01 00:42:19 +02:00
PanFritz
f711f5e46c Added async_query since we need to remake all of our db interaction to be in a seperate thread 2015-08-31 03:25:37 +02:00
PanFritz
0ea6183c03 Merge branch 'dev' of github.com:RedstonerServer/redstoner-utils into dev
Conflicts:
	loginsecurity.py
	player.py
2015-08-18 00:24:26 +02:00
PanFritz
039d79fa0c remade loginsecurity to use py_player 2015-08-17 04:06:34 +02:00
jomo
45008c0443 remove trailing whitespace, replace tabs with 4x space 2015-08-13 00:30:54 +02:00
Dico200
3cbb8dc9bd Prevent /up griefing, add /ackey, minor tweaks
Dunno why its posting 'changes' in main.py tho
2015-06-03 01:09:07 +02:00
Dico200
057b404b03 Small change to open_json_file() 2015-05-18 23:00:54 +02:00
Dico200
211fb08265 Removed color support for /me for players w/o perms 2015-04-13 18:16:00 +02:00
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