server.properties
1 # --------------------------------------------------------------------------- 2 # Network Settings 3 # --------------------------------------------------------------------------- 4 5 # Game server port, an integer value 6 # Set to zero for random port number, generated when registering at login server 7 # Default: 7777 8 ServerPort = 7777 9 10 # IP address of login server, relative to game server 11 # Default: 127.0.0.1 12 LoginHost = 127.0.0.1 13 14 # Custom port of login server, used only for game server registration and player verification 15 # Default: 9014 16 LoginPort = 9014 17 18 # --------------------------------------------------------------------------- 19 # Registration Settings 20 # --------------------------------------------------------------------------- 21 22 # IP used to connect to server by clients, string value 23 # also sent as part of server registration to login server 24 # Default: 127.0.0.1 25 ExternalServerIP=127.0.0.1 26 27 # Server id that corresponds to available server name 28 # Starts at 1 and ends at 71 29 # Example: 1 = Bartz, 2 = Sieghardt, 3 = Kain, 4 = Lionna, 5 = Erica, 70 = Zaken, 71 = Core 30 # Default: 1 31 RequestServerId = 1 32 33 # True = The Login Server will give an other Id to the server if the requested Id is already reserved. 34 # Default: True 35 AcceptAlternateId = True 36 37 # Reconnection delay for registering game server on login server, in seconds 38 # Default: 10 39 LoginServerReconnectInterval = 10 40 41 # Setting for serverList 42 # Displays [] in front of server name on character selection 43 # Default: False 44 ServerListBrackets = False 45 46 # Displays server type next to the server name on character selection. 47 # Accepted Values: Normal, Relax, Test, NoLabel, Restricted, Event, Free 48 # Default: Normal 49 ServerListType = Normal 50 51 # Displays server minimum age to the server name on character selection. 52 # Number, value between 0 and age limit, that would fall into 15, 18 age bracket 53 # Example: 17 will mark server as 18 only 54 # Default: 0, no limit 55 ServerListAge = 0 56 57 # --------------------------------------------------------------------------- 58 # Additional Settings 59 # --------------------------------------------------------------------------- 60 61 # Define how many players are allowed to play simultaneously on your server. 62 # Default: 500 63 MaxOnlineUsers = 500 64 65 # Protocol versions that come from L2 client, supported by server, comma-delimited integer values 66 # High Five Part 5 client corresponds to 273 protocol 67 # Default: 267,268,271,273 68 AllowedProtocolRevisions = 267,268,271,273 69 70 # Debounce interval used to delay packet production to reduce traffic chatter to client 71 # Certain packets can be delayed and aggregated, so that client will not experience lagging due to communication 72 # Default: 200 73 PacketDebounceInterval = 200 74 75 # Randomize characters displayed on selection screen 76 # A way to force programmatic clients to identify character by name 77 # Default: False 78 RandomizeCharacterSelection = True 79 80 # --------------------------------------------------------------------------- 81 # Command Link 82 # --------------------------------------------------------------------------- 83 84 # WARNING: Enable or disable ability to communicate data with game server 85 # Consideration must be made to allow connections due to risk of controlling server 86 # Please see other settings for enabled permissions 87 # Default: False 88 CommandLinkEnabled = True 89 90 # Port where connections can be accepted, positive integer value 91 # Default: 9999 92 CommandLinkPort = 9999 93 94 # Limit of clients for command link 95 # Default: 8 96 CommandLinkClientLimit = 128 97 98 # Comma separated list of command types being handled by command link connection 99 # Possible types: admin,inquiry,subscribe 100 # Default: inquiry 101 CommandLinkPermittedTypes = admin,inquiry 102 103 # Require execution of admin commands to have player be GM, True/False value 104 # Default: True 105 CommandLinkGMOnly = False 106 107 108 # Require execution of commands based on access level, True/False value 109 # Represents additional security level when player is not GM, however command may be allowed 110 # Default: True 111 CommandLinkAccessOnly = False 112 113 # Allow IP addresses or particular IP address to access CommandLink, semicolon separated IP address (concrete IP or subnet blocks) 114 # Empty for no restrictions on IP addresses 115 # Example: 127.0.0.1;10.0.0.0/24 116 # Default is empty 117 CommandLinkAllowedIps= 118 119 # Kick connections if un-approved event type is received, True/False value 120 # Security measure to ensure that clients will have to abide by permitted event types 121 # Default: True 122 CommandLinkTerminateUnsupported = True 123 124 # Optional logging for executed command link events, comma separated string values 125 # Possible types: admin,inquiry,subscribe 126 # Default: admin 127 CommandLinkLoggedTypes= admin 128 129 # Limit processing of requests to one per specified number of milliseconds, positive integer value 130 # Used to prevent clients issuing many requests that can overwhelm server 131 # Set to zero to ensure no limiting is applied 132 # Default: 0 133 CommandLinkAccessLimitMs = 0 134 135 # --------------------------------------------------------------------------- 136 # Geodata configuration 137 # --------------------------------------------------------------------------- 138 139 # Allow geodata to be unloaded when region is no longer populated by players, True/False value 140 # Such option allows to avoid frequent re-load of geodata and repositioning of npcs on load 141 # Unloading has positive effect of low memory consumption, having impact on server memory 142 # Default: False 143 GeodataCanUnload = False 144 145 # --------------------------------------------------------------------------- 146 # L2 client connection configuration 147 # --------------------------------------------------------------------------- 148 149 # Specify value in milliseconds to wait before replying to client with protocol version, positive integer value in milliseconds 150 # Represents ability to slightly delay client packet flow to ensure that connection is not terminated due to 151 # possible undesirable network activity 152 # Default: 100 153 ServerResponseDelay = 100 154 155 # Duration of connection without incoming first packet for protocol version check, positive integer value in milliseconds 156 # Represents ability of server to kick connections that are have not initiated proper flow of packets, usually a 157 # sign of undesirable network activity 158 # Default: 5000 159 ConnectionExpirationDuration = 5000 160 161 # --------------------------------------------------------------------------- 162 # IP configurations and related integrations 163 # --------------------------------------------------------------------------- 164 # Block IP addresses or particular IP address, semicolon separated IP address (concrete IP or subnet blocks) 165 # Example: 192.168.1.100;10.0.0.0/24 166 # Default is empty 167 BlockListIps= 168 169 # Lineage2TS Proxy integration, True/False value 170 # Integration allows to pass information about connection IP address 171 # See ProtocolVersion packet handling for more details 172 # Default: True 173 ProxyIntegrationEnabled = True 174 175 # --------------------------------------------------------------------------- 176 # Cryptographic settings 177 # --------------------------------------------------------------------------- 178 179 # Specify password hash algorithm when changing password on game server, string enum value 180 # Possible values: Blake3, Argon2, BCrypt 181 # Blake3 is assumed if value is not part of enum possible values 182 # Default: Blake3 183 PasswordHashVersionName=Blake3