From 3c2eecb873ff1d2849106b009a343c4554df1a5b Mon Sep 17 00:00:00 2001 From: carm Date: Sat, 27 Jan 2024 01:23:35 +0800 Subject: [PATCH] chore(deps): Update artcore dependencies. --- pom.xml | 5 +++-- .../plugin/togglepvp/conf/PluginMessages.java | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 117a84d..5a91180 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,8 @@ UTF-8 UTF-8 - ${project.groupId}.plugin.${project.groupId} + ${project.groupId}.plugin.${project.artifactId} + 1.1.0 com.artformgames togglepvp @@ -107,7 +108,7 @@ com.artformgames artcore-api - 1.0.0 + ${deps.core.version} provided diff --git a/src/main/java/com/artformgames/plugin/togglepvp/conf/PluginMessages.java b/src/main/java/com/artformgames/plugin/togglepvp/conf/PluginMessages.java index 1a0d178..681da06 100644 --- a/src/main/java/com/artformgames/plugin/togglepvp/conf/PluginMessages.java +++ b/src/main/java/com/artformgames/plugin/togglepvp/conf/PluginMessages.java @@ -1,25 +1,25 @@ package com.artformgames.plugin.togglepvp.conf; import cc.carm.lib.mineconfiguration.bukkit.value.ConfiguredMessageList; -import com.artformgames.core.conf.MessagesRoot; +import com.artformgames.core.conf.Messages; import net.md_5.bungee.api.chat.BaseComponent; -public class PluginMessages extends MessagesRoot { +public interface PluginMessages extends Messages { - public static final ConfiguredMessageList SELF_DISABLED = list() + public static final ConfiguredMessageList SELF_DISABLED = Messages.list() .defaults("&7 You have disabled PVP so you can't attack other players.") .build(); - public static final ConfiguredMessageList TARGET_DISABLED = list() + public static final ConfiguredMessageList TARGET_DISABLED = Messages.list() .defaults("&fPlayer &c%(player) &fPVP is disabled, so it can't be attacked.") .params("player") .build(); - public static final ConfiguredMessageList ENABLED = list() + public static final ConfiguredMessageList ENABLED = Messages.list() .defaults("&fYou have &a&lenabled &fPVP, now you can fight with other players.") .build(); - public static final ConfiguredMessageList DISABLED = list() + public static final ConfiguredMessageList DISABLED = Messages.list() .defaults("&fYou have &c&ldisabled &fPVP, now you can't attack other players, and you can't be attacked by other players.") .build();