This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
SFSSettings
dani0105 edited this page Apr 13, 2022
·
1 revision
Use this interface to create keybinding settings for your mod.
There are not events for this interface.
There are not properties for this interface.
Get mod id. This is used to identify for keybiding for another mods.
ModSettings.main.addKeybinding( MyLoadedSettings.My_Key, MyDefaultSettings.My_Key, "My_Key", MyLoadedSettings);
// My Settigns class
public class MySettings : SFSSettings
{
// key definition
public KeybindingsPC.Key MyKey = KeyCode.T;
public string getModId()
{
return 'MyModId';
}
}
- Modloader Installation
- Mods Installation
- How to develop mods
- Code Documentation