- Resource Type
- Second modification
- API Version
- 1.0.11
- Copyright Link
- #
- Depend Plugin
- EconomyAPI,Land(Optional),Residence(Optional)
PepperShop-MOT
A Nukkit plugin, developed based on PepperShop, which in turn is based on QuickShopX, and QuickShopX itself is derived from the original QuickShop plugin by author WetABQ.Features of PepperShop-MOT
- Support for Nukkit-MOT
- Compatible with the latest version of the Land plugin
- Support for string items
User Guide
Creating a Shop
Android: Gently touch the chest (do not break it), then switch to the item you want to sell in your hand, and finally enter the price directly in the chat bar.Windows 10: Left-click the chest, then switch to the item you want to sell in your hand, and finally enter the price directly in the chat bar.
Creative Mode: Hold Shift, break the chest, then follow the process above to create a shop and enter the price directly in the chat bar.
Trading
Chat Bar: After clicking the shop sign, enter the quantity you want to purchase.Interface: Click the shop sign to open the interface, drag to adjust the trade quantity, and click confirm.
Chat Bar and Interface: Supports both methods. A single click on the sign uses the chat bar input, while a double click opens the interface.
Modifying Prices
Chat Bar: Click the sign and use commands to modify the shop (see `/ps help` for specific commands).Interface: Click the shop sign to open the interface and follow the on-screen instructions to modify.
Chat Bar and Interface: Both methods are available. Choose either one.
Destroying a Shop
Break either the shop sign or the shop chest.Note: Anyone with `build` permissions (both place and destroy permissions) within a territory can also open the shop chest and destroy the shop.
Configuration File
YAML:
# Language. Supports loading custom language files. Currently includes Simplified Chinese and English (cn/en).
language: cn
# Force work with the GAC plugin, but this will disable this plugin's own permission checks.
work-with-gac: false
# Shop interaction method. Available values: ChatBar, Both, Interface. Represents Chat-Only, Both Enabled, UI-Only respectively.
# Please refer to the "User Guide -> Trading" section. Recommended value: Both.
interaction-method: Both
# Shop interaction timeout (ms). If entering a price results in it being sent as a normal chat message, increase this value.
interaction-timeout: 5000
# Hologram item packet sending rate (per second). Recommended value is 1000. If display issues occur, lower this value.
hologram-item-effect: 1000
# Hologram item packet queue capacity. If holograms fail to display/remove correctly or when crossing worlds on busy servers, increase this value (increase by 10,000 each time).
packet-queue-capacity: 10000
# Work with the Residence plugin (requires Residence to be installed).
link-with-residence-plugin: true
# Work with the Land plugin (requires Land to be installed).
link-with-land-plugin: true
# Whether shops can only be created within territory areas (recommended ON).
# This option depends on any territory plugin. If none is installed, it has no effect.
only-create-shop-in-residence-area: true
# Whether OPs can ignore territory permissions to open/destroy shops.
# This option depends on any territory plugin. If none is installed, it has no effect.
operator-ignore-build-permission: false
# Whether hoppers can only supply shops within territory areas. This does not affect normal transport for non-shop chests (only affects shops).
# This option depends on any territory plugin. If none is installed, it has no effect.
# Recommended ON.
limit-hopper: true
# Whether to use item name translation files (if you want to see Chinese item names, refer to the "About Displaying Chinese Item Names" section below and enable this).
use-item-name-translations: false
Plugin Commands
Main command:/ps [subcommand], Alias: /qs| Command | Purpose | Permission |
|---|---|---|
/ps help | Displays help information | Everyone |
/ps buy | Sets the shop to BUY type | Everyone |
/ps sell | Sets the shop to SELL type | Everyone |
/ps price | Sets the unit price of the shop | Everyone |
/ps server | Sets the shop as a server shop (unlimited stock) | Admin |
/ps version | Displays plugin version information | Admin |
/ps cp | Opens the plugin configuration panel (UI) | Admin |
/ps reload | Reloads all configuration files (except data files) | Admin |
Each subcommand can be abbreviated, e.g., `/ps help` to `/ps h`, `/ps buy` to `/ps b`, etc. Use `/ps help` to see all abbreviations.
GAC Compatibility
You need to set `work-with-gac: true` in the `config.yml`. As a trade-off for compatibility, the permission check feature will be disabled. If this is not set, the plugin will not start.Territory Plugin Compatibility
PepperShop-MOT supports both the Residence and Land territory plugins. Choose only one; loading both may cause unexpected issues.The Land plugin does not have a native `build` permission. Having both destroy and place block permissions is equivalent to having `build` permission. Both are required.
Importing Data from QuickShopX
This plugin supports QuickShopX's shop data files. Copy the `shops` folder to the PepperShop directory. However, configuration and language files are not supported and must be configured manually.Displaying Chinese Item Names
- Manually download the
item-translations.ymlfile and place it in the plugin folder. - Use the command
/ps r(works for OPs and console). - In-game, use the command
/ps cpto open the configuration panel. - Turn ON the
Use Translated Item Namesswitch and click the submit button.
Change Logs
1.3.3 (from QuickShopX)
- Support for the latest Nukkit-MOT
- Support for the latest Land plugin