Skip to content

Commit

Permalink
Namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinecraft committed Mar 23, 2024
1 parent b60969c commit d2a1f1e
Show file tree
Hide file tree
Showing 74 changed files with 530 additions and 521 deletions.
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
}

group = 'Minetrax'
group = 'com.xinecraft'
version = '5.0.0'
description = 'Minetrax'
def targetJavaVersion = 11
Expand Down Expand Up @@ -62,7 +62,16 @@ tasks.withType(Javadoc).configureEach {
}

shadowJar {
relocate('org.bstats', 'com.xinecraft.bstats')
relocate('org.bstats', 'com.xinecraft.minetrax.bstats')
}

processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}

publishing {
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/com/xinecraft/commands/ServerStatsCommand.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
package com.xinecraft;
package com.xinecraft.minetrax;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.xinecraft.adapters.ItemStackGsonAdapter;
import com.xinecraft.commands.AccountLinkCommand;
import com.xinecraft.commands.PlayerWhoisCommand;
import com.xinecraft.commands.WebSayCommand;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.hooks.chat.EpicCoreChatHook;
import com.xinecraft.hooks.chat.VentureChatHook;
import com.xinecraft.hooks.placeholderapi.MinetraxPlaceholderExpansion;
import com.xinecraft.hooks.skinsrestorer.SkinsRestorerHook;
import com.xinecraft.listeners.*;
import com.xinecraft.log4j.ConsoleAppender;
import com.xinecraft.log4j.ConsoleMessage;
import com.xinecraft.tasks.AccountLinkReminderTask;
import com.xinecraft.tasks.PlayerAfkAndWorldIntelTrackerTask;
import com.xinecraft.tasks.PlayerIntelReportTask;
import com.xinecraft.tasks.ServerIntelReportTask;
import com.xinecraft.threads.ConsoleMessageQueueWorker;
import com.xinecraft.threads.webquery.NettyWebQueryServer;
import com.xinecraft.utils.PlayerIntelUtil;
import com.xinecraft.utils.PluginUtil;
import com.xinecraft.utils.UpdateChecker;
import com.xinecraft.minetrax.adapters.ItemStackGsonAdapter;
import com.xinecraft.minetrax.commands.AccountLinkCommand;
import com.xinecraft.minetrax.commands.PlayerWhoisCommand;
import com.xinecraft.minetrax.commands.WebSayCommand;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.hooks.chat.EpicCoreChatHook;
import com.xinecraft.minetrax.hooks.chat.VentureChatHook;
import com.xinecraft.minetrax.hooks.placeholderapi.MinetraxPlaceholderExpansion;
import com.xinecraft.minetrax.hooks.skinsrestorer.SkinsRestorerHook;
import com.xinecraft.minetrax.listeners.*;
import com.xinecraft.minetrax.log4j.ConsoleAppender;
import com.xinecraft.minetrax.log4j.ConsoleMessage;
import com.xinecraft.minetrax.tasks.PlayerIntelReportTask;
import com.xinecraft.minetrax.tasks.ServerIntelReportTask;
import com.xinecraft.minetrax.threads.ConsoleMessageQueueWorker;
import com.xinecraft.minetrax.threads.webquery.NettyWebQueryServer;
import com.xinecraft.minetrax.utils.PluginUtil;
import com.xinecraft.minetrax.utils.UpdateChecker;
import com.xinecraft.minetrax.tasks.AccountLinkReminderTask;
import com.xinecraft.minetrax.tasks.PlayerAfkAndWorldIntelTrackerTask;
import com.xinecraft.minetrax.utils.PlayerIntelUtil;
import lombok.Getter;
import net.milkbowl.vault.economy.Economy;
import net.milkbowl.vault.permission.Permission;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.adapters;
package com.xinecraft.minetrax.adapters;

import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.xinecraft.commands;
package com.xinecraft.minetrax.commands;

import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.xinecraft.Minetrax;
import com.xinecraft.utils.HttpUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.utils.HttpUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.commands;
package com.xinecraft.minetrax.commands;

import com.xinecraft.Minetrax;
import com.xinecraft.utils.LoggingUtil;
import com.xinecraft.utils.WhoisUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.utils.LoggingUtil;
import com.xinecraft.minetrax.utils.WhoisUtil;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.xinecraft.minetrax.commands;

public class ServerStatsCommand {
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.xinecraft.commands;
package com.xinecraft.minetrax.commands;

import com.xinecraft.Minetrax;
import com.xinecraft.minetrax.Minetrax;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xinecraft.data;
package com.xinecraft.minetrax.data;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.xinecraft.hooks.chat;
package com.xinecraft.minetrax.hooks.chat;

import com.xinecraft.Minetrax;
import com.xinecraft.utils.HttpUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.utils.HttpUtil;
import io.signality.Modules.Chat.EpicCoreChatEvent;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.xinecraft.hooks.chat;
package com.xinecraft.minetrax.hooks.chat;

import com.xinecraft.Minetrax;
import com.xinecraft.utils.HttpUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.utils.HttpUtil;
import mineverse.Aust1n46.chat.api.MineverseChatPlayer;
import mineverse.Aust1n46.chat.api.events.VentureChatEvent;
import mineverse.Aust1n46.chat.channel.ChatChannel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.xinecraft.hooks.placeholderapi;
package com.xinecraft.minetrax.hooks.placeholderapi;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.xinecraft.hooks.skinsrestorer;
package com.xinecraft.minetrax.hooks.skinsrestorer;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.utils.LoggingUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.utils.LoggingUtil;
import net.skinsrestorer.api.PropertyUtils;
import net.skinsrestorer.api.event.SkinApplyEvent;
import net.skinsrestorer.api.property.SkinProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerDeathData;
import com.xinecraft.data.PlayerPvpKillData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.utils.HttpUtil;
import com.xinecraft.utils.LoggingUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerDeathData;
import com.xinecraft.minetrax.data.PlayerPvpKillData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.utils.HttpUtil;
import com.xinecraft.minetrax.utils.LoggingUtil;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.utils.LoggingUtil;
import com.xinecraft.minetrax.utils.LoggingUtil;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.utils.HttpUtil;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.utils.HttpUtil;
import org.bukkit.Bukkit;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.xinecraft.listeners;
package com.xinecraft.minetrax.listeners;

import com.xinecraft.Minetrax;
import com.xinecraft.data.PlayerData;
import com.xinecraft.data.PlayerSessionIntelData;
import com.xinecraft.minetrax.Minetrax;
import com.xinecraft.minetrax.data.PlayerData;
import com.xinecraft.minetrax.data.PlayerSessionIntelData;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
Expand Down
Loading

0 comments on commit d2a1f1e

Please sign in to comment.