From 0654500df3e438d6d4a767824d594e3e296e417c Mon Sep 17 00:00:00 2001 From: dongresource Date: Thu, 20 Aug 2020 17:14:25 +0200 Subject: [PATCH 1/2] Add default config.ini. Custom servers will always need one anyway. Might as well give them a properly documented example to start with. --- config.ini | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config.ini diff --git a/config.ini b/config.ini new file mode 100644 index 0000000..59910ee --- /dev/null +++ b/config.ini @@ -0,0 +1,21 @@ +[login] +# must be kept in sync with loginInfo.php +port=8001 +# enables two randomly generated character in the +# character selection menu for convenience +randomcharacters=false + +[shard] +port=8002 +# you'll want to change this one +ip=192.168.0.17 +# distance at which other players and NPCs +view=20000 +# little message players see when they enter the game +motd=Welcome to OpenFusion! + +# spawn coordinates (Z is height) +# the supplied defaults are at City Hall +spawnx=179213 +spawny=268451 +spawnz=-4210 From 9f3f9bb9c3606600a6eeff0ad709b2bdb95c0830 Mon Sep 17 00:00:00 2001 From: dongresource Date: Thu, 20 Aug 2020 17:24:27 +0200 Subject: [PATCH 2/2] Fix grammar. --- config.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.ini b/config.ini index 59910ee..25afe4e 100644 --- a/config.ini +++ b/config.ini @@ -1,15 +1,17 @@ +# Login Server configuration [login] # must be kept in sync with loginInfo.php port=8001 -# enables two randomly generated character in the +# enables two randomly generated characters in the # character selection menu for convenience randomcharacters=false +# Shard Server configuration [shard] port=8002 # you'll want to change this one ip=192.168.0.17 -# distance at which other players and NPCs +# distance at which other players and NPCs become visible view=20000 # little message players see when they enter the game motd=Welcome to OpenFusion!