create-colyseus-app
v0.15.17
Published
npm init template for bootstrapping an empty Colyseus project
Downloads
314
Maintainers
Readme
create-colyseus-app
An npm init template for kick starting your Colyseus server.
:crossed_swords: Usage
npm create colyseus-app@latest ./my-server
Structure
index.ts
: main entry point, register an empty room handler and attach@colyseus/monitor
MyRoom.ts
: an empty room handler for you to implement your logicloadtest/example.ts
: scriptable client for the loadtest tool (seenpm run loadtest
)package.json
:scripts
:npm start
: runsts-node index.ts
npm run loadtest
: runs the@colyseus/loadtest
tool for testing the connection, using theloadtest/example.ts
script.
dependencies
:colyseus
@colyseus/monitor
express
devDependencies
ts-node
typescript
@colyseus/loadtest
tsconfig.json
: TypeScript configuration file
License
MIT