vexyl / MCHawk

A Minecraft classic server
MIT License
8 stars 4 forks source link

Lua classes for plugins #74

Open vexyl opened 6 years ago

vexyl commented 6 years ago

Classes accessed by plugins should be Lua-specific wrapper classes. For example, while writing an auto-afk plugin I ran into a problem related to exposing the Client class directly to plugins, so, to solve this, it could be rewritten to use a LuaClient class that wraps the actual Client class. This should ideally be done after resolving issue #65.