请加入 Streamline Hub 的 Discord,以获取更新,并让我能充分协助你解决 bug、回答问题或处理建议。
Discord: 点击这里

BukkitOfUtils(简称 BOU)
轻松开发支持大多数服务器软件的插件!
支持的平台
- Bukkit
- Spigot
- Paper/Purpur
- Leaf/uSpigot
- Folia
- Mohist/Banner/Youer
- 更多!
- 大多数 Spigot 和 Paper 的分支均原生支持。
它是什么?
BOU 既是一个插件,也是一个插件制作框架/库。
它旨在简化 Bukkit 插件的开发过程。
它还为一个使用它的插件提供中央框架,
使这些插件更加整洁且易于管理,
同时也让它们更精简、下载更快。
BOU 是少数几个同时支持
Bukkit、Folia、以及 Mohist/Banner/Youer 的插件构建框架之一!
此外,其易于理解的类和框架帮助初学者
开始开发他们也能理解的插件!
该插件还通过自身的异步方法进行了优化,因此
服务器所有者无需担心延迟问题(特别是像数据库操作这类方法调用)。
所有这些,加上它内置了一个使用 HikariCP
(目前最快的数据库框架)的数据库框架,
意味着开发者将很容易为他们的插件添加数据库支持。
它能做什么?
如前所述,
这个插件的主要目的是
为使用它的插件提供一个中央框架。
除此之外,它还具备一些自身功能:
- 允许服务器管理员更改插件异步刻之间的毫秒数。
- 物品序列化。
- 在字符串与 ItemStacks 之间进行序列化和反序列化。
- 内置数据库框架。
- 使用 HikariCP 轻松为你的插件添加数据库支持。
- 增强的日志记录。
- 专注于异步、线程安全、优化的方法。
- 增强的颜色支持。
- 利用插件内置的颜色支持轻松为消息着色。支持带有 Hex 的 RGB 颜色!
- 添加了实用方法。
- 本地化的 PlaceholderAPI 支持。
- 利用插件内置的 PlaceholderAPI 支持,轻松为你的插件添加 PlaceholderAPI 支持。
- 无需 Mojang 的玩家查找。
- 玩家名称、UUID 和皮肤首先来自服务器的数据和缓存。
- 若上述不可用,则回退到 Geyser、PlayerDB,然后是 MineTools,并暂停任何停用的服务。
- 支持离线模式和无互联网连接的服务器(将
web.enabled 设置为 false)。
- 通过 Floodgate 和 Geyser 实现基岩版支持。
- 完全支持基岩版玩家,他们的玩家头颅会显示真实皮肤。
- 精简下载。
- 大型库在服务器启动时由服务器下载,而不是打包在 jar 文件中。

命令
<...> 为必填项,(...) 为可选项。
-
/entity-count (world) — 别名:entityc, counte, countentities
- 获取当前加载到服务器或某个世界中的实体数量。
- 权限:
bou.command.entity-count
-
/boudebug <action> (args) — 别名:boud
- 权限:
bou.command.boudebug
item-nbt / item-nbt-strict — 将你手中的物品序列化为字符串。
make-item <nbt> / make-item-strict <nbt> — 从序列化字符串创建物品。
store-item — 将你手中的物品存储在内存中。
get-item <id> — 从内存中取回已存储的物品。
list-bou-plugins — 列出已加载的 BOU 插件。
dump — 转储调试信息。
worlds — 列出所有世界。
-
uuid <玩家> — 显示可复制的玩家 UUID 信息。
tasks <列表|取消 <ID>|暂停 <ID>|恢复 <ID>|菜单> — 查看和管理正在运行的 BOU 任务。
- 传送至:
top — 你头顶上方最高的开放空间。
up — 你头顶上方的下一个开放空间。
down — 你脚下的下一个开放空间。
center — 你所处方块的中心。
-
center3d — 你所在方块的精确中心位置。
-
/boumessage <玩家> <消息> — 别名:boumsg
- 向指定玩家发送一条支持插件颜色格式的消息。
- 权限节点:
bou.command.boumessage
-
/boutitle <玩家> <标题>\n<副标题> (-fadeIn=<淡入刻>) (-stay=<停留刻>) (-fadeOut=<淡出刻>) — 别名:bout
-
向玩家发送带有插件颜色支持的标题。
-
/bouversion — 别名:bouv
- 显示
BukkitOfUtils 的版本信息,包括服务器版本。
- 检查 Modrinth 上的更新,如果检测到新版本则提供下载链接。
-
/bouplugins <list|enable|disable|info|reload|unload|load|menu> (plugin) — 别名:boup
- 列出和管理已加载的 BOU 插件,或打开插件菜单。
- 权限:
bou.plugins
-
/onemenu — 别名:menu(可配置)
- 打开可配置的 OneMenu GUI。
- 默认关闭;在配置文件中设置
one-menu.enabled 为 true 以启用。
- 权限:
bou.onemenu
-
/runfirestring <firestring> — 别名:rfs, firestring, fstring
- 运行一个
FireString。
- 权限:
bou.command.runfirestring
-
/bouhelp <bou-plugin> — 别名:bouh
- 显示关于某个
BOU 插件的 Helpful 信息。
- 权限:
bou.command.bouhelp
-
/item-factory <bou-plugin> <key> (count) — 别名:itemfactory, itf
- 从
ItemFactory 获取物品(或多个物品)。
- 权限:
bou.command.item-factory

如何开始使用?
前往该插件的维基页面,查看如何在您自己的插件项目中运用它。
维基:
BStats
Please join the Streamline Hub Discord to get
updates and for me to fully assist you with bugs,
questions, or suggestions.
Discord: click here

BukkitOfUtils (BOU for short)
Easily develop plugins that support the majority of server software!
Supported Platforms
- Bukkit
- Spigot
- Paper/Purpur
- Leaf/uSpigot
- Folia
- Mohist/Banner/Youer
- And more!
- Most forks of Spigot and Paper are supported natively.
What is it?
BOU is both a plugin and plugin-making framework / library.
It is designed to ease the development process of making Bukkit plugins.
It also provides a central framework for plugins that use it,
making the plugins that use it more organized and easier to manage
as well as making them slimmer and faster to download.
BOU is one of the few plugin-building-frameworks out there that supports
Bukkit, Folia, and Mohist/Banner/Youer!
Plus, its easy-to-understand classes and framework help beginners
start developing plugins that they too can understand!
The plugin is also optimized with its own async methods so that
server owners don't have to worry about lag (specifically with method calls like Database operations).
All of this and the fact that it has a built-in database framework that uses HikariCP
(the fastest database framework at the moment),
means that developers will have an easy time adding database support for their plugins.
What does this do?
As stated before,
the main purpose of this plugin is
to provide a central framework for plugins that use it.
On top of that, it also has a few abilities it does by itself:
- Allow server admins to change how many milliseconds there are in between the async ticks the plugin has.
- This is used for increasing or decreasing the tickrate of the plugin's runnable tasks.
- Item serialization.
- Serialize and deserialize ItemStacks to and from strings.
- Built-in database framework.
- Easily add database support to your plugins with HikariCP.
- Enhanced logging.
- Allows plugin authors to handle logging messages in a more intuitive way.
- Focus on asynchronous, thread-safe, optimized methods.
- The plugin is designed to be as lag-free as possible.
- Enhanced color support.
- Easily colorize messages with the plugin's built-in color support. Supports RGB colors with Hex!
- Added utility methods.
- The plugin has a few utility methods that can be used in your plugin's project.
- Localized PlaceholderAPI support.
- Easily add PlaceholderAPI support to your plugin with the plugin's built-in PlaceholderAPI support.
- Player lookups without Mojang.
- Player names, UUIDs, and skins come from your server's data and cache first.
- Falls back to Geyser, PlayerDB, then MineTools, pausing any service that is down.
- Offline-mode and no-internet servers are supported (set
web.enabled to false).
- Bedrock support through Floodgate and Geyser.
- Bedrock players are fully supported, and their player heads show their real skins.
- Slim download.
- Large libraries are downloaded by the server at startup instead of being bundled in the jar.

Commands
<...> is required, (...) is optional.
/entity-count (world) — aliases: entityc, counte, countentities
- Get the amount of entities currently loaded on your server, or in one world.
- Permission:
bou.command.entity-count
/boudebug <action> (args) — alias: boud
- Permission:
bou.command.boudebug
item-nbt / item-nbt-strict — Serialize the item in your hand to a string.
make-item <nbt> / make-item-strict <nbt> — Create an item from a serialized string.
store-item — Store the item in your hand in memory.
get-item <id> — Get a stored item back from memory.
list-bou-plugins — List loaded BOU plugins.
dump — Dump debug information.
worlds — List all worlds.
uuid <player> — Show a copy-able message of a player's UUID.
tasks <list|cancel <id>|pause <id>|resume <id>|menu> — View and manage running BOU tasks.
- Teleport to:
top — The top-most open space above you.
up — The next open space above you.
down — The next open space below you.
center — The center of your block.
center3d — The exact middle of your block.
/boumessage <player> <message> — alias: boumsg
- Send a message to a player with the plugin's color support.
- Permission:
bou.command.boumessage
/boutitle <player> <title>\n<subtitle> (-fadeIn=<fade in ticks>) (-stay=<stay ticks>) (-fadeOut=<fade out ticks>) — alias: bout
- Send a title to a player with the plugin's color support.
- Permission:
bou.command.boutitle
/bouversion — alias: bouv
- Shows
BukkitOfUtils versioning information, including the server's version.
- Checks Modrinth for updates and links the download if you are behind.
/bouplugins <list|enable|disable|info|reload|unload|load|menu> (plugin) — alias: boup
- List and manage loaded BOU plugins, or open the plugins menu.
- Permission:
bou.plugins
/onemenu — alias: menu (configurable)
- Opens the configurable OneMenu GUI.
- Off by default; enable it with
one-menu.enabled in the config.
- Permission:
bou.onemenu
/runfirestring <firestring> — aliases: rfs, firestring, fstring
- Runs a
FireString.
- Permission:
bou.command.runfirestring
/bouhelp <bou-plugin> — alias: bouh
- Shows
Helpful information about a BOU plugin.
- Permission:
bou.command.bouhelp
/item-factory <bou-plugin> <key> (count) — aliases: itemfactory, itf
- Gets an item (or several) from the
ItemFactory.
- Permission:
bou.command.item-factory

How do I get started using this?
Head on over to the plugin's wiki to see how you can use it in your own plugin's project.
Wiki:
BStats
评论 0
登录后参与评分
还没有评论,来抢沙发吧