mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-12-01 14:43:39 +01:00
Upgrade Craftaro Core (+dynamic library loading; +MC 1.20.4 support)
Notable changes: * Spigot 1.20.3/3 compatibility * dynamic library/dependency loading * Smaller plugin jar size
This commit is contained in:
parent
800eb76d86
commit
d4b3cfe947
12
pom.xml
12
pom.xml
@ -74,8 +74,18 @@
|
|||||||
<excludeDefaults>false</excludeDefaults>
|
<excludeDefaults>false</excludeDefaults>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/nms/v*/**</include>
|
<include>**/nms/v*/**</include>
|
||||||
<include>**/third_party/**</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/third_party/org/apache/**</exclude>
|
||||||
|
<exclude>**/third_party/net/kyori/**</exclude>
|
||||||
|
<exclude>**/third_party/com/zaxxer/**</exclude>
|
||||||
|
<exclude>**/third_party/org/jooq/**</exclude>
|
||||||
|
<exclude>**/third_party/org/mariadb/**</exclude>
|
||||||
|
<exclude>**/third_party/com/h2database/**</exclude>
|
||||||
|
<exclude>**/third_party/org/h2/**</exclude>
|
||||||
|
<exclude>**/third_party/com/cryptomorin/**</exclude>
|
||||||
|
<exclude>**/third_party/org/reactivestreams/**</exclude>
|
||||||
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
</filters>
|
</filters>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -6,7 +6,7 @@ import com.craftaro.core.commands.CommandManager;
|
|||||||
import com.craftaro.core.compatibility.ServerVersion;
|
import com.craftaro.core.compatibility.ServerVersion;
|
||||||
import com.craftaro.core.configuration.Config;
|
import com.craftaro.core.configuration.Config;
|
||||||
import com.craftaro.core.gui.GuiManager;
|
import com.craftaro.core.gui.GuiManager;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.commands.CommandBan;
|
import com.craftaro.ultimatemoderation.commands.CommandBan;
|
||||||
import com.craftaro.ultimatemoderation.commands.CommandClearChat;
|
import com.craftaro.ultimatemoderation.commands.CommandClearChat;
|
||||||
import com.craftaro.ultimatemoderation.commands.CommandHelp;
|
import com.craftaro.ultimatemoderation.commands.CommandHelp;
|
||||||
|
@ -2,7 +2,7 @@ package com.craftaro.ultimatemoderation.commands;
|
|||||||
|
|
||||||
import com.craftaro.core.commands.AbstractCommand;
|
import com.craftaro.core.commands.AbstractCommand;
|
||||||
import com.craftaro.core.compatibility.ServerVersion;
|
import com.craftaro.core.compatibility.ServerVersion;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XSound;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XSound;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
@ -3,9 +3,9 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
import com.craftaro.core.gui.AnvilGui;
|
import com.craftaro.core.gui.AnvilGui;
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.ItemUtils;
|
import com.craftaro.core.utils.ItemUtils;
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
||||||
import com.craftaro.ultimatemoderation.punish.player.PlayerPunishData;
|
import com.craftaro.ultimatemoderation.punish.player.PlayerPunishData;
|
||||||
|
@ -2,8 +2,8 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
|
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
|
@ -3,8 +3,8 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.input.ChatPrompt;
|
import com.craftaro.core.input.ChatPrompt;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.punish.PunishmentNote;
|
import com.craftaro.ultimatemoderation.punish.PunishmentNote;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
|
@ -2,9 +2,9 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
|
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.ItemUtils;
|
import com.craftaro.core.utils.ItemUtils;
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
|
@ -3,10 +3,10 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
import com.craftaro.core.gui.AnvilGui;
|
import com.craftaro.core.gui.AnvilGui;
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.ItemUtils;
|
import com.craftaro.core.utils.ItemUtils;
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
import com.craftaro.core.utils.TimeUtils;
|
import com.craftaro.core.utils.TimeUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.punish.Punishment;
|
import com.craftaro.ultimatemoderation.punish.Punishment;
|
||||||
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
||||||
|
@ -2,9 +2,9 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
|
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
import com.craftaro.core.utils.TimeUtils;
|
import com.craftaro.core.utils.TimeUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.punish.AppliedPunishment;
|
import com.craftaro.ultimatemoderation.punish.AppliedPunishment;
|
||||||
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
||||||
|
@ -2,8 +2,8 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
|
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
import com.craftaro.ultimatemoderation.punish.PunishmentType;
|
||||||
import com.craftaro.ultimatemoderation.punish.template.Template;
|
import com.craftaro.ultimatemoderation.punish.template.Template;
|
||||||
|
@ -2,8 +2,8 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
|
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.punish.template.Template;
|
import com.craftaro.ultimatemoderation.punish.template.Template;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
@ -3,8 +3,8 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.input.ChatPrompt;
|
import com.craftaro.core.input.ChatPrompt;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
import com.craftaro.ultimatemoderation.staffchat.StaffChatManager;
|
import com.craftaro.ultimatemoderation.staffchat.StaffChatManager;
|
||||||
|
@ -3,8 +3,8 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
import com.craftaro.core.gui.AnvilGui;
|
import com.craftaro.core.gui.AnvilGui;
|
||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.TextUtils;
|
import com.craftaro.core.utils.TextUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
import com.craftaro.ultimatemoderation.tickets.Ticket;
|
import com.craftaro.ultimatemoderation.tickets.Ticket;
|
||||||
|
@ -3,7 +3,7 @@ package com.craftaro.ultimatemoderation.gui;
|
|||||||
import com.craftaro.core.gui.Gui;
|
import com.craftaro.core.gui.Gui;
|
||||||
import com.craftaro.core.gui.GuiUtils;
|
import com.craftaro.core.gui.GuiUtils;
|
||||||
import com.craftaro.core.input.ChatPrompt;
|
import com.craftaro.core.input.ChatPrompt;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.settings.Settings;
|
import com.craftaro.ultimatemoderation.settings.Settings;
|
||||||
import com.craftaro.ultimatemoderation.staffchat.StaffChatManager;
|
import com.craftaro.ultimatemoderation.staffchat.StaffChatManager;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.craftaro.ultimatemoderation.moderate;
|
package com.craftaro.ultimatemoderation.moderate;
|
||||||
|
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.utils.VaultPermissions;
|
import com.craftaro.ultimatemoderation.utils.VaultPermissions;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.craftaro.ultimatemoderation.moderate.moderations;
|
package com.craftaro.ultimatemoderation.moderate.moderations;
|
||||||
|
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
||||||
import com.craftaro.ultimatemoderation.moderate.ModerationType;
|
import com.craftaro.ultimatemoderation.moderate.ModerationType;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.craftaro.ultimatemoderation.moderate.moderations;
|
package com.craftaro.ultimatemoderation.moderate.moderations;
|
||||||
|
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
||||||
import com.craftaro.ultimatemoderation.moderate.ModerationType;
|
import com.craftaro.ultimatemoderation.moderate.ModerationType;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.craftaro.ultimatemoderation.moderate.moderations;
|
package com.craftaro.ultimatemoderation.moderate.moderations;
|
||||||
|
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
|
||||||
import com.craftaro.core.utils.PlayerUtils;
|
import com.craftaro.core.utils.PlayerUtils;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.listeners.DeathListener;
|
import com.craftaro.ultimatemoderation.listeners.DeathListener;
|
||||||
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.craftaro.ultimatemoderation.moderate.moderations;
|
package com.craftaro.ultimatemoderation.moderate.moderations;
|
||||||
|
|
||||||
import com.craftaro.core.compatibility.ServerVersion;
|
import com.craftaro.core.compatibility.ServerVersion;
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.commands.CommandVanish;
|
import com.craftaro.ultimatemoderation.commands.CommandVanish;
|
||||||
import com.craftaro.ultimatemoderation.listeners.SpyingDismountListener;
|
import com.craftaro.ultimatemoderation.listeners.SpyingDismountListener;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.craftaro.ultimatemoderation.moderate.moderations;
|
package com.craftaro.ultimatemoderation.moderate.moderations;
|
||||||
|
|
||||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import com.craftaro.ultimatemoderation.UltimateModeration;
|
import com.craftaro.ultimatemoderation.UltimateModeration;
|
||||||
import com.craftaro.ultimatemoderation.moderate.ModerationType;
|
import com.craftaro.ultimatemoderation.moderate.ModerationType;
|
||||||
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
import com.craftaro.ultimatemoderation.moderate.AbstractModeration;
|
||||||
|
Loading…
Reference in New Issue
Block a user