Jump to content

Module / OnServerCommand event - Can I define the module myself?


Recommended Posts


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...