{"id":18660157,"url":"https://github.com/magiclu550/nukkit_mariataframework","last_synced_at":"2026-07-19T16:33:15.699Z","repository":{"id":102906267,"uuid":"184745251","full_name":"MagicLu550/nukkit_mariataframework","owner":"MagicLu550","description":"nukkit simple framework","archived":false,"fork":false,"pushed_at":"2019-05-24T11:34:54.000Z","size":216,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T00:02:04.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MagicLu550.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-03T11:37:12.000Z","updated_at":"2019-05-09T06:30:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4dee255-9a4d-4020-a0b0-2a65ecb78644","html_url":"https://github.com/MagicLu550/nukkit_mariataframework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MagicLu550/nukkit_mariataframework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicLu550%2Fnukkit_mariataframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicLu550%2Fnukkit_mariataframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicLu550%2Fnukkit_mariataframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicLu550%2Fnukkit_mariataframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagicLu550","download_url":"https://codeload.github.com/MagicLu550/nukkit_mariataframework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagicLu550%2Fnukkit_mariataframework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35659409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-19T02:00:06.923Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:42:29.930Z","updated_at":"2026-07-19T16:33:15.670Z","avatar_url":"https://github.com/MagicLu550.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![LICENSE](https://img.shields.io/badge/license-GPL-blue.svg)\n[![zh](https://img.shields.io/badge/readme-chinese-orange.svg)](README_CN.md)\n\n# nukkit_mariataframework\n`nukkit framework`\n\n```\nAfter using this framework, if you use the new plugin structure provided by the framework, the listener (implementing the Listener interface) and the command (inherited from the Command parent class) will be registered as the default object by the framework.\nAccording to the specified root package, the automatic registration of the listeners and commands in the lower level package and the lower level package and the lower level package and the lower level...\n```\n\n* Decoupling: This means separating the main class from the registration class, making them completely independent\n* Container: This refers to the framework as a container for the plugin.\n\nIn addition, the mariata framework supports a new plugin structure, the file directory is under plugins/mariataframework/plugin/\nDeploy the built jar package here.\n\n\n\n- jar package structure, do not need plugin.yml, only need mariata.oml file\n\nThe configuration format of the mariata.oml file:\n\n```yaml\n?encoding: utf-8 version: 1.0.0?\n\nname: the name of the plugin\n\npackage: root directory package\n#(such as net.noyark.oaml package, just fill in the net,\n#Frame will scan the lower directory according to the root package directory, including all listeners and commands of the directory.\n#If it is multiple roots, you can use arrays [root 1, root 2...])\n\nmain: main class class that inherits from PluginBase\n```\n\u003e The syntax structure of oaml: https://github.com/noyark-system/noyark_oaml_java\n\n\u003e github: https://github.com/MagicLu550/nukkit_mariataframework\n\n`Pre-plugin settings`\n\n- Add parameters to mariataSet:\n  * startbefore\n```yaml\nstartbefore:\n -\n -\n -\n```\n\nCurrently loading plugins with plugin.yml is supported.\n\nThe class that inherits the task will be started immediately if you add a \n```\n@\n```\ngetReflectLoader method\nRegulation: The plugin using the MariataPluginBase as the main class must use mariata.oml\n\nUse of custom hub methods\n\n//this is the main class that inherits MariataPluginBase\n\nthis.getReflectLoader(this,(obj,clz)-\u003e{\n\n/ / Object processing\n\nIf(obj instanceof xxx){\n\nObject processing\n\n}\n\n},new String[]{root package name});\nAfter using this method, all objects will be loaded here, and all objects can be loaded in lambada expressions.\n\nSuch as: processing all objects that inherit AAA class\n\n\nthis.getReflectLoader(this,(obj,clz)-\u003e{\n\n/ / Object processing\n\nIf(obj instanceof AAA){\n\n\n\n}\n\n},new String[]{root package name});\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclu550%2Fnukkit_mariataframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiclu550%2Fnukkit_mariataframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclu550%2Fnukkit_mariataframework/lists"}