Mod Default Server Properties by ErrorMikey

  • Default Server Properties by ErrorMikey

    Allows modpack developers to define default server properties. Typically used for things like a default level type.
    • 8.02 KB
    • 1.16.5
    • September 16, 2022
    • July 2, 2023
    • Server Utility
    Default Server Properties
Mod Information
NameDefault Server PropertiesAuthorErrorMikeyDescriptionAllows modpack developers to define default server properties. Typically used for things like a default level type.
InformationDownloads:
Version: 1.16.5
Size: 8.02 KB
Updated at: July 2, 2023
Created at: September 16, 2022
Tags
Server Utility

Default Server Properties

A very simple mod that mixins into the game to allow a modpack developer to define a default-server.properties in the root of the pack. This will then override the default creation of the server.properties file. The beauty of this method is that you only need to set the properties that you want to change by default in the default-server.properties as the game's native loading will take care of the rest.

How to use

Create a default-server.properties file in the games root folder. If there is no default-used.marker in the local folder, then the mod will attempt to load that default data in and inject it to the normal default creation of the server.properties... simples.