🏦 HyTreasury
HyTreasury is a complete economy system for Hytale servers, featuring money management, player markets, HDV (auction house), taxes, transaction logs, and optional faction banking.
Features: Money Player Pay Cooldown Income Player Shop HDV / Auction House Taxes
📖 Overview
HyTreasury adds a full economy layer to your server with clean GUIs and powerful admin tools. Players can earn money, trade items, list items for sale, buy from others, and use an HDV-style auction house.
Admins can fully control income, taxes, expiration timers, and moderation features.
✨ Core Features
- Player balances with formatted currency display
- Direct payments between players
- Periodic income claim with configurable cooldown
/money top leaderboard (paginated)
- Transaction logs with pagination for moderation
- Player Shop GUI to list items from your hotbar
- HDV / Auction House GUI (browse, buy, cancel, reclaim)
- Listings store item snapshots (id + metadata)
- Taxes (admin-controlled percent) with optional server bank
- Expiration system for HDV listings
- Autosave for balances, listings, history, and faction bank data
- Optional faction integration for faction bank and taxes
- Anti-dupe protection: atomic transactions, listing locks, safe persistence
🎮 Player Commands
Money
/money — show your balance
/money info <player> — show another player’s balance
/money pay <player> <amount> — pay another player
/money time — claim periodic income (cooldown-based)
/money top [page] — richest players leaderboard
/money log <player> [page] — view transaction history
Shop (Player Market)
/shop — open the player shop GUI
/shop create <quantity> <price> — create a listing from the item in your hotbar
HDV / Auction House
/hdv — open the auction house GUI
/hdv list <quantity> <price> — list item from your hotbar
/hdv buy <listingId> — buy a listing
/hdv cancel <listingId> — cancel your own listing
/hdv reclaim <listingId> — reclaim expired listing
🛠️ Admin Commands
Permission required: economy.money.admin
Non-admin commands are available to non-op by default.
Money Admin
/money admin gui — open admin settings GUI
/money admin set <player> <amount> — set a player’s balance
/money admin add <player> <amount> — add to a player’s balance
/money admin remove <player> <amount> — remove from a player’s balance
/money admin reset <player> — reset balance to starting value
/money admin reload — reload economy config
/money admin interval <seconds> — set income claim interval
/money admin income <amount> — set income claim amount
/money admin tax <percent> — set tax percent
/money admin hdv-expire <seconds> — set HDV listing expiration time
/money admin bank — show server bank balance
Faction Integration Admin
/money faction <on|off> — toggle faction integration
HDV Admin
/hdv admin remove <listingId> — remove a listing
/hdv admin clear — clear all listings
Other Admin
/shop remove <listingId> — remove any listing
🔒 Security & Reliability
- Anti-dupe protections: atomic transactions, listing locks, click debouncing
- Safe persistence: autosave + safe-write (temp file then rename)
- Item snapshots: listings preserve exact item id and metadata
- Moderation-ready: transaction history with pagination for admins
HyTreasury — economy, player market and HDV for Hytale servers.