? 经济、交易与赌场系统
一个统一的服务器端经济与赌场框架,专为持久化多人世界、物理游戏交互以及原版客户端兼容性而构建。
该系统将完整的 SQLite 支持的经济系统、商人式交易、赌场游戏、NPC 赌客以及管理工具整合为一个连贯的包。
? 核心经济
一套专为长期运行的世界和可靠的服务器端操作设计的完整持久化经济系统。
功能
- 持久化的钱包和账户存储
- 支持多种货币,具备余额、转账和交易历史记录功能
- 管理员审计工具,支持交易回滚
- 首次运行设置,使用
/wallet setup ...
- 通过
/wallet quickstart 实现快速单命令初始化
- 主货币支持,自定义符号和缩放格式
玩家钱包访问
玩家可以通过命令和 GUI 系统管理资金:
/wallet
/wallet balance
/wallet pay
/wallet history
可选余额显示
余额也可以通过以下方式显示:
- 计分板 (Scoreboard)
- 动作栏 (Actionbar)
- Boss 栏 (Bossbar)
管理员冻结控制
管理员可以冻结:
? 交易与货币物品
用于商店、商人和赌场兑换系统的服务器原生货币处理。
交易功能
- 钱包卡物品,用于商人式钱包交易
- 市场摊位工作站,提供村民风格的交易 UI
- 可选 Digital Chest 集成,用于市场摊位
- 现金出纳员工作站重构为固定位置的村民商人
现金出纳员模式
现金出纳员可以处理以下类型的支付和输入:
赌场筹码支持
- 双向固定的筹码兑换阶梯:
- 真实的赌场筹码物品,具有特定面额的视觉效果
- 管理员筹码发放和管理工具
? 共享赌场奖励模式
在支持的赌场游戏中统一的奖励和支付方式系统。
支持的奖励/支付方式类型
- 钱包货币
- 赌场筹码
- 绿宝石
- 钻石
- 战利品/物品支付(在支持的情况下)
安全系统
- 溢出支付箱子,确保物品奖励永远不会丢失
- 恢复账本,用于处理重新连接或重启后未解决的支付
? 二十一点 (Blackjack)
一种带有 Polymer 驱动的原版兼容性的物理多人二十一点体验。
二十一点功能
- 物理二十一点桌,带有桌面视觉效果
- 每桌持久的 6 副牌鞋
- 可见的发牌鞋和发牌展示
- 支持主注以及侧注:
- 完美对子 (Perfect Pairs)
- 21+3
- 保险 (Insurance)
- 直接在桌面上下注,支持:
- GUI 下注流程,支持找零
- 物理赌注堆叠渲染在桌面上
- 原版交互路径以及伴侣模组交互支持
- 每桌配置选项包括:
- 玩家操作仪表盘
- 下注和保险 GUI
- 庄家实体及模拟/控制器支持
♠️ 扑克 (Poker)
一个专为多人桌游打造的专用德州扑克系统。
扑克功能
- 6 人德州扑克桌
- 现金局风格的买入、补仓和提现流程
- 盲注、下注轮次、公共牌、摊牌和边池
- 隐藏的个人底牌展示
- 共享的公共牌桌展示
- 基于座位的桌子交互
- Polymer 驱动的原版安全视觉效果
- 牌桌银行资金管理 GUI 和配置
- 庄家实体支持
? 轮盘 (Roulette)
具有持久会话处理的物理轮盘实现。
轮盘功能
- 物理轮盘桌和轮盘/显示设置
- 直接在桌面上交互以放置赌注
- 会话管理器,用于:
- 支持配置的支付方式:
- 伴侣快照/网络支持
- 可视化的桌子占用情况和筹码渲染
? 老虎机 (Slots)
灵活的老虎机,拥有多种主题和奖励风格。
老虎机功能
- 多种主题的老虎机变体
- 支持:
- 多行下注系统
- 按玩家记忆的设置
- 老虎机远程物品
- 伴侣客户端支持
- 结构化的旋转结果模型,包括:
? 赌场 NPC
通过自主的类村民顾客让赌场栩栩如生。
NPC 功能
- 赌客/赌场顾客 NPC
- 持久化的银行资金和筹码 stash 跟踪
- NPC 可以找到并使用:
- 管理员生成和控制命令
- 原版安全的 Polymer 展示
- 支持命名顾客列表
? 命令与管理工具
玩家命令
/wallet
/wallet balance
/wallet pay
/wallet history
/wallet display ...
设置命令
/wallet setup ...
/wallet quickstart
管理工具
- 给予或扣除资金
- 给予或扣除筹码
- 给予出纳员工作站/物品
- 赌客控制:
- 冻结账户
- 冻结货币
- 回滚交易
- 审计玩家
- 查看审计日志
? 兼容性与展示
旨在实现广泛的兼容性,并在原版客户端上提供沉浸式展示。
兼容性功能
- 围绕 Polymer 构建以实现原版客户端兼容性
- 捆绑生成的资产、模型和语言条目,用于钱包和赌场内容
- 尽可能使用原生风格的村民商人流程而不是箱子 UI
- 伴侣端支持:
? Economy, Trading, and Casino Systems
A unified server-side economy and casino framework built for persistent multiplayer worlds, physical gameplay interactions, and vanilla-client compatibility.
This system combines a full SQLite-backed economy, merchant-style trading, casino games, NPC gamblers, and admin management tools into one connected package.
? Core Economy
A full persistent economy system designed for long-term worlds and reliable server-side operation.
Features
- Persistent wallet and account storage
- Multiple currencies with balances, transfers, and transaction history
- Admin audit tools with transaction rollback support
- First-run setup with
/wallet setup ...
- Fast one-command initialization with
/wallet quickstart
- Primary currency support with custom symbol and scale formatting
Player Wallet Access
Players can manage their funds through both commands and GUI systems:
/wallet
/wallet balance
/wallet pay
/wallet history
Optional Balance Display
Balances can also be shown through:
- Scoreboard
- Actionbar
- Bossbar
Admin Freeze Controls
Admins can freeze:
- Individual accounts
- Entire currencies
? Trading and Money Items
Server-native money handling for shops, merchants, and casino exchange systems.
Trading Features
- Wallet Card item for merchant-style wallet transactions
- Market Stall workstation with villager-style trading UI
- Optional Digital Chest integration for market stalls
- Cash Clerk workstation reworked into a stationary villager merchant
Cash Clerk Modes
Cash Clerks can handle payout and input in:
- Currency
- Emeralds
- Diamonds
Casino Chip Support
- Fixed chip exchange ladder in both directions:
- Real casino chip items with denomination-specific visuals
- Admin chip issuing and management tools
? Shared Casino Reward Modes
A unified reward and tender system across supported casino games.
Supported Reward / Tender Types
- Wallet currency
- Casino chips
- Emeralds
- Diamonds
- Loot / item payouts where supported
Safety Systems
- Overflow payout chest so item rewards are never lost
- Recovery ledgers for unresolved payouts after reconnects or restarts
? Blackjack
A physical multiplayer blackjack experience with Polymer-powered vanilla compatibility.
Blackjack Features
- Physical blackjack tables with on-table visuals
- Persistent per-table 6-deck shoe
- Visible dealer shoe and card dealing presentation
- Main bet support plus side bets:
- Perfect Pairs
- 21+3
- Insurance
- Direct on-felt betting with:
- casino chips
- emeralds
- diamonds
- GUI betting flow with chip change-making
- Physical wager stacks rendered on the felt
- Vanilla interaction path and companion-mod interaction support
- Per-table configuration for:
- limits
- tender mode
- currency
- Player action dashboard
- Betting and insurance GUIs
- Dealer entity and simulation/controller support
♠️ Poker
A dedicated Texas Hold’em system built for multiplayer table play.
Poker Features
- 6-player Texas Hold’em table
- Cash-game style buy-in, rebuy, and cash-out flow
- Blinds, betting rounds, community cards, showdown, and side pots
- Hidden private hole-card presentation
- Shared public board presentation
- Seat-based table interactions
- Polymer-powered vanilla-safe visuals
- Table bankroll GUI and configuration
- Dealer entity support
? Roulette
A physical roulette implementation with persistent session handling.
Roulette Features
- Physical roulette table and wheel/display setup
- Direct felt interaction for bet placement
- Session manager for:
- bet placement
- spin handling
- payout processing
- recovery
- Supports configured tender modes:
- wallet currency
- casino chips
- emeralds
- diamonds
- Companion snapshot/networking support
- Visual table occupancy and chip rendering
? Slots
Flexible slot machines with multiple themes and reward styles.
Slot Features
- Multiple themed slot machine variants
- Supports:
- currency
- casino chips
- loot/item payout modes
- Multiline betting systems
- Per-player remembered settings
- Slot remote item
- Companion client support
- Structured spin result model including:
- spin cost
- gross payout
- net result
- winning lines
? Casino NPCs
Bring the casino to life with autonomous villager-like patrons.
NPC Features
- Gambler / casino patron NPCs
- Persistent bankroll and chip stash tracking
- NPCs can find and use:
- Cash Clerks
- Blackjack tables
- Poker tables
- Roulette tables
- Slot machines
- Admin spawn and control commands
- Vanilla-safe Polymer presentation
- Named patron list support
? Commands and Admin Tools
Player Commands
/wallet
/wallet balance
/wallet pay
/wallet history
/wallet display ...
Setup Commands
/wallet setup ...
/wallet quickstart
Admin Tools
- Give or take funds
- Give or take chips
- Give clerk workstation/items
- Gambler controls:
- spawn
- home
- bankroll
- chips
- status
- stop
- Freeze account
- Freeze currency
- Roll back transaction
- Audit player
- View audit log
? Compatibility and Presentation
Designed for broad compatibility and immersive presentation on vanilla clients.
Compatibility Features
- Built around Polymer for vanilla-client compatibility
- Bundled generated assets, models, and language entries for wallet and casino content
- Uses native-style villager merchant flows where possible instead of chest UI
- Companion-side support for:
评论 0
登录后参与评分
还没有评论,来抢沙发吧