Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2020, 03:04 PM
Fridgecritter
Hill Giant
 
Join Date: Feb 2008
Posts: 188
Default Server config java code for locked

The config file doesn't look like this anymore:

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

I used to just uncomment the "locked" part of the config to lock my server so every time I start it up I don't have to log in and #lock it. I don't want to use the private login server, I'd rather just lock it in the config file. But now that the config file is written in javascript, I don't know what keywords and format the server wants to see for locked. Thanks in advance.
Reply With Quote
  #2  
Old 01-14-2020, 03:24 PM
Fridgecritter
Hill Giant
 
Join Date: Feb 2008
Posts: 188
Default

On the server installer page, they list LOCKED as one of the variables, but if you go to the link for the base line config file example, Akka doesn't have a LOCKED section in his code either.

Here's what his looks like on the example from the website:

Code:
{
	"server": {
		"zones": {
			"defaultstatus": "0",
			"ports": {
				"low": "7000",
				"high": "7400"
			}
		},
		"qsdatabase": {
			"host": "localhost",
			"port": "3306",
			"username": "root",
			"password": "eqemu",
			"db": "peq"
		},
		"chatserver": {
			"port": "7778",
			"host": ""
		},
		"mailserver": {
			"host": "",
			"port": "7778"
		},
		"webinterface": {
			"port": "9081"
		},
		"world": {
			"loginserver1": {
				"account": "",
				"password": "",
				"legacy": "1",
				"host": "login.eqemulator.net",
				"port": "5998"
			},
			"loginserver2": {
				"port": "5998",
				"account": "",
				"password": "",
				"host": "127.0.0.1"
			},
			"tcp": {
				"ip": "127.0.0.1",
				"port": "9001"
			},
			"telnet": {
				"ip": "0.0.0.0",
				"port": "9000",
				"enabled": "true"
			},
			"key": "somelongrandomstring12345asdfffff",
			"http": {
				"port": "9080",
				"enabled": "true",
				"mimefile": "mime.types"
			},
			"shortname": "Akkas PEQ Installer",
			"longname": "Akkas PEQ Installer"
		},
		"database": {
			"db": "peq",
			"host": "localhost",
			"port": "3306",
			"username": "root",
			"password": "eqemu"
		}
	}
}
Reply With Quote
  #3  
Old 01-14-2020, 07:33 PM
FievelMousey
Hill Giant
 
Join Date: Jan 2004
Posts: 140
Default

Code:
"world" : {
               "localaddress" : "127.0.0.1",
               "http" : {
                    "enabled" : "false",
                    "mimefile" : "mime.types",
                    "port" : "9080"
               },
               "key" : "",
               "locked" : "false",
			   "loginserver1": {
				"account": "",
				"password": "",
				"legacy": "1",
				"host": "login.eqemulator.net",
				"port": "5998"
				},
               "loginserver2" : {
                    "account" : "",
                    "host" : "127.0.0.1",
                    "password" : "",
                    "port" : "5998"
               },
Reply With Quote
  #4  
Old 01-14-2020, 07:49 PM
Fridgecritter
Hill Giant
 
Join Date: Feb 2008
Posts: 188
Default

Thanks a ton. Such a simple thing but if you don't know how to format it and where to insert it
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:40 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3