Skip to content

πŸͺ Admin Shop Configuration ​

DANGER

This file was created automatically and should not be edited manually to avoid errors. Instead, use the commands from Essentials Plus. (/adminshop).

File Information

πŸ“ File Location: mods/fof1092_EssentialsPlus/adminshop.json
πŸ”™ Back to Configuration Overview

The Admin Shop provides an infinite buy/sell shop where players can purchase and sell items at fixed prices. This file stores all admin shop items with their buy and sell prices.

Example Structure:

json
{
  "Soil_Dirt": {
    "buyPrice": 1.0,
    "sellPrice": 0.50
  },
  "Soil_Gravel": {
    "buyPrice": 4.0,
    "sellPrice": 0.0
  },
  "Ingredient_Fibre": {
    "buyPrice": 0.0,
    "sellPrice": 1.0
  }
}

Shop Item Properties:

  • itemId - Unique Hytale item identifier
  • buyPrice - Price for players to buy this item from the shop
    • Set to 0.0 to disable buying (sell-only item)
    • Must be greater than 0 for purchasable items
  • sellPrice - Price the shop pays when players sell this item
    • Set to 0.0 to disable selling (buy-only item)
    • Must be greater than 0 for sellable items

Item Types:

  • Buy & Sell Items: Both buyPrice and sellPrice are positive numbers

    • Example: "buyPrice": 1.0, "sellPrice": 0.50
    • Players can both buy and sell these items
  • Buy-Only Items: Only buyPrice is positive, sellPrice is 0.0

    • Example: "buyPrice": 4.0, "sellPrice": 0.0
    • Players can only buy these items, not sell them
  • Sell-Only Items: Only sellPrice is positive, buyPrice is 0.0

    • Example: "buyPrice": 0.0, "sellPrice": 1.0
    • Players can only sell these items, not buy them

Related Commands:

  • /adminshop buy [item] --amount=<number> - Buy items
  • /adminshop sell --amount=<number> - Sell items
  • /adminshop sellall - Sell all sellable items
  • /adminshop list [page] - List shop items
  • /adminshop add --buyprice=X --sellprice=Y - Add items (admin)
  • /adminshop remove - Remove items (admin)

Permissions:

  • essentialsplus.adminshop.use - Base permission for shop access
  • essentialsplus.adminshop.buy - Permission to buy items
  • essentialsplus.adminshop.sell - Permission to sell items
  • essentialsplus.adminshop.sellall - Permission to use sellall
  • essentialsplus.adminshop.admin - Base permission for shop management
  • essentialsplus.adminshop.admin.add - Permission to add items
  • essentialsplus.adminshop.admin.remove - Permission to remove items
  • essentialsplus.adminshop.admin.list - Permission to list all items

Note: This file is automatically managed by the plugin. Use /adminshop add and /adminshop remove commands to manage shop items. The file is saved with pretty-printing for readability.