This is a template-example repo to show how to add your own server details, without recompiling Custom Server Details.
-
Make sure you have installed Custom Server Details 1.4.0 or higher. Open your CustomServerDetails.ini's
[CustomServerDetails.CSDMasterServerUplink]
section: -
Add your packageName.className:
extendedServerDetailsClassName=CustomServerDetailsExtension.CustomServerDetailsExtension
-
Add your new variable to
infoBlockKeys
:infoBlockKeys=(detail="Difficulty",key="DIFF")
-
Finally edit the server state (
infoBlockPatterns
) where you want to see your new variable:infoBlockPatterns=(state="LOBBY",pattern="^w^[Current state: ^g^LOBBY^w^], Difficulty: %DIFF%")
Use KF Compile Tool for easy compilation.
EditPackages=CustomServerDetails
EditPackages=CustomServerDetailsExtension