No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
* <code>/outdatedmods</code> lists all mods that are outdated, ie. a newer version is available in the steam workshop. |
* <code>/outdatedmods</code> lists all mods that are outdated, ie. a newer version is available in the steam workshop. |
||
− | In |
+ | In the <code>main.lua</code> file, it regularly prints a message to the chat when mods are outdated on the server. |
+ | |||
+ | === Localization === |
||
+ | In the <code>data/localization/</code> folder you can also find an example for a German localization of texts that appear in the mod. |
||
=== Workshop Link === |
=== Workshop Link === |
Revision as of 10:55, 10 April 2019
This mod adds new chat commands to the game: /mods
and /outdatedmods
, represented by 2 files in data/scripts/commands/
. It also shows how to use the main.lua
file to have mod-specific update calls.
/mods
lists all mods that are currently running on the server./outdatedmods
lists all mods that are outdated, ie. a newer version is available in the steam workshop.
In the main.lua
file, it regularly prints a message to the chat when mods are outdated on the server.
Localization
In the data/localization/
folder you can also find an example for a German localization of texts that appear in the mod.