
概述
FepEconomy 是一个实现 Vault 经济系统的 Minecraft 插件。

文本描述
FEP ECONOMY
概述 一个开源的、基于异步 SQL 数据库并具备若干实用功能的 Minecraft Vault 经济插件,任何人都可以为其做出贡献。
数字简化 使用 K、M、B、T、Q 轻松表示大数字,无需再输入 1500000。你可以直接输入 1.5M 来表示 150 万。
排行榜 GUI 一个简单的多页排行榜图形界面,并经过优化以快速获取数据。
支付历史 一个显示任意数量交易记录(默认最多 100 条)的图形界面,管理员还可以查看其他玩家的交易历史。
异步数据库 所有数据库调用均为异步操作,这意味着即使某些操作耗时较长,也不会影响游戏运行。
可配置 大部分内容均可配置,至少我是这么认为的。
权限:
| 权限 | 描述 |
|---|---|
| fepeconomy.admin | 允许玩家使用 /eco set|take|reset|add|reload 命令,并有权查看其他玩家的支付历史 |
| fepeconomy.baltop.exempt | 使该玩家免于出现在排行榜中 |
命令
| 命令 | 描述 |
|---|---|
| /eco take <player> <amount> | 从指定玩家处扣除金钱 |
| /eco give <player> <amount> | 向指定玩家给予金钱 |
| /eco set <player> <amount> | 设置指定玩家的金钱余额 |
| /eco reset <player|all> | 将指定玩家或所有玩家的金钱重置为初始金额 |
| /eco reload | 重新加载插件配置 |
| /pay <player> <amount> | 向指定玩家转账指定金额的金钱 |
| /togglepay | 切换是否允许他人向你付款的功能 |
| /payhistory <player (optional)> | 显示你或指定玩家的支付历史 |
| /baltop | 显示余额排行榜 |
| /bal <player (optional)> | 显示你或指定玩家的余额 |
Config.yml
#插件是否应使用符号作为货币单位
#还是使用单数/复数名称
use-symbol: false
symbol: $
currency-name-singular: "dollar"
currency-name-plural: "dollars"
#排行榜每页显示的最大玩家数量
#推荐值:20
max-fetch: 20
#每个玩家保存的最大交易记录数量
#推荐值:20-150
max-history: 100
#数据自动保存的时间间隔(秒)
autosave: 30
#玩家初始拥有的金钱数量
start-amount: 50
Messages.yml
#----------- 错误消息 -----------
no-balance: "&c您不能提取负数金额"
insufficient-funds: "&c资金不足"
deposit-negative: "&c无法存入负数金额"
args: "&c参数不足"
player-not-found: "&c找不到玩家 %player%"
same-player: "&c您不能给自己转账"
#----------- /bal 命令 -----------
# %bal% - 余额
# %player% - 玩家
balance-self: "&a您的余额为 %bal%"
balance-other: "&a%player%' 的余额为 %bal%"
#----------- /eco 命令 -----------
#%amount% - 金额
#%player% - 玩家
set: "&a已将 %player% 的余额设置为 %amount%"
add: "&a已向 %player% 的余额中添加 %amount%"
take: "&a已从 %player% 的余额中扣除 %amount%"
#----------- /pay 命令 -----------
#%amount% - 金额
#%receiver% - 接收者
#%sender% - 发送者
invalid-number: "&c无效的数字格式"
sent: "&a已成功向 %receiver% 转账 %amount%"
received: "&a收到来自 %sender% 的转账 %amount%"
player-turned-off-payments: "&c%receiver% 已关闭收款功能"
#----------- /togglePay 命令 -----------
turned-off: "&a已成功 &c关闭 &a收款功能"
turned-on: "&a已成功开启收款功能"
#----------- /eco reload -----------
reload: "&a配置重新加载成功"
#----------- /eco reset -----------
reset: "&a已将 %player% 的余额重置为 %amount%"
reset-all: "&a已将 %count% 名玩家的余额重置为 %amount%"
#---- 菜单全局变量 ----
nextPage-name: "&6下一页"
previousPage-name: "&6上一页"
#----------- 交易历史 -----------
guiTitle: "&a交易历史"
status-received: "&a&l已收到"
status-sent: "&4&l已发送"
Transaction-name: "&b&l交易 "
Transaction-Lore:
- "&7- &f&l金额: &b&l%amount%"
- "&7- &f&l发送者: &b&l%sender%"
- "&7- &f&l接收者: &b&l%receiver%"
- "&7- &f&l状态: &b&l%status%"
- "&7- &f&l时间: &b&l%time%"
#----------- 排行榜 -----------
balTop-Title: "&6余额排行榜"
head-name: "&f%place%. &6%player%"
head-lore:
- ""
- "&7- &f&l余额: &b&l%bal%"
如需获取开发中的构建版本,请访问 CodeBerg

Overview
FepEconomy is a minecraft Plugin that implements Vault economy

Text Description
FEP ECONOMY
OVERVIEW An open-source, Minecraft Vault economy plugin with asynchronous SQL and some useful features that anyone can contribute to.
EASY NUMBERS Easily write large numbers using K, M, B, T, Q without the need to write 1500000. U can easily write 1.5M
BALTOP GUI A simple baltop GUI with multiple pages and optimized fetching
PAYHISTORY A GUI of pay history with any amount of transaction (default 100 max) and also the ability for admins to view other players history
ASYNC DATABASE Every database call is asynchronous which means that if some operation takes really long it won't affect the gameplay
CONFIGURABLE Most of it is configurable, at least I think it is
Permissions:
| Permission | Description |
|---|---|
| fepeconomy.admin | gives the player access to /eco set|take|reset|add|reload and the access to payhistory of other players |
| fepeconomy.baltop.exempt | Exempts the player from baltop so he doesn't show up |
Commands
| Command | Description |
|---|---|
| /eco take <player> <amount> | Removes money from the specified player |
| /eco give <player> <amount> | Gives the specified player money |
| /eco set <player> <amount> | Sets the specified player money |
| /eco reset <player|all> | Resets the money of the specified player or everyone to the start amount |
| /eco reload | Reloads the plugin |
| /pay <player> <amount> | Transfers the specified amount of money to the specified player |
| /togglepay | Toggles the ability for players to pay you |
| /payhistory <player (optional> | Shows your or the specified player's pay history |
| /baltop | Show's the balance top |
| /bal <player (optional) | Show's your or the specified player's balance |
Config.yml
#Should the plugin use a symbol for the currency
#or the name plular/singular
use-symbol: false
symbol: $
currency-name-singular: "dollar"
currency-name-plural: "dollars"
#The max amount of fetching per page for baltop players
# Recommended: 20
max-fetch: 20
#The maximum amount of transactions saved per player
# Recommended: 20-150
max-history: 100
#Per how many seconds should the
#Data be saved
autosave: 30
#The amount of money for the player to start with
start-amount: 50
Messages.yml
#----------- Error Messages -----------
no-balance: "&cYou cannot withdraw negative amount"
insufficient-funds: "&cInsufficient funds"
deposit-negative: "&cCannot deposit negative amount"
args: "&cNot enough arguments"
player-not-found: "&cCould not find player %player%"
same-player: "&cYou cannot send money to yourself"
#----------- /bal Command -----------
# %bal% - Balance
# %player% - Player
balance-self: "&aYour balance is %bal%"
balance-other: "&a%player%'s Balance is %bal%"
#----------- /eco Command -----------
#%amount% - amount
#%player% - the player
set: "&aSet %player%'s balance to %amount%"
add: "&aAdded %amount% to %player%'s balance"
take: "&aTook %amount% from %player%'s balance"
#----------- /pay Command -----------
#%amount% - amount
#%receiver% - receiver
#%sender% - sender
invalid-number: "&cInvalid number format"
sent: "&aSuccessfully transferred %amount% to %receiver%"
received: "&aReceived a payment of %amount% from %sender%"
player-turned-off-payments: "&c%receiver% has turned off payments"
#----------- /togglePay Command -----------
turned-off: "&aSuccessfully &cturned off &apayments"
turned-on: "&aSuccessfully turned on payments"
#----------- /eco reload -----------
reload: "&aConfiguration reloaded successfully"
#----------- /eco reset -----------
reset: "&aReset %player%'s balance to %amount%"
reset-all: "&aReset %count% players to %amount%"
#---- Menu Globals----
nextPage-name: "&6Next Page"
previousPage-name: "&6Previous Page"
#----------- Transaction History -----------
guiTitle: "&aTransaction History"
status-received: "&a&lRECEIVED"
status-sent: "&4&lSENT"
Transaction-name: "&b&lTRANSACTION "
Transaction-Lore:
- "&7- &f&lAmount: &b&l%amount%"
- "&7- &f&lSender: &b&l%sender%"
- "&7- &f&lReceiver: &b&l%receiver%"
- "&7- &f&lStatus: &b&l%status%"
- "&7- &f&lTime: &b&l%time%"
#----------- BalTop -----------
balTop-Title: "&6BalTOP"
head-name: "&f%place%. &6%player%"
head-lore:
- ""
- "&7- &f&lBalance: &b&l%bal%"
For in-development builds go to CodeBerg
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FepEconomy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 添加了提取机制
- 添加了禁用某些功能的能力
- 修复了 messages.yml 中的斜体部分(使其变为非斜体)
- 添加了 Folia 支持和线程安全性
- 格式化改为保留一位小数
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧