feat(src/mcdr.entry): init codes

This commit is contained in:
2025-06-22 14:51:28 +08:00
committed by GitHub
parent 1e7013c3e6
commit 7faba5e18f

View File

@@ -0,0 +1,9 @@
from mcdreforged.api.all import * # Type checking will be not happy, but the simplest way to import MCDR documented APIs. Relax anyway, this will be improved later.
def on_load(server: PluginServerInterface, _prev_module):
server.logger.info("Loading MatrixPyBridge...")
def on_unload(server: PluginServerInterface):
server.logger.info("Unloading MatrixPyBridge...")