TradeHub Market — 服务器模拟股市系统
将你的服务器转变为一个自给自足的经济体。 TradeHub Market 为你的 Paper 服务器带来了一个完全模拟的股市系统——包含股票、加密货币、大宗商品和真实的买卖价差以及交易费用。所有功能均在本地运行:无需连接真实金融市场,无需外部 API,也无持续成本。
✨ 功能特性
4 种资产类别 股票、加密货币、大宗商品和稀有大宗商品——每个类别都有自己的配置文件和菜单图标。预填充了示例资产(如 Diamond Industries、BitRock、Iron、Gold 等),但支持完全自定义。
真实交易体验 不再以市场价精确交易:玩家以卖价(ask price)买入,以买价(bid price)卖出。买卖价差和可选的经纪商费用均可配置(基于百分比或固定金额),如果偏好更简单的交易方式,甚至可以完全禁用。
自动化价格模拟 每种股票的价格会在设定的波动范围内自动且随机地变动——包括最低和最高价格限制。每项资产还会显示风险等级(低/中/高),以便玩家做出明智的投资决策。
直观的图形用户界面 (GUI) 一个菜单涵盖所有功能:类别选择、风险说明,以及一目了然的账户余额和组合价值。左键点击买入,右键点击卖出,或按住 Shift 以每 10 个为单位批量买入/卖出。
完整的游戏内资产管理 无需编辑 YAML 文件:专用的管理界面展示所有资产,并带有搜索和类别筛选功能。编辑器将所有字段以可点击项的形式一览无余;只需点击某个字段并在聊天中输入新值,编辑器便会自动重新打开并显示更新后的值。只有在点击“保存”时更改才会生效。管理员可以通过专用 GUI 创建、编辑、复制、(反)激活或删除资产(带确认提示)——每次更改前都会自动生成备份。
Vault 集成 兼容任何 Vault 兼容的经济插件。它会自动检测多个已注册的经济提供商,并根据可用情况始终集成最佳的一个,不受插件加载顺序的影响。
持久化数据 投资组合和当前价格存储在本地 SQLite 数据库中——异步进行,不影响服务器刻(tick)。重启或更新不会重置价格。
可选的 Discord 集成 市场新闻可以直接发送到你的 Discord 服务器——无需机器人,只需一个 Webhook。通过专用的管理员 GUI 完全控制(开/关、URL 配置、测试、状态显示);默认禁用。没有连接 Discord 的服务器完全不受影响。九种消息类型(市场事件、新资产/激活/停用资产、价格记录、高波动性)可单独切换;嵌入颜色、标题前缀和页脚文本完全可定制——包括在管理员 GUI 中的本地预览和发送日志。此外,还提供自动生成的摘要市场报告(每 30 分钟、每小时、每 6 小时或每天一次),包含涨幅榜/跌幅榜、类别概览、市场情绪以及自上次报告以来的关键事件。动态市场新闻 市场书写自己的故事:模拟的经济事件(例如,“? 加密货币上涨!”)会定期出现在聊天中,显著影响特定类别的价格。市场趋势和波动性根据近期事件有机演变,内置防止崩盘或 100% 暴涨的安全机制。管理员通过专用 GUI 完全管理事件类型、类别、频率和自定义标题。
投资组合表现 盈亏一目了然:账户显示界面展示 1 小时、12 小时、一天、一周以及自开始以来的价值变化百分比——绿色表示盈利,红色表示亏损。此功能在后台全自动运行。
投资组合统计 总利润、每日利润、每笔持仓的平均买入价格以及当前持有的最佳/最差投资——所有这些都在每次买入/卖出交易时自动追踪。更新前已有的持仓会被透明地标记为“未知”,而不是显示错误的数据。
资产统计
历史最高/最低价、移动平均价格、创建日期、交易量以及有记录以来最大的价格变动——通过 /stocks info <Symbol> 命令即可访问任何资产的这些统计数据。
可选的交易时间 每个类别都可以限制在特定的时间窗口内(例如,股票仅在 08:00 到 20:00 之间交易,而加密货币全天候开放),或者默认保持 24/7 开放。设置通过专用的管理员 GUI 完全可配置,包括跨越午夜的时间窗口。
多语言支持(德语 & 英语) 所有聊天消息均已完全翻译。
TradeHub Market — Simulated Stock Market System for Your Server
Transform your server into a self-contained economy. TradeHub Market brings a fully simulated stock market system to your Paper server—featuring stocks, crypto, commodities, realistic bid-ask spreads, and trading fees. Everything runs entirely locally: no connection to real financial markets, no external APIs, and no ongoing costs.
✨ Features
4 Asset Categories Stocks, crypto, commodities, and rare commodities—each category has its own configuration file and menu icon. Comes pre-filled with example assets (Diamond Industries, BitRock, Iron, Gold, and more), but is fully customizable.
Realistic Trading No more trading exactly at the market price: players buy at the ask price and sell at the bid price. The bid-ask spread and optional broker fees are fully configurable (percentage-based or fixed amounts) and can be disabled entirely if simpler trading is preferred.
Automated Price Simulation Prices for each stock move automatically and randomly within a set volatility range—including minimum and maximum price limits. Each asset also displays a risk level (Low/Medium/High) so players can make informed investment decisions.
Intuitive GUI A single menu for everything: category selection, risk explanations, and account balance & portfolio value at a glance. Buy with left-click, sell with right-click, or buy/sell in batches of 10 by holding Shift.
Full In-Game Asset Management No need to edit YAML files: a dedicated management interface displays all assets, complete with search and category filters. The editor displays all fields at a glance as clickable items; simply click a field and enter a new value in the chat, and the editor automatically reopens with the updated value. Changes are only applied when clicking "Save." Admins can create, edit, duplicate, (de)activate, or delete assets (with a confirmation prompt)—including an automatic backup before every change.
Vault Integration Works with any Vault-compatible economy plugin. It automatically detects multiple registered economy providers and always integrates the best available one, regardless of plugin load order.
Persistent Data Portfolios and current prices are stored in a local SQLite database—asynchronously, without impacting the server tick. Restarts or updates do not reset prices.
Optional Discord Integration Market news can be sent directly to your Discord server—no bot required, just a webhook. Fully controllable via a dedicated admin GUI (on/off, URL configuration, testing, status display); disabled by default. Servers without a Discord connection remain completely unaffected. Nine message types (market events, new/activated/deactivated assets, price records, high volatility) can be toggled individually; embed colors, title prefixes, and footer text are fully customizable—including a local preview and send log right in the admin GUI. Additionally, it offers automatic summary market reports (every 30 minutes, hourly, every 6 hours, or daily) featuring top gainers/losers, a category overview, market sentiment, and key events since the last report. Dynamic Market News The market writes its own story: simulated economic events (e.g., "? Crypto on the rise!") appear regularly in the chat, noticeably shifting the price of a specific category. Market trends and volatility evolve organically based on recent events, with built-in safeguards against crashes or 100% spikes. Admins manage event types, categories, frequency, and custom headlines entirely via a dedicated GUI.
Portfolio Performance Profit/loss at a glance: The account display shows the percentage change in value over 1 hour, 12 hours, one day, one week, and since the start—green for gains, red for losses. This runs fully automatically in the background.
Portfolio Statistics Total profit, daily profit, average purchase price per position, and the best/worst currently held investment—all tracked automatically with every buy/sell transaction. Existing holdings from before the update are transparently marked as "Unknown" rather than displaying incorrect figures.
Asset Statistics
All-time high/low, moving average price, creation date, trading volume, and the largest price change ever recorded—accessible for any asset via /stocks info <Symbol>.
Optional Trading Hours Each category can be restricted to a specific time window (e.g., stocks only from 08:00 to 20:00, while crypto remains open around the clock) or left open 24/7 by default. Settings are fully configurable via a dedicated admin GUI, including time windows that span across midnight.
Multilingual (German & English) All chat messages are fully translated.
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
下载 TradeHub Markets
版本 1.3.1
交易界面精简 ?
- ?️ Web 仪表盘中已移除“创建自动订单”部分(止损/止盈作为独立订单类型,带有下拉菜单、触发选择和目标价格)。
- ? “开仓(做多/做空)”部分保留并进行了扩展,新增了两个可选输入字段:止损和止盈——可用于做多和做空仓位。
- ✅ 开仓时的自动验证机制:
- 做多:止损价必须低于入场价,止盈价必须高于入场价。
- 做空:止损价必须高于入场价,止盈价必须低于入场价。
- 如果数值无效,将显示清晰易懂的错误消息,并展示当前入场价。
- ⚙️ 止损和止盈数值在开仓时立即传递给交易引擎,并在市场价格达到相应值时自动触发——这两个字段均为可选;即使不设置这些值,仍可开仓。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
Vault2.0 是什么? Vault2.0 是一个经济插件,它注册了一个兼容 Vault API 的 Bukkit Economy 服务,允许其他插件(商店、等级等)使用货币而无需依赖原始的 Vault.jar。它包含菜单、支付/收费流程
插件
一款旨在与 Multiverse-Core 紧密结合的库存管理插件
插件
一个现代且高度可配置的 Essentials 插件,类似于 EssentialsX
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
插件
城镇现在可以要求建造具有特定功能的建筑
PressureWarp - 当你与压力板或按钮交互时,将你传送至指定位置
评论 0
登录后参与评分
还没有评论,来抢沙发吧