Reworked player interface for Lua