diff --git a/__init__.py b/__init__.py
index 47b10eb..cea6e41 100644
--- a/__init__.py
+++ b/__init__.py
@@ -37,17 +37,17 @@ import supybot
from supybot import world
# Use this for the version of this plugin.
-__version__ = ""
+__version__ = "v0.1"
# XXX Replace this with an appropriate author or supybot.Author instance.
-__author__ = supybot.authors.unknown
+__author__ = supybot.Author
# This is a dictionary mapping supybot.Author instances to lists of
# contributions.
__contributors__ = {}
# This is a url where the most recent plugin package can be downloaded.
-__url__ = ''
+__url__ = 'https://git.com.de/georg/limnoria-system'
from . import config
from . import plugin
diff --git a/__pycache__/__init__.cpython-38.pyc b/__pycache__/__init__.cpython-38.pyc
new file mode 100644
index 0000000..0056970
Binary files /dev/null and b/__pycache__/__init__.cpython-38.pyc differ
diff --git a/__pycache__/config.cpython-38.pyc b/__pycache__/config.cpython-38.pyc
new file mode 100644
index 0000000..b75c71a
Binary files /dev/null and b/__pycache__/config.cpython-38.pyc differ
diff --git a/__pycache__/plugin.cpython-38.pyc b/__pycache__/plugin.cpython-38.pyc
new file mode 100644
index 0000000..58c86cd
Binary files /dev/null and b/__pycache__/plugin.cpython-38.pyc differ
diff --git a/config.py b/config.py
index 9c312bd..f8c32e5 100644
--- a/config.py
+++ b/config.py
@@ -52,5 +52,17 @@ System = conf.registerPlugin('System')
# conf.registerGlobalValue(System, 'someConfigVariableName',
# registry.Boolean(False, _("""Help for someConfigVariableName.""")))
-
+conf.registerGroup(System, 'access')
+conf.registerGlobalValue(System.access, 'read',
+registry.CommaSeparatedListOfStrings('',
+"""
+RO access
+"""
+))
+conf.registerGlobalValue(System.access, 'write',
+registry.CommaSeparatedListOfStringsStrings('',
+"""
+RW access
+"""
+))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
diff --git a/plugin.py b/plugin.py
index d8862c0..381ebae 100644
--- a/plugin.py
+++ b/plugin.py
@@ -28,20 +28,56 @@
###
-from supybot import utils, plugins, ircutils, callbacks
+import os
+from supybot import utils, plugins, ircutils, callbacks, ircdb, ircmsgs
from supybot.commands import *
+from supybot.ircmsgs import nick
+
try:
from supybot.i18n import PluginInternationalization
_ = PluginInternationalization('System')
except ImportError:
# Placeholder that allows to run the plugin on a bot
# without the i18n module
- _ = lambda x: x
-
+ "_ = lambda x: x"
class System(callbacks.Plugin):
"""Internal Use"""
threaded = True
+ pass
+
+ def system(self, irc, msg, args, option1, option2):
+ """