mirror of
https://github.com/plexusorg/Module-NickMiniMessage.git
synced 2024-12-22 09:17:38 +00:00
Fix compile errors
This commit is contained in:
parent
83a76e380d
commit
b19c027a0f
@ -19,12 +19,12 @@ dependencies {
|
||||
compileOnly("org.projectlombok:lombok:1.18.28")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
||||
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
|
||||
compileOnly("dev.plex:server:1.3")
|
||||
compileOnly(files("libs/EssentialsX.jar"))
|
||||
compileOnly("dev.plex:server:1.4-SNAPSHOT")
|
||||
compileOnly("net.essentialsx:EssentialsX:2.21.0-SNAPSHOT")
|
||||
}
|
||||
|
||||
group = "me.videogamesm12"
|
||||
version = "1.0"
|
||||
group = "dev.plex"
|
||||
version = "1.4-SNAPSHOT"
|
||||
description = "Module-NickMiniMessage"
|
||||
|
||||
java {
|
||||
|
@ -1,8 +1,8 @@
|
||||
package me.videogamesm12.nickmm;
|
||||
package dev.plex.module.nickmm;
|
||||
|
||||
import com.earth2me.essentials.Essentials;
|
||||
import dev.plex.module.PlexModule;
|
||||
import me.videogamesm12.nickmm.command.NickMMCommand;
|
||||
import dev.plex.module.nickmm.command.NickMMCommand;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
public class NickMiniMessageModule extends PlexModule
|
||||
@ -12,7 +12,7 @@ public class NickMiniMessageModule extends PlexModule
|
||||
{
|
||||
if (!Bukkit.getPluginManager().isPluginEnabled("Essentials"))
|
||||
{
|
||||
throw new IllegalStateException("We need Essentials for this module to work!");
|
||||
throw new IllegalStateException("EssentialsX is required for this module to work!");
|
||||
}
|
||||
|
||||
registerCommand(new NickMMCommand());
|
@ -1,4 +1,4 @@
|
||||
package me.videogamesm12.nickmm.command;
|
||||
package dev.plex.module.nickmm.command;
|
||||
|
||||
import com.earth2me.essentials.I18n;
|
||||
import com.earth2me.essentials.User;
|
||||
@ -6,9 +6,8 @@ import dev.plex.command.PlexCommand;
|
||||
import dev.plex.command.annotation.CommandParameters;
|
||||
import dev.plex.command.annotation.CommandPermissions;
|
||||
import dev.plex.command.source.RequiredCommandSource;
|
||||
import dev.plex.util.PlexUtils;
|
||||
import dev.plex.module.nickmm.NickMiniMessageModule;
|
||||
import dev.plex.util.minimessage.SafeMiniMessage;
|
||||
import me.videogamesm12.nickmm.NickMiniMessageModule;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
@ -1,4 +1,4 @@
|
||||
name: Module-NickMiniMessage
|
||||
main: me.videogamesm12.nickmm.NickMiniMessageModule
|
||||
main: dev.plex.module.nickmm.NickMiniMessageModule
|
||||
description: Module for Plex that adds a command allowing for Essentials nicknames to be created with MiniMessage
|
||||
version: 1.0
|
||||
version: 1.4-SNAPSHOT
|
Loading…
Reference in New Issue
Block a user