The popular game "Agar.io" captures with its fascination. It is played all over the world, and there are about 9-10 servers for it. About 50 thousand gamers play on each of them. True, at night the number of players drops to 4-5 thousand, but not the point. Sometimes you want to play together with a friend or friends, so some users want to know how to create your own server in Agario. A small instruction will be described below.
How to create your own server in Agario?
For the game, you must have the server file itself and the node.js. file You can download these files, including the game server, on the Internet. You will easily find them. Installation does not take much time. Just run the node.js file and click: Next-Next-Next. Without installing this program, you may have problems launching the game in a browser. Some players are trying to learn how to create a server in Agario without programs. Unfortunately this is not possible. The node.js program and the server archive itself will have to be downloaded.
Server Settings
After installing node.js, you should deal with the server archive itself. Download it and unzip it to your desktop. Open the folder and look for the gameserver.ini file there. This is the main file that we will have to deal with, and now we will tell you how. You can create your own server in Agario only by editing this document, because it contains the configuration settings. Below are the main lines that are responsible for server settings:
- 9 line - serverMaxConnections. Responsible for the number of players that will be on your server. Set, for example, the value "5". That is, 6 players will no longer be able to play.
- The 11th line in the file is serverGamemode. By setting β0β (Freedom for Everyone), β1β (Team Mode), β10β (Tournament) or β11β (The Hunger Games), you will change the game mode. The mode names are shown in parentheses.
- Lines 17-20 indicate the boundaries of the playing field. Here you can set only the lines borderleft and borderright. For example, setting the value to 6000, you will get a playing field with an area of ββ6000x6000 pixels. The more players, the greater the area of ββthe field should be.
- Line 26 - foodstartamount. It indicates how much food will be available at the start.
- Line 27 - foodmaxamount. Determines the mass of food.
There are other settings in this file. For example, you can customize a playerβs ball. These parameters are set in lines 48-49, which are responsible for the initial mass of the player (10 by default) and the maximum mass, respectively.
If possible, look and set as many parameters as possible. The names of the lines intuitively understand what they are responsible for. After configuring the configuration files, all changes must be saved.
Server start
Now we are going to start the server. There is a launch.bat file in the server folder. It needs to be launched. A black window will open (cmd.exe). Now go to the agar.io website itself and activate the console in the browser. You can do this by pressing Ctrl + Shift + J or Cmd + Shift + J on a Mac. You can also select the developer mode in the browser menu. In this console, we need to write: connect ("ws: // localhost: 443")
After that, we will immediately get to our server. After you create your own server in Agario, you can call friends. They should also write connect in the console ("ws: // localhost: 443"), only your ip address should be specified instead of localhost. You can find it in the connection status settings or on the 2ip website.
Now you know how to create your own server in the game "Agario", and you can play with friends. There is nothing complicated in this procedure.