功能特性
- 方便地存取存储中的经验值,
- 方便地向其他玩家赠送经验值
- 基于玩家的经验等级进行存取
- 支持 Vault
| 命令 |
别名 |
权限 |
描述 |
| /xpd deposit |
d/dep |
xpd.deposit |
- 将经验值存入存储中 |
| /xpd withdraw |
w/withdraw |
xpd.withdraw |
- 从存储中提取经验值 |
| /xpd balance |
b/bal |
xpd.balance |
- 显示你存储的经验值数量 |
| /xpd balancetop |
baltop |
xpd.balancetop |
- 显示余额最高的前10名玩家 |
| /xpd give |
g/give |
xpd.give |
- 向另一名玩家赠送经验值。 |
管理员命令:
| 命令 |
权限 |
描述 |
| /xpd xp set |
xpd.admin.set |
- 将指定玩家的余额设置为特定数值 |
| /xpd xp give |
xpd.admin.give |
- 向玩家赠送经验值 |
| /xpd xp take |
xpd.admin.take |
- 从玩家账户中扣除经验值 |
| /xpd xp reset |
xpd.admin.reset |
- 重置玩家余额 |
| /xpd info |
xpd.info |
- 获取该玩家的所有信息 |
注意:
从存储中提取所有等级经验值的最佳方法是使用命令 /xpd w all,或者存入时使用 /xpd d all
其他权限:
xpd.* - 授予你所有 xpd 命令的访问权限!(包括管理员命令)
xpd.normal.* - 授予你 xpd 命令的访问权限。(不包括管理员命令)
xpd.keepxp - 如果玩家死亡,他将保留身上的经验值等级 (如果在 config.yml 中启用)
Vault
自版本 v4.2.0 XP-Deposit 起支持 Vault,你可以在 config.yml 中将 economy 设置为 true 来启用它。
来自版本 4.3.1 (Release) 2019年7月21日:
config.yml
################################
# #
# XP-Deposit by #
# Stipess1 #
# #
################################
# 编辑后请使用 /xpd reload 重新加载配置
# 不要修改 config-version!
config-version: 1.3
# 此选项控制玩家在接收、发送、提取等获得经验值时是否播放音效。
# 如果你不希望某个命令有声音,请留空 -> sound-recive:
# 更多音效请查看
sound-effects: true
# 必须将 sound-effects 设置为 true 才能播放音效。
sounds:
# 当玩家获得经验值时。
sound-receive: ENTITY_EXPERIENCE_ORB_PICKUP
# 当玩家发送经验值时。
sound-send:
# 当玩家提取经验值时。
sound-withdraw:
# 当玩家存入经验值时。
sound-deposit:
# 当玩家打开账户时。
sound-acc:
# 自动更新 true (启用), false (禁用)
auto-update: true
# 设置最低经验值存款门槛
# 若设为 0 则禁用此功能,最大值为 30
min-deposit: 0
# 允许拥有特定权限的玩家
# 存入指定数量的经验值,你可以在下方设置默认数值
# 玩家需要 'xpd.deposit.limit' 权限才能存入经验值!
# 玩家需拥有权限 'xpd.deposit.limit.' 才能存入超过默认值的数量
# 如果你想移除经验值上限,请给予人们 'xpd.deposit.limit.unlimited'
deposit-limit:
default: 120
vip: 240
mod: 360
# 当玩家死亡时,如果拥有 'xpd.keepxp' 权限则保留经验值
# 如果此项设为 false 且玩家拥有该权限,经验值将会掉落。
keep-xp: false
# 创建账户时设置初始经验值余额
balance-start: 0
# 当玩家达到特定经验等级时,XPD 会自动将其存入
# 如果玩家拥有 'xpd.deposit.auto' 权限,这将设置自动存款的最低限制
auto-deposit-limit: 5
# 如果设为 true,服务器将使用 XP-Deposit 作为经济插件
economy: false
messages.yml
STARTING_BALANCE: "&a你获得了 &2{BALANCE}&a 点经验值作为初始余额。"
ON_CREATE_ERROR: "&4错误:&c你已经创建了账户。"
NO_PERMISSION: "&4错误:&c你没有权限使用此命令!"
NOT_VALID_NUMBER: "&4错误:&c请输入有效的数字。"
DEPOSIT_SUCCESS: "&a存款成功!"
NOT_ENOUGHXP: "&4错误:&c你的经验值不足。"
WRONG_DEPOSIT: "&4错误:&c用法:/xpd deposit "
OPEN_ACC_FIRST: "&4错误:&c请使用 /xpd create 打开账户"
WITHDRAW_SUCCESS: "&a取款成功!"
WITHDRAW_ERROR: "&4错误:&c用法:/xpd withdraw "
PLAYER_DOESNT_EXIST: "&4错误:&c 玩家不存在。"
BALANCE_PRIVATE: "&a{PLAYERNAME} &a的余额为 &c 私密状态"
ACC_NOT_OPEN: "&4错误:&c该玩家尚未打开账户!"
XP_WRONG_USE: "&4错误:&c用法:/xpd xp [set:take:reset:give]"
ADMIN_SET_XP: "&a你已将 &2{PLAYERNAME}&a 的余额设置为 &2{BALANCE} &a点经验值。"
PLAYER_SET_XP: "&2{PLAYERNAME} &a已将你的余额设置为 &2{BALANCE} &a点经验值。"
ADMIN_TAKE_XP: "&a你已从 &2{PLAYERNAME}&a 的余额中扣除了 &2{BALANCE}&a 点经验值。"
PLAYER_TAKE_XP: "&2{PLAYERNAME}&a 已从你的余额中扣除了 &2{BALANCE}&a 点经验值。"
ADMIN_RESET_XP: "&a你已重置了 &2{PLAYERNAME} &a的余额。"
PLAYER_RESET_XP: "&2{PLAYERNAME}&a 已重置了你的余额。"
ADMIN_GIVE_XP: "&a你向 {PLAYERNAME} &a的余额添加了 &2{BALANCE}&a 点经验值。"
PLAYER_GIVE_XP: "&2{BALANCE}&a 点经验值已添加到你的账户中。"
MINIMUM_DEPOSIT: "&4错误:&c最低存款等级为 {LIMIT}!"
BALANCE_CHECK: "&a{PLAYERNAME} &a的余额为:&a{BALANCE} &2点经验值。"
BALANCE: "&a余额:&2{BALANCE} &a点经验值"
RECEIVER_OFFLINE: "&4错误:&c玩家不在线或不存在!"
GIVEXP_YOURSELF: "&4错误:&c你不能给自己发送经验值!"
XP_SENT: "&a你已向 &2{PLAYERNAME} &a发送了 &2{BALANCE}&a 点经验值。"
XP_RECEIVED: "&2{PLAYERNAME} &a向你赠送了 {BALANCE} 点经验值。"
GIVE_ERROR: "&4错误:&c用法:/xpd give "
XPD_RELOAD: "&a配置文件已成功重载!"
UNKNOWN_COMMAND: "&4错误:&c未知命令类型:/xpd help"
INFO_WRONG: "&4错误:&c用法:/xpd <i/info> "
LIMIT_REACHED: "&4错误:&c你的限额是 {LIMIT} 点经验值。"
LIMIT_PERMISSION: "&4错误:&c你需要 &a'xpd.deposit.limit'&c 权限才能使用此命令。"
LIMIT_GIVE: "&4错误:&c{PLAYERNAME} &a已达到限额({BALANCE})。"
DEPOSIT_TGG_OFF: "&a你已将自动存款切换为 &c关闭"
DEPOSIT_TGG_ON: "&a你已将自动存款切换为 &2开启"
TGG_WRONG_ARGS: "&4错误:&c 用法:/xpd toggle [number]"
MIN_AUTO_DEPOSIT: "&4错误:&c 最低自动存款限额为 {LIMIT}"
TGG_LIMIT_CHANGED: "&a你已将自动存款限额更改为 &2{LIMIT}"
TGG_LIMIT_ALRSET: "&4错误:&c 你的自动存款限额已设置为 &2{LIMIT}"
插件使用 bStats
默认情况下,bStats 会发送以下数据:
- 你的服务器随机生成的 UUID
- 你服务器上的玩家数量
- 你服务器的在线模式
- 你服务器的 bukkit 版本
- 你系统的 java 版本(例如 Java 8)
- 你操作系统的名称(例如 Windows)
- 你操作系统的版本
- 你操作系统的架构(例如 amd64)
- 你操作系统的核心数(例如 8)
- bStats 支持的插件
- bStats 支持插件的版本
禁用 bStats
如果你不希望你的服务器向 bStats 发送数据,可以通过在 bStats 配置文件中将 enabled 设置为 false 来禁用它。配置文件位于 /plugins/bStats/config.yml 文件中。bStats 对你的服务器性能几乎没有影响,且发送的数据完全匿名,所以请三思是否真的要禁用它。
Updater
本插件使用了 Gravity's Updater ,使得 XP-Deposit 能够自动下载更新以适配新版本。如果您希望禁用此功能或更改 XP-Deposit 处理更新的方式,可以自由编辑插件的配置文件。
如果您发现任何错误,请提交工单!
Easy way to store your XP
Features
- Easy way to deposit, withdraw XP from storage,
- Easy way to give other player XP
- Deposits based on players experience
- Supports Vault
| Commands |
Aliases |
Permission |
Description |
| /xpd deposit |
d/dep |
xpd.deposit |
- Deposits xp to the storage |
| /xpd withdraw |
w/withdraw |
xpd.withdraw |
- Withdraws xp from the storage |
| /xpd balance |
b/bal |
xpd.balance |
- Shows you the amount of stored xp |
| /xpd balancetop |
baltop |
xpd.balancetop |
- Shows top 10 players with highest balance |
| /xpd give |
g/give |
xpd.give |
- Gives the xp to another player. |
ADMIN COMMANDS:
| Commands |
Permission |
Description |
| /xpd xp set |
xpd.admin.set |
- Sets the balance to a specific number |
| /xpd xp give |
xpd.admin.give |
- Gives XP to the player |
| /xpd xp take |
xpd.admin.take |
- Takes XP from players account |
| /xpd xp reset |
xpd.admin.reset |
- Resets players balance |
| /xpd info |
xpd.info |
- Gives you all info about player |
NOTE:
Best way to withdraw all levels from storage is by using command /xpd w all or for depositing /xpd d all
Other permissions:
xpd.* - gives you access to all xpd commands! (including admin commands)
xpd.normal.* - gives you access to xpd commands (not including admin commands)
xpd.keepxp - If player dies, he keeps his XP level on him (If enabled in config.yml)
Vault
Since version v4.2.0 XP-Deposit supports vault, you can enable it in config.yml by setting economy to true.
Quote from Version 4.3.1 (Release) July 21, 2019:
- Fixed exception when user joins for the first time
config.yml
################################
# #
# XP-Deposit by #
# Stipess1 #
# #
################################
# After editing reload config with /xpd reload
# DO NOT TOUCH config-version !
config-version: 1.3
# This enables & disables sound effects when player receives,sends,withdraws, etc.. XP.
# If you don't want to have sound for particular command leave it blank -> sound-recive:
# For more sounds check
sound-effects: true
# sound-effects needs to be set on true in order to play sounds.
sounds:
# When player receives XP.
sound-receive: ENTITY_EXPERIENCE_ORB_PICKUP
# When player sends XP.
sound-send:
# When player withdraws XP.
sound-withdraw:
# When player deposits XP.
sound-deposit:
# When player opens an account.
sound-acc:
# Automatic updates true (enabled), false (disabled)
auto-update: true
# Sets a minimum level deposit
# to disable it leave it at 0, max is 30
min-deposit: 0
# Allows a player with specific permission
# To deposit specific amount of XP, you can set default number down below
# Player needs 'xpd.deposit.limit' before they can deposit XP!
# Player needs permission 'xpd.deposit.limit.' to deposit more than default
# If you want to remove XP limit, give people 'xpd.deposit.limit.unlimited'
deposit-limit:
default: 120
vip: 240
mod: 360
# On player death keep XP if they have the permission 'xpd.keepxp'
# If this is set to false and players have permission, XP will be dropped.
keep-xp: false
# This sets the XP starting balance when creating an account
balance-start: 0
# When player reaches certain XP level, XPD will deposit it automatically
# if players haves permission 'xpd.deposit.auto', This will set the minimum limit for auto-deposit
auto-deposit-limit: 5
# If set to true server will use XP-Deposit as economy plugin
economy: false
messages.yml
STARTING_BALANCE: "&aYou get &2{BALANCE}&a XP as starting balance."
ON_CREATE_ERROR: "&4Error: &cYou have already created an account."
NO_PERMISSION: "&4Error: &cYou don't have permission to use this command!"
NOT_VALID_NUMBER: "&4Error: &cEnter a valid number."
DEPOSIT_SUCCESS: "&aDeposit successful!"
NOT_ENOUGHXP: "&4Error: &cYou don't have enough XP."
WRONG_DEPOSIT: "&4Error: &cUsage: /xpd deposit "
OPEN_ACC_FIRST: "&4Error: &cUse: /xpd create"
WITHDRAW_SUCCESS: "&aWithdraw successful!"
WITHDRAW_ERROR: "&4Error: &cUsage: /xpd withdraw "
PLAYER_DOESNT_EXIST: "&4Error: &cPlayer doesn't exist."
BALANCE_PRIVATE: "&aBalance of &2{PLAYERNAME}&a is &c private"
ACC_NOT_OPEN: "&4Error: &cPlayer hasn't open an account yet!"
XP_WRONG_USE: "&4Error: &cUsage: /xpd xp [set:take:reset:give]"
ADMIN_SET_XP: "&aYou have set &2{PLAYERNAME}&a balance to &2{BALANCE} &aXP."
PLAYER_SET_XP: "&2{PLAYERNAME} &ahas set your balance to &2{BALANCE} &aXP."
ADMIN_TAKE_XP: "&aYou have taken &2{BALANCE}&a XP from &2{PLAYERNAME}&a balance."
PLAYER_TAKE_XP: "&2{PLAYERNAME}&a has taken &2{BALANCE}&a XP from your balance."
ADMIN_RESET_XP: "&aYou have reset balance of &2{PLAYERNAME}."
PLAYER_RESET_XP: "&2{PLAYERNAME}&a has reset your balance."
ADMIN_GIVE_XP: "&aYou added &2{BALANCE}&a XP to {PLAYERNAME} &abalance."
PLAYER_GIVE_XP: "&2{BALANCE}&a XP has been added to your account."
MINIMUM_DEPOSIT: "&4Error: &cMinimum deposit level is {LIMIT}!"
BALANCE_CHECK: "&aBalance of &2{PLAYERNAME}: &a{BALANCE} &2XP."
BALANCE: "&aBalance: &2{BALANCE} &aXP"
RECEIVER_OFFLINE: "&4Error: &cPlayer is not online or doesn't exist!"
GIVEXP_YOURSELF: "&4Error: &cYou can't give yourself XP!"
XP_SENT: "&aYou have sent &2{BALANCE}&a XP to &2{PLAYERNAME}."
XP_RECEIVED: "&2{PLAYERNAME} &ahas given you {BALANCE} XP."
GIVE_ERROR: "&4Error: &cUsage: /xpd give "
XPD_RELOAD: "&aConfig file successfully reloaded!"
UNKNOWN_COMMAND: "&4Error: &cUnknown command type: /xpd help"
INFO_WRONG: "&4Error: &cUsage: /xpd <i/info> "
LIMIT_REACHED: "&4Error: &cYour limit is {LIMIT} XP."
LIMIT_PERMISSION: "&4Error: &cYou need &a'xpd.deposit.limit'&c permission in order to use this command."
LIMIT_GIVE: "&4Error: &c{PLAYERNAME} &chas reached the limit ({BALANCE})."
DEPOSIT_TGG_OFF: "&aYou have toggled auto-deposit to &cOFF"
DEPOSIT_TGG_ON: "&aYou have toggled auto-deposit to &2ON"
TGG_WRONG_ARGS: "&4Error:&c Usage: /xpd toggle [number]"
MIN_AUTO_DEPOSIT: "&4Error:&c Minimum auto-deposit limit is {LIMIT}"
TGG_LIMIT_CHANGED: "&aYou have changed your auto-deposit limit to &2{LIMIT}"
TGG_LIMIT_ALRSET: "&4Error:&c Your auto-deposit limit is already set to &2{LIMIT}"
Plugin uses bStats
By default, bStats sends the following data:
- Your server's randomly generated UUID
- The amount of players on your server
- The online mode of your server
- The bukkit version of your server
- The java version of your system (e.g. Java 8)
- The name of your OS (e.g. Windows)
- The version of your OS
- The architecture of your OS (e.g. amd64)
- The system cores of your OS (e.g. 8)
- bStats-supported plugins
- Plugin version of bStats-supported plugins
Disabling bStats
If you don't want that your server sends data to bStats you can disable it by setting enabled to false in the bStats config file. The config can be found in the /plugins/bStats/config.yml file. bStats has nearly no effect on your server's performance and the sent data is completely anonymous so please consider twice if you really want to disable it.
Updater
This plugin uses Gravity's Updater which allows XP-Deposit to automatically download updates to new versions. If you wish to disable this or change how XP-Deposit handles the updating, you are free to do so by editing the plugin's configuration.
If you find any bugs, open a ticket!
评论 0
登录后参与评分
还没有评论,来抢沙发吧