Server Configuration: Difference between revisions
[checked revision] | [checked revision] |
Tag: 2017 source edit |
Tag: 2017 source edit |
||
(25 intermediate revisions by the same user not shown) | |||
Line 174: | Line 174: | ||
|- | |- | ||
| [[Server_Configuration/Disasters.eco|Disasters.eco]] || File use to configure the meteor. | | [[Server_Configuration/Disasters.eco|Disasters.eco]] || File use to configure the meteor. | ||
|- | |- | ||
| | | [[Server_Configuration/Initial_Spawn.eco|Initial Spawn.eco]] || | ||
| | |- | ||
| | | [[Server_Configuration/ModKit.eco|ModKit.eco]] || Controls mod loading. | ||
| | |- | ||
| [[Server_Configuration/Profanity.eco|Profanity.eco]] || Contains a list of offensive words (including such offenders as 'commie' and 'shinola'), presumably for chat protection. | |||
|- | |||
| [[Server_Configuration/Sleep.eco|Sleep.eco]] || This file is used to configure the [[Sleep]] in game. | |||
|- | |||
| [[Server_Configuration/UserTextures.eco|UserTextures.eco]] || | |||
|- | |||
| [[Server_Configuration/World.eco|World.eco]] || | |||
|- | |||
| [[Server_Configuration/WorldGenerator.eco|WorldGenerator.eco]] || File use to configure world's generator. | |||
|- | |||
| [[Server_Configuration/Balance.eco|Balance.eco]] || | |||
|- | |||
| [[Server_Configuration/Localization.eco|Localization.eco]] || File use to configure language. | |||
|- | |||
| [[Server_Configuration/Maintenance.eco|Maintenance.eco]] || | |||
|- | |||
| [[Server_Configuration/Pause.eco|Pause.eco]] || | |||
|- | |||
| [[Server_Configuration/Rooms.eco|Rooms.eco]] || | |||
|- | |||
| [[Server_Configuration/Stats.eco|Stats.eco]] || File use to configure statistics collector. | |||
|- | |||
| [[Server_Configuration/Storage.eco|Storage.eco]] || File use to configure world's saves. | |||
|- | |||
| [[Server_Configuration/Users.eco|Users.eco]] || Contains user controls like whitelisted and blacklisted players, who has admin privileges and the various titles players get through reputation. Also contains settings for how food plants are spawned around new players when they first join. | |||
|- | |- | ||
| | | [[Server_Configuration/WorldObjects.eco|WorldObjects.eco]] || Controls world object tick (update) behavior. | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | [[Server_Configuration/EcoSim.eco|EcoSim.eco]] || Contains settings for atmosphere. | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | [[Server_Configuration/Network.eco|Network.eco]] || File use to configure networking. | ||
| | |||
| | |||
| | |||
|} | |} | ||
[[Category: Server management]] | [[Category: Server management]] |
Latest revision as of 12:05, 13 August 2024
Server Configuration can be done either through the server GUI or by directly editing configuration files. The latter option is only recommended for advanced users. Many aspects of the world, items, and player settings can be changed in this way.
This configuration guide is based on player tests and crowd-sourcing. No information in this guide has been confirmed by Strange Loop Games.
Basic server configuration[edit | edit source]
The most common and important server configurations can be made through the server GUI. Each tab in the server window will have at least 1 sub-tab. Usually, there will be at least 2 sub-tabs: Display and Config. The Display tab shows relevant information and stats about that plugin (each tab represents a server plugin).
Opening the Config tab in each plugin will present a list of options that can be changed through drop-down menus or collections (look for the arrow or breadcrumbs on the right) or direct data entry.
Common configurations[edit | edit source]
Below is a guide to the most commonly configured settings that can be changed through the server GUI.
Server Listing Settings[edit | edit source]
Network > Config
Make server public/private[edit | edit source]
- Public Server — Set to True to have the server listed in the Eco client Server Browser.
Set playtime table[edit | edit source]
- Playtime — This is automatically filled in if you created the server in the Eco client and made a Timetable (schedule of preferred playtimes). If this is blank, the best way to fill it in is to “Set Playtime” through the Game Menu (
Esc
), and copy and paste the data from playtime.eco.- On Windows 10, this file will be found at Users > [username] > AppData > LocalLow > StrangeLoopGames > Eco. Adding a timetable helps the server show up more prominently in the server browser.
- Playtime (Version 0.8.3.x) - You declare the playtime in the network.eco file. Here is an example:
-
"Playtime": "110000011111111122222222 110000011111111122222222 110000011111111122222222 110000011111111122222222 111110011111111122222222 221110012222222222222222 221110012222222222222222",
- Remove the spaces in the "Playtime" string, otherwise this will result in the server summary (Exhaustion Limit, Max Active Players, Meteor, ect.) to not load.
- 1=Sometimes, 2= Regular, 0=Rarely.
- Each line here represents a day. Remove all spaces and linebreaks when adding it to the config. If it contains and spaces or linebreaks it will cause issues with the display of the server in the server list.
-
Set server Discord[edit | edit source]
- Discord Address — Adding the unique ID of a Discord server (after the “discord.gg/”) will provide a link to the Discord server from the tutorial.
Set server password[edit | edit source]
- Password — Set a password for the server, or leave this blank to not require a password. Players on the whitelist will not have to enter a password.
Set server name[edit | edit source]
- Description — Sets the name of your server in the client server browser. Chat_Commands#Text_markup can be used to add color or modify the appearance of the text.
Set server description[edit | edit source]
- DetailedDescription — Sets the long-form description of your server when people click on it in the server browser. Adding this description helps the server show up more prominently in the browser.
Set server category[edit | edit source]
- ServerCategory — Choose from 1 of 4 categories that will show up when players first click on “New Game” in the Eco client. Selecting a category makes it much more likely new players will join your server. Strings available for this option are:
- None
- Beginner
- Established
- BeginnerHard
- Strange
For more information, see the Server Browser page.
Sleep Settings[edit | edit source]
Sleep > Config
- Allow Fast Forward — Enable or disable sleep. This defaults to “False” on public servers and “True” on local servers. Enabling sleep is not recommended on larger servers or public servers. Players can use this to accelerate voting for laws, and some things are not 100% simulated during sleep. Use it at your own risk.
- Sleep Time Pass Multiplier — Maximum multiplier applied to time while sleeping
- Time to Reach Maximum Time Rate — Time it takes to reach Sleep Time Pass Multiplier
XP/Specialty Progression Speed[edit | edit source]
Difficulty Settings > Config
- Collaboration Preset — Change collaboration settings to adjust how quickly players gain skill points. Sticking with the collaboration presets is recommended.
- Specialty Cost Multiplier — Adjusts the required amount of XP required to reach the next star using a multiplier based on the following baseline values 0, 20, 50, 100, 200, 400, 800, 1600 after the 8th each stars baseline is 1600).
- Skill Gain Multiplier — Adjusts the rate of skill points gained over time from food and housing.
- Specialty Experience Divisor — Reduces experience rate based on number of specialties learned. Has no effect as of Beta 8.0.1.
- Specialty Experience PerLevel — Experience required to level up each specialty tier.
- Craft Resource Multiplier — Adjusts the amount of materials required to craft a recipe. Note: Effective maximum of 4.5 in vanilla game. Values higher than 4.5 cannot produce workstations from a single tent stockpile.
- Craft Time Multiplier — Adjusts the amount of time that a recipe takes to craft.
- Player Experience per Specialty — Gives player XP for improving at your chosen field. Note: This is not recommended for public servers because it essentially means that those in front will generally get further in front.
- Unlearn Refund Rate — Obsolete as of Beta 8.0. Has no effect.
- End Game Craft Cost — Includes two options, "Normal and "Expensive" which will alter the crafting costs for the Laser and Computer Lab. Does not affect work orders in process.
Meteor Settings[edit | edit source]
Disasters > Config
- Create Meteor — Enable or disable meteor. Changing from True to False while world is running will destroy the meteor. Changing from False to True while world is running will have disastrous consequences. If you wish to enable the meteor, regenerate the world first.
- Meteor Impact Days — Number of real-life days until meteor makes impact, counting from the date/time the server was first started. To time the meteor impact precisely decimal points seem to be allowed (thus allowing you to align the meteor impact to a desired hour/minute). Editing this setting may require server restart or regeneration to take effect.
User Settings[edit | edit source]
Users > Config
- Require Authentication — True/False. Validates users with Eco servers. Set to True by default. False has unknown effects and is not recommended.
- Allow Debug Calls — True/False. Allows debug calls to be made to the webserver. Unknown effect.
- White List — Whitelist selected players. Enter each individual player ID. Press
Enter
between each ID. - Black List — Blacklist selected players. Enter each individual player ID. Press
Enter
between each ID. - Admins — Give selected players full admin rights. Enter each individual player ID. Press
Enter
between each ID. Having an admin online helps the server show up more prominently in the server browser.
Note: Whitelist, Blacklist, and Admins all use player IDs. Use the /whois
command to see their ID. You will need to enter the proper ID when editing these lists manually.
Use the Strange Loop Games ID unless the user is a Steam-only user.
Strange Loop Games only account | use Strange Loop Games ID |
Steam only account | use STEAMID64 |
Strange Loop Games + Steam linked account | use Strange Loop Games ID |
You are able to use the player's name when running the corresponding commands from inside the game.
- Reputations — Manage reputation tiers and change their titles (this can be fun on a themed server!).
- Unstuck Disable Time — Sets (in seconds) the
/unstuck
cooldown to prevent exploits. AdminCommandsLoggingLevel
— Sets the level of logging that happens when an admin invokes admin commands. There are four different levels:None
— No logging and no notification is given.LogFile
— Log to file.LogFileAndNotifyAdmins
— Log to file and notifies the all admins connected to the server.LogFileAndNotifyEveryone
— Log to file and notifies the all users connected to the server.
UseExactSpawnLocation
— Toggles rather exact spawn location should be used for new players, or if the spawn location should be automatically changed dynamically to where there is wild food to gather. Default set to false.
World Generation Settings[edit | edit source]
WorldGenerator > Config
Note: Settings that affect world size, shape, and contents will not take effect until the world is re-generated)
Change World Seed[edit | edit source]
- Seed — Change the randomly generated seed that the world generation is based off.
Note: If you want to duplicate a world off of a seed, you need to match the WorldGenerator.eco settings for that world. This is easy if you just replace your WorldGenerator.eco with a copy of the file from the generated server (the file must have been unchanged since the server was generated). All the random values are generated off the seed, but within ranges defined by the config, so you need both if you want the same end result.
Change World Size[edit | edit source]
- Dimensions — Changes the size of the world. The X and Y values must be the same and divisible by 4. However, not all worlds with dimensions that follow these rules will be stable.
NOTE: The server (EcoServer32.exe) that is bundled with the Eco game client can only run worlds up to 100x100. To run larger worlds, the server must be downloaded separately, through Steam or the Eco website.
Below are the current recommendations for world sizes. Worlds built outside these recommendations may experience playability, performance, and stability issues that are outside the capabilities of Strange Loop Games support staff:
- (72,72) —
0.52 km2
— This is the default size, recommended for singleplayer and coop games. - (100,100) —
1 km2
— This is the maximum size the 32-bit Server (executed by Singleplayer) can handle and the recommended size for small public servers. (Used by official servers to create a challenge-focused experience, despite them being medium to large sized) - (140,140) —
1.96 km2
— This is the recommended size for medium to large public servers. - (160,160) —
2.56 km2
— The biggest size supported by Strange Loop Games, recommended for the biggest public servers out there. (Used by official server White-Tiger)
The following world sizes are known to be stable on servers with an above average performance, but are not recommended to be used, given they will not allow any meaningful impact on Ecology. Strange Loop Games does not guarantee to provide support for worlds of this size.
- (172,172) —
2.96 km2
- (200,200) —
4 km2
The following world sizes can be stable on servers and for clients that are both having strong to extremely strong performance, but are not recommended to be used, given they will not allow any meaningful impact on Ecology and are not suitable for the vast majority of use cases. Strange Loop Games does not provide support for worlds of these sizes and does not guarantee to take bug reports that involve worlds of these sizes.
- (224,224) —
5.02 km2
- (240,240) —
5.76 km2
- (248,248) —
6.15 km2
- (272,272) —
7.4 km2
- (296,296) —
8.76 km2
- (300,300) —
9 km2
- (360,360) —
12.6 km2
- (400,400) —
16 km2
Worlds over 400x400 may be possible to generate without the server crashing, but are extremely likely to be unstable, even with the most performant hardware available on clients and the server. Strange Loop Games does generally not provide any support nor take bug reports for worlds with such sizes.
NOTE: The maximum world volume ((L*10)*(W*10)*H) = 2,147,483,647. Attempting to create a world larger than this will cause a server crash. For example, a (400,400) world with a height of 160 would be ((400*10)*(400*10)*160) = 2,560,000,000, which would cause a crash.
Change World Shape[edit | edit source]
- WaterLevel — Sea level height.
- Height — Maximum height of terrain.
Player Spawn Location[edit | edit source]
- Spawn Location — Set new player spawn location coordinates.
- Use Exact Spawn Location — Set to True to spawn players at exactly the same coordinates. Defaults to False, which spawns players in a flat area nearby.
Editing config files (advanced)[edit | edit source]
Editing config files can allow for more detailed changes. You can alter world generation, potentially drastically, in many ways. Player starting items can be added or removed. Objects can be edited and have their storage space changed.
Before you begin editing[edit | edit source]
Before making any changes, make sure you create backups for each configuration file. You should save copies of your edited config files as well, because patches can overwrite your changes.
To make changing the files easier, consider using an editor like Notepad++.
When updating a server, you will want to manually edit the new config files with all your edits, so make sure you document every config change. You can use a text comparison tool to find differences in configs if you are unsure about changes.
Some changes require additional steps to take effect as intended:
- Changes in the area of world generation require a complete restart of the world.
- Changes in EcoSim.eco are accepted when the server is restarted. However, the new values will only occur in newly planted / grown plants and trees.
- Changes in the full range of mods require the deletion of "Eco.Mods.dll" to take effect.
Note: This configuration guide is based on player tests and crowd-sourcing. No information in this guide has been confirmed by Strange Loop Games.
List of configuration files[edit | edit source]
The standard configuration files are located in Eco\Eco_Data\Server\configs
Many of the settings found within these files can also be edited through the server GUI. Generally, each configuration file has a tab in the server GUI that corresponds to it. Clicking on each particular setting in the GUI will explain what the setting does at the bottom of the window.
Config file name | Description |
---|---|
Backup.eco | Controls whether to keep backup save files, and how often to create them. |
Difficulty.eco | |
Disasters.eco | File use to configure the meteor. |
Initial Spawn.eco | |
ModKit.eco | Controls mod loading. |
Profanity.eco | Contains a list of offensive words (including such offenders as 'commie' and 'shinola'), presumably for chat protection. |
Sleep.eco | This file is used to configure the Sleep in game. |
UserTextures.eco | |
World.eco | |
WorldGenerator.eco | File use to configure world's generator. |
Balance.eco | |
Localization.eco | File use to configure language. |
Maintenance.eco | |
Pause.eco | |
Rooms.eco | |
Stats.eco | File use to configure statistics collector. |
Storage.eco | File use to configure world's saves. |
Users.eco | Contains user controls like whitelisted and blacklisted players, who has admin privileges and the various titles players get through reputation. Also contains settings for how food plants are spawned around new players when they first join. |
WorldObjects.eco | Controls world object tick (update) behavior. |
EcoSim.eco | Contains settings for atmosphere. |
Network.eco | File use to configure networking. |