View Single Post
  #19  
Old 01-22-2018, 08:26 AM
The_Beast's Avatar
The_Beast
Discordant
 
Join Date: May 2016
Location: Under a rock
Posts: 290
Default

This is what the conversion gave me from a dual login xml config. I haven't tested the "public" part of it yet.
Code:
{
     "server" : {
          "chatserver" : {
               "host" : "127.0.0.1",
               "port" : "7778"
          },
          "database" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "password",
               "port" : "3306",
               "username" : "username"
          },
          "directories" : {
               "logs" : "logs/",
               "lua_modules" : "lua_modules/",
               "maps" : "maps/",
               "patches" : "./",
               "plugins" : "plugins/",
               "quests" : "quests/",
               "shared_memory" : "shared/"
          },
          "mailserver" : {
               "host" : "127.0.0.1",
               "port" : "7778"
          },
          "qsdatabase" : {
               "db" : "peq",
               "host" : "127.0.0.1",
               "password" : "password",
               "port" : "3306",
               "username" : "username"
          },
          "world" : {
               "http" : {
                    "enabled" : "false",
                    "mimefile" : "mime.types",
                    "port" : "9080"
               },
               "key" : "somerandomstringofcharacters",
               "loginserver1" : {
                    "account" : "",
                    "host" : "login.eqemulator.net",
                    "legacy" : "1",
                    "password" : "",
                    "port" : "5998"
               },
               "loginserver2" : {
                    "account" : "username",
                    "host" : "192.168.0.5",
                    "legacy" : "0",
                    "password" : "password",
                    "port" : "5998"
               },
               "longname" : "PEQ Test",
               "shortname" : "peqtest",
               "tcp" : {
                    "ip" : "127.0.0.1",
                    "port" : "9000",
                    "telnet" : "disable"
               }
          },
          "zones" : {
               "defaultstatus" : "0",
               "ports" : {
                    "high" : "7500",
                    "low" : "7000"
               }
          }
     }
}
Reply With Quote