Profitable

简介
Profitable 是一款 Minecraft 经济插件,通过交易所为游戏增添了真实的供需机制。
这意味着价格并非预设好的,也不会仅仅因为有人购买就简单地 +1 上涨。
价格是由玩家通过使用订单来确定的。当两个订单在特定价格范围内达成一致时,交易就会发生,从而形成该资产的当前价值。

? 插件功能
⭐️ 亮点
- 玩家驱动的价格
- 使用订单以最优价格即时交易
- 部分成交
- 多资产钱包
- 离线交易
- 基于物品的货币
- 实体交易
- 物品交易
- 货币交易(外汇)
- 高级交易
- K线图显示价格
- 手续费(税收)
- 自动数据库迁移
- MySQL 支持
- 完整的 Folia 支持
集成
- Vault:任何与 Vault 兼容的内容都与 Profitable 兼容
- PlayerPoints
配置文件
# 允许将 Vault 货币添加为资产,并可从账户中存取
vault-support: true
# 允许将 PlayerPoints 货币添加为资产,并可从账户中存取
player-points-support: true
colors: # 允许自定义命令输出和图表的颜色
# 价格上涨时的颜色 (十六进制)
bullish: "#8CD740"
# 价格下跌时的颜色 (十六进制)
bearish: "#FA413B"
database:
# 如果为 false,订单可以在不同世界之间进行交易
data-per-world: false
# (0)-SQLite (1)-mySQL
database-type: 0
mysql:
host:
port:
database:
username:
password:
options: "?useSSL=true&requireSSL=true&serverTimezone=UTC&allowPublicKeyRetrieval=true"
exchange:
fees: # 固定值: 23 百分比: 23%
# 从钱包取款时的手续费
withdrawal-fees: 0
# 向钱包存款时的手续费
deposit-fees: 0
commodities:
fees: # 固定值: 23 百分比: 23%
# 与其他订单立即交易时的手续费
taker-fees: 0
# 将订单添加到订单簿时的手续费
maker-fees: 0
# 对实体使用领取标签时的手续费(仅限固定值)
entity-claiming-fees: 0
# 交易时商品会在账户的交付地点生成(当设置为 false 时,商品会添加到钱包)
physical-delivery: true
# 允许从钱包中提取商品进行交易
take-wallet: true
# 允许从背包中提取物品进行交易
take-inventory: true
# 允许从世界中提取已认领的实体进行交易
take-world: true
# 注意:商品是作为 RAW(原材料)和 FUNGIBLE(可替代)材料批量交易的,然后加工成不同的产品
# 农作物和建筑材料也可以作为商品:
#
# IRON(铁)是一种商品(在现实生活中)
# -所有锭的质量相同,因此可以互换(可替代) v
# -大量交易(批量交易) v
# -通常从地下采集(原材料) v
#
# DIAMOND HELMET(钻石头盔)不是商品
# -附魔、损坏和纹饰使每个都独一无二(不可替代) x
# -通常一次只交易一个(非批量) x
# -成品(非原材料) x
#
# 但这只是建议,无论如何请随意使用此插件。
#
generation:
# 允许使用白名单/黑名单在每个世界中自动生成商品的资产
active: true
# 启用白名单并禁用黑名单用于物品
item-whitelisting: true
commodity-item-whitelist:
- COAL
- CHARCOAL
- IRON_INGOT
- COPPER_INGOT
- GOLD_INGOT
- NETHERITE_SCRAP
- AMETHYST_SHARD
- DIAMOND
- NETHER_QUARTZ
- EMERALD
- LAPIS_LAZULI
- GLOWSTONE_DUST
- REDSTONE
- WHEAT
- EGG
- APPLE
- MELON_SLICE
- PUMPKIN
- SWEET_BERRIES
- GLOW_BERRIES
- CHORUS_FRUIT
- CARROT
- POTATO
- POISONOUS_POTATO
- BEETROOT
- FISH
- RAW_COD
- RAW_SALMON
- TROPICAL_FISH
- PUFFERFISH
- SUGARCANE
- KELP
- COCOA_BEANS
- HONEY_BOTTLE
- SPIDER_EYE
- ROTTEN_FLESH
- FLINT
- BONE
- STRING
- FEATHER
- LEATHER
- HONEYCOMB
- INK_SAC
- GLOW_INK_SAC
- TURTLE_SCUTE
- ARMADILLO_SCUTE
- SLIME_BALL
- CLAY_BALL
- PRISMARINE_SHARD
- PRISMARINE_CRYSTALS
- NAUTILUS_SHELL
- HEART_OF_THE_SEA
- BLAZE_ROD
- BREEZE_ROD
- HEAVY_CORE
- NETHER_STAR
- ENDER_PEARL
- SHULKER_SHELL
- ECHO_SHARD
- NETHER_WART
- GUNPOWDER
- DRAGON_BREATH
- GHAST_TEAR
- PHANTOM_MEMBRANE
- BAMBOO
- CACTUS
- POWDER_SNOW_BUCKET
- INK_SAC
- WATER_BUCKET
- MILK_BUCKET
- LAVA_BUCKET
- OAK_LOG
- SPRUCE_LOG
- BIRCH_LOG
- JUNGLE_LOG
- ACACIA_LOG
- DARK_OAK_LOG
- MANGROVE_LOG
- CHERRY_LOG
- CRIMSON_STEM
- WARPED_STEM
- DIRT
- GRAVEL
- SAND
- COBBLESTONE
- GRANITE
- DIORITE
- ANDESITE
- OBSIDIAN
- NETHERRACK
- SPONGE
- SOUL_SAND
- SOUL_SOIL
- ICE
- END_STONE
- TOTEM_OF_UNDYING
- BROWN_MUSHROOM
- RED_MUSHROOM
商品项目黑名单:
- BARRIER
- COMMAND_BLOCK
- STRUCTURE_BLOCK
- STRUCTURE_VOID
# 启用白名单并禁用项目黑名单
实体白名单: true
商品实体白名单:
- PIG
- SHEEP
- COW
- CHICKEN
- MOOSHROOM
- VILLAGER
# 凋灵可以用于挖矿……想象一下用凋灵交易……嗯……
商品实体黑名单:
- ENDER_DRAGON
- WARDEN
外汇:
手续费: # 固定值: 23 百分比: 23%
# 立即与另一订单进行交易时的手续费
吃单手续费: 0
# 将订单添加到订单簿时的手续费
挂单手续费: 0
主货币: # 用于在交易所进行交易的货币设置(此设置可以在游戏中更改)
# 将主货币设置为匹配代码的货币
# 如果未找到匹配项,资产将根据以下值创建
currency: EMD_Villager Emerald_#00ff00
#
# <code>_<name>_<hex color>
#
# 示例:EMD_Villager Emerald_#21ff59(如果你希望即使未找到也能看起来美观,请使用此格式)
# 示例:USD_US dollars(如果你想要随机颜色,请使用此格式)
# 示例:EUR(如果你非常确定该货币已存在,请使用此格式)
#
# creation:
# 仅使用三位字母代码,例如:USD ---> 你拥有:89.32 USD !!
# 名称、颜色和描述是可选的。(颜色随机选择)(名称使用代码)
# 当设置为 true 时,如果未找到匹配项,钩子货币将替代其位置,或在未找到任何钩子时创建新的钩子
# hooks: Vault (VLT), Player Points (PTS)
create-last-resort-only: true
# 新玩家默认钱包中的主货币初始金额(非零值可能会贬值你的货币,仅用于初始供应)
initial-balance: 0
# 每个钩子存入或取出的货币
vault-currency: VLT_Vault Currency_#ffbb15
playerpoints-currency: PTS_Player Points_#ff6d92
? 订单
本插件使用 订单 进行交易。
订单是指在特定条件下出售或购买资产(物品、实体、货币等)的指令。
? 市价单
市价单 允许您以订单簿中最佳可用价格立即进行交易。

? 限价单
限价单 允许你设定想要的价格,但可能不会立即成交,因为它需要其他玩家同意你的报价。玩家可以以他们认为公平的价格挂单交易物品,从而实际影响市场。

? 止损限价单
当市场价格达到指定的触发价格时,止损限价单 将变为 限价单。
如果你认为价格在突破某个特定价位后会继续上涨,这将非常有用。

市场数据与分析
由于 Profitable 是一个旨在模拟真实交易的插件,其中包括投机和市场数据追踪功能,
玩家可以监控 价格、价格波动、流动性 和 供给量。
甚至还有一些精美的蜡烛图(K线图),以便玩家可以预测趋势并通过投机获利。

为什么?
打个比方来说,
想象一下,你有一个服务器,其中两组玩家开始发生冲突。他们大量购买钻石和下界合金来打造装备,导致卖家不得不提高售价,因为玩家需要前往更远的地方才能找到这些资源,因此 价格开始上涨。
此时,我们的朋友 johnny 注意到了这一现象,他用所有余额购买了 100 个钻石,预期价格会进一步上涨。
不幸的是,其中一组玩家的队长在一天后被封禁,战斗随之停止。现在市场上充斥着大量的钻石,价格变得过高,以至于没人愿意再买了。
而那些仍然想买的玩家则 希望价格更低,因此每次有人出售钻石时,都会以更低的价格成交,导致 价格开始下跌。
johnny 现在手里握着一堆无用的钻石,却身无分文。
然而,如果 价格如他所愿般上涨,他本可以 大赚一笔。
Profitable 让这类场景成为可能,它让每个人都能体验到真实市场的深度。它不仅仅像许多线性价格调整系统那样只是一个商店,那些系统往往因刷怪农场和日益频繁的袭击事件而导致 经济崩溃。
Profitable 不仅增加了趣味性,而且价格能够 自动调整。
因为你不仅仅是在买卖;你正在参与一个 真正的经济体,其中的价格由玩家行为和各种事件所驱动。
我希望通过上述说明能说服你下载这款精彩的插件,祝你度过愉快的一天。
最后的话
这是插件的早期版本。未来的更新将带来更完善的特性和改进。
Profitable

About
Profitable is a Minecraft Economy plugin that adds real supply and demand to the game using an exchange!
This means that prices arent pre-set, nor just go up +1 when someone buys something,
Prices are placed by the players by using orders, which transact whenever two orders agree on certain price range, and thus turning into the current value of the asset.

? Plugin Features
⭐️ Highlights
- Player-driven prices
- Instant transactions at the best price using orders
- Partial fills
- Multi-asset wallets
- Offline transactions
- Item-based Currencies
- Entity trading
- Item trading
- Currency trading (Forex)
- Advanced trading
- Candle graphs display prices
- Fees (Taxes)
- Automatic database migration
- MySQL support
- Full Folia support
Integration
- Vault: Anything compatible with vault its compatible with Profitable
- PlayerPoints
Config file
# allows Vault currency be added as an asset, withdrawn or deposited to your account
vault-support: true
# allows PlayerPoints currency be added as an asset, withdrawn or deposited to your account
player-points-support: true
colors: # Allows customization of command outputs and graphs
# Color for prices going up (hex)
bullish: "#8CD740"
# Color for prices going down (hex)
bearish: "#FA413B"
database:
# orders are able to transact across worlds if false
data-per-world: false
# (0)-SQLite (1)-mySQL
database-type: 0
mysql:
host:
port:
database:
username:
password:
options: "?useSSL=true&requireSSL=true&serverTimezone=UTC&allowPublicKeyRetrieval=true"
exchange:
fees: # Fixed: 23 Percentage: 23%
# Fees when you take money from your wallet
withdrawal-fees: 0
# Fees when you add money to your wallet
deposit-fees: 0
commodities:
fees: # Fixed: 23 Percentage: 23%
# Fees when you transact immediately with another order
taker-fees: 0
# Fees when you add an order to the order book
maker-fees: 0
# Fees when you use the claiming tag on an entity (fixed only)
entity-claiming-fees: 0
# Commodities spawn on account's delivery location when transacting (commodities are added to wallet when false)
physical-delivery: true
# Allow taking commodities from your wallet for transactions
take-wallet: true
# Allow taking items from your inventory for transactions
take-inventory: true
# Allow taking claimed entities from world for transactions
take-world: true
# note: commodities are RAW and FUNGIBLE materials traded in BULK that are then processed into different products
# crops and building material can be commodities as well:
#
# IRON IS a commodity (in real life)
# -All bars are the same quality, therefore interchangeable (Fungible) v
# -Traded in large amounts (Traded in Bulk) v
# -Usually gathered from the ground (raw material) v
#
# DIAMOND HELMET is NOT a commodity
# -Enchantments, damage, and trims make each one unique (Non-Fungible) x
# -Usually traded one at a time (not in bulk) x
# -Finished product (not raw) x
#
# but this is only a recommendation anyway, use this plugin however you want.
#
generation:
# Allows auto-generation of assets for commodities in each world using whitelisting/blacklisting
active: true
# Enables whitelist and disables blacklist for items
item-whitelisting: true
commodity-item-whitelist:
- COAL
- CHARCOAL
- IRON_INGOT
- COPPER_INGOT
- GOLD_INGOT
- NETHERITE_SCRAP
- AMETHYST_SHARD
- DIAMOND
- NETHER_QUARTZ
- EMERALD
- LAPIS_LAZULI
- GLOWSTONE_DUST
- REDSTONE
- WHEAT
- EGG
- APPLE
- MELON_SLICE
- PUMPKIN
- SWEET_BERRIES
- GLOW_BERRIES
- CHORUS_FRUIT
- CARROT
- POTATO
- POISONOUS_POTATO
- BEETROOT
- FISH
- RAW_COD
- RAW_SALMON
- TROPICAL_FISH
- PUFFERFISH
- SUGARCANE
- KELP
- COCOA_BEANS
- HONEY_BOTTLE
- SPIDER_EYE
- ROTTEN_FLESH
- FLINT
- BONE
- STRING
- FEATHER
- LEATHER
- HONEYCOMB
- INK_SAC
- GLOW_INK_SAC
- TURTLE_SCUTE
- ARMADILLO_SCUTE
- SLIME_BALL
- CLAY_BALL
- PRISMARINE_SHARD
- PRISMARINE_CRYSTALS
- NAUTILUS_SHELL
- HEART_OF_THE_SEA
- BLAZE_ROD
- BREEZE_ROD
- HEAVY_CORE
- NETHER_STAR
- ENDER_PEARL
- SHULKER_SHELL
- ECHO_SHARD
- NETHER_WART
- GUNPOWDER
- DRAGON_BREATH
- GHAST_TEAR
- PHANTOM_MEMBRANE
- BAMBOO
- CACTUS
- POWDER_SNOW_BUCKET
- INK_SAC
- WATER_BUCKET
- MILK_BUCKET
- LAVA_BUCKET
- OAK_LOG
- SPRUCE_LOG
- BIRCH_LOG
- JUNGLE_LOG
- ACACIA_LOG
- DARK_OAK_LOG
- MANGROVE_LOG
- CHERRY_LOG
- CRIMSON_STEM
- WARPED_STEM
- DIRT
- GRAVEL
- SAND
- COBBLESTONE
- GRANITE
- DIORITE
- ANDESITE
- OBSIDIAN
- NETHERRACK
- SPONGE
- SOUL_SAND
- SOUL_SOIL
- ICE
- END_STONE
- TOTEM_OF_UNDYING
- BROWN_MUSHROOM
- RED_MUSHROOM
commodity-item-blacklist:
- BARRIER
- COMMAND_BLOCK
- STRUCTURE_BLOCK
- STRUCTURE_VOID
# Enables whitelist and disables blacklist for items
entity-whitelisting: true
commodity-entity-whitelist:
- PIG
- SHEEP
- COW
- CHICKEN
- MOOSHROOM
- VILLAGER
# withers can be used for mining... imagine trading withers... hmmm....
commodity-entity-blacklist:
- ENDER_DRAGON
- WARDEN
forex:
fees: # Fixed: 23 Percentage: 23%
# Fees when you transact immediately with another order
taker-fees: 0
# Fees when you add an order to the order book
maker-fees: 0
main-currency: # setting for the currency used to trade on the exchange (This can be changed in game)
# Sets Main currency to a currency with matching code
# If no match is found, the asset will be created using values below
currency: EMD_Villager Emerald_#00ff00
#
# <code>_<name>_<hex color>
#
# Example: EMD_Villager Emerald_#21ff59 (use this if you want it to look good even if it's not found)
# Example: USD_US dollars (use if you want a random color)
# Example: EUR (use this is you are really sure currency already exists)
#
# creation:
# 3-letter codes only, example: USD ---> you have: 89.32 USD !!
# Name, color and description are optional. (color is selected at random) (name uses code)
# When true, if no match is found a hook currency will take its place, or create if no hooks are found
# hooks: Vault (VLT), Player Points (PTS)
create-last-resort-only: true
# Initial amount of Main Currency that new players will have on their wallets by default (other than 0 may devalue your currency, use only for initial supply)
initial-balance: 0
# currency that will be deposited or withdrawn for every hook
vault-currency: VLT_Vault Currency_#ffbb15
playerpoints-currency: PTS_Player Points_#ff6d92
? Orders
This plugin uses Orders to trade.
Orders are instructions to sell or buy an asset (item, entity, currency, etc...) under specified conditions
? Market Order
A Market order lets you transact immediately with the best available price in the order book.

? Limit Order
Limit Orders lets you choose the price you want, but may not execute right away as it needs someone else to agree on your price, Players can place an order to trade stuff at the price they think fair, actually influencing the market.

? Stop-Limit Order
A Stop-Limit Order becomes a Limit Order once the market reaches the specified trigger price
Useful if you think Prices will keep going up after a certain price

Market Data & Analysis
Since Profitable is a plugin designed to simulate real trading, which includes speculation and market data tracking,
Players can monitor prices, price movements, liquidity, supply.
Even some nice fancy candle graphs, so players can predict and profit off of speculation.

Why?
Put it like this,
Imagine you have a server where two groups of players start fighting, they start buying a lot of diamonds and netherite for gear so people start selling it a bit > more expensive every time because they have to go farther and farther to find them, so prices start rising.
now our friend johnny here, notices this and buys 100 diamonds with all his balance expecting prices to go even higher,
Sadly the leader of one of these groups gets banned a day later so they stop fighting, and now everyone has so many and the price is so high people don't want to buy anymore.
And those who do, want it cheaper, so every time someone sells a diamond, it transacts with a cheaper order, so prices start to fall.
johnny has now a bunch of useless diamonds and no money,
however, if prices had gone up as he expected he'd be rich
Profitable makes this kind of scenarios possible, it lets everyone experience the actual depth of a real market. It's not just a store like many linear price adjustment systems that have led to broken economies due to farms and the rising number of raids,
Profitable not only makes that add to the fun, but prices adjust themselves.
Because you’re not just buying and selling; you’re participating in an actual economy where people and events are behind prices.
I hope with that I have convinced you to download this wonderful plugin, have a great day.
Final notes
This is an early version of the plugin. Future updates will bring more refined features and improvements.
评论 0
登录后参与评分
还没有评论,来抢沙发吧