
New advanced way of admin shops and playershops. ShopShelves and PlayerShelves
ShopShelves is available as a Spigot/Paper/Velocity plugin, adapting the popular Fabric mod's functionality to the server-side platform, utilizing Vault for economy integration. This plugin transforms the Shelf Block (available in Minecraft 1.21.9+) into fully functional shops for Spigot-based servers.
/shops price...).pricing.yml): Set default buy and sell prices for items. The system recognizes data-rich items like potions, enchanted books, ominous bottles, suspicious stew, and goat horns to assign specific prices./shops price command to apply a one-time price stamp to a held item. This stamped item is then used to configure PlayerShelves with custom pricing or to set custom slot prices on Admin Shops.amount argument, allowing the shop to calculate the correct unit price for trade.TRIPLEPRICE: Shows the calculated price for the entire stack per slot.SINGLEPRICE: Shows the unit price for the shelf, centered and merged if all items are the same type.&c) and hex color codes (&#RRGGBB).shopshelves.playershelves.10 for a limit of 10). The configurable default limit is 2.shopshelves.admin permission can enter a special "Admin Mode" using /shops admin to bypass all shop protections and quickly set up Admin Shops./shops reload to refresh all settings, prices, and messages without a server restart./shops update to re-render all floating text displays across all loaded chunks/worlds./shops, /shopshelves (Displays the main help page with clickable commands)./shops admin (Toggles admin mode to bypass shop protection and easily configure shops)./shops reload (Reloads config.yml, pricing.yml, and messages.yml)./shops update (Forces a re-render of all floating text displays)./shops mode [mode_name] (Views or sets the Message Delivery Mode or Price Display Mode).shopshelves.itemprice):/shops itemprice (Shows the current global price settings for the held item)./shops itemprice <price> <type> [amount] (Sets the global price for the held item in pricing.yml).<type>: buy, sell, or both.[amount]: The quantity the price applies to (e.g., 64).shopshelves.price):/shops price <price> <type> [amount] (Creates or modifies a one-time price stamp on the held item).shopshelves.command: Allows access to the base /shops help command.shopshelves.admin: Allows usage of /shops admin mode.shopshelves.reload: Allows usage of /shops reload.shopshelves.update: Allows usage of /shops update.shopshelves.mode: Allows usage of /shops mode for configuring display/message settings.shopshelves.itemprice: Allows usage of /shops itemprice to manage global pricing.shopshelves.price: Allows usage of /shops price to create custom price stamps.shopshelves.playershelf: Allows a player to create PlayerShelves.shopshelves.playershelves.unlimited: Grants unlimited PlayerShelf creation.shopshelves.playershelves.<number>: Sets the maximum number of PlayerShelves a player can create (e.g., .10 for a limit of 10).For plugin developers, ShopShelves offers a safe API to check for shop entities.
package me.andy.shopShelvesSpigot.api;
import me.andy.shopShelvesSpigot.logic.ShopHelper;
import org.bukkit.block.BlockState;
import org.bukkit.block.Shelf;
import org.jetbrains.annotations.Nullable;
import java.util.Optional;
import java.util.UUID;
/**
Public API for the ShopShelves Spigot plugin.
Other plugins should use this class to safely check and interact with ShopShelves entities.
*/
public final class ShopshelvesApi {
private static final ShopshelvesApi INSTANCE = new ShopshelvesApi();
// Private constructor to prevent external instantiation
private ShopshelvesApi() {}
/**
/**
/**
/**
}
ShopShelves - Container-Linked & Player-Owned Shops
ShopShelves transforms the new Shelf Block (added in Minecraft 1.21.9) into flexible, server-friendly shops! This powerful server-side Fabric mod for Minecraft 1.21.9 allows administrators to create permanent, fixed-price shops and gives players the ability to set up their own chest-linked "Player Shelves" with custom prices, all powered by a configurable in-game economy.
📧 Contact Me & Support InformationAll general questions, feature requests, and non-urgent bug reports should be posted in the appropriate channels on our Discord Server. We actively monitor the server and will respond as soon as possible. This ensures that the whole community can benefit from the discussion and solutions.
While we prefer all issues to be handled via the Discord server first, you are welcome to PM me directly under specific urgent circumstances:
I will endeavor to answer your PM as soon as I can to be helpful and see what I can do to resolve your urgent issue. However, please understand that immediate responses are not guaranteed, and private messaging is a professional courtesy, not an entitlement. Thank you for your understanding and cooperation!
For mod developers, ShopShelves offers the shop shelfblock functions via the ShopshelvesApi class.
package me.andy.shopshelves.api;
import me.andy.shopshelves.logic.ShopHelper;
import me.andy.shopshelves.util.ShopShelf;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.block.entity.ShelfBlockEntity;
import org.jetbrains.annotations.Nullable;
import java.util.Optional;
import java.util.UUID;
/**
Public API for the ShopShelves mod.
Other mods should use this class to safely check and interact with ShopShelves entities.
*/
public final class ShopshelvesApi {
private static final ShopshelvesApi INSTANCE = new ShopshelvesApi();
// Private constructor to prevent external instantiation
private ShopshelvesApi() {}
/**
/**
/**
/**
}
Required Mod: EcoBal Economy API
/shops price...).pricing.json): Set default buy and sell prices for items, including data-rich items like potions, enchanted books, goat horns, and player heads./shops price command to apply a one-time price stamp to a held item. This item can then be used to configure PlayerShelves with custom pricing or is used by Admins to set custom slot prices on Admin Shops.amount argument, allowing the shop to calculate the correct unit price for trade.TRIPLEPRICE: Shows price per slot, ideal for multi-item Admin Shops.SINGLEPRICE: Shows one merged price for the shelf, forced for PlayerShelves.&c) and hex color codes (&#RRGGBB).shopshelves.playershelves.5 for a limit of 5)./shops admin to bypass all shop protections and quickly set up Admin Shops./shops reload to refresh all settings, prices, and messages without a server restart./shops update to re-render all floating text displays across all worlds./shops, /shopshelves (Displays the main help page with clickable commands)/shops admin (Toggles admin mode to bypass shop protection and easily configure shops)/shops reload (Reloads config.json, pricing.json, and message_formatting.json)/shops update (Forces a re-render of all floating text displays)/shops mode [mode_name] (Views or sets the Message Delivery Mode or Price Display Mode)shopshelves.itemprice):/shops itemprice (Shows the current global price settings for the held item)/shops itemprice <price> <type> <amount> (Sets the global price for the held item)<type>: buy, sell, or both<amount>: The quantity the price applies to (e.g., 64)shopshelves.price):/shops price <price> <type> <amount> (Creates or modifies a one-time price stamp on the held item)shopshelves.command: Allows access to the base /shops help command. (Default for all players)shopshelves.admin: Allows usage of /shops admin mode. (Requires OP Level 2)shopshelves.reload: Allows usage of /shops reload. (Requires OP Level 2)shopshelves.update: Allows usage of /shops update. (Requires OP Level 4)shopshelves.mode: Allows usage of /shops mode for configuring display/message settings. (Requires OP Level 4)shopshelves.itemprice: Allows usage of /shops itemprice to manage global pricing. (Requires OP Level 2)shopshelves.price: Allows usage of /shops price to create custom price stamps. (Requires OP Level 2)shopshelves.playershelf: Allows a player to create PlayerShelves. (Requires OP Level 2)shopshelves.playershelves.unlimited: Grants unlimited PlayerShelf creation. (Requires OP Level 4)shopshelves.playershelves.<number>: Sets the maximum number of PlayerShelves a player can create (e.g., .10 for a limit of 10). (Requires OP Level 2)