Skip to content

Instantly share code, notes, and snippets.

View Mitch528's full-sized avatar

Mitchell Kutchuk Mitch528

View GitHub Profile

Keybase proof

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:

@Mitch528
Mitch528 / testplugin.py
Created March 30, 2014 16:13
SharpStar Example Plugin
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
@Mitch528
Mitch528 / permissions.lua
Created March 20, 2014 16:06
Permissions Plugin for SharpStar
perms = {}
local permissions = nil
local properties = PluginProperties("permissions.lua", plugindir)
properties:Load()
permissions = properties:GetPropertyArray("permissions")
if permissions == nil then
@Mitch528
Mitch528 / playercommands.lua
Last active August 29, 2015 13:56
PlayerCommands Plugin for SharpStar
-- PlayerCommands plugin
--
-- Commands:
-- /starterkit
-- /addkititem <item name> <amount> <interval in minutes> (-1 for only once)
-- /removekititem <item name>
-- /who <page number>
import("System")
@Mitch528
Mitch528 / planetprotect.lua
Last active August 29, 2015 13:56
PlanetProtect Plugin for SharpStar
-- PlanetProtect Plugin
--
-- Requires: admincommands.lua, permissions.lua
--
--
-- Commands:
-- /protectplanet
-- /unprotectplanet
-- /planetallow <player>
-- /planetunallow <player>
@Mitch528
Mitch528 / admincommands.lua
Last active August 29, 2015 13:56
AdminCommands Plugin for SharpStar
-- AdminCommands plugin
--
-- Requires: permissions.lua
--
-- Commands:
-- /firstop
-- /banuuid <player name>
-- /banip <player name>
-- /kick <player name>
-- /giveitem <item name> <item amount> <player name>