[crossfire] Plugins

Kevin Zheng kevinz5000 at gmail.com
Sun Apr 11 13:33:59 CDT 2021


Hi Nicolas,

On 4/11/21 4:11 AM, Nicolas Weeger wrote:
> I'd like to move some plugins to the server "core" itself, possibly with
> option to disable the relevant code at startup (and if required, disabling/
> enabling by a DM, like plugins).
> 
> The rationale is that the plugin code adds some overhead, and having code
> dynamically loaded isn't that important, I think.

I'd agree with merging the plugins in with the core.

To clarify, I don't think there's appreciable performance overhead, but 
there is a lot of overhead having to shim all server calls through 
CFAPI. This makes it difficult to use functions and data structures in 
the server.

> I'm thinking of converting the city bells plugin, then the city life one.

I think this is a great way to get this started.

Regards,
Kevin


More information about the crossfire mailing list