
警告!
Multimedia 已停止更新,不会再有公开版本发布,但它将继续在未来的项目(如 Powerhouse!)中私有使用。v2.00.0 是最终版本,也是生命周期结束(End of Life)更新。
Multimedia!
Multimedia 是一个插件框架,旨在让代码编写过程不再痛苦,使代码更简短,并消除大量样板代码!它能让编码效率提高多达 6 倍,速度提高多达 2 倍!
它提供了超过 30 个轻量级/替代类,你可以用它们来替代 Bukkit 的默认 API!Multimedia 将通过其自身的 Java 类移除所有额外的设置或代码,从而提供极大帮助。
它具有极高的向后兼容性!添加到 Multimedia 的新功能不会破坏现有插件,这意味着除非是新增内容,否则现有类不会有实质性更改。
此框架能帮你轻松完成以下任务:
- 通用的 Bukkit 和 Folia 调度器
- Base64(编码/解码)
- 配置设置
- 命令注册(含标签补全)
- 控制台命令执行
- GUI 构建
- 高级数学运算
- 属性编辑
- 音效播放
- 版本检查(含 Folia 检查)
- 时间格式化
- 颜色格式化
- Discord Webhook
- 以及更多!
集成与依赖项
Multimedia 没有任何依赖项或集成,但对于你的插件而言,如果它需要 Multimedia,则必须将其放置在 plugins 文件夹中以访问 Multimedia 提供的所有类。
如果你想直接将 Multimedia 打包进你的插件中,可以将其放入 build/libs/ 文件夹或其他目录。我建议你在根目录下创建一个名为 dependencies 的文件夹并将 Multimedia 放入其中,然后更新你的 build.gradle 文件以引入 Multimedia。
你可以使用 compileOnly files('dependencies/Multimedia-1.10.1.jar') 或者类似 compileOnly files('C:/jars/Multimedia-1.10.1.jar') 的配置来设置它。
或者,如果你希望将其捆绑打包,可以使用 implementation 代替 compileOnly(我也推荐这样做),但这会使你的 .jar 文件体积变得非常大。如果你不希望这样,请使用 compileOnly。
如果你想查看使用 Multimedia 的插件示例,请查看 这里!
补充说明
建议在你的插件中设置依赖/硬依赖(hard-depend),除非你的插件没有大量使用 Multimedia。
另外一点,如果你在编写基于 BungeeCord、Velocity 或其他平台的插件代码,抱歉,你需要自己解决。Multimedia 仅支持 Bukkit 相关平台/Fork 或 Folia。
如果你想了解如何使用 Multimedia,请点击 这里 查阅相关文档。
Multimedia 可以在哪些平台上运行?
Multimedia 可以在许多相似的平台运行,包括:
- Bukkit
- Spigot
- Paper
- Purpur
- Pufferfish(未在 Modrinth 列出)
- Leaf(未在 Modrinth 列出)
- Folia
Multimedia 支持哪些游戏版本?
Multimedia 可在许多版本及子版本上工作,包括:
- 1.21.x(已测试)
- 1.20.x
- 1.19.x
- 1.18.x
- 1.17.x
- 1.16.x
- 1.15.x
- 1.14.x
- 1.13.x
- 1.12.x
- 1.11.x
- 1.10.x(已测试)
- 1.9.x
- 1.8.x
- 1.7.x
许可证
Multimedia 由 KaiakK 创建,本项目采用 MIT 许可证授权。

WARNING!
Multimedia has been discontinued, it will not get another public release, however it will continue to be used privately in future projects like Powerhouse! v2.00.0 is the final version and the End of Life update.
Multimedia!
Multimedia is a plugin framework that is for making writing code less painful, keeping the code way shorter and removing a lot of boilerplate! It makes coding up to 6x easier and up to 2x faster!
It provides more than 30 lightweight/alternative classes that you can use instead of using Bukkit's default API! Multimedia will help out a lot by removing all the extra setup or code with it's own Java classes.
It will also be very backwards-compatible! Any new features added to Multimedia will not break existing plugins, meaning there won't really be any changes to existing classes unless it is additions.
This framework helps making these easier for you guys:
- Universal Bukkit and Folia scheduler
- Base64 (encoding/decoding)
- Configuration setup
- Command registering (+ tab completion)
- Console command execution
- Building GUIs
- Advanced mathematics
- Attribute editing
- Sound playing
- Version checking (+ Folia checking)
- Time formatting
- Color formatting
- Discord webhooks
- Even more!
Integrations and dependencies
Multimedia does not have any dependencies or integrations, but for your plugin, if it requires Multimedia, it has to be in the plugins folder to access all the classes Multimedia provides.
If you wanna directly add Multimedia into your plugin, you could put it in your build/libs/ folder or any other directory, I would recommend you make a folder called dependencies in the root folder and put Multimedia there and update your build.gradle file to get Multimedia.
You could do compileOnly files('dependencies/Multimedia-1.10.1.jar') or even something like compileOnly files('C:/jars/Multimedia-1.10.1.jar') to set it up.
Or if you would rather have it bundled, use implementation instead of compileOnly which even I would recommend, however it will make your .jar WAY bigger. If thats not something you want then use compileOnly.
If you want an example of a plugin using Multimedia, check out this!
Extra notes
It is recommended in your plugin to set it to depend/hard-depend unless your plugin doesn't use much of Multimedia.
Also another thing, if your writing code for your plugin thats on BungeeCord, Velocity or anything else, sorry but you're on your own. Multimedia only helps Bukkit-related platforms/forks or Folia.
If you want to know how to use Multimedia, click here to find some documents.
What platforms can Multimedia be ran on?
Multimedia can be ran on many similar platforms, this includes:
- Bukkit
- Spigot
- Paper
- Purpur
- Pufferfish (not listed on Modrinth)
- Leaf (not listed on Modrinth)
- Folia
What game versions can Multimedia be ran on?
Multimedia can work on many versions and subversions, this includes:
- 1.21.x (has been tested)
- 1.20.x
- 1.19.x
- 1.18.x
- 1.17.x
- 1.16.x
- 1.15.x
- 1.14.x
- 1.13.x
- 1.12.x
- 1.11.x
- 1.10.x (has been tested)
- 1.9.x
- 1.8.x
- 1.7.x
License
Multimedia is created by KaiakK, this project is licensed under MIT.
下载 Multimedia
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Multimedia
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Multimedia
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Multimedia
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Multimedia
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 这是最终版多媒体版本……
- 很抱歉要停止更新它,但实际使用的人很少,而且其中很大一部分内容非常无用。
- 这并不意味着它将永远消失,只是不会再有公开的新版本发布;它仍将继续用于未来的项目(如 Powerhouse)中。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧