Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🥇 Feat: Hello! Extension System! #16

Open
Krysztal112233 opened this issue Jun 14, 2022 · 0 comments
Open

🥇 Feat: Hello! Extension System! #16

Krysztal112233 opened this issue Jun 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Krysztal112233
Copy link
Contributor

Krysztal112233 commented Jun 14, 2022

你好!拓展世界

从设计上看 KatServer 对外放开了很多可操作部分,同时我们也在努力让 KatServer 拥有强大的拓展系统

从最初的目标上看我们的初衷也面向拓展

随着小目标不断的完成,我们是时候需要集成并且抽象出拓展系统了!

什么是拓展

拓展是一系列能为 KatServer 提供额外功能的子模块,他们能部分替换 KatServer 内部的模块与功能,提供更加强大的功能并且宏观上提升可自定义性,这些子模块由 Java 或者其他语言编写,总而言之他们能集成到 KatServer 当中,提供不同的功能!

现在的完成度与可自定义模块?

拓展能实现的部分内容依赖于 KatServer 自身的可替换能力,因此我们在下面列出来我们的模块列表及其可替换性。

Module Replaceable Stats
📁 Storage 🏗
🍜 Database 🏗
🖧 Network 🏗
🎹 KatMessageType
🎉 Tokenpool
⚙ Config
🚀 EventBus

拓展应当如何使用 KatServer 提供的函数与功能?

我们所有对拓展开放的功能都会写在 KatServer.java 当中,因此直接访问 KatServer 类便可知道我们所有已经抽象出来的功能。

由于部分功能还在开发,因此这些部分将不会被抽象到 KatServer 类当中。可以通过访问 KatXXXManager 直接获取这部分功能。

@Krysztal112233 Krysztal112233 pinned this issue Jun 14, 2022
@Krysztal112233 Krysztal112233 added the enhancement New feature or request label Jun 14, 2022
@Krysztal112233 Krysztal112233 self-assigned this Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant