Hindenburg provides official plugin support for Reactor, a client-side modding framework, used by many developers and public mods.
There's an official SkeldJS plugin for reactor support at https://github.com/SkeldJS/hbplugin-reactor.
This can be installed using the {page ../using-hindenburg/installing-plugins yarn plugins install} command:
yarn plugins install hbplugin-reactor@3
Install
hbplugin-reactor@2if your mods are still using the old reactor protocol version.
After installing the plugin, the following should appear in your config.json if you have it set up:
{
"plugins": {
"hbplugin-reactor": {
"enabled": true,
"serverAsHostSyncer": false,
"blockClientSideOnly": true,
"mods": {},
"allowExtraMods": true,
"requireHostMods": true,
"allowNormalClients": true
}
}
}
enabledWhether or not reactor support should be enabled for your server.
serverAsHostSyncerWhether or not the server should use host-based mod syncing.
This should make virtually no difference to your server.
It's recommended to keep this at false if you don't know what you're doing.
blockClientSideOnlyWhether or not to block players from connecting that have mods that are defined as being client-side only.
modsAn object of configuration for each mod:
"my.mod.id": {
"optional": false,
"banned": false,
"version": "1.0.0",
"doNetworking": false
}
optionalWhether or not the mod is totally optional for a client to have.
bannedWhether or not players using this mod should be blocked from playing on the server.
versionA version glob of the mod to enforce, e.g. 1.0.* to allow any patch values.
See Globs on Wikipedia for more information on the syntax
doNetworkingWhether or not to allow this mod to have networking between clients using the same mod.
allowExtraModsWhether or not clients should be allowed to have extra mods aside from those defined in #mods
requireHostModsWhether or not clients connecting to a room should have the exact same mods as the host of that room.
allowNormalClientsWhether or not to allow non-reactor clients to connect to the server.
Generated using TypeDoc