-
Notifications
You must be signed in to change notification settings - Fork 8
Eco.EM.Framework
Here you will find the documentation on the features in the base part of the framework.
Documentation may be incomplete and might need additions, we will update this when we can.
Usage:
using Eco.EM.Framework;
We have added in some custom attributes that you can use in your mods to be ignored by other mods for what ever reason
(Modder implementation of ignore systems may be required)
IgnoreStackSizeAttribute
- Used to tell the EM Stack Size Resolver to ignore this items Stack Size so it can't be changed
IgnoreSkillAttribute
- Used to specify this skill should be ignored by x system
IgnoreItemAttribute
- Used to state ignore this item
IgnoreAttribute
- a general ignore attribute
Defaults.saveLocation
- This is a string where all default configs are saved to using the file manager ( See Eco.EM.Framework.FileManger )
These are saved in the Configs/Mods/ Folder which is created on the server boot.
This is great for anyone who wishes to get their configs safe incase the mods folder is deleted.
Defaults.fileFormat
- This is the basic format we save files to and is passed to the File Manager to make the files read easier - Save format is .json
Defaults.appName
- This is what we use to identify our mods used when sending chat messages this is a string and reads as: [Elixr Mods]:
Defaults.appNameCon
- This is what we use to identify our mods when sending messages to the Server Console and reads as: [Elixr Mods]: