Sharing game data between rooms

I want to load the game data (Skill and character balance data and other static data) that is shared between rooms from a redis server. Since Plugins are per-room instances, where should I put that code? (my current temporary solution is making it static and loading when the first plugin instance is created).

Is there an action/message/hook I can subscribe to that it's called when the server is initialized or something like that?



  • Hi, @Jabefa

    your solution is good. but also you could use your PluginFactory. it will be created once per plugin version.

Sign In or Register to comment.