31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
%% This file is part of EGS.
|
|
%%
|
|
%% EGS is free software: you can redistribute it and/or modify
|
|
%% it under the terms of the GNU Affero General Public License as
|
|
%% published by the Free Software Foundation, either version 3 of the
|
|
%% License, or (at your option) any later version.
|
|
%%
|
|
%% EGS is distributed in the hope that it will be useful,
|
|
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
%% GNU Affero General Public License for more details.
|
|
%%
|
|
%% You should have received a copy of the GNU Affero General Public License
|
|
%% along with EGS. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
%% Network configuration.
|
|
%% Note that changing these options generally requires restarting the server.
|
|
|
|
%% @doc Ports to listen to for the patch server.
|
|
%% 11030 is the JP port; 11230 is the US port.
|
|
{patch_ports, [11030, 11230]}.
|
|
|
|
%% @doc Ports to listen to for the login server.
|
|
%% 12030 and 12031 are the JP ports, one per entrance; 12230 is the US port.
|
|
{login_ports, [12030, 12031, 12230]}.
|
|
|
|
%% @doc Game server IP address and port.
|
|
%% They can be modified freely without problem.
|
|
%% Note that the port should be available and above 1024.
|
|
{game_server, {<< 127, 0, 0, 1 >>, 12061}}.
|