Mineuniverse
Log in Register
Mods

CC BankMarket Integration

ComputerCraft peripherals for BankSystem and StockMarket mods with automatic market maker bot
by PlaytimeHosting
Download Claim this project
236 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library Applied Energistics 2 Automation

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 balance
  • getItemBalance(itemId) - Get item balance in your bank
  • transfer(targetPlayer, amount) - Transfer money to other players
  • deposit(amount) / withdraw(amount) - Manage your funds
  • getMoneyCirculation() - Get total money in the economy

Stock Market Peripheral (stock_market)

Full StockMarket integration:

  • getMarketItems() - List all tradeable items
  • getPriceInfo(itemId) - Get current prices and market data
  • getAllFloorPrices() - Get floor prices for all items
  • getOrderBookInfo(itemId) - Get bid/ask spread information
  • placeBuyOrder(itemId, amount, price) - Place buy orders
  • placeSellOrder(itemId, amount, price) - Place sell orders
  • getMyOrders() - View your active orders
  • cancelOrder(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 item
  • hasEMC(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

ccbankmarket-1.0.0.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-04 Get

You Might Also Like

AE2 Extras
Adds some extra stuff to AE2
9,507,442
Immersive Energistics
Adds ME-capable wires to Immersive Engineering.
7,943,047
Growable Storage Cells
A Magical Crops Mod - For AE2/RS Storage Cells
825,529
AE2 Things
Introduces a new Cell type, advanced inscriber and crystal growth chamber
768,346
[Forge] AE2 Additional Opportunity
Позволяет использовать AE2 по новому! / Allows you to use AE2 in a new way!
743,777
Applied Construction Sticks
Allows Construction Sticks to use items inside a AE2 network
736,944