-
Notifications
You must be signed in to change notification settings - Fork 0
Testing Debugging
DarkBladeDev edited this page Dec 27, 2025
·
1 revision
Practical recommendation:
- Local Paper server.
- Install
MultiBlockEngine.jarinto/plugins/. - Create
/plugins/MultiBlockEngine/addons/and put your addon JAR there. - Restart the server.
-
addon.propertiespresent. - valid and unique
id. -
apimatches the engine.
-
registerAction("addonId:..."). -
registerCondition("addonId:..."). -
createMultiblock("name")createsaddonId:name. -
registerMatcher("addonId", ...).
-
dependsenables in order. - missing dependency → addon fails with a clear log.
- capability factory returns non-null.
- duplicate capability class → controlled error.
- exception in factory → addon is marked FAILED (isolated).
- Server logs:
- expected prefix:
[MultiBlockEngine][Addon:<id>][LOAD|ENABLE|DISABLE|RUNTIME] ...
- expected prefix:
- Engine visual debug (if you use it for structures).
- Recommended strategy:
- In
onLoad: register and validate everything that is registrable. - In
onEnable: create code-defined multiblocks and register listeners.
- In