BonSAI Posted December 13, 2023 Share Posted December 13, 2023 https://pzwiki.net/wiki/Lua_Events/OnServerCommand Can I define a module in Lua to use this with? Or does it have to reference a known/pre-existing vanilla module? My goal is to create custom server commands to trigger functions I've created via the terminal. I've looked in https://projectzomboid.com/modding/zombie/scripting/ but can't figure out how modules are defined and if they live in the java space or lua space or if I can define them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now