服务器等级系统
为服务器管理员提供了一种全新系统,用于添加完全独立于 Minecraft 现有等级系统的自定义升级和进度系统。
? 自定义等级系统:
使用此插件,你可以定义自己的自定义等级系统。这通过在插件的 levelsystems.yml 文件中完成,你可以在其中配置名称、玩家如何获得经验值、计算每个等级所需经验值的公式等。创建的系统数量没有限制,并且通过使用插件的 API,你可以定义获取经验值的自定义方法!
该插件还支持以下插件,以添加新的获取经验值方式、新的里程碑奖励,或以其他方式扩展插件功能:
| 插件 |
支持情况 |
| Project Korra |
✅ |
| Nouveau Enchanting |
✅ |
| Mythic Mobs |
✅ |
| LuckPerms |
✅ (1.1.0) |
| PlaceholderAPI |
✅ (1.1.0) |
| ItemsAdder |
❌ (开发中) |
? 设置:
大部分设置是在服务器首次启动后生成的 levelsystems.yml 文件中完成的。默认情况下,插件附带一个通用的默认等级系统,展示了自定义等级系统的结构。请参阅 Wiki 页面以获取更多关于按照你的喜好设置自定义系统的详细信息。
如果你想为玩家提供升级奖励,这可以在 milestones.yml 文件中完成,你可以在其中为特定等级设置自定义奖励。同样,插件随附了一个默认配置文件,应提供足够的示例来说明如何设置你自己的奖励,但如果需要,有一个专门的 Wiki 页面提供了更详细的说明。
在某些情况下,你可能希望玩家在击杀怪物时获得经验值,但你可能希望某些怪物比其他怪物给玩家更多或更少的经验值。对此的配置在 mobs.yml 文件中完成。请参阅 Wiki 页面以获取更多关于根据你的喜好自定义此文件的详细信息。
? 命令:
| 命令 |
权限 |
描述 |
| /sl exp [set/add/remove] [player] [amount] [system] |
serverlevels.commands.[set/add/remove] |
调整指定玩家在指定系统中的经验值。 |
| /sl level [set/add/remove] [player] [amount] [system] |
serverlevels.commands.[set/add/remove] |
调整指定玩家在指定系统中的等级。 |
| /sl addSystem [player] [system] |
serverlevels.commands.addsystem |
将玩家添加到指定的系统中(如果尚未在其中)。 |
| /sl removeSystem [player] [system] |
serverlevels.commands.removesystem |
从指定系统中移除玩家,删除其进度。 |
| /sl setMultiplier [player] [multiplier] [system] |
serverlevels.commands.setMultiplier |
为指定玩家设置乘数(增加/减少单个玩家的经验值获取) |
| /sl progress [system] |
serverlevels.commands.progress |
检查给定等级系统到下一级的进度 |
| /sl progress [system] [player] |
serverlevels.commands.progress.other |
检查另一玩家在给定系统中的进度 |
| /sl reload |
serverlevels.commands.reload |
重新加载插件,加载所有配置中进行的更改并刷新数据库。 |
| /sl pause [player] [system] |
serverlevels.commands.pause |
暂停指定玩家在某个系统中的经验值获取,而不删除其进度。 |
| /sl unpause [player] [system] |
serverlevels.commands.unpause |
恢复指定玩家在某个系统中的经验值获取,而不删除其进度。 |
| /sl OR /ls booster [system] add [multiplier] [duration] |
serverlevels.commands.booster |
创建一个全局的、临时的经验值加速效果。 |
| /sl OR /ls booster [system] list |
serverlevels.commands.booster |
列出所有活动和排队中的加速效果。 |
| /sl OR /ls booster [system] cancel [position/all] |
serverlevels.commands.booster |
取消指定的加速效果。 |
| /ls create [systemName] |
serverlevels.commands.create |
创建一个具有给定名称的新空白等级系统。 |
| /ls set [system] [setting] [value] |
serverlevels.commands.editsystem |
允许你在不编辑配置文件的情况下配置已创建的等级系统。 |
| /ls save [system] |
serverlevels.commands.savesystem |
将对指定等级系统所做的任何更改保存到 levelsystems.yml 文件中。 |
? 计划功能:
- 用于设置和自定义等级系统的游戏内 GUI
- 支持更多插件(见上表了解当前和支持中的插件)。
- 劫持经验条,用自定义系统替换原版经验系统。
- Folia 支持
❓ 常见问题解答:
Q: V3 版本是从哪里来的?
A: 这个插件是我制作的 Server Levels 插件的第三个迭代版本。第一个版本仍然可以在我的旧账号下的 Spigot 上找到,GitHub 仓库也仍然在我的个人资料中公开,但已被归档。V2 从未正式发行,因为我对插件的性能和代码质量非常不满意。希望 V3 是我最后一次觉得需要重新制作这个插件,因为我终于对插件的状态、整体质量和性能感到满意了。
Q: 你能添加对 X 插件的支持吗?
A: 有可能!查看上面的表格,看看我是否已经在开发或计划开发该支持。如果表格中没有列出,你可以自由前往 Issues(问题)标签页并打开一个新问题以请求支持,或者加入 Discord 服务器并在其中提出请求。
Q: 你能恢复 yml 文件数据存储方式吗?
A: 我真的不太想这么做。与数据库相比,使用 yml 文件为每个玩家存储数据的速度极其缓慢。如果有足够多的人真的希望恢复 yml 存储,我会考虑将其带回,但需求必须相当大才行。
Q: 我需要帮助!X 不工作了!
A: 请查阅对应功能的相关 Wiki 页面,并确保你的配置文件已正确设置。如果你无法自行找到问题所在,请加入 Discord 服务器并在其中寻求支持。
Server Levels
Adds a new system for server owners to add their own leveling and progression systems completely separate from Minecraft's existing leveling system.
? Custom Leveling Systems:
Using this plugin, you can define your own custom leveling systems. This is done in the plugin's levelsystems.yml file, where you can configure the name, how players gain exp, the formula that calculates the amount of exp required for each level, etc etc. There is no limit on the number of systems you can create, and using the plugin's API you can define your own custom methods for gaining exp!
The plugin also supports the following plugins to add new ways to gain exp, new milestone rewards, or to otherwise extend the features of the plguin:
| Plugin |
Has Support |
| Project Korra |
✅ |
| Nouveau Enchanting |
✅ |
| Mythic Mobs |
✅ |
| LuckPerms |
✅ (1.1.0) |
| PlaceholderAPI |
✅ (1.1.0) |
| ItemsAdder |
❌ (W.I.P) |
? Setup:
The bulk of the setup is done the levelsystems.yml file generated after your server boots for the first time. By default, the plugin comes with a generalized default level system that demonstrates how custom level systems are structured. See the Wiki Page for more details on setting up your custom system exactly how you want it.
If you want to give your players rewards for leveling up, this is done in the milestones.yml file, where you can setup custom rewards for specific levels. Again, the plugin ships with a default configuration file that should give sufficient examples on how to set up your own rewards, but there is a dedicated Wiki Page that goes into much greater detail if neeeded.
In some cases, you may want players to gain experience for killing mobs, but you might want to make some mobs give more or less exp to the player than others. Configuration for this is done in the mobs.yml file. See the Wiki Page for more detail on customizing this file to your liking.
? Commands:
| Command |
Permission |
Description |
| /sl exp [set/add/remove] [player] [amount] [system] |
serverlevels.commands.[set/add/remove] |
Adjusts the exp of the given player in the given system. |
| /sl level [set/add/remove] [player] [amount] [system] |
serverlevels.commands.[set/add/remove] |
Adjusts the level of the given player in the given system. |
| /sl addSystem [player] [system] |
serverlevels.commands.addsystem |
Adds the player to the specified system (if they aren't already in it). |
| /sl removeSystem [player] [system] |
serverlevels.commands.removesystem |
Removes the player from the specified system, deleting their progress. |
| /sl setMultiplier [player] [multiplier] [system] |
serverlevels.commands.setMultiplier |
Sets a multiplier for the specified player (increase/decrease exp gain per-player) |
| /sl progress [system] |
serverlevels.commands.progress |
Checks the progress to the next level of the given level system |
| /sl progress [system] [player] |
serverlevels.commands.progress.other |
Checks the progress of another player in the given system |
| /sl reload |
serverlevels.commands.reload |
Reloads the plugin, loading changes made in all configs and refreshing the database. |
| /sl pause [player] [system] |
serverlevels.commands.pause |
Pauses the given player's exp gain in a system without deleting their progress. |
| /sl unpause [player] [system] |
serverlevels.commands.pause |
Unpauses the given player's exp gain in a system without deleting their progress. |
| /sl OR /ls booster [system] add [multiplier] [duration] |
serverlevels.commands.booster |
Creates a global, temporary, exp booster. |
| /sl OR /ls booster [system] list |
serverlevels.commands.booster |
Lists all active and queued boosters. |
| /sl OR /ls booster [system] cancel [position/all] |
serverlevels.commands.booster |
Cancels the specified booster. |
| /ls create [systemName] |
serverlevels.commands.create |
Creates a new, blank level system with the given name. |
| /ls set [system] [setting] [value] |
serverlevels.commands.editsystem |
Allows you to configure your created Level Systems without editing the configs. |
| /ls save [system] |
serverlevels.commands.savesystem |
Saves any changes made to the specified level system to the levelsystems.yml file. |
? Planned Features:
- In-game GUI for setting up and customizing Level Systems
- Support for more plugins (See the table above for current and W.I.P plugins).
- EXP bar hijacking to replace the vanilla exp system with your custom one.
- Folia Support
❓ FAQ:
Q: Where does the V3 come from?
A: This plugin is the 3rd iteration of the Server Levels plugin that I've made. The first version is still available on Spigot on my old account and the GitHub repo is still public on my profile but is archived. V2 Never saw an official release because I was very dissatisfied with the plugin's performance and the quality of the code. V3 is, hopefully, the last time I will feel the need to remake this plugin, as I'm finally satisfied with the state of the plugin and the overall quality and performance.
Q: Can you add support for X plugin?
A: Maybe! Check the table above to see if I'm already working on it or planning to work on it, if its not already in the table then feel free to either go to the Issues tab and open a new issue requesting support for the plugin OR join the Discord server and request it there.
Q: Can you bring back the yml file data storage?
A: I'd really rather not. Using yml files to store the data for each player is incredibly slow compared to databases. If enough people really want yml storage back, then I will bring it back, but the demand will have to be rather large.
Q: I need help! X Isn't working!
A: Check the relevant Wiki page for the feature that isn't working and make sure your configs are set up properly. If you cannot find the issue yourself, join the Discord server and request support there.
评论 0
登录后参与评分
还没有评论,来抢沙发吧