mirror of
https://github.com/songoda/EpicVouchers.git
synced 2024-11-21 17:45:48 +01:00
Move classes from package com.songoda
to com.craftaro
This commit is contained in:
parent
bdf5caec99
commit
b859303553
6
pom.xml
6
pom.xml
@ -4,8 +4,8 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>EpicVouchers</artifactId>
|
||||
<groupId>com.craftaro</groupId>
|
||||
<artifactId>EpicVouchers-Plugin</artifactId>
|
||||
<version>2.2.6</version>
|
||||
|
||||
<name>EpicVouchers</name>
|
||||
@ -44,7 +44,7 @@
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>com.craftaro.core</pattern>
|
||||
<shadedPattern>com.songoda.epicvouchers.core</shadedPattern>
|
||||
<shadedPattern>com.craftaro.epicvouchers.core</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers;
|
||||
package com.craftaro.epicvouchers;
|
||||
|
||||
import com.craftaro.core.SongodaCore;
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
@ -6,26 +6,26 @@ import com.craftaro.core.commands.CommandManager;
|
||||
import com.craftaro.core.configuration.Config;
|
||||
import com.craftaro.core.gui.GuiManager;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.songoda.epicvouchers.commands.CommandEditor;
|
||||
import com.songoda.epicvouchers.commands.CommandEpicVouchers;
|
||||
import com.songoda.epicvouchers.commands.CommandForce;
|
||||
import com.songoda.epicvouchers.commands.CommandForceAll;
|
||||
import com.songoda.epicvouchers.commands.CommandGive;
|
||||
import com.songoda.epicvouchers.commands.CommandGiveAll;
|
||||
import com.songoda.epicvouchers.commands.CommandList;
|
||||
import com.songoda.epicvouchers.commands.CommandReload;
|
||||
import com.songoda.epicvouchers.handlers.Connections;
|
||||
import com.songoda.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.listeners.PlayerCommandListener;
|
||||
import com.songoda.epicvouchers.listeners.PlayerInteractListener;
|
||||
import com.songoda.epicvouchers.settings.Settings;
|
||||
import com.songoda.epicvouchers.utils.Callback;
|
||||
import com.songoda.epicvouchers.utils.ThreadSync;
|
||||
import com.songoda.epicvouchers.voucher.CoolDownManager;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.songoda.epicvouchers.voucher.VoucherExecutor;
|
||||
import com.songoda.epicvouchers.voucher.VoucherManager;
|
||||
import com.craftaro.epicvouchers.commands.CommandEditor;
|
||||
import com.craftaro.epicvouchers.commands.CommandEpicVouchers;
|
||||
import com.craftaro.epicvouchers.commands.CommandForce;
|
||||
import com.craftaro.epicvouchers.commands.CommandForceAll;
|
||||
import com.craftaro.epicvouchers.commands.CommandGive;
|
||||
import com.craftaro.epicvouchers.commands.CommandGiveAll;
|
||||
import com.craftaro.epicvouchers.commands.CommandList;
|
||||
import com.craftaro.epicvouchers.commands.CommandReload;
|
||||
import com.craftaro.epicvouchers.handlers.Connections;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.listeners.PlayerCommandListener;
|
||||
import com.craftaro.epicvouchers.listeners.PlayerInteractListener;
|
||||
import com.craftaro.epicvouchers.settings.Settings;
|
||||
import com.craftaro.epicvouchers.utils.Callback;
|
||||
import com.craftaro.epicvouchers.utils.ThreadSync;
|
||||
import com.craftaro.epicvouchers.voucher.CoolDownManager;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.voucher.VoucherExecutor;
|
||||
import com.craftaro.epicvouchers.voucher.VoucherManager;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.menus.VoucherMenu;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.menus.VoucherMenu;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
@ -19,7 +19,7 @@ public class CommandEpicVouchers extends AbstractCommand {
|
||||
protected ReturnType runCommand(CommandSender sender, String... args) {
|
||||
sender.sendMessage("");
|
||||
this.instance.getLocale().newMessage("&7Version " + this.instance.getDescription().getVersion()
|
||||
+ " Created with <3 by &5&l&oSongoda").sendPrefixedMessage(sender);
|
||||
+ " Created with <3 by &5&l&oCraftaro").sendPrefixedMessage(sender);
|
||||
|
||||
for (AbstractCommand command : this.instance.getCommandManager().getAllCommands()) {
|
||||
if (command.getPermissionNode() == null || sender.hasPermission(command.getPermissionNode())) {
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
import java.util.ArrayList;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
import java.util.List;
|
@ -1,7 +1,7 @@
|
||||
package com.songoda.epicvouchers.commands;
|
||||
package com.craftaro.epicvouchers.commands;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.events;
|
||||
package com.craftaro.epicvouchers.events;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.events;
|
||||
package com.craftaro.epicvouchers.events;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.events;
|
||||
package com.craftaro.epicvouchers.events;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.Cancellable;
|
@ -1,7 +1,7 @@
|
||||
package com.songoda.epicvouchers.handlers;
|
||||
package com.craftaro.epicvouchers.handlers;
|
||||
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.sql.Connection;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.libraries;
|
||||
package com.craftaro.epicvouchers.libraries;
|
||||
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.DyeColor;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory;
|
||||
package com.craftaro.epicvouchers.libraries.inventory;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
@ -1,6 +1,6 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory;
|
||||
package com.craftaro.epicvouchers.libraries.inventory;
|
||||
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.Icon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.Icon;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
@ -1,11 +1,11 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory;
|
||||
package com.craftaro.epicvouchers.libraries.inventory;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.SkullUtils;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.menus.ActionMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.menus.ActionMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
@ -1,25 +1,25 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory.icons;
|
||||
package com.craftaro.epicvouchers.libraries.inventory.icons;
|
||||
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv.IconClickEvent;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public class Icon {
|
||||
private final ItemStack itemStack;
|
||||
private final Consumer<IconClickEvent> consumer;
|
||||
private final Consumer<IconInv.IconClickEvent> consumer;
|
||||
|
||||
public Icon(ItemStack item) {
|
||||
this(item, event -> {
|
||||
});
|
||||
}
|
||||
|
||||
public Icon(ItemStack item, Consumer<IconClickEvent> consumer) {
|
||||
public Icon(ItemStack item, Consumer<IconInv.IconClickEvent> consumer) {
|
||||
this.itemStack = item;
|
||||
this.consumer = consumer;
|
||||
}
|
||||
|
||||
public void run(IconClickEvent e) {
|
||||
public void run(IconInv.IconClickEvent e) {
|
||||
this.consumer.accept(e);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory.icons;
|
||||
package com.craftaro.epicvouchers.libraries.inventory.icons;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
@ -1,9 +1,9 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory.icons;
|
||||
package com.craftaro.epicvouchers.libraries.inventory.icons;
|
||||
|
||||
import com.craftaro.core.input.ChatPrompt;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.utils.Pair;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.utils.Pair;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
@ -1,10 +1,10 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory.icons;
|
||||
package com.craftaro.epicvouchers.libraries.inventory.icons;
|
||||
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.craftaro.core.input.ChatPrompt;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
@ -1,9 +1,9 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory.icons;
|
||||
package com.craftaro.epicvouchers.libraries.inventory.icons;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.menus.sub.editor.StringListMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.menus.sub.editor.StringListMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
|
@ -1,16 +1,16 @@
|
||||
package com.songoda.epicvouchers.libraries.inventory.icons;
|
||||
package com.craftaro.epicvouchers.libraries.inventory.icons;
|
||||
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv.IconClickEvent;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public class ToggleableIcon extends Icon {
|
||||
private final Consumer<IconClickEvent> consumer;
|
||||
private final Consumer<IconInv.IconClickEvent> consumer;
|
||||
|
||||
public ToggleableIcon(String displayname, Consumer<IconClickEvent> consumer, boolean state) {
|
||||
public ToggleableIcon(String displayname, Consumer<IconInv.IconClickEvent> consumer, boolean state) {
|
||||
super(new ItemBuilder(Material.PAPER)
|
||||
.name(ChatColor.YELLOW + displayname)
|
||||
.lore(state ? ChatColor.GREEN + "ENABLED" : ChatColor.RED + "DISABLED")
|
||||
@ -20,7 +20,7 @@ public class ToggleableIcon extends Icon {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run(IconClickEvent e) {
|
||||
public void run(IconInv.IconClickEvent e) {
|
||||
this.consumer.accept(e);
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.listeners;
|
||||
package com.craftaro.epicvouchers.listeners;
|
||||
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
@ -1,10 +1,10 @@
|
||||
package com.songoda.epicvouchers.listeners;
|
||||
package com.craftaro.epicvouchers.listeners;
|
||||
|
||||
import com.craftaro.core.third_party.de.tr7zw.nbtapi.NBTItem;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.settings.Settings;
|
||||
import com.songoda.epicvouchers.utils.CachedSet;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.settings.Settings;
|
||||
import com.craftaro.epicvouchers.utils.CachedSet;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
@ -1,13 +1,13 @@
|
||||
package com.songoda.epicvouchers.menus;
|
||||
package com.craftaro.epicvouchers.menus;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.songoda.epicvouchers.menus.sub.action.ForceMenu;
|
||||
import com.songoda.epicvouchers.menus.sub.action.GiveMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.craftaro.epicvouchers.menus.sub.action.ForceMenu;
|
||||
import com.craftaro.epicvouchers.menus.sub.action.GiveMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
@ -1,9 +1,9 @@
|
||||
package com.songoda.epicvouchers.menus;
|
||||
package com.craftaro.epicvouchers.menus;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.FastInv;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
@ -1,12 +1,12 @@
|
||||
package com.songoda.epicvouchers.menus;
|
||||
package com.craftaro.epicvouchers.menus;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.songoda.epicvouchers.menus.sub.editor.SetItemMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.craftaro.epicvouchers.menus.sub.editor.SetItemMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
import static org.bukkit.ChatColor.GRAY;
|
@ -1,19 +1,19 @@
|
||||
package com.songoda.epicvouchers.menus;
|
||||
package com.craftaro.epicvouchers.menus;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.utils.ItemUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.Icon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.StringListIcon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.ToggleableIcon;
|
||||
import com.songoda.epicvouchers.menus.sub.editor.EffectsMenu;
|
||||
import com.songoda.epicvouchers.menus.sub.editor.ParticlesMenu;
|
||||
import com.songoda.epicvouchers.menus.sub.editor.SoundsMenu;
|
||||
import com.songoda.epicvouchers.menus.sub.editor.TitlesMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.Icon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.StringListIcon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.ToggleableIcon;
|
||||
import com.craftaro.epicvouchers.menus.sub.editor.EffectsMenu;
|
||||
import com.craftaro.epicvouchers.menus.sub.editor.ParticlesMenu;
|
||||
import com.craftaro.epicvouchers.menus.sub.editor.SoundsMenu;
|
||||
import com.craftaro.epicvouchers.menus.sub.editor.TitlesMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
@ -1,13 +1,13 @@
|
||||
package com.songoda.epicvouchers.menus;
|
||||
package com.craftaro.epicvouchers.menus;
|
||||
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.craftaro.core.gui.AnvilGui;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.Icon;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.Icon;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.menus.sub.action;
|
||||
package com.craftaro.epicvouchers.menus.sub.action;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.inventory.PlayersMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.PlayersMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
import java.util.ArrayList;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.menus.sub.action;
|
||||
package com.craftaro.epicvouchers.menus.sub.action;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.inventory.PlayersMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.PlayersMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
import java.util.ArrayList;
|
@ -1,12 +1,12 @@
|
||||
package com.songoda.epicvouchers.menus.sub.editor;
|
||||
package com.craftaro.epicvouchers.menus.sub.editor;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.songoda.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.craftaro.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Material;
|
||||
|
||||
import static org.bukkit.ChatColor.GRAY;
|
@ -1,12 +1,12 @@
|
||||
package com.songoda.epicvouchers.menus.sub.editor;
|
||||
package com.craftaro.epicvouchers.menus.sub.editor;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.songoda.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.craftaro.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Material;
|
||||
|
||||
import static org.bukkit.ChatColor.GRAY;
|
@ -1,11 +1,11 @@
|
||||
package com.songoda.epicvouchers.menus.sub.editor;
|
||||
package com.craftaro.epicvouchers.menus.sub.editor;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.songoda.epicvouchers.menus.OptionMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.FastInv;
|
||||
import com.craftaro.epicvouchers.menus.OptionMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.event.inventory.ClickType;
|
@ -1,13 +1,13 @@
|
||||
package com.songoda.epicvouchers.menus.sub.editor;
|
||||
package com.craftaro.epicvouchers.menus.sub.editor;
|
||||
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.craftaro.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import com.google.common.base.Enums;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.songoda.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
|
@ -1,13 +1,13 @@
|
||||
package com.songoda.epicvouchers.menus.sub.editor;
|
||||
package com.craftaro.epicvouchers.menus.sub.editor;
|
||||
|
||||
import com.craftaro.core.input.ChatPrompt;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.ListEntryIcon;
|
||||
import com.songoda.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.ListEntryIcon;
|
||||
import com.craftaro.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.songoda.epicvouchers.menus.sub.editor;
|
||||
package com.craftaro.epicvouchers.menus.sub.editor;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.libraries.ItemBuilder;
|
||||
import com.songoda.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.songoda.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.songoda.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.songoda.epicvouchers.voucher.Voucher;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.libraries.ItemBuilder;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.IconInv;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.IntegerIcon;
|
||||
import com.craftaro.epicvouchers.libraries.inventory.icons.StringIcon;
|
||||
import com.craftaro.epicvouchers.menus.VoucherEditorMenu;
|
||||
import com.craftaro.epicvouchers.voucher.Voucher;
|
||||
import org.bukkit.Material;
|
||||
|
||||
import static org.bukkit.ChatColor.GRAY;
|
@ -1,8 +1,8 @@
|
||||
package com.songoda.epicvouchers.settings;
|
||||
package com.craftaro.epicvouchers.settings;
|
||||
|
||||
import com.craftaro.core.configuration.Config;
|
||||
import com.craftaro.core.configuration.ConfigSetting;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
public class Settings implements Listener {
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.utils;
|
||||
package com.craftaro.epicvouchers.utils;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.WeakHashMap;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.utils;
|
||||
package com.craftaro.epicvouchers.utils;
|
||||
|
||||
// TODO: Copied from EpicAnchors - Move to SongodaCore (maybe rename too?)
|
||||
public interface Callback {
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.utils;
|
||||
package com.craftaro.epicvouchers.utils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.utils;
|
||||
package com.craftaro.epicvouchers.utils;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.songoda.epicvouchers.voucher;
|
||||
package com.craftaro.epicvouchers.voucher;
|
||||
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
import java.util.HashMap;
|
@ -1,14 +1,14 @@
|
||||
package com.songoda.epicvouchers.voucher;
|
||||
package com.craftaro.epicvouchers.voucher;
|
||||
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.third_party.de.tr7zw.nbtapi.NBTItem;
|
||||
import com.craftaro.core.utils.ItemUtils;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.events.ForceRedeemEvent;
|
||||
import com.songoda.epicvouchers.events.VoucherReceiveEvent;
|
||||
import com.songoda.epicvouchers.menus.ConfirmMenu;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.events.ForceRedeemEvent;
|
||||
import com.craftaro.epicvouchers.events.VoucherReceiveEvent;
|
||||
import com.craftaro.epicvouchers.menus.ConfirmMenu;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
@ -1,10 +1,10 @@
|
||||
package com.songoda.epicvouchers.voucher;
|
||||
package com.craftaro.epicvouchers.voucher;
|
||||
|
||||
import com.craftaro.core.compatibility.CompatibleSound;
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.songoda.epicvouchers.EpicVouchers;
|
||||
import com.songoda.epicvouchers.events.VoucherRedeemEvent;
|
||||
import com.songoda.epicvouchers.listeners.PlayerCommandListener;
|
||||
import com.craftaro.epicvouchers.EpicVouchers;
|
||||
import com.craftaro.epicvouchers.events.VoucherRedeemEvent;
|
||||
import com.craftaro.epicvouchers.listeners.PlayerCommandListener;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Effect;
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epicvouchers.voucher;
|
||||
package com.craftaro.epicvouchers.voucher;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
@ -3,7 +3,7 @@ description: ${project.description}
|
||||
version: ${project.version}
|
||||
api-version: 1.13
|
||||
|
||||
main: com.songoda.epicvouchers.EpicVouchers
|
||||
main: com.craftaro.epicvouchers.EpicVouchers
|
||||
|
||||
author: Craftaro
|
||||
website: ${project.url}
|
||||
|
@ -12,7 +12,7 @@ vouchers:
|
||||
- "ðis nice cookie will tell you."
|
||||
- ""
|
||||
- "&cWhat could be inside this voucher?"
|
||||
- "&6- Songoda"
|
||||
- "&6- Craftaro"
|
||||
glow: true
|
||||
confirm: true
|
||||
unbreakable: true
|
||||
|
Loading…
Reference in New Issue
Block a user