? SnEco - Simple Economy Plugin
依赖项: Vault(必需) • PlaceholderAPI(可选)
SnEconomy 是一款轻量级、功能丰富的经济插件,专为 Minecraft 服务器设计。它以简洁性和性能为核心,提供了一套完整的经济系统,包含直观的命令、安全的交易以及灵活的自定义选项。
✨ 主要特性
? 核心经济系统
- 完整的 Vault 集成 - 与所有兼容 Vault 的插件无缝协作
- SQLite 数据库 - 高效本地存储,数据持久化
- 初始余额 - 可配置新玩家的起始余额
- 货币符号 - 可自定义货币格式(默认为 $)
- 可配置前缀 - 可自定义所有插件消息的聊天前缀
? 玩家命令
/balance 或 /bal - 查看当前余额
/pay <player> <amount> - 向其他玩家转账
/withdraw <amount> - 提取实体钞票进行交易
/balancetop 或 /baltop - 查看服务器中最富有的玩家
?️ 管理员命令
/eco give <player> <amount> - 增加玩家余额
/eco set <player> <amount> - 设置玩家精确余额
/eco reset <player> - 将玩家余额重置为零
- Tab 补全 - 所有命令的智能建议
? 钞票系统
- 实体货币 - 以可交易物品的形式提取金钱
- 右键兑换 - 简单右键即可兑换钞票
- 自定义物品 - 配置材质、名称和描述
- 安全存储 - 钞票价值存储在持久化数据中
? 高级数字支持
- 智能数字解析 - 接受 "1k"、"2.5m"、"1b" 等输入
- 大数字格式化 - 支持高达 十万亿亿亿 (decillions, d) 的数量级
- k = 千, m = 百万, b = 十亿
- t = 万亿, q = 千兆, qt = 京
- sx = 穰, sp = 沟, o = 正
- n = 载, d = 极
? 技术特性
- PlaceholderAPI 支持 - 三种占位符格式:
%sneco_balance% - 逗号分隔格式 (123,456,789)
%sneco_balance_formatted% - 短格式 (123.46m)
%sneco_balance_raw% - 原始数值
- 权限系统 - 对所有功能进行细粒度控制
- 错误处理 - 防止无效交易和数字输入
- 性能优化 - 高效的同步操作,对服务器影响极小
? 权限
玩家权限
sneco.economy.balance - 查看自己的余额(默认:true)
sneco.economy.balance.others - 查看其他玩家的余额(默认:op)
sneco.economy.balance.top - 查看余额排行榜(默认:true)
sneco.economy.pay - 向玩家转账(默认:true)
sneco.economy.withdraw - 提取钞票(默认:true)
管理员权限
sneco.admin - 基础管理员权限(默认:op)
sneco.admin.give - 给玩家发放金钱(默认:op)
sneco.admin.set - 设置玩家余额(默认:op)
sneco.admin.reset - 重置玩家余额(默认:op)
sneco.admin.delete - 删除经济账户(默认:op)
⚙️ 配置
# SnEco Configuration
# 插件消息的聊天前缀
prefix: "&6[SnEco] &f"
currency-symbol: "$"
starting-balance: 100.0
banknote:
material: PAPER
custom-model-id: 1
name: "Banknote: {amount}"
lore:
- "Right-click to redeem {amount}"
? 安装
- 安装 Vault - 下载并将 Vault 安装到你的服务器上
- 安装 SnEco - 将 SnEco.jar 放入你的 plugins 文件夹
- 重启服务器 - 启动或重启你的 Minecraft 服务器
- 配置 - 根据需要编辑
plugins/SnEco/config.yml
- 享受 - 你的经济系统已准备就绪!
? 性能
- 轻量级设计 - 极低的内存占用
- 高效查询 - 优化的数据库操作
- 资源友好 - 不会拖慢你的服务器
- SQLite 数据库 - 快速可靠的本地存储
? 技术细节
数据库结构
- SQLite 数据库 - 单文件数据库 (
economy.db)
- 玩家数据 - 基于 UUID 的玩家识别
- 余额存储 - 双精度浮点数值
- 面向未来 - 数据库包含
last_daily_claim 字段,用于潜在的每日奖励功能
银行系统状态
- 银行支持 - 实现了 Vault 银行接口,但返回“未实现”响应
- 银行功能 - 目前不可用(计划在未来更新中推出)
? Discord 支持
- 加入 Discord 以获取支持、分享建议并关注我的项目!
? SnEco - Simple Economy Plugin
Dependencies: Vault (Required) • PlaceholderAPI (Optional)
SnEconomy is a lightweight, feature-rich economy plugin designed for Minecraft servers. Built with simplicity and performance in mind, it provides a complete economic system with intuitive commands, secure transactions, and flexible customization options.
✨ Key Features
? Core Economy System
- Complete Vault Integration - Seamlessly works with all Vault-compatible plugins
- SQLite Database - Efficient local storage with persistent data
- Starting Balance - Configurable initial balance for new players
- Currency Symbol - Customizable currency formatting ($ by default)
- Configurable Prefix - Customizable chat prefix for all plugin messages
? Player Commands
/balance or /bal - Check your current balance
/pay <player> <amount> - Send money to other players
/withdraw <amount> - Create physical banknotes for trading
/balancetop or /baltop - View the richest players on the server
?️ Admin Commands
/eco give <player> <amount> - Add money to a player's balance
/eco set <player> <amount> - Set a player's exact balance
/eco reset <player> - Reset a player's balance to zero
- Tab Completion - Smart suggestions for all commands
? Banknote System
- Physical Currency - Withdraw money as tradeable items
- Right-Click Redemption - Simple right-click to redeem banknotes
- Customizable Items - Configure material, name, and lore
- Secure Storage - Banknotes store value in persistent data
? Advanced Number Support
- Smart Number Parsing - Accept inputs like "1k", "2.5m", "1b"
- Large Number Formatting - Supports up to decillions (d)
- k = thousands, m = millions, b = billions
- t = trillions, q = quadrillions, qt = quintillions
- sx = sextillions, sp = septillions, o = octillions
- n = nonillions, d = decillions
? Technical Features
- PlaceholderAPI Support - Three placeholder formats:
%sneco_balance% - Comma-separated format (123,456,789)
%sneco_balance_formatted% - Short format (123.46m)
%sneco_balance_raw% - Raw numeric value
- Permission System - Granular control over all features
- Error Handling - Prevents invalid transactions and numbers
- Performance Optimized - Minimal server impact with efficient synchronous operations
? Permissions
Player Permissions
sneco.economy.balance - Check your balance (default: true)
sneco.economy.balance.others - Check other players' balances (default: op)
sneco.economy.balance.top - View balance top (default: true)
sneco.economy.pay - Send money to players (default: true)
sneco.economy.withdraw - Create banknotes (default: true)
Admin Permissions
sneco.admin - Base admin permission (default: op)
sneco.admin.give - Give money to players (default: op)
sneco.admin.set - Set player balances (default: op)
sneco.admin.reset - Reset player balances (default: op)
sneco.admin.delete - Delete economy accounts (default: op)
⚙️ Configuration
# SnEco Configuration
# Chat prefix for plugin messages
prefix: "&6[SnEco] &f"
currency-symbol: "$"
starting-balance: 100.0
banknote:
material: PAPER
custom-model-id: 1
name: "Banknote: {amount}"
lore:
- "Right-click to redeem {amount}"
? Installation
- Install Vault - Download and install Vault on your server
- Install SnEco - Place the SnEco.jar in your plugins folder
- Restart Server - Start or restart your Minecraft server
- Configure - Edit
plugins/SnEco/config.yml as needed
- Enjoy - Your economy system is ready to use!
? Performance
- Lightweight Design - Minimal memory footprint
- Efficient Queries - Optimized database operations
- Resource Friendly - Won't slow down your server
- SQLite Database - Fast, reliable local storage
? Technical Details
Database Schema
- SQLite Database - Single file database (
economy.db)
- Player Data - UUID-based player identification
- Balance Storage - Double precision floating point values
- Future Ready - Database includes
last_daily_claim field for potential daily rewards
Bank System Status
- Bank Support - Vault bank interface is implemented but returns "not implemented" responses
- Bank Features - Not currently available (planned for future updates)
? Support on Discord
- Join the discord to get support, share suggestions and follow my projects!
评论 0
登录后参与评分
还没有评论,来抢沙发吧