描述

PrisonGems 是所有监狱服务器不可或缺的插件。
它添加了多种实用工具,主要面向
监狱服务器设计,但当然也可用于其他
类型的服务器。
其首要且最重要的功能是:宝石(Gems)。
宝石是一种独立于 Vault 运行的货币。
玩家可以通过在世界中挖掘方块来获得宝石。
这些方块的掉落几率当然可以进行配置。
宝石可用于购买物品:主要是用来升级你的装备。
你可以使用宝石来升级装备附魔。
例如,如果你拥有「耐久 I」,可以将其升级为「耐久 II」,以此类推……
此外,如果你正在使用 PrisonUtils,你还可以通过宝石出售背包。
或者如果你正在使用 CommandOverride,你可以让某些指令需要消耗宝石才能执行。
宝石的另一个用途不仅是升级你的工具/盔甲/武器,还可以修复它们。
指令/权限

| 指令 | 描述 | 权限 | ||||
| /upgrade | 打开物品栏以升级你的物品 | 无需权限。 | ||||
| /repair | 修复你手中的物品,需支付可配置的费用 | gems.repair | ||||
| /backpacks | 打开商店,你可以用宝石购买背包 | 无需权限。 | ||||
| /gems | 显示你拥有的宝石数量 | 无需权限。 | ||||
| /gems withdraw <Amount> | 将指定数量的宝石转换为相应的物品形态,用于交易和商店 | 无需权限。 | ||||
| /gems <Player> | 显示某玩家拥有的宝石数量 | gems.others | ||||
| /gems set <Player> <Amount> | 允许你修改某玩家的宝石数量 | gems.set | ||||
| /gems add <Player> <Amount> | 允许你调整玩家拥有的宝石数量 | gems.set | ||||
| /gems remove <Player> <Amount> | 允许你调整玩家拥有的宝石数量 | gems.set | ||||
| /gems give <Player> <Amount> | 给予指定玩家指定数量的宝石 | 无需权限。 |
告示牌

注意:所有空行都可以替换为你选择的文本。例如:“Cost: 10 Gems”(价格:10 宝石)/ “Click to buy”(点击购买)/ ...
[Upgrade] 告示牌
这些告示牌将打开升级菜单
或者如果你指定了附魔,它将直接为你的物品进行升级。
- [Upgrade]
- <Enchantment>(可选)
创建告示牌所需的权限:gems.sign
[Backpack] 告示牌
这些告示牌将打开背包商店
或者如果在你告示牌的第二行指定了行数
它们将作为商店告示牌使用。
- [Backpack]
- <Number of lines>(可选,行数)
- soulbound(可选,灵魂绑定)
创建告示牌所需的权限:backpacks.sign
配置

upgrades: DIAMOND_SWORD: ## 在此处指定你的物品名称 DAMAGE_ALL: ## 你的附魔名称 base-cost: 3 ## 应用该附魔所需的宝石数量 increment: 2 ## 每提升一级需增加的宝石数量 max: 20 ## 该附魔的最高等级 gems: starter: 0 ## 新玩家的初始宝石余额是多少? drop-chance: 10 ## 破坏方块时掉落宝石的概率unlock-editor: 5 ## 打开升级菜单所需的宝石数量 repair-cost: 25 ## 修复物品所需的宝石费用 enable-give-command: true ## 指定是否启用 /gems give 命令 enable-withdraw-command: true ## 指定是否启用 /gems withdraw 命令 auto-pickup: false ## 指定宝石是自动加入你的余额还是作为物品掉落 world-blacklist: ## 这些世界将排除在掉落宝石之外 - world_nether - world_the_end sign-prefix: '&7[&aUpgrade&7]' ## 升级告示牌的前缀是什么? backpacks: sign-prefix: '&7[&9Backpack&7]' ## 背包告示牌的前缀是什么? tiers: '1': enabled: true ## 是否启用拥有9个格子的背包 cost: 100 ## 所需费用 '2': enabled: true cost: 250 '3': enabled: true cost: 500 '4': enabled: true cost: 750 '5': enabled: true cost: 1000 '6': enabled: true cost: 2000 soulbound: '1': enabled: true ## 是否启用拥有9个格子的背包 cost: 100 ## 所需费用 '2': enabled: true cost: 250 '3': enabled: true cost: 500 '4': enabled: true cost: 750 '5': enabled: true cost: 1000 '6': enabled: true cost: 2000 enchantment-aliases: LOOT_BONUS_BLOCKS: ## 为升级告示牌指定一些别名,这样你可以使用 Fortune 而不是 LOOT_BONUS_BLOCKS - Fortune DAMAGE_ALL: - Sharpness DURABILITY: - Unbreaking DIG_SPEED: - Effciency
自动更新与指标统计

我的所有插件都使用了自动更新功能,以确保你始终
使用的是最新版本,并希望是 bug 最少的版本。
如果你不希望此插件自动更新,可以在配置文件中关闭它
位于 "options -> auto-update: true/false"
它们还使用了一个指标系统,收集以下信息:
一个唯一的标识符
服务器的 Java 版本
服务器处于离线模式还是在线模式
插件的版本
服务器的版本
操作系统版本/名称及架构
CPU 的核心数
在线玩家数量
指标系统的版本
可以通过编辑
plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来退出此服务。
Description

PrisonGems is an essential Plugin for all Prison Servers.
it adds several new Utilities, which are mainly aimed to be
useful for Prison Servers, but can of course be used for any
other type of Server as well.
The first and most important thing it adds are: Gems
Gems are a currency which runs independently from Vault.
Those Gems can be obtained by mining Blocks in the world.
The drop chance of those, is of course configurable.
Gems can be used to buy things: mainly to upgrade your Items
You can upgrade the Enchantments of your Items using Gems
for example if you have Unbreaking I it can be upgraded to Unbreaking II
etc...
Now, if you are using PrisonUtils, you can
also sell Backpacks via Gems.
Or if you are using CommandOverride, you can
make certain commands cost Gems to be executed.
Another thing Gems can be used for is not only upgrading your
Tools/Armor/Weapons but also repairing those.
Commands/Permissions

| Command | Description | Permission | ||||
| /upgrade | Opens up the Inventory to upgrade your Items | No Permission required. | ||||
| /repair | Repairs the Item in your Hand for a configurable cost | gems.repair | ||||
| /backpacks | Opens up a Shop where you can buy Backpacks for Gems | No Permission required. | ||||
| /gems | Shows how many Gems you have | No Permission required. | ||||
| /gems withdraw <Amount> | Converts a specified Amount of Gems to its respective Item Form for Trades and Shops | No Permission required. | ||||
| /gems <Player> | Shows how many Gems a Player has | gems.others | ||||
| /gems set <Player> <Amount> | Allows you to manipulate the Amount of Gems a Player has | gems.set | ||||
| /gems add <Player> <Amount> | Allows you to manipulate the Amount of Gems a Player has | gems.set | ||||
| /gems remove <Player> <Amount> | Allows you to manipulate the Amount of Gems a Player has | gems.set | ||||
| /gems give <Player> <Amount> | Gives the specified Player the specified Amount of your Gems | No Permission required. |
Signs

Note: All empty lines can be replaced with a text of your Choice. Example: "Cost: 10 Gems" / "Click to buy" / ...
[Upgrade] Signs
These Signs will open the Upgrade Menu
or will simply upgrade your Enchantment if you specify one.
- [Upgrade]
- <Enchantment> (optional)
Required Permission for creating Signs: gems.sign
[Backpack] Signs
These Signs will open up the Backpack Shop
Or will act as a Shop Sign if you specify an amount
of lines in the second line of your Sign.
- [Backpack]
- <Number of lines> (optional)
- soulbound (optional)
Required Permission for creating Signs: backpacks.sign
Configuration

upgrades: DIAMOND_SWORD: ## Specify the Name of your Item here DAMAGE_ALL: ## The Name of your Enchantment base-cost: 3 ## The Amount of Gems it costs to apply increment: 2 ## How many Gems will be added to the Cost per level max: 20 ## The Max Level of that Enchantment gems: starter: 0 ## Whats the start balance for new Players? drop-chance: 10 ## The Chance of dropping a Gem when breaking Blocks unlock-editor: 5 ## The Amount of Gems which is required to open the Upgrade Menu repair-cost: 25 ## The cost of Gems for repairing Items enable-give-command: true ## Specify whether /gems give is enabled enable-withdraw-command: true ## Specify whether /gems withdraw is enabled auto-pickup: false ## Specify whether Gems are automatically added to your Balance or dropped as an Item world-blacklist: ## Those worlds will be excluded from dropping Gems - world_nether - world_the_end sign-prefix: '&7[&aUpgrade&7]' ## Whats the Sign Prefix for the Upgrade Sign? backpacks: sign-prefix: '&7[&9Backpack&7]' ## Whats the Sign Prefix for the Backpack Sign? tiers: '1': enabled: true ## Whether a Backpack with 9 Slots is enabled cost: 100 ## How much it costs '2': enabled: true cost: 250 '3': enabled: true cost: 500 '4': enabled: true cost: 750 '5': enabled: true cost: 1000 '6': enabled: true cost: 2000 soulbound: '1': enabled: true ## Whether a Backpack with 9 Slots is enabled cost: 100 ## How much it costs '2': enabled: true cost: 250 '3': enabled: true cost: 500 '4': enabled: true cost: 750 '5': enabled: true cost: 1000 '6': enabled: true cost: 2000 enchantment-aliases: LOOT_BONUS_BLOCKS: ## Specify some Aliases for the Upgrade signs, so you can use Fortune instead of LOOT_BONUS_BLOCKS - Fortune DAMAGE_ALL: - Sharpness DURABILITY: - Unbreaking DIG_SPEED: - Effciency
Auto-Updater and Metrics

All my Plugins are using an Auto-Updater to make sure, you're always
using the latest and hopefully most bug free version of my Plugin.
If you don't want this Plugin to be auto-updated, you can turn it off
in the config file at "options -> auto-update: true/false"
They also use a Metrics-System which collects the following Informations:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
Opting out of this service can be done by editing
plugins/Plugin Metrics/config.yml and changing opt-out to true.
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
下载 PrisonGems
版本 1.3
警告:此版本及后续构建不再支持 EmeraldEnchants 1.0,请在其发布后切换至 EmeraldEnchants 2,或继续使用 PrisonGems 1.2.1。
+ 新增对 EmeraldEnchants 2 的支持
- 您现在可以在 config.yml 中编辑宝石的 Lore(描述)
+ 新增对 QuickSell 2 的支持
+ 新增 GemPickupEvent(拾取宝石事件)
版本 1.2.1
- 错误修复
修复了 /gems 命令显示宝石数量不正确的问题
修复了告示牌无法正常工作的问题
版本 1.2
+ 新增 /gems withdraw(提取)命令
- 错误修复
修复了通过 EmeraldEnchants 添加的附魔无法与 /upgrade 命令配合使用的问题
版本 1.1.2
- 移除了 EZRanksLite 钩子
版本 1.1.1
+ 新增权限节点 "gems.others"
- 错误修复
修复了 /gems <玩家> 命令无法正常工作的问题
版本 1.1.0
+ 新增 /gems <玩家> 命令
+ 新增选项,可指定一段 Lore(描述)文本,用于将某些物品排除在可升级范围之外
- 性能优化
版本 1.0.3
+ 为 /gems <set/add/remove> 命令新增了消息提示
+ 新增自动拾取宝石的选项
版本 1.0.2
+ 新增 EZRanksLite 变量:%gems%
版本 1.0.1
+ 新增 Soulbound Backpacks(绑定灵魂的背包)
版本 1.0
- 正式发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
城镇现在可以要求建造具有特定功能的建筑
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
评论 0
登录后参与评分
还没有评论,来抢沙发吧