Agar.io Server Setup Tutorial

Status
Not open for further replies.
Newbie Spellweaver
Joined
May 30, 2015
Messages
7
Reaction score
3
Figured I'd do a short tutorial for those having issues creating a Agar.io server. Idk how stable the server is I have only had a few people on my server so you guys will have to test that out. I did not make any of the files down below, I just put them together for this tutorial, hope this helps.

Demo: ws://play.plantdown.com:443 FFA
ws://play.plantdown.com:444 Teams



Files you need
Ogar (Another Agar.io Emulator) - https://forum.ragezone.com/f857/release-ogar-server-emulator-agar-1065001/

Agar.io Chrome Extension Server Browser (Will allow you to connect to your server without the need of web hosting anything) -



  • Extract the files from ogar.zip into any folder you would like.
  • Open cmd prompt and type "npm install ws" (let this do it's thing, you may see some errors but it's okay.
  • Open ports 80,443
  • Open GameServer.js it should be in the folder you extracted ogar.zip files to (use notepad +). Press Ctrl G and go to line 31, here you can edit your configuration. Once your done, save it and run "Start FFA" and "Start Teams" (you don't have to run both servers)
  • Now that your server is online and you have the Agar.IO chrome extension installed just navigate to and you will see a spot to type in your server IP.
  • Type in your server IP like this ws://IPHEREORT ( if you don't do it in that format it will still connect you to your server but you wont be able to play or see anything at least this is what happened to me).

    Changing the port
    Change the Server port in Index.js line 47
Images
Chrome Extension



Agar.io w/ extension



Other useful links
Skins and Images -
How to play with WASD -
 
Last edited:
Newbie Spellweaver
Joined
May 26, 2015
Messages
6
Reaction score
0
Regarding the instructions, can you teach me how I can make my server public globally rather than just local. Thank you very much and awesome guide
 
Last edited by a moderator:
Newbie Spellweaver
Joined
May 30, 2015
Messages
7
Reaction score
3
This is global, all you need to do is forward your ports and people should be able to connect to your server. If you don't know how to port forward just look it up on google it's different depending on the type of router you have. Unless your on a VPS then it's the same.
 
Newbie Spellweaver
Joined
May 26, 2015
Messages
6
Reaction score
0
Wait um for vps, what os should it be. Can you possibly make a video for me sorry. I know i am asking for a lot but I would be glad if you can help.
 
Newbie Spellweaver
Joined
May 30, 2015
Messages
7
Reaction score
3
I did this on a Windows 2008 VPS, as for mac or linux im not sure.



This tutorial will work for windows only. I created a server on a windows 2008 vps.
 
Newbie Spellweaver
Joined
May 26, 2015
Messages
6
Reaction score
0
I did this on a Windows 2008 VPS, as for mac or linux im not sure.



This tutorial will work for windows only. I created a server on a windows 2008 vps.

Is it possible with a dedicated server? also, i cant connect to your demo links and video guide or no. thanks so much sorry for the trouble.
 
Newbie Spellweaver
Joined
May 30, 2015
Messages
7
Reaction score
3
Idk if I can find some time then I will try to make a video. Also for the demo servers make sure its ws://play.plantdown.com:443 and not ws://play.plantdown.com:443 FFA. Sometimes when you connect it takes a minute to connect but they do work.
 
Newbie Spellweaver
Joined
May 18, 2015
Messages
22
Reaction score
0
In login users online is bug, does not show how many connections.
 
Last edited by a moderator:
Newbie Spellweaver
Joined
May 28, 2014
Messages
26
Reaction score
13
how to set it up to be public? with windows server 2008 r2?

You need to port forward your router if you want it to be public. Ogar uses ports 443 by default, but you can change that in index.js.
 
Initiate Mage
Joined
Jul 7, 2015
Messages
1
Reaction score
0
Link Dead sir. can reupload please ?

 
Last edited by a moderator:
Initiate Mage
Joined
Jul 22, 2015
Messages
1
Reaction score
0
Hello @ All,
would anyone know how to install agaro clone to a linux (centos) webserver? I would pay for the service.
I would like to make a local (for my country) website clone of agar.io but don't know where to start.

Thanks and kind regards!
 
Status
Not open for further replies.