English | 简体中文
A SpigotMC plugin inspired by DailyShop. Pursuing ultra customizability and efficiency.
You can find document in: https://ykdz.github.io/HyphaDocs/.
- Dynamic pricing based on market feedback
- Total market volume
- Transaction log
- SQL Support
- Random amount and amount-based price
- List product by condition
- Discount
- Manually specifying restock results
- Transition limit
- Cart
- Merchant
- Buy more
- More gui type
- Cart Collection & Order again
- Gui icon condition
- Folia Support
- Document
<dependencies>
<dependency>
<groupId>cn.encmys</groupId>
<artifactId>hyphashop-api</artifactId>
<version>{VERSION}</version>
<scope>provided</scope>
</dependency>
</dependencies>
repositories {
mavenCentral()
}
dependencies {
compileOnly("cn.encmys:hyphashop-api:{VERSION}")
}
public class MyPlugin extends JavaPlugin implements Listener {
@Override
public void onEnable() {
// Get a shop instance by shop id
Shop shop = DailyShop.SHOP_FACTORY.getShop("black_market");
// Restock a shop
shop.getShopStocker().stock();
// Get a product by product id
Product product = DailyShop.PRODUCT_FACTORY.getProduct("DIAMOND_ORE");
// Restock a product
product.getProductStock().stock();
}
}that make this plugin possible.