About this mod
It is a modification of the anticheat-server mod so that it works with whitelist, which aims to provide more security to the host, because on the whitelist premise, all mods are blocked, with the exception of mods that are on the whitelist. There are other modes, such as MandatoryList which forces whitelist mods, or VanillaOnly which blocks smapi.
- Requirements
- Permissions and credits
- Donations
Unlike the original mod that was made with blacklist, in which you need to look for mods one by one to block.
To change its usage type from Whitelist, MandatoryList or VanillaOnly
Just edit the file in assets/configMode.json
{
"Mode": "Whitelist" //Whitelist- Allow mod list Allow mod list // MandatoryList - Whitelisted mods will be mandatory// VanillaOnly - block smapi completely
}
Mode: Whitelist
To add any mod to the whitelist, simply open the assets folder and the whitelist file and add the mods you want to allow users to use:
In the original whitelist I only left the gift tast helper, you can make your own list:
{
"Gift Taste Helper Continued x2": [ "JoXW.GiftTasteHelper" ],
"UI Info Suite 2": [ "Annosz.UiInfoSuite2" ],
"Better Ranching": [ "BetterRanching" ],
"Even Better Artisan Good Icons": [ "haze1nuts.evenbetterartisangoodicons" ],
"Better Friendship": [ "BetterFriendship" ],
"NPC Map Locations": [ "Bouhm.NPCMapLocations" ]
}
In this format, to find the name and uniqueid of the mod, simply open the manifest file of the desired mod and that's it.
Mode: MandatoryList
In this mode, all mods on the whitelist are mandatory, and no other mods are allowed, including entering without smapi is blocked.
You must edit the assets/mod-whitelist file to add your required custom mods, always following the same pattern.
{
"Name mod": [ "UniqueID mod" ]
}
To find the mod code, you must open the manifest.json file inside the folder of the mod you want to add to the list, and look under UniqueID.
Mode: VanillaOnly
In this mode, smapi is completely blocked, so you can enjoy your 100% vanilla game, without annoying people entering with mods, and thus having total security that no one will use mods on your farm...
This mod is a modification of the original Anti-cheat Server mod made by user funnysnek