Introduction: How to Make an Agario Server (with Command List)

Picture of How to Make an Agario Server (with Command List)


Download Ogario and Nodejs.

Ogario link:

Nodejs link:

Open CMD and type:

npm install ws

Then run Start.bat in the src folder.


Server command list

Addbot: Adds a cell to the server.

Example:             Addbot

Board: Sets the scoreboard text .

Example:             Board My server

Boardreset: Resets the scoreboard text.

Example:             Boardreset

Change: Changes specified settings, usually the ip and/or port .

Example1:            change ip
Example2:            change port 00000

Clear: Clears the text in the console just like cls from batch coding.

Example:             Clear

Color: Sets a cell's color by their ID.

Example:             color 1 4

Exit: Stops the server.

Example:              exit

Food: Spawns food at the give coordinates.

Example:              food 0 0

Gamemode: Changes the server game mode.

Example:              gamemode 20

Kick: Kick a player or cell from the server by their ID.

Example:              kick 1

Kill: Kills a cell by their ID.

Example:              kill 1

Killall: Kills everyone on the server.

Example:              killall

Mass: Sets a cells mass by their ID.

Example:              mass 1 4000

Name: Changes a cell's name by their ID.

Example:              name 1 Bob

Playerlist: Displays a list of players and bots and their statuses on your server in the console.

Example:               playerlist

Pause: Pause the game and freezes all cells on the server

Example:               pause

Reload: Reloads the server config .

Example:               reload

Status: Displays the server's status in the console.

Example:               status

Tp: Teleports a player or cell by their ID to the given coordinates.

Example:               tp 1 0 0

Virus: Spawns a virus at the given coordinates.

Example:               virus 0 0


Mr_ MikaS made it! (author)2016-04-19

If you would like me to make a server instructable, please favorite this instructable, follow my profile, or leave a comment saying, "Make a server!"

The server is under development, but when it's done I'll make an instructable as soon as possible. If you look through you tube, you will find no valid servers, Slothar is fake, the files it contains do not have any content.

Thank you,
Mr. MikaS

JellyNutShell (author)2016-08-20

How do i join my server?

Mr_ MikaS (author)JellyNutShell2016-08-22

New way to connect to servers by typing in

And replacing the with the ip.

TJT16 (author)Mr_ MikaS2017-07-22

well what is the ip? i tried putting the ipv4 address and it fit the perfectly with 4 numbers... then it gave me 2 ports. 88, and 443. i put those at the end and it didnt work... im not sure what im supposed to do

DerekF40 (author)2017-07-18

I can't connect to my server! I tried my local ip, and it was stuck on the "connecting" screen. I tried my public ip, and I selected the port, and I port forwarded, and yet it did the same thing. Help?

DOOMRabbit63 (author)2017-06-01

How do I join my server

ndjoop (author)2016-04-30


RavingRyan (author)ndjoop2017-03-01

CMD Stands for command, but when you open your cmd, it will open a command BOX. You can then transfer anything you need.

TraD1 made it! (author)2016-07-15

is not working, how do i find the CMD cuz when i open the file its somethin like this


RavingRyan (author)TraD12017-03-01

Double Click src, and then at the very bottom there should a be a "Start-windows" app. double click that and it will open your cmd box.

Mr_ MikaS (author)TraD12016-07-15

Thank you for notifying me, Ogar has updated.
This means everything is different now.

Please open install dependencies and click: yes.
It will create a new folder, use that folder and delete the old one.
Then go to source and start it, then click: yes.

TraD1 (author)Mr_ MikaS2016-07-16

okayyy, so i deleted the old file :yes

new file pops up : yes

but i cant find the "source" file



SvetozarE (author)2016-12-07

where s the CMD i cant find it

Help IO (author)2016-11-05

Help Me Why When i Type in cmd prompt npm install ws it says recognize???

ha lol (author)2016-08-14

where do you download it?

BrodyR1 (author)2016-05-15

it can't find a destination for command start.bat

Mr_ MikaS (author)BrodyR12016-05-16

Try reinstalling the server.

BrodyR1 (author)BrodyR12016-05-15

So confused

PaulT151 (author)2016-05-16

it can't find a destination for command start.bat

Mr_ MikaS (author)PaulT1512016-05-16

Try reinstalling the server.

d-day 7echo5 (author)2016-04-30

good work

LaylaB6 (author)2016-04-25

Make a server! Please, I hope this would be an UNBLOCKED version. My school is very protective. Don't say go on an unblocked server, and please don't make a private server with "" in it. Thanks!

plz_someone_help_me (author)2016-03-18

Do you know what is the settings of's party server?

plz_someone_help_me (author)2016-03-09

How do you change the splitting speed and the splitting range?

All you can do that I know of, is change the merging time and the ejected mass speed.

well, changing the meging time DOES work, but the ejected mass doesn't.But anyways, Thanks alot

Your very welcome, I'm glad it helped.

I was asking because I wanted to try to popsplit a bot in my private server

cie123 (author)2016-03-11

the ogario link isnt working

Mr_ MikaS (author)cie1232016-03-11

Thank you, for notifying me.

help me make one

Mr_ MikaS made it! (author)Gamerdude_55 Pro/fnaf fan.2015-11-27

Help you make a server?

I'd be glad to, how can I help?

The download links are in the instructable and so are the instructions on how to make it.

ToniR12 (author)Mr_ MikaS2015-12-10

How can i change start mass, w size and the mass of dots and spawn rate, etc? I change it in the gameserver.ini but when i save and exit nothing happens..

Mr_ MikaS (author)ToniR122016-03-02

I agree with AlexG164, but to make players faster, open the Gameserver.ini, then change playerSpeed = 50 to a higher number than 50.

AlexG164 (author)ToniR122016-03-02

go to the gameserver file and change foodMass = 1 to like foodMass = 100 and ejectMass = 600 ejectMassLoss = 0

Mr_ MikaS made it! (author)ToniR122015-12-10

You might have Ogar-master in the windows folder and not have administrator on the computer and that is why it won't save. There are two Gameserver files make sure you use the right one. If you want to change those from the console window, you should use the "Change" command. You use the change command to change the configurations in the Gameserver file.

Change foodSpawnAmount 80

Change ejectMass 80

Change playerStartMass 80

Make sure that you get the string names exact such as correct spelling, correct capitalization, and correct spacing (which is none).


change playerMaxCells 100 -CORRECT

change Player max cells 100 -WONG

I hoped that helped if not please notify me, I will look into it.

AlexG164 (author)2016-03-02

how to make it faster? for example like in csgo and tf2 host_timescale 3 would make the game faster and sped up. is there a command for agario?

VekkuliH (author)2016-02-19

How i can make the server to instant merge?

Mr_ MikaS (author)VekkuliH2016-02-19

Open up GameServer.ini and change playerRecombineTime = 16 to playerRecombineTime = 0.

KyleS87 (author)2016-02-17

why cant i find the ip

Mr_ MikaS (author)KyleS872016-02-17

You can find ip of the server you made by:
First, open the Command prompt, CMD, or terminal. (Whatever you call it.)
Then, type ipconfig.
Finally, whatever number that's next to IPv4 Address. . . . . . . . . . . : is your IP.

TheMasterJ (author)2016-02-06

Thank you ive been looking for this

Do you have a youtube or instagram so i can follow you please respond fast Thank you :)

Mr_ MikaS (author)TheMasterJ2016-02-06

You could follow me on Instuctables.
My youtube is

Hacxer3 (author)2016-01-10

After i run all that how do i connect?

Mr_ MikaS (author)Hacxer32016-01-21

In your browser you can now connect to your server by typing in
and replace the with the ip.

JohnS110 (author)2015-12-13

How Did You Resize The Map?

Mr_ MikaS made it! (author)JohnS1102015-12-16

I did not change the map size that must be the default, but I think you meant "How do you resize to map?". You can use the change command to change the width variable and the length variable or you could just go into the Gameserver file and change the config from there.

JohnS110 (author)Mr_ MikaS2016-01-15

how do you make the Border bigger

Mr_ MikaS (author)JohnS1102016-01-21

You can use the change command to change the borderRight variable and the borderBottom variable or you could just go into the Gameserver file and change the config from there.

Hacxer3 (author)Mr_ MikaS2016-01-11

I does not work for me.

About This Instructable



Bio: I'm kid that bumped into batch file coding and made lots of effort to learn every thing to make text based games, at least ... More »
More by Mr_ MikaS:Argario server listHow to make an Agario server (with command list)Pet wars
Add instructable to: