← Назад к ресурсам

ServerShop

A simple mod to add a shop to your server

Modrinth cursed economy utility

Описание

This mod adds a simple shop for selling and buying items. It can be accessed by using the `/shop` command. The shop system includes several functionalities that can be managed through different subcommands: - **/shop**: The main command to access the shop interface. Users can browse available items or interact with the shop in various ways depending on their permissions. ![Shop interface](https://cdn.modrinth.com/data/SXvWjpe8/images/bb0241889b426fd084341e6fac14aee6691b4340.png) - **/shop edit**: Allows admins (users with permission level 2 or higher) to edit the shop's inventory. This includes adding or removing items from the shop. ![Shop editor interface](https://cdn.modrinth.com/data/SXvWjpe8/images/71100291cf4be2e6719a69dc71e7cfc0863183ed.png) ![Shop editor buy price](https://cdn.modrinth.com/data/SXvWjpe8/images/922d1d0f243553881453a8129e497d015f4c06dd.png) ![Shop editor sell price](https://cdn.modrinth.com/data/SXvWjpe8/images/7e30c57225d572c77099fa88338b964bed08ffc1.png) - **/shop load**: Admins can load the shop's configuration from a file, making it easy to reset or update the shop's content. - **/shop save**: This command saves the current state of the shop to a file, preserving any changes made during the session. - **/shop set**: This command allows admins to set the prices for items in the shop. By using `/shop set`, you can specify the item, buy price, and sell price to adjust how the shop will trade that item. Example: `/shop set ` Here, `` represents the item to be sold, `` is the price players must pay to buy the item, and `` is the amount players will receive when selling the item to the shop. - **/shop setHand**: Sets the price for the item currently held in the player's hand. This is a quicker alternative to using `/shop set`. - **/price**: Players can check the price of an item using `/price ` or `/price` to check the price of the item in their hand. - **/buy**: Lets players purchase items from the shop. Players can specify the quantity they want to buy. - **/sell**: Allows players to sell items back to the shop, specifying the quantity if needed. Additionally, the mod includes an auctionhouse: - **/auction**: A command for browsing item auctions ![Auction browser](https://cdn.modrinth.com/data/SXvWjpe8/images/d0131e9deda35703c178cc59ee83ef56ab0b5f2e.png) - **/auction create **: A command to start an auction for an item in hand when specifying the price in the command, if the price is not specified, a dialog appears which needs a price and item insertion ![Auction create](https://cdn.modrinth.com/data/SXvWjpe8/images/a4b17ab53082b5d9063f8c669837c3ad7595360c.png) For managing the account of the players you can use these commands: - **/pay**: Allows players to transfer money to others using `/pay `. - **/balance**: This command lets players check their balance, or for admins to check and modify other players' balances. It includes subcommands like `/balance load`, `/balance save`, and `/balance set`. - **/balance list**: Opens a gui with a list of players and their balances. If you click on a player, you can set their balance. ![Balance list](https://cdn.modrinth.com/data/SXvWjpe8/images/547257f1e8ac4e6b675b5ea0c48914670ab69ac1.png) ![Balance setter](https://cdn.modrinth.com/data/SXvWjpe8/images/ae80877b70596298777605b0e3c50417b02e013f.png) This shop and auction system is designed to be simple yet flexible, providing both players and admins with the tools they need to manage in-game economies efficiently.