Skip to content

Commit

Permalink
Add relocations for PaperLib & MorePaperLib
Browse files Browse the repository at this point in the history
  • Loading branch information
Refrac committed Jun 30, 2024
1 parent 568fe29 commit d95019e
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 31 deletions.
2 changes: 1 addition & 1 deletion SimpleStaffChat-Bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>me.refracdevelopment</groupId>
<artifactId>SimpleStaffChat</artifactId>
<version>4.3.3</version>
<version>4.3.4</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.connection.ProxiedPlayer;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import java.util.*;

@UtilityClass
public class Methods {

@Getter
private final List<UUID> staffChatMuted = new ArrayList<>();
private final Set<UUID> staffChatMuted = new HashSet<>();
@Getter
private final List<UUID> adminChatMuted = new ArrayList<>();
private final Set<UUID> adminChatMuted = new HashSet<>();
@Getter
private final List<UUID> devChatMuted = new ArrayList<>();
private final Set<UUID> devChatMuted = new HashSet<>();
@Getter
private final List<UUID> staffChatPlayers = new ArrayList<>();
private final Set<UUID> staffChatPlayers = new HashSet<>();
@Getter
private final List<UUID> adminChatPlayers = new ArrayList<>();
private final Set<UUID> adminChatPlayers = new HashSet<>();
@Getter
private final List<UUID> devChatPlayers = new ArrayList<>();
private final Set<UUID> devChatPlayers = new HashSet<>();

public void sendStaffChat(CommandSender commandSender, String format, String message) {
if (commandSender instanceof ProxiedPlayer player) {
Expand Down
10 changes: 9 additions & 1 deletion SimpleStaffChat-Spigot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>me.refracdevelopment</groupId>
<artifactId>SimpleStaffChat</artifactId>
<version>4.3.3</version>
<version>4.3.4</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -63,6 +63,14 @@
<pattern>net.kyori.adventure.text.minimessage</pattern>
<shadedPattern>me.refracdevelopment.libs.minimessage</shadedPattern>
</relocation>
<relocation>
<pattern>space.arim.morepaperlib</pattern>
<shadedPattern>me.refracdevelopment.libs.morepaperlib</shadedPattern>
</relocation>
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>me.refracdevelopment.libs.paperlib</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import java.util.*;

@UtilityClass
public final class Methods {

@Getter
private final List<UUID> staffChatMuted = new ArrayList<>();
private final Set<UUID> staffChatMuted = new HashSet<>();
@Getter
private final List<UUID> adminChatMuted = new ArrayList<>();
private final Set<UUID> adminChatMuted = new HashSet<>();
@Getter
private final List<UUID> devChatMuted = new ArrayList<>();
private final Set<UUID> devChatMuted = new HashSet<>();
@Getter
private final List<UUID> staffChatPlayers = new ArrayList<>();
private final Set<UUID> staffChatPlayers = new HashSet<>();
@Getter
private final List<UUID> adminChatPlayers = new ArrayList<>();
private final Set<UUID> adminChatPlayers = new HashSet<>();
@Getter
private final List<UUID> devChatPlayers = new ArrayList<>();
private final Set<UUID> devChatPlayers = new HashSet<>();

public void sendStaffChat(CommandSender commandSender, String format, String message) {
if (commandSender instanceof Player player) {
Expand Down
2 changes: 1 addition & 1 deletion SimpleStaffChat-Velocity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>me.refracdevelopment</groupId>
<artifactId>SimpleStaffChat</artifactId>
<version>4.3.3</version>
<version>4.3.4</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@
import me.refracdevelopment.simplestaffchat.SimpleStaffChat;
import me.refracdevelopment.simplestaffchat.utilities.chat.RyMessageUtils;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import java.util.*;

@UtilityClass
public class Methods {

@Getter
private final List<UUID> staffChatMuted = new ArrayList<>();
private final Set<UUID> staffChatMuted = new HashSet<>();
@Getter
private final List<UUID> adminChatMuted = new ArrayList<>();
private final Set<UUID> adminChatMuted = new HashSet<>();
@Getter
private final List<UUID> devChatMuted = new ArrayList<>();
private final Set<UUID> devChatMuted = new HashSet<>();
@Getter
private final List<UUID> staffChatPlayers = new ArrayList<>();
private final Set<UUID> staffChatPlayers = new HashSet<>();
@Getter
private final List<UUID> adminChatPlayers = new ArrayList<>();
private final Set<UUID> adminChatPlayers = new HashSet<>();
@Getter
private final List<UUID> devChatPlayers = new ArrayList<>();
private final Set<UUID> devChatPlayers = new HashSet<>();

public void sendStaffChat(CommandSource commandSource, String format, String message) {
if (commandSource instanceof Player player) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.refracdevelopment</groupId>
<artifactId>SimpleStaffChat</artifactId>
<version>4.3.3</version>
<version>4.3.4</version>
<packaging>pom</packaging>

<name>SimpleStaffChat</name>
Expand Down

0 comments on commit d95019e

Please sign in to comment.