Skip to content

Commit

Permalink
chore(deps): Update artcore dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Jan 26, 2024
1 parent e2cc52a commit 3c2eecb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>

<project.package>${project.groupId}.plugin.${project.groupId}</project.package>
<project.package>${project.groupId}.plugin.${project.artifactId}</project.package>
<deps.core.version>1.1.0</deps.core.version>
</properties>
<groupId>com.artformgames</groupId>
<artifactId>togglepvp</artifactId>
Expand Down Expand Up @@ -107,7 +108,7 @@
<dependency>
<groupId>com.artformgames</groupId>
<artifactId>artcore-api</artifactId>
<version>1.0.0</version>
<version>${deps.core.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
@@ -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<BaseComponent[]> SELF_DISABLED = list()
public static final ConfiguredMessageList<BaseComponent[]> SELF_DISABLED = Messages.list()
.defaults("&7 You have disabled PVP so you can't attack other players.")
.build();

public static final ConfiguredMessageList<BaseComponent[]> TARGET_DISABLED = list()
public static final ConfiguredMessageList<BaseComponent[]> TARGET_DISABLED = Messages.list()
.defaults("&fPlayer &c%(player) &fPVP is disabled, so it can't be attacked.")
.params("player")
.build();

public static final ConfiguredMessageList<BaseComponent[]> ENABLED = list()
public static final ConfiguredMessageList<BaseComponent[]> ENABLED = Messages.list()
.defaults("&fYou have &a&lenabled &fPVP, now you can fight with other players.")
.build();

public static final ConfiguredMessageList<BaseComponent[]> DISABLED = list()
public static final ConfiguredMessageList<BaseComponent[]> 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();

Expand Down

0 comments on commit 3c2eecb

Please sign in to comment.