I hereby claim:
- I am Mitch528 on github.
- I am mitch528 (https://keybase.io/mitch528) on keybase.
- I have a public key whose fingerprint is AD41 4030 F1C9 22C0 B8CA 0FE0 1777 DEF2 2C5F A97F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| from SharpStar.Lib.Plugins import PyPlugin | |
| class testplugin(PyPlugin): | |
| def on_load(self): | |
| self.subscribe_to_event('afterConnectionResponse', 'after_conn_response') | |
| def on_unload(self): | |
| pass |
| perms = {} | |
| local permissions = nil | |
| local properties = PluginProperties("permissions.lua", plugindir) | |
| properties:Load() | |
| permissions = properties:GetPropertyArray("permissions") | |
| if permissions == nil then |
| -- PlayerCommands plugin | |
| -- | |
| -- Commands: | |
| -- /starterkit | |
| -- /addkititem <item name> <amount> <interval in minutes> (-1 for only once) | |
| -- /removekititem <item name> | |
| -- /who <page number> | |
| import("System") |
| -- PlanetProtect Plugin | |
| -- | |
| -- Requires: admincommands.lua, permissions.lua | |
| -- | |
| -- | |
| -- Commands: | |
| -- /protectplanet | |
| -- /unprotectplanet | |
| -- /planetallow <player> | |
| -- /planetunallow <player> |
| -- AdminCommands plugin | |
| -- | |
| -- Requires: permissions.lua | |
| -- | |
| -- Commands: | |
| -- /firstop | |
| -- /banuuid <player name> | |
| -- /banip <player name> | |
| -- /kick <player name> | |
| -- /giveitem <item name> <item amount> <player name> |