Refactor package and move into com.alttd namespace

This commit is contained in:
Len 2026-07-26 01:42:20 -05:00
parent 9aa3993f56
commit f17eff933e
8 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@ plugins {
java java
} }
group = "com.alttd.destro174.custommotd" group = "com.alttd.custommotd"
version = System.getenv("BUILD_NUMBER") ?: "DEV" version = System.getenv("BUILD_NUMBER") ?: "DEV"
description = "Allows setting custom MOTD in-game." description = "Allows setting custom MOTD in-game."

View File

@ -1,14 +1,14 @@
package com.alttd.destro174.custommotd; package com.alttd.custommotd;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import com.alttd.destro174.custommotd.commands.custommotdCommand; import com.alttd.custommotd.commands.custommotdCommand;
import com.alttd.destro174.custommotd.listener.PapiPingListener; import com.alttd.custommotd.listener.PapiPingListener;
import com.alttd.destro174.custommotd.listener.PingListener; import com.alttd.custommotd.listener.PingListener;
import com.alttd.destro174.custommotd.storage.MOTDConfig; import com.alttd.custommotd.storage.MOTDConfig;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,4 +1,4 @@
package com.alttd.destro174.custommotd; package com.alttd.custommotd;
public class MotdWrapper { public class MotdWrapper {

View File

@ -1,6 +1,6 @@
package com.alttd.destro174.custommotd.commands; package com.alttd.custommotd.commands;
import com.alttd.destro174.custommotd.CustomMOTD; import com.alttd.custommotd.CustomMOTD;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;

View File

@ -1,6 +1,6 @@
package com.alttd.destro174.custommotd.listener; package com.alttd.custommotd.listener;
import com.alttd.destro174.custommotd.CustomMOTD; import com.alttd.custommotd.CustomMOTD;
import com.destroystokyo.paper.event.server.PaperServerListPingEvent; import com.destroystokyo.paper.event.server.PaperServerListPingEvent;
import me.clip.placeholderapi.PlaceholderAPI; import me.clip.placeholderapi.PlaceholderAPI;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View File

@ -1,6 +1,6 @@
package com.alttd.destro174.custommotd.listener; package com.alttd.custommotd.listener;
import com.alttd.destro174.custommotd.CustomMOTD; import com.alttd.custommotd.CustomMOTD;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.server.ServerListPingEvent; import org.bukkit.event.server.ServerListPingEvent;

View File

@ -1,4 +1,4 @@
package com.alttd.destro174.custommotd.storage; package com.alttd.custommotd.storage;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;

View File

@ -1,5 +1,5 @@
name: CustomMOTD name: CustomMOTD
main: com.alttd.destro174.custommotd.CustomMOTD main: com.alttd.custommotd.CustomMOTD
version: 1.0 version: 1.0
author: destro174 author: destro174
api-version: 1.16 api-version: 1.16