CC BankMarket Integration
ComputerCraft peripherals for BankSystem and StockMarket mods with automatic market maker bot
介绍
CC BankMarket Integration
ComputerCraft peripheral integration for BankSystem and StockMarket mods.
This mod adds CC:Tweaked peripherals that allow ComputerCraft computers to interact with the BankSystem and StockMarket economy mods. Perfect for creating automated trading systems, banking terminals, and custom economy interfaces!
Features
Bank Terminal Peripheral (bank_terminal)
Access the BankSystem mod from ComputerCraft:
getBalance()– Get your money balancegetItemBalance(itemId)– Get item balance in your banktransfer(targetPlayer, amount)– Transfer money to other playersdeposit(amount)/withdraw(amount)– Manage your fundsgetMoneyCirculation()– Get total money in the economy
Stock Market Peripheral (stock_market)
Full StockMarket integration:
getMarketItems()– List all tradeable itemsgetPriceInfo(itemId)– Get current prices and market datagetAllFloorPrices()– Get floor prices for all itemsgetOrderBookInfo(itemId)– Get bid/ask spread informationplaceBuyOrder(itemId, amount, price)– Place buy ordersplaceSellOrder(itemId, amount, price)– Place sell ordersgetMyOrders()– View your active orderscancelOrder(orderId)– Cancel an order
FloorBot – Automatic Market Maker
The mod includes an automatic market maker bot that:
- Creates buy orders at 10% of EMC value (floor price)
- Creates sell orders at 100% of EMC value (ceiling price)
- Ensures liquidity for ALL items with EMC values (~36,000 items!)
- Fully configurable via Lua API or config file
FloorBot Lua API:
local market = peripheral.find("stock_market")
-- Control the bot
market.setFloorBotEnabled(true/false)
market.setFloorBotPercentage(0.10) -- 10% floor
market.setFloorBotCeilingPercentage(1.0) -- 100% ceiling
market.setFloorBotAutoSell(true)
-- Get status
local status = market.getFloorBotStatus()
market.getFloorBotBuyOrderCount()
market.getFloorBotSellOrderCount()
EMC Peripheral (emc_link)
ProjectE integration for EMC values:
getEMC(itemId)– Get EMC value of any itemhasEMC(itemId)– Check if item has EMC
Example Usage
-- Find peripherals
local bank = peripheral.find("bank_terminal")
local market = peripheral.find("stock_market")
-- Check balance
print("Balance: $" .. bank.getBalance())
-- Get diamond price
local info = market.getPriceInfo("minecraft:diamond")
print("Diamond floor: $" .. info.floorPrice)
-- Place a buy order
market.placeBuyOrder("minecraft:diamond", 64, 100)
Requirements
- Minecraft: 1.21.1
- NeoForge: 21.1.77+
- CC:Tweaked: 1.113.0+
- BankSystem: 1.4.0+ (required)
- StockMarket: 1.3.0+ (optional, for market features)
- ProjectE: Any version (optional, for EMC features)
Configuration
The FloorBot can be configured in config/ccbankmarket-common.toml:
[floorbot]
enabled = true
floorPercentage = 0.10
ceilingPercentage = 1.0
maxOrderAmount = 1000
autoSell = true
Support
For issues and feature requests, please visit our GitHub repository.
Made by Playtime Hosting
常见问题
CC BankMarket Integration 支持哪些 Minecraft 版本?
CC BankMarket Integration 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
CC BankMarket Integration 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
xape_multiplayer 的其他作品
查看全部 →HighTech CityBuild
Tekkit Classic with A-list mods and multiplayer server
Xape
Required client and server mod for the Xape economy server: storage, Exchange counter, menus.
Xape Fixes
Small crash and compatibility fixes for Simple Voice Chat and Architectury. Works without Xape.
Xape AE
ME Market Adapter: connects an Applied Energistics 2 network to the Xape Exchange.
评论
登录后评论和评分