Jmz Economy (EconomySystem)
Version: 1.0.0
Platform: Hytale Server Plugin
Overview
Jmz Economy is a full economy plugin for Hytale servers. It provides money and cash balances, player-to-player payments, admin economy tools, admin shops, player shops, NPC shop interaction, HUD integration, reward systems for gameplay actions, MySQL support, and an API for other plugins.
Npc no chunk bug
Main Features
- Money system
- Player balances
- Money transfer between players
- Top money ranking
- Admin set/give tools
- Cash system
- Separate cash balance from money
- Admin cash give support
- Cash-based shop entries
- Admin shop
- Open shop UI with buy/sell actions
- Add/remove items
- Create/remove tabs
- Shop manager UI
- Console command products
- Cash products
- Player shops
- Open/close personal shop
- Add/remove items
- Rename shop
- Create/remove personal tabs
- List open player shops
- Browse other players' shops
- Optional player tax on transactions
- Shop NPC integration
- Create and manage shop NPCs
- Interact with NPC to open shop
- Respawn handling for missing NPCs
- HUD integration
- Per-player HUD enable/disable preference
- Displays economy information and status
- Reward systems
- Ore break rewards
- Wood break rewards
- Monster kill rewards
- All fully configurable
- Integrations
- VaultUnlocked economy provider support
- Cassaforte integration support
- Storage
- File-based JSON storage by default
- Optional MySQL storage
- Localization
- Language files in resource and runtime folders
- Configurable language selection
- Public API
- Read, set, add, remove balances by UUID or name
- Check balance and get formatted values
- Open shop UI through API
Commands
Money
Code:
/money [nick]
/money pay <nick> <amount>
/money top
/money set <nick> <amount>
/money give <nick> <amount>
Code:
eco, balance, bal
Cash
Code:
/cash [nick]
/cash give <nick> <amount>
Code:
cashbalance, cb
Item Info
Code:
/iteminfo
Code:
ii, item
Admin Shop
Code:
/shop
/shop manager
/shop add <tab> <itemid> <quantity> <pricesell> <pricebuy>
/shop remove <id>
/shop tab create <name>
/shop tab remove <name>
/shop renameplayershop <nick> <name>
Code:
loja
Code:
renamepshop, rpshop
Shop NPC
Code:
/shop npc add
/shop npc list
/shop npc remove <shopId>
/shop npc removeall
/shop npc movehere <shopId>
Placeholders for sell commands
{playername}
{PlayerName}
{player}
{Player}
{PlayerUsername}
{playerusername}
{playeruuid}
{PlayerUUID}
{playerUuidByName}
{PlayerUuidByName}
{quanty}
{quantity}
{Quantity}
Player Shops
Code:
/myshop
/myshop open
/myshop close
/myshop add <tab> <priceBuy> <priceSell>
/myshop remove <uniqueId>
/myshop rename <name>
/myshop tab create <name>
/myshop tab remove <name>
/myshop manager
/playershop <nick>
/shops
Code:
/myshop -> mshop, minhaloja
/playershop -> pshop, lojajogador
/shops -> lojas, shopslist
HUD
Code:
/hud off
/hud on
Permissions
Code:
jmz.economy.player.money
jmz.economy.player.money.pay
jmz.economy.player.money.top
jmz.economy.player.shop
jmz.economy.player.iteminfo
jmz.economy.player.myshop
jmz.economy.player.myshop.manager
jmz.economy.player.playershop
jmz.economy.player.shops
jmz.economy.player.cash
jmz.economy.player.hud
jmz.economy.admin.money
jmz.economy.admin.money.set
jmz.economy.admin.money.give
jmz.economy.admin.cash.give
jmz.economy.admin.shop.add
jmz.economy.admin.shop.remove
jmz.economy.admin.shop.manager
jmz.economy.admin.shop.rename.player
Configuration (EconomySystem.json)
Code:
EnableMySQL
MySQLHost
MySQLPort
MySQLUser
MySQLPassword
MySQLDatabaseName
MySQLTableName
MySQLAdminShopTableName
MySQLPlayerShopTableName
Language
InitialBalance
CurrencySymbol
EnableOreRewards
EnableWoodRewards
EnableDebugLogs
EnableShop
EnablePlayerShop
EnableHud
EnableMoneyTop
InvertBuyButtonAction
ShortNumberFormat
PlayerTax
EnableMonsterRewards
MonsterRewards
OreRewards
WoodRewards
Runtime Data Files
Data is stored in the plugin universe folder (EconomySystem), including files such as:
Code:
Balances.json
Shop.json
PlayerShop.json
HudConfig.json
HudPreferences.json
shop_npcs.json
shop_npc_<id>.json
Language_<LANG>.json
Dependencies and Optional Integrations
- Optional: Hytale EntityModule
- Optional: MultipleHUD
- Optional: VaultUnlocked
- Optional: Cassaforte
Developer API Entry Point
Code:
com.economy.api.EconomyAPI
