Nukkit-QuickShop
Nukkit-QuickShop copied to clipboard
QuickShop for Nukkit
Nukkit-QuickShop
QuickShop for Nukkit
How to use?
-
Install plugin
- Download 'QuickShop' plugin.
- Put the plugin in the "plugins" folder.
- Restart your server.
-
Create Shop
- Put a chest on ground
- Put a sign on the chest
- Use the items you want to sell and click on the chest
- Enter the price.
Config:(No changes are recommended)
title: '&l&eQuick&6Shop &r&c» &a'
Command:
Command | Args | Describe | Permission |
---|---|---|---|
qs | [subcmd] [args] | QuickShop | All |
API:
//Listening event(PlayerBuyEvent,PlayerSellEvent,PlayerCreateShopEvent,PlayerRemoveShopEvent)
@EventHandler
public void onPlayerBuyEvent(PlayerBuyEvent event) {
event.player.sendMessage(event.getShopDate()+"\n"+event.getCount());
}