Local repo for libs

This commit is contained in:
Indyuce 2021-06-12 16:44:33 +02:00
parent 08ac037f2e
commit 8d3b506227
72 changed files with 386 additions and 98 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
c8ab3830aab3f3eee00844e600ce1561

View File

@ -0,0 +1 @@
13d4664f8017a33dbe1f3bd38b79bb7e3d9099a5

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>CMI</artifactId>
<version>8.6.5.0</version>
</project>

View File

@ -0,0 +1 @@
0e3431e4037f8d9c9b9efcf86139b00f

View File

@ -0,0 +1 @@
af67b8c9c382cb1db4217c6f71e23f19dafabef2

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>CMI</artifactId>
<versioning>
<release>8.6.5.0</release>
<versions>
<version>8.6.5.0</version>
</versions>
<lastUpdated>20210612125606</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
fafb60edad1e8e8687ba6771722f1083

View File

@ -0,0 +1 @@
768b890ef600ff4633235958e6488a2d4e7a2fb9

View File

@ -0,0 +1 @@
674e5c591aa90ffa00f793663fb27641

View File

@ -0,0 +1 @@
1ffa5dd8c108693233de963cd06f614c3fcbd58c

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Citizens</artifactId>
<version>2.0.25</version>
</project>

View File

@ -0,0 +1 @@
2dc2135c9126d4d30ddbca687d5f8a68

View File

@ -0,0 +1 @@
f956222ab2ecb91fb963689cabacdc967d6168e9

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Citizens</artifactId>
<versioning>
<release>2.0.25</release>
<versions>
<version>2.0.25</version>
</versions>
<lastUpdated>20210612125438</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
7bea7586a8fee6d3280136606d72ba44

View File

@ -0,0 +1 @@
1093b0a27dd453b9f2956e051f65e73f5e61c237

View File

@ -0,0 +1 @@
089104cb90d8b4e1aa00b1f5faef0742

View File

@ -0,0 +1 @@
f645ed69d595b24d4cf8b3fbb64cc505bede8829

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>GoogleGSON</artifactId>
<version>2.8.5</version>
</project>

View File

@ -0,0 +1 @@
48f449a334d3aec8dc796e696b65a5c3

View File

@ -0,0 +1 @@
81eb7991f12410f2458aff775fd90ed3790c3be5

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>GoogleGSON</artifactId>
<versioning>
<release>2.8.5</release>
<versions>
<version>2.8.5</version>
</versions>
<lastUpdated>20210612125617</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
649940a5d71a306bd38b6f1b784df58f

View File

@ -0,0 +1 @@
349829889ae17a885370497443a5f5b112bd8dee

View File

@ -0,0 +1 @@
92e3cb9192f8230c34537f6be7eb686b

View File

@ -0,0 +1 @@
965490d00d1bf34cf3f7237eb0c8aef7b00fd176

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Holograms</artifactId>
<version>2.9.1</version>
</project>

View File

@ -0,0 +1 @@
62c13e5ed19ab75b98cb8bbd3bb5eb60

View File

@ -0,0 +1 @@
1ea0f10f6b6f76fb745105f3b3a9187a6442dac4

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Holograms</artifactId>
<versioning>
<release>2.9.1</release>
<versions>
<version>2.9.1</version>
</versions>
<lastUpdated>20210612125455</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
beccd80ce18b745020417a4bb2ba492d

View File

@ -0,0 +1 @@
3cef2c4b82d26046e8e84324fd7118c846a7975e

View File

@ -0,0 +1 @@
1d37ce45998b63d475d6ca8c705bfe57

View File

@ -0,0 +1 @@
d24d443d5a725cea11c5baefcd5f61b99a2bc892

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>HolographicDisplays</artifactId>
<version>2.4.6</version>
</project>

View File

@ -0,0 +1 @@
af3a1bcc453a12a5a1d6c3a24c4a8255

View File

@ -0,0 +1 @@
ac2e68294dcc49ecaf27b214ad3a39c9fe040267

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>HolographicDisplays</artifactId>
<versioning>
<release>2.4.6</release>
<versions>
<version>2.4.6</version>
</versions>
<lastUpdated>20210612125510</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
a0ebc16d8bdf48a9ebf48ea38b289510

View File

@ -0,0 +1 @@
3993c797046feece64138cc2ef0f285db3a605fb

View File

@ -0,0 +1 @@
a33b325e087aa01ed99d4f045af192da

View File

@ -0,0 +1 @@
8e255afd8151188eadd917abee4e686902c75028

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Residence</artifactId>
<version>4.8.7.2</version>
</project>

View File

@ -0,0 +1 @@
e5f7d22b8cb4b1e778797c5aed7d88db

View File

@ -0,0 +1 @@
8e05faeed60ac592988ad66d008932b8c13d58e2

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Residence</artifactId>
<versioning>
<release>4.8.7.2</release>
<versions>
<version>4.8.7.2</version>
</versions>
<lastUpdated>20210612125611</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
56874a061769b6b69a4e0219a290bd7f

View File

@ -0,0 +1 @@
85f3f710a217ef88ad6375de0f1f14c116e5d4fd

View File

@ -0,0 +1 @@
2af5d3dda05b38a40955b47cc518e6a8

View File

@ -0,0 +1 @@
d3c24b2d2635d87cfc9ed601534cb0838545554e

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>SpartanAPI</artifactId>
<version>1.0</version>
</project>

View File

@ -0,0 +1 @@
448482e42eadb9f7f54ded2357a70343

View File

@ -0,0 +1 @@
7a72c8378e7114fd17d39527e10bffda5adccaff

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>SpartanAPI</artifactId>
<versioning>
<release>1.0</release>
<versions>
<version>1.0</version>
</versions>
<lastUpdated>20210612144019</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
af36631caaf53292fb711045d2c7758c

View File

@ -0,0 +1 @@
88eccb12623466fd53e806290100396903c9cf4b

195
pom.xml
View File

@ -78,47 +78,104 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>local-repo</id>
<url>file:${project.basedir}/local-repo</url>
</repository>
<repository>
<id>placeholderapi</id>
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>lumine-repo</id>
<url>https://mvn.lumine.io/repository/maven-public/</url>
</repository>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>sk89q-repo</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<!-- Minecraft -->
<!-- Spigot API -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>amalgam</version>
<scope>system</scope>
<systemPath>${basedir}/lib/spigot.jar</systemPath>
<version>1.17-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- MMOs -->
<!--<dependency>
<groupId>net.Indyuce</groupId>
<artifactId>MMOLib</artifactId>
<version>1.7.3</version>
<scope>system</scope>
<systemPath>${basedir}/lib/MMOLib.jar</systemPath>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-1.16.5</artifactId>
<version>dev</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-1.16.2</artifactId>
<version>dev</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-1.16.1</artifactId>
<version>dev</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-1.15</artifactId>
<version>dev</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-1.14</artifactId>
<version>dev</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<!-- Public repos -->
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.9.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.lumine</groupId>
<artifactId>MythicLib</artifactId>
@ -126,94 +183,98 @@
<scope>provided</scope>
</dependency>
<!-- APIs -->
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>19.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
<scope>provided</scope>
</dependency>
<!-- Other Plugins -->
<dependency>
<groupId>com.bekvon.bukkit</groupId>
<artifactId>Residence</artifactId>
<version>4.8.7.2</version>
<scope>system</scope>
<systemPath>${basedir}/lib/Residence.jar</systemPath>
</dependency>
<dependency>
<groupId>com.Zrips</groupId>
<artifactId>CMI</artifactId>
<version>8.6.5.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/CMI.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sainttx.holograms</groupId>
<artifactId>holograms</artifactId>
<version>2.9.1</version>
<scope>system</scope>
<systemPath>${basedir}/lib/Holograms.jar</systemPath>
</dependency>
<dependency>
<groupId>com.gmail.filoghost</groupId>
<artifactId>HolographicDisplays</artifactId>
<version>6.9.1</version>
<scope>system</scope>
<systemPath>${basedir}/lib/HolographicDisplays.jar</systemPath>
</dependency>
<dependency>
<groupId>io.lumine.xikage</groupId>
<artifactId>MythicMobs</artifactId>
<version>4.8.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/MythicMobs.jar</systemPath>
<version>4.11.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.citizensnpcs</groupId>
<artifactId>citizens</artifactId>
<version>2.0.25-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${basedir}/lib/Citizens.jar</systemPath>
<groupId>io.lumine</groupId>
<artifactId>LumineUtils</artifactId>
<version>1.16.1-20210326.031037-28</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>*</artifactId>
<groupId>*</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- Local repo -->
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.7</version>
<scope>system</scope>
<systemPath>${basedir}/lib/PlaceholderAPI.jar</systemPath>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Residence</artifactId>
<version>4.8.7.2</version>
</dependency>
<dependency>
<groupId>me.vagdedes</groupId>
<artifactId>spartan</artifactId>
<version>Univsersal</version>
<scope>system</scope>
<systemPath>${basedir}/lib/SpartanAPI.jar</systemPath>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>CMI</artifactId>
<version>8.6.5.0</version>
</dependency>
<dependency>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Holograms</artifactId>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>HolographicDisplays</artifactId>
<version>2.4.6</version>
</dependency>
<dependency>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>Citizens</artifactId>
<version>2.0.25</version>
</dependency>
<dependency>
<groupId>net.Indyuce.mmoitems.lib</groupId>
<artifactId>SpartanAPI</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</project>

View File

@ -1,8 +1,19 @@
package net.Indyuce.mmocore;
import java.io.File;
import java.lang.reflect.Field;
import java.util.HashSet;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandMap;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.scheduler.BukkitRunnable;
import io.lumine.mythic.lib.comp.Metrics;
import io.lumine.mythic.lib.version.SpigotPlugin;
import io.lumine.mythic.utils.plugin.LuminePlugin;
import io.lumine.utils.plugin.LuminePlugin;
import net.Indyuce.mmocore.api.ConfigFile;
import net.Indyuce.mmocore.api.PlayerActionBar;
import net.Indyuce.mmocore.api.loot.LootChest;
@ -11,7 +22,18 @@ import net.Indyuce.mmocore.api.player.profess.resource.PlayerResource;
import net.Indyuce.mmocore.api.player.social.guilds.Guild;
import net.Indyuce.mmocore.api.player.stats.StatType;
import net.Indyuce.mmocore.api.util.debug.DebugMode;
import net.Indyuce.mmocore.command.*;
import net.Indyuce.mmocore.command.AttributesCommand;
import net.Indyuce.mmocore.command.ClassCommand;
import net.Indyuce.mmocore.command.DepositCommand;
import net.Indyuce.mmocore.command.FriendsCommand;
import net.Indyuce.mmocore.command.GuildCommand;
import net.Indyuce.mmocore.command.MMOCoreCommandTreeRoot;
import net.Indyuce.mmocore.command.PartyCommand;
import net.Indyuce.mmocore.command.PlayerStatsCommand;
import net.Indyuce.mmocore.command.QuestsCommand;
import net.Indyuce.mmocore.command.SkillsCommand;
import net.Indyuce.mmocore.command.WaypointsCommand;
import net.Indyuce.mmocore.command.WithdrawCommand;
import net.Indyuce.mmocore.comp.anticheat.AntiCheatSupport;
import net.Indyuce.mmocore.comp.anticheat.SpartanPlugin;
import net.Indyuce.mmocore.comp.citizens.CitizenInteractEventListener;
@ -35,33 +57,46 @@ import net.Indyuce.mmocore.comp.region.WorldGuardMMOLoader;
import net.Indyuce.mmocore.comp.region.WorldGuardRegionHandler;
import net.Indyuce.mmocore.comp.vault.VaultEconomy;
import net.Indyuce.mmocore.comp.vault.VaultMMOLoader;
import net.Indyuce.mmocore.listener.*;
import net.Indyuce.mmocore.listener.BlockListener;
import net.Indyuce.mmocore.listener.GoldPouchesListener;
import net.Indyuce.mmocore.listener.GuildListener;
import net.Indyuce.mmocore.listener.LootableChestsListener;
import net.Indyuce.mmocore.listener.PartyListener;
import net.Indyuce.mmocore.listener.PlayerListener;
import net.Indyuce.mmocore.listener.SpellCast;
import net.Indyuce.mmocore.listener.WaypointsListener;
import net.Indyuce.mmocore.listener.option.DeathExperienceLoss;
import net.Indyuce.mmocore.listener.option.NoSpawnerEXP;
import net.Indyuce.mmocore.listener.option.RedirectVanillaExp;
import net.Indyuce.mmocore.listener.option.VanillaExperienceOverride;
import net.Indyuce.mmocore.listener.profession.FishingListener;
import net.Indyuce.mmocore.listener.profession.PlayerCollectStats;
import net.Indyuce.mmocore.manager.AttributeManager;
import net.Indyuce.mmocore.manager.ClassManager;
import net.Indyuce.mmocore.manager.ConfigItemManager;
import net.Indyuce.mmocore.manager.ConfigManager;
import net.Indyuce.mmocore.manager.CustomBlockManager;
import net.Indyuce.mmocore.manager.DropTableManager;
import net.Indyuce.mmocore.manager.ExperienceManager;
import net.Indyuce.mmocore.manager.*;
import net.Indyuce.mmocore.manager.InventoryManager;
import net.Indyuce.mmocore.manager.LootChestManager;
import net.Indyuce.mmocore.manager.MMOLoadManager;
import net.Indyuce.mmocore.manager.QuestManager;
import net.Indyuce.mmocore.manager.RestrictionManager;
import net.Indyuce.mmocore.manager.SkillManager;
import net.Indyuce.mmocore.manager.SoundManager;
import net.Indyuce.mmocore.manager.WaypointManager;
import net.Indyuce.mmocore.manager.data.DataProvider;
import net.Indyuce.mmocore.manager.data.mysql.MySQLDataProvider;
import net.Indyuce.mmocore.manager.data.yaml.YAMLDataProvider;
import net.Indyuce.mmocore.manager.profession.*;
import net.Indyuce.mmocore.manager.profession.AlchemyManager;
import net.Indyuce.mmocore.manager.profession.EnchantManager;
import net.Indyuce.mmocore.manager.profession.FishingManager;
import net.Indyuce.mmocore.manager.profession.ProfessionManager;
import net.Indyuce.mmocore.manager.profession.SmithingManager;
import net.Indyuce.mmocore.manager.social.BoosterManager;
import net.Indyuce.mmocore.manager.social.PartyManager;
import net.Indyuce.mmocore.manager.social.RequestManager;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandMap;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitRunnable;
import java.io.File;
import java.lang.reflect.Field;
import java.util.HashSet;
import java.util.logging.Level;
public class MMOCore extends LuminePlugin {
public static MMOCore plugin;

View File

@ -1,11 +1,12 @@
package net.Indyuce.mmocore.comp.mythicmobs.skill.handlers;
import io.lumine.mythic.utils.Schedulers;
import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerLoginEvent;
import io.lumine.utils.Schedulers;
import net.Indyuce.mmocore.api.player.PlayerData;
import net.Indyuce.mmocore.comp.mythicmobs.skill.MythicMobSkill;
import net.Indyuce.mmocore.comp.mythicmobs.skill.PassiveMythicMobSkillHandler;
import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerLoginEvent;
public class PlayerLoginSkillHandler extends PassiveMythicMobSkillHandler {
/**

View File

@ -1,7 +1,27 @@
package net.Indyuce.mmocore.listener;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Statistic;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockFormEvent;
import org.bukkit.event.block.BlockPistonExtendEvent;
import org.bukkit.event.block.BlockPistonRetractEvent;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.bukkit.metadata.FixedMetadataValue;
import io.lumine.mythic.lib.UtilityMethods;
import io.lumine.mythic.utils.Schedulers;
import io.lumine.utils.Schedulers;
import net.Indyuce.mmocore.MMOCore;
import net.Indyuce.mmocore.api.block.BlockInfo;
import net.Indyuce.mmocore.api.block.BlockInfo.BlockInfoOption;
@ -10,17 +30,6 @@ import net.Indyuce.mmocore.api.droptable.condition.ConditionInstance;
import net.Indyuce.mmocore.api.event.CustomBlockMineEvent;
import net.Indyuce.mmocore.api.player.PlayerData;
import net.Indyuce.mmocore.api.util.MMOCoreUtils;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.*;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.bukkit.metadata.FixedMetadataValue;
public class BlockListener implements Listener {
private static final BlockFace[] order = { BlockFace.UP, BlockFace.DOWN, BlockFace.EAST, BlockFace.NORTH, BlockFace.WEST, BlockFace.SOUTH };