Configuration file server.ini: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann |
imported>Hendrik Brummermann account_creation_status |
||
| (59 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Marauroa Top|Using}} |
|||
{{Navigation for Marauroa Users}} |
|||
The server is configured using a configuration file called server.ini. It is possible to use a different file using the -c command line parameter. In most cases the game will provide a '''GenerateINI''' program that you should execute to generate the server.ini file. Nevertheless it may be interesting to know which parameter exist and how they can be set. |
The server is configured using a configuration file called server.ini. It is possible to use a different file using the -c command line parameter. In most cases the game will provide a '''GenerateINI''' program that you should execute to generate the server.ini file. Nevertheless it may be interesting to know which parameter exist and how they can be set. |
||
If you are writing your own game, you should have a look at the provided GenerateINI programs, too. |
|||
== Database Configuration == |
== Database Configuration == |
||
| Line 49: | Line 54: | ||
== Limits == |
== Limits == |
||
You can define some limits to prevent flooding by huge amounts of data, lots of message or lots of players. This is particularly useful if your server is behind a small Internet connection. |
|||
'''allowed_bytes_per_second'''=1024 |
'''allowed_bytes_per_second'''=1024 |
||
'''allowed_messages_per_second'''=20 |
'''allowed_messages_per_second'''=20 |
||
'''max_number_of_players'''=128 |
'''max_number_of_players'''=128 |
||
There is a second set of settings very similar to the above. But those ones are not about resource usage but more about preventing trouble: |
|||
'''account_creation_counting_time'''=3600 |
|||
'''account_creation_limit'''=5 |
|||
'''parallel_connection_limit'''=10 |
'''parallel_connection_limit'''=10 |
||
'''ip_whitelist'''=127.0.0.1 |
'''ip_whitelist'''=127.0.0.1 |
||
Other limits: |
|||
'''limit_characters_per_account'''=2147483647 |
|||
== Account and character creation == |
|||
Since Marauroa 3.8.4 it is possible to disable account and character creation using |
|||
'''allow_account_creation'''=false |
|||
'''allow_character_creation'''=false |
|||
This is useful if account creation is done using other means. For example filling the account, characters and rpobjects table from an other application. It is used on stendhalgame.org for the test server because the test database shares the accounts with the main database. |
|||
Since Marauroa 3.9.5 it is possible to define the initial status of new accounts. |
|||
'''account_creation_status'''=active |
|||
== RSA == |
== RSA == |
||
| Line 66: | Line 91: | ||
[[Marauroa]] |
[[Category:Marauroa]] |
||
{{#breadcrumbs: [[Marauroa]] | [[Navigation for Marauroa Users|Using]] | [[Configuration file server.ini|server.ini]] }} |
|||