Skip to content

Commit 9b0a96d

Browse files
committed
vault & VaultUnlocked & ServiceIO
1 parent ba60e16 commit 9b0a96d

File tree

3 files changed

+148
-18
lines changed

3 files changed

+148
-18
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: ServiceIO
3+
sidebar_position: 2
4+
---
5+
6+
# ServiceIO
7+
8+
[![](https://img.shields.io/github/v/release/TheNextLvl-net/service-io)](https://github.com/TheNextLvl-net/service-io/releases)
9+
[![](https://img.shields.io/github/languages/code-size/TheNextLvl-net/service-io)](https://github.com/TheNextLvl-net/service-io)
10+
[![](https://img.shields.io/github/license/TheNextLvl-net/service-io)](https://github.com/TheNextLvl-net/service-io/blob/main/LICENSE)
11+
12+
一个现代的 Vault 替代品,旨在提供增强功能、更好性能和插件间无缝集成
13+
14+
:::tip
15+
16+
ServiceIO 仅支持 Paper 的最新版本(1.21+)
17+
18+
ServiceIO旨在作为 Vault 的全面替代,可以直接删除 Vault 插件,所有依赖 Vault 的现有插件将继续无缝与 ServiceIO 协同工作。
19+
20+
:::
21+
22+
## 为何选择ServiceIO?
23+
24+
ServiceIO是 VaultAPI 过时限制的前沿解决方案。尽管 Vault 仍然可用,但它依赖于已弃用和支持的代码,迫使开发者处理不安全的 null 接口,可能导致不稳定性与错误。
25+
26+
ServiceIO 通过提供强大的 null 标注、全面的文档和维护良好的源码解决了这些问题。此外,它支持异步数据加载和缓存结果,提升性能和扩展性。
27+
28+
ServiceIO 的一个关键特性是与现有 Vault 接口的无缝集成,允许插件同时使用两个 API,无需额外修改代码。这确保了平稳过渡,同时利用现代、可靠的平台优势。
29+
30+
此外,ServiceIO 支持不同插件间的数据转换,包括 banks, permissions, chat 和 groups。这消除了开发者编写自定义转换逻辑的需要,节省时间和精力。对于服务器所有者而言,这意味着更换插件比以往任何时候都更为顺畅,确保操作平稳且灵活,而无需手动迁移数据的烦恼。
31+
32+
## 命令
33+
34+
- /service convert banks:转换所有 banks 和 bank accounts
35+
- /service convert chat:转换所有聊天数据(前缀、后缀、昵称等)
36+
- /service convert economy:转换所有经济数据(账户和余额)
37+
- /service convert groups:转换所有群组数据(群组、前缀、后缀、权限、成员)
38+
- /service convert permissions:转换所有权限数据(用户、权限)
39+
40+
## 信息
41+
42+
- /service info bank: 查看已安装的 bank 提供插件
43+
- /service info chat: 查看已安装的 chat 提供插件
44+
- /service info economy: 查看已安装的经济提供插件
45+
- /service info groups: 查看已安装的群组提供插件
46+
- /service info permissions: 查看已安装的权提供插件
47+
48+
## 权限
49+
50+
- /service convert:需要 service.convert
51+
- /service info:需要 service.info
52+
- service.admin 权限允许访问所有 ServiceIO 命令
53+
- 且 vault.admin 等同于 service.admin
54+
55+
## 链接
56+
57+
:::info
58+
59+
`Bukkit` https://dev.bukkit.org/projects/vault
60+
61+
`SpigotMC` https://www.spigotmc.org/resources/.34315
62+
63+
`MineBBS` https://www.minebbs.com/resources/.7869
64+
65+
`GitHub` https://github.com/milkbowl/Vault
66+
67+
`插件百科` https://github.com/milkbowl/Vault
68+
69+
`VaultUnlocked(Vault 增强版)` https://github.com/TheNewEconomy/VaultUnlocked
70+
71+
`ServiceIO(Vault 超级增强版,1.21+)` https://hangar.papermc.io/TheNextLvl/ServiceIO
72+
73+
:::
74+
75+
## 联系
76+
77+
[![](https://img.shields.io/discord/1293606111177609277?logo=discord&label=Discord)](https://thenextlvl.net/discord) <- 点击加入 作者的 Discord
78+
79+
## Bstats
80+
81+
[![](https://bstats.org/signatures/bukkit/TheNextLvl%20ServiceIO.svg)](https://bstats.org/plugin/bukkit/TheNextLvl%20ServiceIO/23083)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: VaultUnlocked
3+
sidebar_position: 1
4+
---
5+
6+
# VaultUnlocked
7+
8+
Vault 的分支版本,提供更多功能
9+
10+
## 安装
11+
12+
`VaultUnlocked.jar` 放入 `plugins` 文件夹中,其余将自动处理。如果你想调整配置,可修改配置文件,但通常情况下并不需要。详情参阅 AdvancedConfiguration 部分。
13+
14+
## 功能
15+
16+
- 无需源代码集成:作为独立插件运作,只需引入 jar 文件即可。避免多个插件冲突,便捷集成。
17+
- 广泛插件兼容:支持经济和权限类型的插件抽象层,提升兼容性。
18+
- Freedom of Choice One of the best aspects of Bukkit is the freedom to choose what to use. More options benefit developers, so here’s to embracing choice!
19+
20+
## 特性
21+
22+
- 多货币支持
23+
- 更友好的 PR
24+
- Folia 支持
25+
26+
## 权限
27+
28+
- vault.admin:拥有权限的玩家将收到更新提醒
29+
30+
## 链接
31+
32+
:::info
33+
34+
`Bukkit` https://dev.bukkit.org/projects/vault
35+
36+
`SpigotMC` https://www.spigotmc.org/resources/.117277
37+
38+
`Modrinth` https://modrinth.com/plugin/vaultunlocked
39+
40+
`MineBBS` https://www.minebbs.com/resources/.10014
41+
42+
`GitHub` https://github.com/TheNewEconomy/VaultUnlocked
43+
44+
:::
45+
46+
笨蛋镜像下载 [点击这里](https://dl.yizhan.wiki/plugins/VaultUnlocked-2.3.0.jar)
47+
48+
## 联系
49+
50+
[![](https://img.shields.io/badge/Discord-creatorfromhell-blue?logo=Discord)](https://discord.gg/WNdwzpy) <- 点击加入 作者的 Discord
51+
52+
## 开源许可
53+
54+
Copyright (C) 2024 Daniel "creatorfromhell" Vidmar
55+
56+
VaultUnlocked 是 GNU Lesser General Public License(GPLv3)的自由软件,可以重新分发和修改。更多信息请参考许可证。
57+
58+
www.gnu.org www.gnu.org
59+
60+
## Bstats
61+
62+
[![](https://bstats.org/signatures/bukkit/VaultUnlocked.svg)](https://bstats.org/plugin/bukkit/VaultUnlocked/22252)
Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Vault
3+
slug: Vault
34
sidebar_position: 2
45
---
56

@@ -9,15 +10,13 @@ sidebar_position: 2
910

1011
`Bukkit` https://dev.bukkit.org/projects/vault
1112

12-
`SpigotMC` https://www.spigotmc.org/resources/.34315/
13+
`SpigotMC` https://www.spigotmc.org/resources/.34315
1314

14-
`GitHub` https://github.com/milkbowl/Vault
15-
16-
`插件百科` https://github.com/milkbowl/Vault
15+
`MineBBS` https://www.minebbs.com/resources/.7869
1716

18-
`VaultUnlocked(Vault 增强版)` https://github.com/TheNewEconomy/VaultUnlocked
17+
`GitHub` https://github.com/milkbowl/Vault
1918

20-
`ServiceIO(Vault 超级增强版,1.21+)` https://hangar.papermc.io/TheNextLvl/ServiceIO
19+
`插件百科` https://mineplugin.org/Vault
2120

2221
:::
2322

@@ -36,15 +35,3 @@ sidebar_position: 2
3635
人话:Vault只是提供经济的插件的前置,本身并不提供经济功能,就是给众多经济系统提供了一个统一接口
3736

3837
想要经济可以看看 [XConomy页面](XConomy.md)
39-
40-
### VaultUnlocked
41-
42-
VaultUnlocked 是 Vault 的分支版本,有多货币支持和 Folia 支持,[下载](https://github.com/TheNewEconomy/VaultUnlocked/releases/tag/2.3.0)
43-
44-
[下载镜像](https://dl.yizhan.wiki/plugins/VaultUnlocked-2.3.0.jar)
45-
46-
### ServiceIO
47-
48-
ServiceIO 是 Vault 的分支版本,支持 1.21 +, 无缝兼容 Vault,拥有更好的性能和更多的功能
49-
50-
[下载](https://hangar.papermc.io/TheNextLvl/ServiceIO) 非常强大

0 commit comments

Comments
 (0)