Change version to 2.0-SNAPSHOT

This commit is contained in:
Eric 2022-08-21 19:19:09 +02:00
parent 2e1e395c7c
commit 5dbb400a0c
55 changed files with 206 additions and 206 deletions

View File

@ -13,7 +13,7 @@
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<repositories> <repositories>
@ -27,7 +27,7 @@
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-api</artifactId> <artifactId>shopchest-api</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -13,7 +13,7 @@
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<repositories> <repositories>
@ -27,7 +27,7 @@
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-api</artifactId> <artifactId>shopchest-api</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -13,7 +13,7 @@
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<repositories> <repositories>
@ -27,7 +27,7 @@
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-api</artifactId> <artifactId>shopchest-api</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -6,13 +6,13 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-api</artifactId> <artifactId>shopchest-api</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest API</name> <name>ShopChest API</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
</project> </project>

View File

@ -9,7 +9,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
/** /**
* The plugin's main entry point * The plugin's main entry point
* *
* @since 1.13 * @since 2.0
*/ */
public abstract class ShopChest extends JavaPlugin { public abstract class ShopChest extends JavaPlugin {

View File

@ -16,7 +16,7 @@ import de.epiceric.shopchest.api.shop.ShopProduct;
/** /**
* Collection of methods to get, add or remove shops * Collection of methods to get, add or remove shops
* *
* @since 1.13 * @since 2.0
*/ */
public interface ShopManager { public interface ShopManager {
@ -32,7 +32,7 @@ public interface ShopManager {
* *
* @param id the shop's ID * @param id the shop's ID
* @return the shop or an empty optional if there is no shop loaded * @return the shop or an empty optional if there is no shop loaded
* @since 1.13 * @since 2.0
*/ */
Optional<Shop> getShop(int id); Optional<Shop> getShop(int id);
@ -41,7 +41,7 @@ public interface ShopManager {
* *
* @param location the shop's chest location * @param location the shop's chest location
* @return the shop or an empty optional if there is no shop loaded * @return the shop or an empty optional if there is no shop loaded
* @since 1.13 * @since 2.0
*/ */
Optional<Shop> getShop(Location location); Optional<Shop> getShop(Location location);
@ -50,7 +50,7 @@ public interface ShopManager {
* *
* @param vendor the player * @param vendor the player
* @return a collection of shops * @return a collection of shops
* @since 1.13 * @since 2.0
* @see ShopPlayer#getShops() * @see ShopPlayer#getShops()
*/ */
Collection<Shop> getShops(OfflinePlayer vendor); Collection<Shop> getShops(OfflinePlayer vendor);
@ -60,7 +60,7 @@ public interface ShopManager {
* *
* @param world the world * @param world the world
* @return a collection of shops * @return a collection of shops
* @since 1.13 * @since 2.0
*/ */
Collection<Shop> getShops(World world); Collection<Shop> getShops(World world);
@ -78,7 +78,7 @@ public interface ShopManager {
* @param buyPrice the price a player can buy the product for. * @param buyPrice the price a player can buy the product for.
* @param sellPrice the price a player can sell the product for. * @param sellPrice the price a player can sell the product for.
* @return a completable future returning the new shop * @return a completable future returning the new shop
* @since 1.13 * @since 2.0
* @see ShopManager#addAdminShop(ShopProduct, Location, double, double) * @see ShopManager#addAdminShop(ShopProduct, Location, double, double)
*/ */
CompletableFuture<Shop> addShop(OfflinePlayer vendor, ShopProduct product, Location location, double buyPrice, double sellPrice); CompletableFuture<Shop> addShop(OfflinePlayer vendor, ShopProduct product, Location location, double buyPrice, double sellPrice);
@ -96,7 +96,7 @@ public interface ShopManager {
* @param buyPrice the price a player can buy the product for. * @param buyPrice the price a player can buy the product for.
* @param sellPrice the price a player can sell the product for. * @param sellPrice the price a player can sell the product for.
* @return a completable future returning the new shop * @return a completable future returning the new shop
* @since 1.13 * @since 2.0
* @see ShopManager#addShop(OfflinePlayer, ShopProduct, Location, double, double) * @see ShopManager#addShop(OfflinePlayer, ShopProduct, Location, double, double)
*/ */
CompletableFuture<Shop> addAdminShop(ShopProduct product, Location location, double buyPrice, double sellPrice); CompletableFuture<Shop> addAdminShop(ShopProduct product, Location location, double buyPrice, double sellPrice);
@ -106,7 +106,7 @@ public interface ShopManager {
* *
* @param shop the shop to remove * @param shop the shop to remove
* @return a completable future returning nothing * @return a completable future returning nothing
* @since 1.13 * @since 2.0
*/ */
CompletableFuture<Void> removeShop(Shop shop); CompletableFuture<Void> removeShop(Shop shop);
@ -116,7 +116,7 @@ public interface ShopManager {
* This does not trigger the {@link ShopReloadEvent}. * This does not trigger the {@link ShopReloadEvent}.
* *
* @return a completable future returning the loaded shops * @return a completable future returning the loaded shops
* @since 1.13 * @since 2.0
*/ */
CompletableFuture<Collection<Shop>> reloadShops(); CompletableFuture<Collection<Shop>> reloadShops();

View File

@ -12,7 +12,7 @@ import org.bukkit.command.CommandSender;
/** /**
* Represents the plugin's main command * Represents the plugin's main command
* *
* @since 1.13 * @since 2.0
*/ */
public abstract class ShopCommand { public abstract class ShopCommand {
private List<SubCommand> subCommands = new ArrayList<>(); private List<SubCommand> subCommands = new ArrayList<>();
@ -21,7 +21,7 @@ public abstract class ShopCommand {
* Gets the command's name * Gets the command's name
* *
* @return the name * @return the name
* @since 1.13 * @since 2.0
*/ */
public abstract String getName(); public abstract String getName();
@ -31,7 +31,7 @@ public abstract class ShopCommand {
* @param subCommand the sub command * @param subCommand the sub command
* @return {@code true} if the sub command has been registered, {@code false} if * @return {@code true} if the sub command has been registered, {@code false} if
* the name has already been taken * the name has already been taken
* @since 1.13 * @since 2.0
*/ */
public final boolean addSubCommand(SubCommand subCommand) { public final boolean addSubCommand(SubCommand subCommand) {
boolean nameTaken = subCommands.stream().filter(sub -> sub.getName().equalsIgnoreCase(subCommand.getName())) boolean nameTaken = subCommands.stream().filter(sub -> sub.getName().equalsIgnoreCase(subCommand.getName()))
@ -49,7 +49,7 @@ public abstract class ShopCommand {
* Removes a sub command from this command * Removes a sub command from this command
* *
* @param subCommand the sub command * @param subCommand the sub command
* @since 1.13 * @since 2.0
*/ */
public final void removeSubCommand(SubCommand subCommand) { public final void removeSubCommand(SubCommand subCommand) {
this.subCommands.remove(subCommand); this.subCommands.remove(subCommand);
@ -66,7 +66,7 @@ public abstract class ShopCommand {
* *
* @param sender the command sender * @param sender the command sender
* @param args the arguments * @param args the arguments
* @since 1.13 * @since 2.0
*/ */
public final void onExecute(CommandSender sender, String... args) { public final void onExecute(CommandSender sender, String... args) {
if (args.length > 0) { if (args.length > 0) {
@ -104,7 +104,7 @@ public abstract class ShopCommand {
* @param sender the command sender * @param sender the command sender
* @param args the arguments * @param args the arguments
* @return the tab completions * @return the tab completions
* @since 1.13 * @since 2.0
*/ */
public final List<String> onTabComplete(CommandSender sender, String... args) { public final List<String> onTabComplete(CommandSender sender, String... args) {
if (args.length == 1) { if (args.length == 1) {
@ -127,7 +127,7 @@ public abstract class ShopCommand {
* Sends the help messages for all sub commands to the given sender * Sends the help messages for all sub commands to the given sender
* *
* @param sender the command sender * @param sender the command sender
* @since 1.13 * @since 2.0
*/ */
public void sendUsage(CommandSender sender) { public void sendUsage(CommandSender sender) {
// Use same help format as in default bukkit help message // Use same help format as in default bukkit help message

View File

@ -9,7 +9,7 @@ import org.bukkit.entity.Player;
* Represents a sub command for the plugin's main command * Represents a sub command for the plugin's main command
* *
* @see ShopCommand#addSubCommand(SubCommand) * @see ShopCommand#addSubCommand(SubCommand)
* @since 1.13 * @since 2.0
*/ */
public abstract class SubCommand { public abstract class SubCommand {
private final String name; private final String name;
@ -24,7 +24,7 @@ public abstract class SubCommand {
* @param name the name * @param name the name
* @param onlyPlayer whether only players can run this sub command * @param onlyPlayer whether only players can run this sub command
* @see ShopCommand#addSubCommand(SubCommand) * @see ShopCommand#addSubCommand(SubCommand)
* @since 1.13 * @since 2.0
*/ */
public SubCommand(String name, boolean onlyPlayer) { public SubCommand(String name, boolean onlyPlayer) {
this.name = name; this.name = name;
@ -35,7 +35,7 @@ public abstract class SubCommand {
* Gets the name of this sub command * Gets the name of this sub command
* *
* @return the name * @return the name
* @since 1.13 * @since 2.0
*/ */
public String getName() { public String getName() {
return name; return name;
@ -47,7 +47,7 @@ public abstract class SubCommand {
* If no permission is needed, this should return an empty string. * If no permission is needed, this should return an empty string.
* *
* @return the permission or an empty string * @return the permission or an empty string
* @since 1.13 * @since 2.0
*/ */
public String getPermission() { public String getPermission() {
return ""; return "";
@ -71,7 +71,7 @@ public abstract class SubCommand {
* *
* @param sender the sender * @param sender the sender
* @return whether the sender can run this sub command * @return whether the sender can run this sub command
* @since 1.13 * @since 2.0
*/ */
public boolean canExecute(CommandSender sender) { public boolean canExecute(CommandSender sender) {
return sender instanceof Player || !onlyPlayer; return sender instanceof Player || !onlyPlayer;
@ -81,7 +81,7 @@ public abstract class SubCommand {
* Gets the description of this sub command * Gets the description of this sub command
* *
* @return the description * @return the description
* @since 1.13 * @since 2.0
*/ */
public abstract String getDescription(); public abstract String getDescription();
@ -93,7 +93,7 @@ public abstract class SubCommand {
* *
* @param sender the sender * @param sender the sender
* @param args the arguments of the sub command * @param args the arguments of the sub command
* @since 1.13 * @since 2.0
*/ */
public abstract void onExecute(CommandSender sender, String... args); public abstract void onExecute(CommandSender sender, String... args);
@ -107,7 +107,7 @@ public abstract class SubCommand {
* @param sender the command sender * @param sender the command sender
* @param args the arguments of the sub command * @param args the arguments of the sub command
* @return the tab completions * @return the tab completions
* @since 1.13 * @since 2.0
*/ */
public abstract List<String> onTabComplete(CommandSender sender, String... args); public abstract List<String> onTabComplete(CommandSender sender, String... args);

View File

@ -7,7 +7,7 @@ import de.epiceric.shopchest.api.database.DatabaseType;
/** /**
* Class to access configuration properties * Class to access configuration properties
* *
* @since 1.13 * @since 2.0
*/ */
public class Config { public class Config {
private Config() {} private Config() {}

View File

@ -13,7 +13,7 @@ import org.bukkit.Material;
* A wrapper for {@code Map<Material, Double>}, optimised for config * A wrapper for {@code Map<Material, Double>}, optimised for config
* serialization * serialization
* *
* @since 1.13 * @since 2.0
*/ */
public class MaterialDoubleMap { public class MaterialDoubleMap {
private Map<Material, Double> map; private Map<Material, Double> map;
@ -22,7 +22,7 @@ public class MaterialDoubleMap {
* Creates a map with the given map's entries * Creates a map with the given map's entries
* *
* @param map the map to wrap * @param map the map to wrap
* @since 1.13 * @since 2.0
*/ */
public MaterialDoubleMap(Map<Material, Double> map) { public MaterialDoubleMap(Map<Material, Double> map) {
this.map = map; this.map = map;
@ -31,7 +31,7 @@ public class MaterialDoubleMap {
/** /**
* Creates an empty map * Creates an empty map
* *
* @since 1.13 * @since 2.0
*/ */
public MaterialDoubleMap() { public MaterialDoubleMap() {
this(new EnumMap<>(Material.class)); this(new EnumMap<>(Material.class));
@ -46,7 +46,7 @@ public class MaterialDoubleMap {
* *
* @param str the comma seperated list of map entries * @param str the comma seperated list of map entries
* @return the parsed map * @return the parsed map
* @since 1.13 * @since 2.0
*/ */
public static MaterialDoubleMap valueOf(String str) { public static MaterialDoubleMap valueOf(String str) {
if (str.isEmpty()) { if (str.isEmpty()) {
@ -85,7 +85,7 @@ public class MaterialDoubleMap {
* Gets an instance of the map * Gets an instance of the map
* *
* @return the map * @return the map
* @since 1.13 * @since 2.0
*/ */
public Map<Material, Double> getMap() { public Map<Material, Double> getMap() {
return map; return map;

View File

@ -10,7 +10,7 @@ import org.bukkit.Material;
/** /**
* A wrapped for {@code List<Material>}, optimised for config serialization * A wrapped for {@code List<Material>}, optimised for config serialization
* *
* @since 1.13 * @since 2.0
*/ */
public class MaterialList { public class MaterialList {
private List<Material> list; private List<Material> list;
@ -19,7 +19,7 @@ public class MaterialList {
* Creates a list with the given list's entries * Creates a list with the given list's entries
* *
* @param list the list to wrap * @param list the list to wrap
* @since 1.13 * @since 2.0
*/ */
public MaterialList(List<Material> list) { public MaterialList(List<Material> list) {
this.list = list; this.list = list;
@ -29,7 +29,7 @@ public class MaterialList {
* Creates a list with the given materials * Creates a list with the given materials
* *
* @param materials the materials * @param materials the materials
* @since 1.13 * @since 2.0
*/ */
public MaterialList(Material... materials) { public MaterialList(Material... materials) {
this(Arrays.asList(materials)); this(Arrays.asList(materials));
@ -42,7 +42,7 @@ public class MaterialList {
* *
* @param str the comma seperated list * @param str the comma seperated list
* @return the parsed list * @return the parsed list
* @since 1.13 * @since 2.0
*/ */
public static MaterialList valueOf(String str) { public static MaterialList valueOf(String str) {
if (str.isEmpty()) { if (str.isEmpty()) {
@ -66,7 +66,7 @@ public class MaterialList {
* Gets an instance of the list * Gets an instance of the list
* *
* @return the list * @return the list
* @since 1.13 * @since 2.0
*/ */
public List<Material> getList() { public List<Material> getList() {
return list; return list;

View File

@ -3,7 +3,7 @@ package de.epiceric.shopchest.api.config;
/** /**
* Represents a configurable property * Represents a configurable property
* *
* @since 1.13 * @since 2.0
*/ */
public class Property<T> { public class Property<T> {
private final Class<T> type; private final Class<T> type;
@ -22,7 +22,7 @@ public class Property<T> {
* Gets the section of this property * Gets the section of this property
* *
* @return the section * @return the section
* @since 1.13 * @since 2.0
*/ */
public String getSection() { public String getSection() {
return section; return section;
@ -32,7 +32,7 @@ public class Property<T> {
* Gets the key of this property * Gets the key of this property
* *
* @return the key * @return the key
* @since 1.13 * @since 2.0
*/ */
public String getKey() { public String getKey() {
return section + "." + key; return section + "." + key;
@ -42,7 +42,7 @@ public class Property<T> {
* Gets the class of this property's type * Gets the class of this property's type
* *
* @return the type * @return the type
* @since 1.13 * @since 2.0
*/ */
public Class<T> getType() { public Class<T> getType() {
return type; return type;
@ -52,7 +52,7 @@ public class Property<T> {
* Gets the current value of this property * Gets the current value of this property
* *
* @return the value * @return the value
* @since 1.13 * @since 2.0
*/ */
public T get() { public T get() {
return value; return value;
@ -65,7 +65,7 @@ public class Property<T> {
* *
* @param value the value * @param value the value
* @throws IllegalArgumentException if {@code value} is null * @throws IllegalArgumentException if {@code value} is null
* @since 1.13 * @since 2.0
*/ */
public void set(T value) { public void set(T value) {
if (value == null) { if (value == null) {

View File

@ -6,7 +6,7 @@ import java.util.List;
/** /**
* A wrapped for {@code List<String>}, optimised for config serialization * A wrapped for {@code List<String>}, optimised for config serialization
* *
* @since 1.13 * @since 2.0
*/ */
public class StringList { public class StringList {
private List<String> list; private List<String> list;
@ -15,7 +15,7 @@ public class StringList {
* Creates a list with the given list's entries * Creates a list with the given list's entries
* *
* @param list the list to wrap * @param list the list to wrap
* @since 1.13 * @since 2.0
*/ */
public StringList(List<String> list) { public StringList(List<String> list) {
this.list = list; this.list = list;
@ -25,7 +25,7 @@ public class StringList {
* Creates a list with the given strings * Creates a list with the given strings
* *
* @param strings the strings * @param strings the strings
* @since 1.13 * @since 2.0
*/ */
public StringList(String... strings) { public StringList(String... strings) {
this(Arrays.asList(strings)); this(Arrays.asList(strings));
@ -36,7 +36,7 @@ public class StringList {
* *
* @param str the comma seperated list * @param str the comma seperated list
* @return the parsed list * @return the parsed list
* @since 1.13 * @since 2.0
*/ */
public static StringList valueOf(String str) { public static StringList valueOf(String str) {
if (str.isEmpty()) { if (str.isEmpty()) {
@ -59,7 +59,7 @@ public class StringList {
* Gets an instance of the list * Gets an instance of the list
* *
* @return the list * @return the list
* @since 1.13 * @since 2.0
*/ */
public List<String> getList() { public List<String> getList() {
return list; return list;

View File

@ -13,7 +13,7 @@ import org.bukkit.event.EventPriority;
* If the transaction fails, this should be checked in a listener with * If the transaction fails, this should be checked in a listener with
* {@link EventPriority#MONITOR}. * {@link EventPriority#MONITOR}.
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopBuySellEvent extends ShopEvent implements Cancellable { public class ShopBuySellEvent extends ShopEvent implements Cancellable {
private Type type; private Type type;
@ -32,7 +32,7 @@ public class ShopBuySellEvent extends ShopEvent implements Cancellable {
* Gets whether the type of transaction is a buy or a sell * Gets whether the type of transaction is a buy or a sell
* *
* @return the type of transaction * @return the type of transaction
* @since 1.13 * @since 2.0
*/ */
public Type getType() { public Type getType() {
return type; return type;
@ -43,7 +43,7 @@ public class ShopBuySellEvent extends ShopEvent implements Cancellable {
* calculation * calculation
* *
* @return the amount * @return the amount
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -55,7 +55,7 @@ public class ShopBuySellEvent extends ShopEvent implements Cancellable {
* This might not be equal to the amount specified in {@link Shop#getProduct()}. * This might not be equal to the amount specified in {@link Shop#getProduct()}.
* *
* @param amount the amount * @param amount the amount
* @since 1.13 * @since 2.0
*/ */
public void setAmount(int amount) { public void setAmount(int amount) {
this.amount = amount; this.amount = amount;
@ -68,7 +68,7 @@ public class ShopBuySellEvent extends ShopEvent implements Cancellable {
* {@link Shop#getSellPrice()}. * {@link Shop#getSellPrice()}.
* *
* @return the price * @return the price
* @since 1.13 * @since 2.0
*/ */
public double getPrice() { public double getPrice() {
return price; return price;
@ -79,7 +79,7 @@ public class ShopBuySellEvent extends ShopEvent implements Cancellable {
* receive * receive
* *
* @param price the price * @param price the price
* @since 1.13 * @since 2.0
*/ */
public void setPrice(double price) { public void setPrice(double price) {
this.price = price; this.price = price;

View File

@ -7,7 +7,7 @@ import org.bukkit.event.Cancellable;
/** /**
* Called when a player clicks a chest to create a shop * Called when a player clicks a chest to create a shop
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopCreateEvent extends ShopEvent implements Cancellable { public class ShopCreateEvent extends ShopEvent implements Cancellable {
private double creationPrice; private double creationPrice;
@ -24,7 +24,7 @@ public class ShopCreateEvent extends ShopEvent implements Cancellable {
* The price is only paid if the event is not cancelled. * The price is only paid if the event is not cancelled.
* *
* @return the creation price * @return the creation price
* @since 1.13 * @since 2.0
*/ */
public double getCreationPrice() { public double getCreationPrice() {
return creationPrice; return creationPrice;

View File

@ -13,7 +13,7 @@ import de.epiceric.shopchest.api.shop.Shop;
* Called when a player clicks a chest to edit a shop * Called when a player clicks a chest to edit a shop
* *
* @see ShopSelectItemEvent * @see ShopSelectItemEvent
* @since 1.13 * @since 2.0
*/ */
public class ShopEditEvent extends ShopEvent implements Cancellable { public class ShopEditEvent extends ShopEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -36,7 +36,7 @@ public class ShopEditEvent extends ShopEvent implements Cancellable {
* Gets the new item stack the shop will sell or buy * Gets the new item stack the shop will sell or buy
* *
* @return the new product, or the old product if it has not been set * @return the new product, or the old product if it has not been set
* @since 1.13 * @since 2.0
*/ */
public ItemStack getItemStack() { public ItemStack getItemStack() {
return Optional.ofNullable(itemStack).orElse(getShop().getProduct().getItemStack()); return Optional.ofNullable(itemStack).orElse(getShop().getProduct().getItemStack());
@ -46,7 +46,7 @@ public class ShopEditEvent extends ShopEvent implements Cancellable {
* Gets the new amount of items the shop will sell or buy * Gets the new amount of items the shop will sell or buy
* *
* @return the new amount, or the old amount if it has not been set * @return the new amount, or the old amount if it has not been set
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount == -1 ? getShop().getProduct().getAmount() : amount; return amount == -1 ? getShop().getProduct().getAmount() : amount;
@ -56,7 +56,7 @@ public class ShopEditEvent extends ShopEvent implements Cancellable {
* Gets the new price for which players will be able to buy from the shop * Gets the new price for which players will be able to buy from the shop
* *
* @return the new buy price, or the old buy price if it has not been set * @return the new buy price, or the old buy price if it has not been set
* @since 1.13 * @since 2.0
*/ */
public double getBuyPrice() { public double getBuyPrice() {
return buyPrice == -1 ? getShop().getBuyPrice() : buyPrice; return buyPrice == -1 ? getShop().getBuyPrice() : buyPrice;
@ -66,7 +66,7 @@ public class ShopEditEvent extends ShopEvent implements Cancellable {
* Gets the new price for which players will be able to sell to the shop * Gets the new price for which players will be able to sell to the shop
* *
* @return the new sell price, or the old sell price if it has not been set * @return the new sell price, or the old sell price if it has not been set
* @since 1.13 * @since 2.0
*/ */
public double getSellPrice() { public double getSellPrice() {
return sellPrice == -1 ? getShop().getSellPrice() : sellPrice; return sellPrice == -1 ? getShop().getSellPrice() : sellPrice;

View File

@ -8,7 +8,7 @@ import org.bukkit.event.HandlerList;
/** /**
* Represents a shop related event * Represents a shop related event
* *
* @since 1.13 * @since 2.0
*/ */
public abstract class ShopEvent extends Event { public abstract class ShopEvent extends Event {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -25,7 +25,7 @@ public abstract class ShopEvent extends Event {
* Get the shop which is involved in this event * Get the shop which is involved in this event
* *
* @return the shop * @return the shop
* @since 1.13 * @since 2.0
*/ */
public Shop getShop() { public Shop getShop() {
return shop; return shop;
@ -35,7 +35,7 @@ public abstract class ShopEvent extends Event {
* Gets the player who is involved in this event * Gets the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;

View File

@ -9,7 +9,7 @@ import org.bukkit.event.Cancellable;
/** /**
* Called when a player extends a shop's chest to a double chest * Called when a player extends a shop's chest to a double chest
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopExtendEvent extends ShopEvent implements Cancellable { public class ShopExtendEvent extends ShopEvent implements Cancellable {
private boolean cancelled; private boolean cancelled;
@ -24,7 +24,7 @@ public class ShopExtendEvent extends ShopEvent implements Cancellable {
* Gets the location of the placed chest * Gets the location of the placed chest
* *
* @return the location of the placed chest * @return the location of the placed chest
* @since 1.13 * @since 2.0
*/ */
public Location getNewChestLocation() { public Location getNewChestLocation() {
return newChestLocation; return newChestLocation;

View File

@ -7,7 +7,7 @@ import org.bukkit.event.Cancellable;
/** /**
* Called when a player clicks a shop to retrieve information about it * Called when a player clicks a shop to retrieve information about it
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopInfoEvent extends ShopEvent implements Cancellable { public class ShopInfoEvent extends ShopEvent implements Cancellable {
private boolean cancelled; private boolean cancelled;

View File

@ -11,7 +11,7 @@ import de.epiceric.shopchest.api.shop.Shop;
/** /**
* Called after shops are loaded from the database due to a chunk load * Called after shops are loaded from the database due to a chunk load
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopLoadedEvent extends Event { public class ShopLoadedEvent extends Event {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -26,7 +26,7 @@ public class ShopLoadedEvent extends Event {
* Gets the shops that have been loaded * Gets the shops that have been loaded
* *
* @return the shops * @return the shops
* @since 1.13 * @since 2.0
*/ */
public Collection<Shop> getShops() { public Collection<Shop> getShops() {
return shops; return shops;

View File

@ -7,7 +7,7 @@ import org.bukkit.event.Cancellable;
/** /**
* Called when a player clicks a shop to open it * Called when a player clicks a shop to open it
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopOpenEvent extends ShopEvent implements Cancellable { public class ShopOpenEvent extends ShopEvent implements Cancellable {
private boolean cancelled; private boolean cancelled;

View File

@ -14,7 +14,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
* creative inventory to cancel shop creation. * creative inventory to cancel shop creation.
* *
* @see ShopSelectItemEvent * @see ShopSelectItemEvent
* @since 1.13 * @since 2.0
*/ */
public class ShopPreCreateEvent extends Event implements Cancellable { public class ShopPreCreateEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -40,7 +40,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets the player who is involved in this event * Gets the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;
@ -50,7 +50,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets the item stack the shop will sell or buy * Gets the item stack the shop will sell or buy
* *
* @return the product or {@code null} if it has not been selected * @return the product or {@code null} if it has not been selected
* @since 1.13 * @since 2.0
*/ */
public ItemStack getItemStack() { public ItemStack getItemStack() {
return itemStack == null ? null : itemStack.clone(); return itemStack == null ? null : itemStack.clone();
@ -60,7 +60,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets the amount of items the shop will sell or buy * Gets the amount of items the shop will sell or buy
* *
* @return the amount * @return the amount
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -70,7 +70,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets whether the item has already been selected * Gets whether the item has already been selected
* *
* @return whether the item has been selected * @return whether the item has been selected
* @since 1.13 * @since 2.0
*/ */
public boolean isItemSelected() { public boolean isItemSelected() {
return getItemStack() != null; return getItemStack() != null;
@ -80,7 +80,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets the price for which players will be able to buy from the shop * Gets the price for which players will be able to buy from the shop
* *
* @return the buy price * @return the buy price
* @since 1.13 * @since 2.0
*/ */
public double getBuyPrice() { public double getBuyPrice() {
return buyPrice; return buyPrice;
@ -90,7 +90,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets the price for which players will be able to sell to the shop * Gets the price for which players will be able to sell to the shop
* *
* @return the sell price * @return the sell price
* @since 1.13 * @since 2.0
*/ */
public double getSellPrice() { public double getSellPrice() {
return sellPrice; return sellPrice;
@ -100,7 +100,7 @@ public class ShopPreCreateEvent extends Event implements Cancellable {
* Gets whether the shop will be an admin shop * Gets whether the shop will be an admin shop
* *
* @return whether the shop will be an admin shop * @return whether the shop will be an admin shop
* @since 1.13 * @since 2.0
*/ */
public boolean isAdminShop() { public boolean isAdminShop() {
return admin; return admin;

View File

@ -14,7 +14,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
* creative inventory to cancel the shop edit. * creative inventory to cancel the shop edit.
* *
* @see ShopSelectItemEvent * @see ShopSelectItemEvent
* @since 1.13 * @since 2.0
*/ */
public class ShopPreEditEvent extends Event implements Cancellable { public class ShopPreEditEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -40,7 +40,7 @@ public class ShopPreEditEvent extends Event implements Cancellable {
* Gets the player who is involved in this event * Gets the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;
@ -50,7 +50,7 @@ public class ShopPreEditEvent extends Event implements Cancellable {
* Gets the item stack the shop will sell or buy * Gets the item stack the shop will sell or buy
* *
* @return the product or null if it has not been selected (yet) * @return the product or null if it has not been selected (yet)
* @since 1.13 * @since 2.0
*/ */
public ItemStack getItemStack() { public ItemStack getItemStack() {
return itemStack == null ? null : itemStack.clone(); return itemStack == null ? null : itemStack.clone();
@ -69,7 +69,7 @@ public class ShopPreEditEvent extends Event implements Cancellable {
* Gets the amount the player has set * Gets the amount the player has set
* *
* @return the amount or -1 if no amount was set * @return the amount or -1 if no amount was set
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -88,7 +88,7 @@ public class ShopPreEditEvent extends Event implements Cancellable {
* Gets the buy price the player has set * Gets the buy price the player has set
* *
* @return the buy price or -1 if no buy price was set * @return the buy price or -1 if no buy price was set
* @since 1.13 * @since 2.0
*/ */
public double getBuyPrice() { public double getBuyPrice() {
return buyPrice; return buyPrice;
@ -107,7 +107,7 @@ public class ShopPreEditEvent extends Event implements Cancellable {
* Gets the sell price the player has set * Gets the sell price the player has set
* *
* @return the sell price or -1 if no sell price was set * @return the sell price or -1 if no sell price was set
* @since 1.13 * @since 2.0
*/ */
public double getSellPrice() { public double getSellPrice() {
return sellPrice; return sellPrice;

View File

@ -9,7 +9,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
/** /**
* Called when a player enters the command to retrieve information about a shop * Called when a player enters the command to retrieve information about a shop
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopPreInfoEvent extends Event implements Cancellable { public class ShopPreInfoEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -25,7 +25,7 @@ public class ShopPreInfoEvent extends Event implements Cancellable {
* Gets the player who is involved in this event * Gets the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;

View File

@ -9,7 +9,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
/** /**
* Called when a player enters the command to open a shop * Called when a player enters the command to open a shop
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopPreOpenEvent extends Event implements Cancellable { public class ShopPreOpenEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -25,7 +25,7 @@ public class ShopPreOpenEvent extends Event implements Cancellable {
* Get the player who is involved in this event * Get the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;

View File

@ -9,7 +9,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
/** /**
* Called when a player enters the command to remove a shop * Called when a player enters the command to remove a shop
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopPreRemoveEvent extends Event implements Cancellable { public class ShopPreRemoveEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -25,7 +25,7 @@ public class ShopPreRemoveEvent extends Event implements Cancellable {
* Gets the player who is involved in this event * Gets the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;

View File

@ -8,7 +8,7 @@ import org.bukkit.event.HandlerList;
/** /**
* Called when the shops are reloaded by a command * Called when the shops are reloaded by a command
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopReloadEvent extends Event implements Cancellable { public class ShopReloadEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -24,7 +24,7 @@ public class ShopReloadEvent extends Event implements Cancellable {
* Gets the sender that entered the reload command * Gets the sender that entered the reload command
* *
* @return the sender * @return the sender
* @since 1.13 * @since 2.0
*/ */
public CommandSender getSender() { public CommandSender getSender() {
return sender; return sender;

View File

@ -12,7 +12,7 @@ import java.util.List;
/** /**
* Called when a player enters the command to remove all shops of a player * Called when a player enters the command to remove all shops of a player
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopRemoveAllEvent extends Event implements Cancellable { public class ShopRemoveAllEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -32,7 +32,7 @@ public class ShopRemoveAllEvent extends Event implements Cancellable {
* Gets the sender that entered the reload command * Gets the sender that entered the reload command
* *
* @return the sender * @return the sender
* @since 1.13 * @since 2.0
*/ */
public CommandSender getSender() { public CommandSender getSender() {
return sender; return sender;
@ -42,7 +42,7 @@ public class ShopRemoveAllEvent extends Event implements Cancellable {
* Gets the player whose shops will be removed * Gets the player whose shops will be removed
* *
* @return the vendor * @return the vendor
* @since 1.13 * @since 2.0
*/ */
public OfflinePlayer getVendor() { public OfflinePlayer getVendor() {
return vendor; return vendor;
@ -54,7 +54,7 @@ public class ShopRemoveAllEvent extends Event implements Cancellable {
* This list can be modified to include or exclude certain shops. * This list can be modified to include or exclude certain shops.
* *
* @return a modifiable list of shops * @return a modifiable list of shops
* @since 1.13 * @since 2.0
*/ */
public List<Shop> getShops() { public List<Shop> getShops() {
return shops; return shops;

View File

@ -7,7 +7,7 @@ import org.bukkit.event.Cancellable;
/** /**
* Called when a player enters the command to remove a shop * Called when a player enters the command to remove a shop
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopRemoveEvent extends ShopEvent implements Cancellable { public class ShopRemoveEvent extends ShopEvent implements Cancellable {
private boolean cancelled; private boolean cancelled;

View File

@ -11,7 +11,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
/** /**
* Called when a player has selected an item * Called when a player has selected an item
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopSelectItemEvent extends Event implements Cancellable { public class ShopSelectItemEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();
@ -37,7 +37,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* Gets the player who is involved in this event * Gets the player who is involved in this event
* *
* @return the player * @return the player
* @since 1.13 * @since 2.0
*/ */
public ShopPlayer getPlayer() { public ShopPlayer getPlayer() {
return player; return player;
@ -47,7 +47,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* Gets the item the player has selected * Gets the item the player has selected
* *
* @return the item * @return the item
* @since 1.13 * @since 2.0
*/ */
public ItemStack getItem() { public ItemStack getItem() {
return item; return item;
@ -59,7 +59,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* If {@code item} is {@code null}, the event will be cancelled. * If {@code item} is {@code null}, the event will be cancelled.
* *
* @param item the item * @param item the item
* @since 1.13 * @since 2.0
*/ */
public void setItem(ItemStack item) { public void setItem(ItemStack item) {
if (item == null) { if (item == null) {
@ -74,7 +74,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* Gets the amount of items the player wants to sell or buy at the shop * Gets the amount of items the player wants to sell or buy at the shop
* *
* @return the amount * @return the amount
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -84,7 +84,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* Gets the price for which players will be able to buy from the shop * Gets the price for which players will be able to buy from the shop
* *
* @return the buy price * @return the buy price
* @since 1.13 * @since 2.0
*/ */
public double getBuyPrice() { public double getBuyPrice() {
return buyPrice; return buyPrice;
@ -94,7 +94,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* Gets the price for which players will be able to sell to the shop * Gets the price for which players will be able to sell to the shop
* *
* @return the sell price * @return the sell price
* @since 1.13 * @since 2.0
*/ */
public double getSellPrice() { public double getSellPrice() {
return sellPrice; return sellPrice;
@ -106,7 +106,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* @return whether the shop will be an admin shop * @return whether the shop will be an admin shop
* @see #isNormalShop() * @see #isNormalShop()
* @see #isEditingShop() * @see #isEditingShop()
* @since 1.13 * @since 2.0
*/ */
public boolean isAdminShop() { public boolean isAdminShop() {
return type == SelectFlag.Type.ADMIN; return type == SelectFlag.Type.ADMIN;
@ -118,7 +118,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* @return whether the shop will be a normal shop * @return whether the shop will be a normal shop
* @see #isAdminShop() * @see #isAdminShop()
* @see #isEditingShop() * @see #isEditingShop()
* @since 1.13 * @since 2.0
*/ */
public boolean isNormalShop() { public boolean isNormalShop() {
return type == SelectFlag.Type.NORMAL; return type == SelectFlag.Type.NORMAL;
@ -130,7 +130,7 @@ public class ShopSelectItemEvent extends Event implements Cancellable {
* @return whether the shop is being edited * @return whether the shop is being edited
* @see #isAdminShop() * @see #isAdminShop()
* @see #isNormalShop() * @see #isNormalShop()
* @since 1.13 * @since 2.0
*/ */
public boolean isEditingShop() { public boolean isEditingShop() {
return type == SelectFlag.Type.EDIT; return type == SelectFlag.Type.EDIT;

View File

@ -13,7 +13,7 @@ import org.bukkit.event.EventPriority;
* If the transaction fails, this should be checked in a listener with * If the transaction fails, this should be checked in a listener with
* {@link EventPriority#MONITOR}. * {@link EventPriority#MONITOR}.
* *
* @since 1.13 * @since 2.0
*/ */
public class ShopUseEvent extends ShopEvent implements Cancellable { public class ShopUseEvent extends ShopEvent implements Cancellable {
private Type type; private Type type;
@ -32,7 +32,7 @@ public class ShopUseEvent extends ShopEvent implements Cancellable {
* Gets whether the shop use is a buy or a sell * Gets whether the shop use is a buy or a sell
* *
* @return the type of shop use * @return the type of shop use
* @since 1.13 * @since 2.0
*/ */
public Type getType() { public Type getType() {
return type; return type;
@ -43,7 +43,7 @@ public class ShopUseEvent extends ShopEvent implements Cancellable {
* calculation * calculation
* *
* @return the amount * @return the amount
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -55,7 +55,7 @@ public class ShopUseEvent extends ShopEvent implements Cancellable {
* This might not be equal to the amount specified in {@link Shop#getProduct()}. * This might not be equal to the amount specified in {@link Shop#getProduct()}.
* *
* @param amount the amount * @param amount the amount
* @since 1.13 * @since 2.0
*/ */
public void setAmount(int amount) { public void setAmount(int amount) {
this.amount = amount; this.amount = amount;
@ -68,7 +68,7 @@ public class ShopUseEvent extends ShopEvent implements Cancellable {
* {@link Shop#getSellPrice()} due to automatic item amount calculation. * {@link Shop#getSellPrice()} due to automatic item amount calculation.
* *
* @return the price * @return the price
* @since 1.13 * @since 2.0
*/ */
public double getPrice() { public double getPrice() {
return price; return price;
@ -79,7 +79,7 @@ public class ShopUseEvent extends ShopEvent implements Cancellable {
* receive * receive
* *
* @param price the price * @param price the price
* @since 1.13 * @since 2.0
*/ */
public void setPrice(double price) { public void setPrice(double price) {
this.price = price; this.price = price;

View File

@ -34,7 +34,7 @@ public class EditFlag extends TimedFlag {
* Gets the amount the player has set * Gets the amount the player has set
* *
* @return the amount or -1 if no amount was set * @return the amount or -1 if no amount was set
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -44,7 +44,7 @@ public class EditFlag extends TimedFlag {
* Gets the buy price the player has set * Gets the buy price the player has set
* *
* @return the buy price or -1 if no buy price was set * @return the buy price or -1 if no buy price was set
* @since 1.13 * @since 2.0
*/ */
public double getBuyPrice() { public double getBuyPrice() {
return buyPrice; return buyPrice;
@ -54,7 +54,7 @@ public class EditFlag extends TimedFlag {
* Gets the sell price the player has set * Gets the sell price the player has set
* *
* @return the sell price or -1 if no sell price was set * @return the sell price or -1 if no sell price was set
* @since 1.13 * @since 2.0
*/ */
public double getSellPrice() { public double getSellPrice() {
return sellPrice; return sellPrice;

View File

@ -5,7 +5,7 @@ import de.epiceric.shopchest.api.player.ShopPlayer;
/** /**
* Represents a flag a player can have * Represents a flag a player can have
* *
* @since 1.13 * @since 2.0
*/ */
public interface Flag { public interface Flag {
@ -13,7 +13,7 @@ public interface Flag {
* Called when this flag is assigned to a player * Called when this flag is assigned to a player
* *
* @param player the player * @param player the player
* @since 1.13 * @since 2.0
*/ */
default void onAssign(ShopPlayer player) {}; default void onAssign(ShopPlayer player) {};
@ -23,7 +23,7 @@ public interface Flag {
* The flag will be removed after this method is called. * The flag will be removed after this method is called.
* *
* @param player the player * @param player the player
* @since 1.13 * @since 2.0
*/ */
default void onRemove(ShopPlayer player) {}; default void onRemove(ShopPlayer player) {};
} }

View File

@ -13,7 +13,7 @@ import de.epiceric.shopchest.api.shop.Shop;
/** /**
* A wrapper for a {@link Player} with additional functions * A wrapper for a {@link Player} with additional functions
* *
* @since 1.13 * @since 2.0
*/ */
public interface ShopPlayer { public interface ShopPlayer {
@ -21,7 +21,7 @@ public interface ShopPlayer {
* Gets the wrapped Bukkit player * Gets the wrapped Bukkit player
* *
* @return the wrapped player * @return the wrapped player
* @since 1.13 * @since 2.0
*/ */
Player getBukkitPlayer(); Player getBukkitPlayer();
@ -32,7 +32,7 @@ public interface ShopPlayer {
* *
* @param message the message (a format string) * @param message the message (a format string)
* @param args the arguments referenced by the format * @param args the arguments referenced by the format
* @since 1.13 * @since 2.0
*/ */
default void sendMessage(String message, Object... args) { default void sendMessage(String message, Object... args) {
getBukkitPlayer().sendMessage(MessageFormat.format(message, args)); getBukkitPlayer().sendMessage(MessageFormat.format(message, args));
@ -52,7 +52,7 @@ public interface ShopPlayer {
* Gets this player's flag * Gets this player's flag
* *
* @return the flag or an empty optional if the player does not have one * @return the flag or an empty optional if the player does not have one
* @since 1.13 * @since 2.0
*/ */
Optional<Flag> getFlag(); Optional<Flag> getFlag();
@ -60,7 +60,7 @@ public interface ShopPlayer {
* Sets this player's flag * Sets this player's flag
* *
* @param flag the flag * @param flag the flag
* @since 1.13 * @since 2.0
*/ */
void setFlag(Flag flag); void setFlag(Flag flag);
@ -68,7 +68,7 @@ public interface ShopPlayer {
* Gets whether this player has a flag * Gets whether this player has a flag
* *
* @return whether this player has a flag * @return whether this player has a flag
* @since 1.13 * @since 2.0
*/ */
default boolean hasFlag() { default boolean hasFlag() {
return getFlag().isPresent(); return getFlag().isPresent();
@ -77,7 +77,7 @@ public interface ShopPlayer {
/** /**
* Removes this player's flag * Removes this player's flag
* *
* @since 1.13 * @since 2.0
*/ */
default void removeFlag() { default void removeFlag() {
setFlag(null); setFlag(null);
@ -89,7 +89,7 @@ public interface ShopPlayer {
* If the player has no shop limit {@link Integer#MAX_VALUE} is returned. * If the player has no shop limit {@link Integer#MAX_VALUE} is returned.
* *
* @return the shop limit * @return the shop limit
* @since 1.13 * @since 2.0
*/ */
int getShopLimit(); int getShopLimit();
@ -99,7 +99,7 @@ public interface ShopPlayer {
* This number includes shops that are not loaded. * This number includes shops that are not loaded.
* *
* @return the amount of shops * @return the amount of shops
* @since 1.13 * @since 2.0
*/ */
int getShopAmount(); int getShopAmount();
@ -107,7 +107,7 @@ public interface ShopPlayer {
* Gets the loaded shops this player owns * Gets the loaded shops this player owns
* *
* @return a collection of shops * @return a collection of shops
* @since 1.13 * @since 2.0
* @see ShopManager#getShops(org.bukkit.OfflinePlayer) * @see ShopManager#getShops(org.bukkit.OfflinePlayer)
*/ */
Collection<Shop> getShops(); Collection<Shop> getShops();
@ -117,7 +117,7 @@ public interface ShopPlayer {
* *
* @param shop the shop * @param shop the shop
* @return whether this player is the vendor * @return whether this player is the vendor
* @since 1.13 * @since 2.0
*/ */
default boolean isVendor(Shop shop) { default boolean isVendor(Shop shop) {
return shop != null && shop.getVendor() return shop != null && shop.getVendor()

View File

@ -13,7 +13,7 @@ import de.epiceric.shopchest.api.exceptions.ChestNotFoundException;
/** /**
* Represents a shop * Represents a shop
* *
* @since 1.13 * @since 2.0
* @see ShopManager#addShop(OfflinePlayer, ShopProduct, Location, double, double) * @see ShopManager#addShop(OfflinePlayer, ShopProduct, Location, double, double)
* @see ShopManager#addAdminShop(ShopProduct, Location, double, double) * @see ShopManager#addAdminShop(ShopProduct, Location, double, double)
*/ */
@ -24,7 +24,7 @@ public interface Shop {
* *
* @return the ID * @return the ID
* @throws IllegalStateException if the shop has not been added to the database yet * @throws IllegalStateException if the shop has not been added to the database yet
* @since 1.13 * @since 2.0
*/ */
int getId(); int getId();
@ -32,7 +32,7 @@ public interface Shop {
* Gets the player who owns this shop * Gets the player who owns this shop
* *
* @return the vendor or an empty optional if this shop is an admin shop * @return the vendor or an empty optional if this shop is an admin shop
* @since 1.13 * @since 2.0
*/ */
Optional<OfflinePlayer> getVendor(); Optional<OfflinePlayer> getVendor();
@ -40,7 +40,7 @@ public interface Shop {
* Gets a copy of the product this shop is buying or selling * Gets a copy of the product this shop is buying or selling
* *
* @return the product * @return the product
* @since 1.13 * @since 2.0
*/ */
ShopProduct getProduct(); ShopProduct getProduct();
@ -50,7 +50,7 @@ public interface Shop {
* If the shop is on a double chest, it returns one of the chest's location. * If the shop is on a double chest, it returns one of the chest's location.
* *
* @return the location * @return the location
* @since 1.13 * @since 2.0
*/ */
Location getLocation(); Location getLocation();
@ -58,7 +58,7 @@ public interface Shop {
* Gets the world this shop is located in * Gets the world this shop is located in
* *
* @return the world * @return the world
* @since 1.13 * @since 2.0
*/ */
default World getWorld() { default World getWorld() {
return getLocation().getWorld(); return getLocation().getWorld();
@ -68,7 +68,7 @@ public interface Shop {
* Gets whether this shop is on a double chest * Gets whether this shop is on a double chest
* *
* @return whether the shop is on a double chest * @return whether the shop is on a double chest
* @since 1.13 * @since 2.0
*/ */
boolean isDoubleChest(); boolean isDoubleChest();
@ -77,7 +77,7 @@ public interface Shop {
* *
* @return the inventory * @return the inventory
* @throws ChestNotFoundException when there is no chest at the shop's location * @throws ChestNotFoundException when there is no chest at the shop's location
* @since 1.13 * @since 2.0
*/ */
Inventory getInventory() throws ChestNotFoundException; Inventory getInventory() throws ChestNotFoundException;
@ -85,7 +85,7 @@ public interface Shop {
* Gets whether this shop is an admin shop * Gets whether this shop is an admin shop
* *
* @return whether this shop is an admin shop * @return whether this shop is an admin shop
* @since 1.13 * @since 2.0
*/ */
default boolean isAdminShop() { default boolean isAdminShop() {
return !getVendor().isPresent(); return !getVendor().isPresent();
@ -95,7 +95,7 @@ public interface Shop {
* Gets the price for which a player can buy the product from this shop * Gets the price for which a player can buy the product from this shop
* *
* @return the buy price * @return the buy price
* @since 1.13 * @since 2.0
*/ */
double getBuyPrice(); double getBuyPrice();
@ -103,7 +103,7 @@ public interface Shop {
* Gets whether a player can buy from this shop * Gets whether a player can buy from this shop
* *
* @return whether buying is enabled * @return whether buying is enabled
* @since 1.13 * @since 2.0
*/ */
default boolean canPlayerBuy() { default boolean canPlayerBuy() {
return getBuyPrice() > 0; return getBuyPrice() > 0;
@ -113,7 +113,7 @@ public interface Shop {
* Gets the price for which a player can sell the product to this shop * Gets the price for which a player can sell the product to this shop
* *
* @return the sell price * @return the sell price
* @since 1.13 * @since 2.0
*/ */
double getSellPrice(); double getSellPrice();
@ -121,7 +121,7 @@ public interface Shop {
* Gets whether a player can sell to this shop * Gets whether a player can sell to this shop
* *
* @return whether selling is enabled * @return whether selling is enabled
* @since 1.13 * @since 2.0
*/ */
default boolean canPlayerSell() { default boolean canPlayerSell() {
return getSellPrice() > 0; return getSellPrice() > 0;

View File

@ -5,7 +5,7 @@ import org.bukkit.inventory.ItemStack;
/** /**
* Represents the item that can be bought or sold in one transaction * Represents the item that can be bought or sold in one transaction
* *
* @since 1.13 * @since 2.0
*/ */
public abstract class ShopProduct implements Cloneable { public abstract class ShopProduct implements Cloneable {
private ItemStack itemStack; private ItemStack itemStack;
@ -20,7 +20,7 @@ public abstract class ShopProduct implements Cloneable {
* Gets a copy of this product's {@link ItemStack} with an amount of one * Gets a copy of this product's {@link ItemStack} with an amount of one
* *
* @return the item * @return the item
* @since 1.13 * @since 2.0
*/ */
public ItemStack getItemStack() { public ItemStack getItemStack() {
return itemStack.clone(); return itemStack.clone();
@ -32,7 +32,7 @@ public abstract class ShopProduct implements Cloneable {
* The passed item stack will be copied and its amount set to one. * The passed item stack will be copied and its amount set to one.
* *
* @param itemStack the item * @param itemStack the item
* @since 1.13 * @since 2.0
*/ */
public void setItemStack(ItemStack itemStack) { public void setItemStack(ItemStack itemStack) {
this.itemStack = itemStack.clone(); this.itemStack = itemStack.clone();
@ -43,7 +43,7 @@ public abstract class ShopProduct implements Cloneable {
* Gets the amount of items bought or sold in one transaction * Gets the amount of items bought or sold in one transaction
* *
* @return the amount * @return the amount
* @since 1.13 * @since 2.0
*/ */
public int getAmount() { public int getAmount() {
return amount; return amount;
@ -53,7 +53,7 @@ public abstract class ShopProduct implements Cloneable {
* Sets the amount of items bought or sold in one transaction * Sets the amount of items bought or sold in one transaction
* *
* @param amount the amount * @param amount the amount
* @since 1.13 * @since 2.0
*/ */
public void setAmount(int amount) { public void setAmount(int amount) {
this.amount = amount; this.amount = amount;
@ -63,7 +63,7 @@ public abstract class ShopProduct implements Cloneable {
* Gets the localized name of this product's item in the configured langauge file * Gets the localized name of this product's item in the configured langauge file
* *
* @return the localized name * @return the localized name
* @since 1.13 * @since 2.0
*/ */
public abstract String getLocalizedName(); public abstract String getLocalizedName();

View File

@ -6,7 +6,7 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest</artifactId> <artifactId>shopchest</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest</name> <name>ShopChest</name>
<url>https://www.spigotmc.org/resources/shopchest.11431/</url> <url>https://www.spigotmc.org/resources/shopchest.11431/</url>
@ -15,7 +15,7 @@
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<repositories> <repositories>
@ -41,12 +41,12 @@
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-api</artifactId> <artifactId>shopchest-api</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms</artifactId> <artifactId>shopchest-nms</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.bstats</groupId> <groupId>org.bstats</groupId>

View File

@ -38,7 +38,7 @@ public class ShopCommandImpl extends ShopCommand {
* Gets the {@link PluginCommand plugin command} for registering the command * Gets the {@link PluginCommand plugin command} for registering the command
* *
* @return the plugin command * @return the plugin command
* @since 1.13 * @since 2.0
*/ */
public PluginCommand getPluginCommand() { public PluginCommand getPluginCommand() {
if (pluginCommand == null) { if (pluginCommand == null) {

View File

@ -190,7 +190,7 @@ public class ShopImpl implements Shop {
* @param buyPrice the buy price * @param buyPrice the buy price
* @throws IllegalStateException when a player can neither buy nor sell from this shop * @throws IllegalStateException when a player can neither buy nor sell from this shop
* @see Database#updateShop(Shop) * @see Database#updateShop(Shop)
* @since 1.13 * @since 2.0
*/ */
public void setBuyPrice(double buyPrice) { public void setBuyPrice(double buyPrice) {
if (buyPrice <= 0 && !canPlayerSell()) { if (buyPrice <= 0 && !canPlayerSell()) {
@ -214,7 +214,7 @@ public class ShopImpl implements Shop {
* @param sellPrice the sell price * @param sellPrice the sell price
* @throws IllegalStateException when a player can neither buy nor sell from this shop * @throws IllegalStateException when a player can neither buy nor sell from this shop
* @see Database#updateShop(Shop) * @see Database#updateShop(Shop)
* @since 1.13 * @since 2.0
*/ */
public void setSellPrice(double sellPrice) { public void setSellPrice(double sellPrice) {
if (sellPrice <= 0 && !canPlayerBuy()) { if (sellPrice <= 0 && !canPlayerBuy()) {

View File

@ -6,14 +6,14 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms</artifactId> <artifactId>shopchest-nms</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS</name> <name>ShopChest NMS</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>

View File

@ -6,13 +6,13 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS Interfaces</name> <name>ShopChest NMS Interfaces</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
</project> </project>

View File

@ -6,7 +6,7 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
@ -31,6 +31,6 @@
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
</project> </project>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v10r1</artifactId> <artifactId>shopchest-nms-v10r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.10-R1</name> <name>ShopChest NMS v1.10-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v11r1</artifactId> <artifactId>shopchest-nms-v11r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.11-R1</name> <name>ShopChest NMS v1.11-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v12r1</artifactId> <artifactId>shopchest-nms-v12r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.12-R1</name> <name>ShopChest NMS v1.12-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v13r1</artifactId> <artifactId>shopchest-nms-v13r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.13-R1</name> <name>ShopChest NMS v1.13-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v13r2</artifactId> <artifactId>shopchest-nms-v13r2</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.13-R2</name> <name>ShopChest NMS v1.13-R2</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v14r1</artifactId> <artifactId>shopchest-nms-v14r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.14-R1</name> <name>ShopChest NMS v1.14-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v15r1</artifactId> <artifactId>shopchest-nms-v15r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.15-R1</name> <name>ShopChest NMS v1.15-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v8r1</artifactId> <artifactId>shopchest-nms-v8r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.8-R1</name> <name>ShopChest NMS v1.8-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v8r2</artifactId> <artifactId>shopchest-nms-v8r2</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.8-R2</name> <name>ShopChest NMS v1.8-R2</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v8r3</artifactId> <artifactId>shopchest-nms-v8r3</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.8-R3</name> <name>ShopChest NMS v1.8-R3</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v9r1</artifactId> <artifactId>shopchest-nms-v9r1</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.9-R1</name> <name>ShopChest NMS v1.9-R1</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,21 +6,21 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-v9r2</artifactId> <artifactId>shopchest-nms-v9r2</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>ShopChest NMS v1.9-R2</name> <name>ShopChest NMS v1.9-R2</name>
<parent> <parent>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-parent</artifactId> <artifactId>shopchest-nms-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-nms-interfaces</artifactId> <artifactId>shopchest-nms-interfaces</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View File

@ -6,7 +6,7 @@
<groupId>de.epiceric.shopchest</groupId> <groupId>de.epiceric.shopchest</groupId>
<artifactId>shopchest-parent</artifactId> <artifactId>shopchest-parent</artifactId>
<version>1.13-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>