Plugins extend your AssettoServer (Freeroam) game server with additional features, such as changing weather, polls, a chat word filter, or races between players. AssettoServer already includes a number of plugins—you just need to enable them. You can also upload your own plugins.
Your server already includes these plugins:
| Plugin | Function |
|---|---|
AutoModerationPlugin | Automatically kicks players who, for example, drive at night without their lights on |
RandomWeatherPlugin | Changes the weather randomly |
VotingWeatherPlugin | Players vote on the weather at regular intervals |
LiveWeatherPlugin | Gets real weather from OpenWeatherMap; requires your own API key |
TimeDilationPlugin | Makes time pass faster or slower depending on the position of the sun |
WordFilterPlugin | Blocks player names, filters chat messages, and bans players for using certain words |
RaceChallengePlugin | Players challenge each other to a race by flashing their headlights three times |
ReportPlugin | Players send replays to moderators for review; requires a Discord webhook |
DiscordAuditPlugin | Reports kicks, bans, and chat messages to a Discord channel |
GeoIPPlugin | Determines the country of origin of connected players; requires a GeoLite2 database |
Enable plugins in the cfg/extra_cfg.yml file. Your server creates this file automatically the first time it starts. You can find it in the cfg folder in the Files tab.
- Open
cfg/extra_cfg.yml. - Add the plugin under
EnablePlugins. Its name must be written exactly as shown in the table above:
EnablePlugins:
- RandomWeatherPlugin
- If the plugin requires settings, add them at the very end of the file. Each plugin block starts with
---followed by the configuration name. For example, forRandomWeatherPlugin:
---
!RandomWeatherConfiguration
# Minimale Dauer bis zum nächsten Wetterwechsel
MinWeatherDurationMinutes: 15
# Maximale Dauer bis zum nächsten Wetterwechsel
MaxWeatherDurationMinutes: 60
# Minimale Dauer eines Wetterübergangs
MinTransitionDurationSeconds: 180
# Maximale Dauer eines Wetterübergangs
MaxTransitionDurationSeconds: 600
- Save the file and restart your server.
For the weather plugins RandomWeatherPlugin, VotingWeatherPlugin, and LiveWeatherPlugin, also set EnableWeatherFx: true in cfg/extra_cfg.yml. This enables smooth weather transitions and rain. Your players need Custom Shaders Patch (CSP) version 0.1.76 or later to use these features.
You can find example settings for all included plugins in the official AssettoServer repository, in the README.md file in each plugin's folder.
Upload additional plugins to the plugins folder in your server's main directory:
- Upload the plugin's entire folder to the
pluginsfolder. The plugin folder must contain a.dllfile with the same name as the folder, for example,plugins/MyPlugin/MyPlugin.dll. - Add the folder name under
EnablePluginsincfg/extra_cfg.yml, and add the plugin's settings if needed. - Restart your server.
If you upload a plugin with the same name as an included plugin, your server will use your version from the plugins folder.
Make sure the plugin is compatible with your server's AssettoServer version. If the Console displays No plugin found with name …, your server can't find a plugin with that name. Check the spelling under EnablePlugins and the folder name.
Congratulations, you've enabled plugins on your AssettoServer (Freeroam). Before making major changes, it's best to create a backup so you can quickly restore your server if something goes wrong. If something isn't working as expected, see our guide to Common Issues. If you have any other questions, our support team is available every day! 🙂