BuySkills
请注意:BuySkills 与旧的 ExpSkills 插件不兼容。你需要自行更新配置文件。
BuySkills 是一个允许用户花钱或其他货币购买或租赁技能(即权限或分组)的插件。它内置了技能树功能,非常适合基于等级的职业系统。
为了确保你可以使用任何你想要的物品作为费用或要求,此插件需要 CurrencyHandler 插件。
从 0.x 版本升级到 1.0
新版本与 0.x 版本不兼容。你需要自行更新配置文件。
等级和技能点功能已被移除,但可以通过 SkillLevels 插件实现。
指标数据 (Metrics)
此插件使用了 Hidendra 的插件指标系统。你可以在 <yourPluginFolder>/PluginMetrics/config.yml 中选择退出。
将收集以下信息:
- 唯一标识符
- 服务器的 Java 版本
- 服务器是离线模式还是在线模式
- 插件的版本
- 服务器的实现方式和游戏版本
- 操作系统版本/名称和架构
- CPU 的核心数量
- 在线玩家数量
- 指标数据的版本
- 你的在线模式设置
- 你的服务器位置
依赖项
Vault:BukkitDev
CurrencyHandler:BukkitDev
用法
命令
用户命令
/skill help [command] - 获取此插件的帮助
/skill list <page> <filter> - 列出可用技能
/skill info <skill> - 获取特定技能的信息
/skill buy <skill> - 购买一个技能
/skill rent <skill> - 租用技能
/skill current [player] - 显示已购买的技能
/skill rented - 显示你租用的技能
管理员命令
/skill grant <player> <skill> [charge] [rent] - 授予一个技能
/skill recalculate <player> - 重新计算权限
/skill reload - 重新加载配置文件
/skill reset <player> - 重置玩家的所有技能
/skill revoke <player> <skill> - 收回玩家的某个技能
权限节点
buyskills.user - 所有用户的权限
buyskills.command.help - 访问 /help 命令
buyskills.command.list - 访问 /list 命令 buyskills.command.info - 访问 /info 命令
buyskills.command.buy - 访问 /buy 命令
buyskills.command.rent - 访问 /rent 指令的权限 buyskills.command.current - 访问 /current 指令的权限
buyskills.command.rented - 对 /rented 命令的访问权限
buyskills.admin - 所有管理员权限
buyskills.command.recalculate - 获取 /recalculate 命令的访问权限
buyskills.command.reload - 访问 /reload 命令 buyskills.command.reset - 访问 /reset 命令
buyskills.command.revoke - 授予使用 /revoke 命令的权限
buyskills.command.grant - 授予使用 /grant 命令的权限
配置
示例技能
example:name: 示例 # 技能名称,用于所有游戏内交互。必须唯一
description: "示例技能" # 技能的简短描述
info: "此技能允许你什么都不做" # 关于该技能的更详细描述
category: # 技能可查找的分类列表(用于 /list)
- example perm_earn: # 玩家通过此技能获得的权限节点列表 - ex.ample perm_need: # 玩家购买此技能所需的权限节点列表 - exam.ple group_earn: # 玩家通过此技能获得的组别列表 - examlpe group_need: # 玩家购买此技能所需的组别列表 - player skill_need: # 购买此技能所需的前置技能列表 - notexample skill_illegal: # 玩家不允许拥有此技能的冲突技能列表 - examlpe2 skills_needed: 1 # 购买此技能所需的 skill_need 列表中技能的数量 worlds: # 可以购买此技能的地图列表。留空表示全地图可用。 - world revoke_group: false # 购买此技能时是否撤销所需的组别? revoke_perm: false # 购买此技能时是否撤销所需的权限? regrant_perm: false # 当此技能被撤销时,是否重新授予所需的权限? regrant_group: false # 当此技能被撤销时,是否重新授予所需的组别? buyable: true # 此技能是否可购买? rentable: false # 此技能是否可租赁? renttime: 200 # 技能租赁持续时间(秒) buy_costs: # 购买此技能的费用,使用 CurrencyHandler 插件 food: 10 health: 10 rent_costs: # 租赁此技能的费用,使用 CurrencyHandler 插件 food: 10 health: 10 buy_need: # 购买此技能所需的货币 food: 20 rent_need: # 租赁此技能所需的货币 food: 20
源代码: GitHub
BuySkills
Please note: BuySkills is not compatible with the old ExpSkills Plugin. You need to update your config by yourself.
BuySkills is a plugin that allows your users to buy or rent skills (i.e. permissions or groups) for money or other currencys. It has a built in skilltree feature, perfect for level based classes.
To make sure you can use everything you want as costs or requirement, this plugin requires the CurrencyHandler Plugin.
Update from 0.x to 1.0
The new version is not compatible with 0.x versions. You need to update your config files yourself.
The level und skillpoint function has been removed but can be achieved with the SkillLevels plugin.
Metrics
This plugin utilises Hidendra's plugin metrics system. You can opt-out under <yourPluginFolder>/PluginMetrics/config.yml
The following informations will be collected:
- 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 implementation and game version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Your online-mode
- Your server location
Dependencies
Vault: BukkitDev
CurrencyHandler: BukkitDev
Usage
Commands
User Commands
/skill help [command] - get help for this plugin
/skill list <page> <filter> - list available skills
/skill info <skill> - get information to a specific skill
/skill buy <skill> - buy a skill
/skill rent <skill> - rent a skill
/skill current [player] - shows bought skills
/skill rented - show's your rented skills
Admin Commands
/skill grant <player> <skill> [charge] [rent] - grant a skill
/skill recalculate <player> - recalculate permissions
/skill reload - reload config files
/skill reset <player> - reset all skills of a player
/skill revoke <player> <skill> - revoke a skill from a player
Permission Nodes
buyskills.user - all user permissions buyskills.command.help - access to /help command buyskills.command.list - access to /list command buyskills.command.info - access to /info command buyskills.command.buy - access to /buy command buyskills.command.rent - access to /rent command buyskills.command.current - access to /current command buyskills.command.rented - access to /rented command buyskills.admin - all admin permissions buyskills.command.recalculate - access to /recalculate command buyskills.command.reload - access to /reload command buyskills.command.reset - access to /reset command buyskills.command.revoke - Grant access to /revoke command buyskills.command.grant - access to /grant command
Configuration
Example Skill
example: name: Example # Name of the skill, used for every ingame interaction. Must be unique description: "Exampleskill" # A short description of the skill info: "Thisskillallowesyoutodonothing" # A more detailed description of the skill category: # A list of categories the skill can be found at (used for /list) - example perm_earn: # A list of permission nodes the player earns with this skill - ex.ample perm_need: # A list of permission nodes the player needs for this skill - exam.ple group_earn: # A list of groups the player earns with this skill - examlpe group_need: # A list of groups the player needs for this skill - player skill_need: # A list of skills, needed to buy this skill - notexample skill_illegal: # A list of skills the player is not allowed to own for this skill - examlpe2 skills_needed: 1 # Number of skills of the skill_need list the player needs for this skill worlds: # A list of worlds where you can buy this skill. Leave empty for global. - world revoke_group: false # Revoke needed groups when buying this skill? revoke_perm: false # Revoke needed permissions when buying this skill? regrant_perm: false # Regrant needed permissions when this skill is revoked? regrant_group: false # Regrant needed groups when this skill is revoked? buyable: true # Is this skill buyable? rentable: false # Is this skill rentable? renttime: 200 # Time in seconds the skill is rented for buy_costs: # The costs to buy this skill, uses CurrencyHandler plugin food: 10 health: 10 rent_costs: # The costs to rentthis skill, uses CurrencyHandler plugin food: 10 health: 10 buy_need: # This currencies are needed to buy this skill food: 20 rent_need: # This currencies are needed to rent this skill food: 20
Source Code: GitHub
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
下载 BuySkills
BuySkills 1.0.1
- 修复了默认配置文件编码问题,该问题可能导致某些错误
- 修复了首次运行时因文件夹不存在而导致的错误
由于 UUID 的工作方式,离线模式服务器可能会遇到一些轻微问题。
在更新到 UUID 之前,请确保已进行备份。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
城镇现在可以要求建造具有特定功能的建筑
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
评论 0
登录后参与评分
还没有评论,来抢沙发吧