API Getting Started

๐Ÿ”Œ ShopMaster API

ShopMaster provides a flexible API for developers to interact with player rewards, sell services, and shop items.


๐Ÿ“– Introduction

The API allows you to access and modify player rewards, interact with shop services, and integrate with custom systems.


โš™๏ธ Setup

To use the API, include the following in your Maven project.

๐Ÿ“ฆ Maven Configuration

Replace VERSION with the plugin version or tag you want to use.

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.github.xShyo</groupId>
    <artifactId>ShopMaster-API</artifactId>
    <version>VERSION</version>
  </dependency>
</dependencies>

๐Ÿ“‹ plugin.yml

In your plugin.yml, you must add:

This ensures your plugin loads after ShopMaster is initialized.


๐Ÿงฐ API Package

Main package:

๐Ÿ“š Imports

These are the core classes you'll use to interact with the pluginโ€™s internal mechanics. More details on the classes and usage examples will be provided in the following sections.


Let me know si quieres que siga con ejemplos de uso, detalles de SellService, o documentaciรณn de mรฉtodos como sell(Player player, ItemStack item) o getSellPrice() para ShopItem. Puedo ayudarte a dejar todo bien documentado.

Last updated