Starter template for building entm-core modules. Pre-configured TypeScript setup, correct build pipeline, and automatic registration with entm-core on resource start.
- entm-core installed and running on your server
- Node.js + npm
Download or clone this repo and drop it into your resources directory. Rename the folder to whatever your module is called.
npm installnpm run buildensure entm-core
ensure your-module-name
entm-core must be ensured before your module.
The loader script registers your module with entm-core automatically on resource start. Your systems are added to the world and will tick with every frame.
| Command | Description |
|---|---|
npm run build |
Build client and server bundles |
npm run watch |
Rebuild on file changes |
npm run typecheck |
Type-check without building |
your-module/
├── src/
│ ├── client/
│ │ └── index.ts — client systems + __registerModule call
│ └── server/
│ └── index.ts — server systems + __registerModule call
├── loader/
│ ├── client.js — tells entm-core to load this module (client)
│ └── server.js — tells entm-core to load this module (server)
├── dist/ — compiled output (generated)
└── fxmanifest.lua
See entm-core for full documentation on components, systems, shared components, and the module API.