mirror of
https://github.com/Mooling0602/MatrixPyBridge-MCDR.git
synced 2026-03-01 13:39:43 +08:00
feat(src/mcdr.entry): init codes
This commit is contained in:
9
matrix_py_bridge/mcdr/entry.py
Normal file
9
matrix_py_bridge/mcdr/entry.py
Normal 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...")
|
||||
Reference in New Issue
Block a user