A Growtopia private server using Node.js
- Node.js v16+
To setup the server, first install necessary packages & settings by
$ npm install
And congrats setup are done, simple as that! Now you just need to run the server by
$ npm run dev
Example for default .env file (Generated automatically)
ENCRYPT_SECRET=SUPERSECRET # Default encrypt secret
WEB_ADDRESS=127.0.0.1
WEB_ENV=development
Database that we currently use is SQLite3, since its easier & light. And for the SQL query builder we use Knex.js
To run the development server by
$ npm run dev
Where the heck is assets/cache.zip
come from? Its basically a growtopia assets file cache that required by items.dat to load the game.
Location:
- Windows:
%LOCALAPPDATA%/Growtopia
Then zip the cache
folder into zip & put it to assets/cache.zip
.
If you encountered Updating items...
then disconnected from the server randomly. Update the cache by login to Growtopia's original server & do this step again.
Any contributions are welcome.
There's few rules of contributing:
- Code must match the existing code style. Please make sure to run
npm run lint
before submiting a PR. - The commit must take review first before merging into
main
branch.
Give a thumbs to these cool people: