OgarII
FOSS implementation of a private Agar.io gameserver, made with Node.js.
Install / Use
/learn @Luka967/OgarIIREADME
OgarII
Your friendly agar.io private server recreation.
-
It supports all current agar.io protocol versions.
-
It supports handling multiple worlds, all within one instance. Be wary that you can still use up the one CPU core node.js is running on.
-
It has a minimal memory footprint, and strictly uses uWebSockets for networking.
-
The code uses JSDoc to specify types. Understanding what the code does is down to your understanding of English.
Notes
-
Ask all your questions over on the Agar.io Private Servers Discord guild.
-
Before connecting from agar.io you will need to do
core.disableIntegrityChecks(true)in the console.
Running
-
Make sure you have node.js version 8 or greater.
-
Make sure you have a C++11 compliant compiler for building uWebSockets.
- If you're on Windows,
npm install -g windows-build-tools. - If you're on GNU/Linux, use your package manager to install a supported C++ compiler such as GCC.
- If you're on Windows,
-
Clone / download the repo.
-
npm installin/. -
cd ./cli/ -
node index.js
Configuring
-
After your first run, OgarII will drop two files in
cli// working directory:log-settings.jsonandsettings.json. -
To change how OgarII runs, modify
cli/settings.json. -
To change what gets logged, modify
cli/log-settings.json.
Expanding
-
To create your own commands, check out
src/commands/CommandList.json the command API. To add it to the CLI useServerHandle.commands.register, and for chat commands useServerHandle.chatCommands.register. -
To create your own gamemodes, inherit
src/Gamemode.js'sGamemodeabstract class, modify event handling to your wish, then add it withServerHandle.gamemodes.registerbefore the handle starts. -
The
ServerHandleclass is standalone, which means that you can completely ditch thecli/folder,require("./src/ServerHandle.js")and do whatever you want with it. OgarII is also available as an npm package for this exact purpose.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR

