Update to new name Raxen
This commit is contained in:
parent
5f548d81db
commit
5761aa5e79
34 changed files with 215 additions and 211 deletions
12
pom.xml
12
pom.xml
|
@ -5,11 +5,11 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>gq.unurled</groupId>
|
<groupId>gq.unurled</groupId>
|
||||||
<artifactId>elixium</artifactId>
|
<artifactId>raxen</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>Elixium</name>
|
<name>Raxen</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.16</java.version>
|
<java.version>1.16</java.version>
|
||||||
|
@ -161,6 +161,12 @@
|
||||||
<version>Beta1.2.5</version>
|
<version>Beta1.2.5</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.luckperms</groupId>
|
||||||
|
<artifactId>api</artifactId>
|
||||||
|
<version>5.3</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
package gq.unurled.elixium.config;
|
|
||||||
|
|
||||||
import de.leonhard.storage.Json;
|
|
||||||
import gq.unurled.elixium.Elixium;
|
|
||||||
import lombok.Getter;
|
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
public class Config {
|
|
||||||
private Elixium main;
|
|
||||||
|
|
||||||
private File configFile;
|
|
||||||
|
|
||||||
@Getter
|
|
||||||
private FileConfiguration config;
|
|
||||||
|
|
||||||
|
|
||||||
public Config(Elixium main) {
|
|
||||||
this.main = main;
|
|
||||||
this.config = main.getConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void init() {
|
|
||||||
if (!(new File(main.getDataFolder() + "/config.yml").exists())) {
|
|
||||||
main.saveDefaultConfig();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
package gq.unurled.elixium.manager;
|
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
public class PlayerManager {
|
|
||||||
|
|
||||||
private Elixium main;
|
|
||||||
|
|
||||||
public PlayerManager(Elixium main) {
|
|
||||||
this.main = main;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,35 +1,30 @@
|
||||||
package gq.unurled.elixium;
|
package gq.unurled.raxen;
|
||||||
|
|
||||||
import com.archyx.aureliumskills.api.AureliumAPI;
|
import com.archyx.aureliumskills.api.AureliumAPI;
|
||||||
import com.comphenix.protocol.ProtocolLibrary;
|
import com.comphenix.protocol.ProtocolLibrary;
|
||||||
import com.comphenix.protocol.ProtocolManager;
|
import com.comphenix.protocol.ProtocolManager;
|
||||||
import gq.unurled.elixium.config.Config;
|
import gq.unurled.raxen.config.Config;
|
||||||
import gq.unurled.elixium.config.PlayerConfig;
|
import gq.unurled.raxen.config.PlayerConfig;
|
||||||
import gq.unurled.elixium.manager.*;
|
import gq.unurled.raxen.manager.*;
|
||||||
import gq.unurled.elixium.utils.MongoDB;
|
import gq.unurled.raxen.utils.LuckPerm;
|
||||||
import gq.unurled.elixium.utils.Reload;
|
import gq.unurled.raxen.utils.MongoDB;
|
||||||
import io.netty.channel.Channel;
|
import gq.unurled.raxen.utils.Reload;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
|
||||||
import org.bukkit.entity.LivingEntity;
|
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
import org.bukkit.plugin.PluginManager;
|
import org.bukkit.plugin.PluginManager;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.msgPlayer;
|
public final class Raxen extends JavaPlugin {
|
||||||
|
|
||||||
public final class Elixium extends JavaPlugin {
|
|
||||||
|
|
||||||
private static final String prefix = ChatColor.AQUA + "Ex" + ChatColor.LIGHT_PURPLE + "> ";
|
private static final String prefix = ChatColor.AQUA + "Ex" + ChatColor.LIGHT_PURPLE + "> ";
|
||||||
|
@Getter
|
||||||
|
private static final String version = "0.0.1";
|
||||||
private final PluginManager pm = getServer().getPluginManager();
|
private final PluginManager pm = getServer().getPluginManager();
|
||||||
|
|
||||||
private static Elixium plugin;
|
private static Raxen plugin;
|
||||||
|
|
||||||
private static Logger logger;
|
private static Logger logger;
|
||||||
|
|
||||||
|
@ -48,7 +43,8 @@ public final class Elixium extends JavaPlugin {
|
||||||
private ProtocolManager protocolManager;
|
private ProtocolManager protocolManager;
|
||||||
@Getter
|
@Getter
|
||||||
public AureliumAPI aureliumAPI;
|
public AureliumAPI aureliumAPI;
|
||||||
|
@Getter
|
||||||
|
public LuckPerm luckPerm;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
|
@ -64,6 +60,8 @@ public final class Elixium extends JavaPlugin {
|
||||||
|
|
||||||
playerConfig = new PlayerConfig(this);
|
playerConfig = new PlayerConfig(this);
|
||||||
aureliumAPI = new AureliumAPI();
|
aureliumAPI = new AureliumAPI();
|
||||||
|
luckPerm = new LuckPerm(this);
|
||||||
|
luckPerm.register();
|
||||||
|
|
||||||
registerCommands();
|
registerCommands();
|
||||||
registerEvents();
|
registerEvents();
|
||||||
|
@ -98,7 +96,7 @@ public final class Elixium extends JavaPlugin {
|
||||||
return pm;
|
return pm;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Elixium getPlugin() {
|
public static Raxen getPlugin() {
|
||||||
return plugin;
|
return plugin;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package gq.unurled.elixium.commands.admin;
|
package gq.unurled.raxen.commands.admin;
|
||||||
|
|
||||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.components.player.Skills;
|
import gq.unurled.raxen.components.player.Skills;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
|
@ -18,14 +18,14 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Skills.updateSkills;
|
import static gq.unurled.raxen.utils.Skills.updateSkills;
|
||||||
import static gq.unurled.elixium.utils.Utils.*;
|
import static gq.unurled.raxen.utils.Utils.*;
|
||||||
|
|
||||||
public class NbtCommand implements TabExecutor {
|
public class NbtCommand implements TabExecutor {
|
||||||
|
|
||||||
private ProfileManager profileManager;
|
private ProfileManager profileManager;
|
||||||
|
|
||||||
public NbtCommand(Elixium main) {
|
public NbtCommand(Raxen main) {
|
||||||
this.profileManager = main.getProfileManager();
|
this.profileManager = main.getProfileManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ public class NbtCommand implements TabExecutor {
|
||||||
skills.addStrength(nbti.getInteger("STRENGTH"));
|
skills.addStrength(nbti.getInteger("STRENGTH"));
|
||||||
}
|
}
|
||||||
it = nbti.getItem();
|
it = nbti.getItem();
|
||||||
msgPlayer(player, Elixium.getPrefix() + color("&fYou successfully added the nbt " +attributes(args[0]) + "&fwith " + args[1] + "&f."));
|
msgPlayer(player, Raxen.getPrefix() + color("&fYou successfully added the nbt " +attributes(args[0]) + "&fwith " + args[1] + "&f."));
|
||||||
updateSkills(player);
|
updateSkills(player);
|
||||||
player.getInventory().setItem(player.getInventory().getHeldItemSlot(), it);
|
player.getInventory().setItem(player.getInventory().getHeldItemSlot(), it);
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
package gq.unurled.elixium.commands.admin;
|
package gq.unurled.raxen.commands.admin;
|
||||||
|
|
||||||
import gq.unurled.elixium.utils.Reload;
|
import gq.unurled.raxen.utils.Reload;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
@ -11,7 +11,7 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.*;
|
import static gq.unurled.raxen.utils.Utils.*;
|
||||||
|
|
||||||
public class ReloadCommand implements TabExecutor {
|
public class ReloadCommand implements TabExecutor {
|
||||||
@Override
|
@Override
|
|
@ -1,4 +1,4 @@
|
||||||
package gq.unurled.elixium.commands.admin;
|
package gq.unurled.raxen.commands.admin;
|
||||||
|
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
@ -11,8 +11,8 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.color;
|
import static gq.unurled.raxen.utils.Utils.color;
|
||||||
import static gq.unurled.elixium.utils.Utils.log;
|
import static gq.unurled.raxen.utils.Utils.log;
|
||||||
|
|
||||||
public class TestGuiCommand implements TabExecutor {
|
public class TestGuiCommand implements TabExecutor {
|
||||||
@Override
|
@Override
|
|
@ -1,8 +1,8 @@
|
||||||
package gq.unurled.elixium.commands.player;
|
package gq.unurled.raxen.commands.player;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.components.player.Skills;
|
import gq.unurled.raxen.components.player.Skills;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
@ -13,13 +13,13 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.*;
|
import static gq.unurled.raxen.utils.Utils.*;
|
||||||
|
|
||||||
public class SkillsCommand implements TabExecutor {
|
public class SkillsCommand implements TabExecutor {
|
||||||
|
|
||||||
private ProfileManager profileManager;
|
private ProfileManager profileManager;
|
||||||
|
|
||||||
public SkillsCommand(Elixium main) {
|
public SkillsCommand(Raxen main) {
|
||||||
this.profileManager = main.getProfileManager();
|
this.profileManager = main.getProfileManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ public class SkillsCommand implements TabExecutor {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
gq.unurled.elixium.utils.Skills.updateSkills(player);
|
gq.unurled.raxen.utils.Skills.updateSkills(player);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
|
@ -1,10 +1,8 @@
|
||||||
package gq.unurled.elixium.commands.player;
|
package gq.unurled.raxen.commands.player;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.manager.PlayerManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.OfflinePlayer;
|
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.command.TabExecutor;
|
import org.bukkit.command.TabExecutor;
|
||||||
|
@ -15,11 +13,11 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.*;
|
import static gq.unurled.raxen.utils.Utils.*;
|
||||||
|
|
||||||
public class StorageCommand implements TabExecutor {
|
public class StorageCommand implements TabExecutor {
|
||||||
|
|
||||||
private ProfileManager profileManager = Elixium.getProfileManager();
|
private ProfileManager profileManager = Raxen.getProfileManager();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
|
@ -1,7 +1,6 @@
|
||||||
package gq.unurled.elixium.components.player;
|
package gq.unurled.raxen.components.player;
|
||||||
|
|
||||||
import gq.unurled.elixium.components.player.Storages.EnderChest;
|
import gq.unurled.raxen.components.player.Storages.Inventory;
|
||||||
import gq.unurled.elixium.components.player.Storages.Inventory;
|
|
||||||
|
|
||||||
public class Inventories {
|
public class Inventories {
|
||||||
private Inventory inv;
|
private Inventory inv;
|
|
@ -1,4 +1,4 @@
|
||||||
package gq.unurled.elixium.components.player;
|
package gq.unurled.raxen.components.player;
|
||||||
|
|
||||||
public class Profile {
|
public class Profile {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gq.unurled.elixium.components.player;
|
package gq.unurled.raxen.components.player;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
|
@ -1,6 +1,6 @@
|
||||||
package gq.unurled.elixium.components.player;
|
package gq.unurled.raxen.components.player;
|
||||||
|
|
||||||
import gq.unurled.elixium.components.player.Storages.EnderChest;
|
import gq.unurled.raxen.components.player.Storages.EnderChest;
|
||||||
|
|
||||||
public class Storage {
|
public class Storage {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package gq.unurled.elixium.components.player.Storages;
|
package gq.unurled.raxen.components.player.Storages;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
|
@ -1,8 +1,7 @@
|
||||||
package gq.unurled.elixium.components.player.Storages;
|
package gq.unurled.raxen.components.player.Storages;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import net.kyori.adventure.text.Component;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.event.inventory.InventoryType;
|
import org.bukkit.event.inventory.InventoryType;
|
||||||
|
|
34
src/main/java/gq/unurled/raxen/config/Config.java
Normal file
34
src/main/java/gq/unurled/raxen/config/Config.java
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
package gq.unurled.raxen.config;
|
||||||
|
|
||||||
|
import gq.unurled.raxen.Raxen;
|
||||||
|
import lombok.Getter;
|
||||||
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
|
||||||
|
public class Config {
|
||||||
|
private Raxen main;
|
||||||
|
|
||||||
|
private File configFile;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
private FileConfiguration config;
|
||||||
|
|
||||||
|
|
||||||
|
public Config(Raxen main) {
|
||||||
|
this.main = main;
|
||||||
|
this.config = main.getConfig();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void init() {
|
||||||
|
FileConfiguration config = main.getConfig();
|
||||||
|
File configFile = new File(main.getDataFolder() + "/config.yml");
|
||||||
|
if (!(configFile.exists())) {
|
||||||
|
main.saveDefaultConfig();
|
||||||
|
}
|
||||||
|
if(!main.getVersion().equalsIgnoreCase((String) config.get("version"))){
|
||||||
|
main.saveDefaultConfig();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1,16 +1,16 @@
|
||||||
package gq.unurled.elixium.config;
|
package gq.unurled.raxen.config;
|
||||||
|
|
||||||
import com.mongodb.client.MongoCollection;
|
import com.mongodb.client.MongoCollection;
|
||||||
import com.mongodb.client.model.Filters;
|
import com.mongodb.client.model.Filters;
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.components.player.Inventories;
|
import gq.unurled.raxen.components.player.Inventories;
|
||||||
import gq.unurled.elixium.components.player.Profile;
|
import gq.unurled.raxen.components.player.Profile;
|
||||||
import gq.unurled.elixium.components.player.Skills;
|
import gq.unurled.raxen.components.player.Skills;
|
||||||
import gq.unurled.elixium.components.player.Storage;
|
import gq.unurled.raxen.components.player.Storage;
|
||||||
import gq.unurled.elixium.components.player.Storages.EnderChest;
|
import gq.unurled.raxen.components.player.Storages.EnderChest;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import gq.unurled.elixium.utils.MongoDB;
|
import gq.unurled.raxen.utils.MongoDB;
|
||||||
import gq.unurled.elixium.utils.Utils;
|
import gq.unurled.raxen.utils.Utils;
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bson.Document;
|
import org.bson.Document;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
@ -21,20 +21,18 @@ import org.bukkit.inventory.Inventory;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.log;
|
import static gq.unurled.raxen.utils.Utils.log;
|
||||||
|
|
||||||
public class PlayerConfig {
|
public class PlayerConfig {
|
||||||
|
|
||||||
private Elixium main;
|
private Raxen main;
|
||||||
private MongoDB mongoDB;
|
private MongoDB mongoDB;
|
||||||
private MongoCollection<Document> mongoCollection;
|
private MongoCollection<Document> mongoCollection;
|
||||||
private ProfileManager profileManager;
|
private ProfileManager profileManager;
|
||||||
|
|
||||||
public PlayerConfig(Elixium main) {
|
public PlayerConfig(Raxen main) {
|
||||||
this.main = main;
|
this.main = main;
|
||||||
this.mongoDB = main.getMongoDB();
|
this.mongoDB = main.getMongoDB();
|
||||||
this.mongoCollection = mongoDB.getMongoCollection();
|
this.mongoCollection = mongoDB.getMongoCollection();
|
||||||
|
@ -110,7 +108,7 @@ public class PlayerConfig {
|
||||||
ItemStack[] itListInv = Utils.listItemStackDeserilize(playerDoc.getString("inv"));
|
ItemStack[] itListInv = Utils.listItemStackDeserilize(playerDoc.getString("inv"));
|
||||||
inv.addItem(itListInv);
|
inv.addItem(itListInv);
|
||||||
player.updateInventory();
|
player.updateInventory();
|
||||||
gq.unurled.elixium.components.player.Storages.Inventory invv = new gq.unurled.elixium.components.player.Storages.Inventory(inv);
|
gq.unurled.raxen.components.player.Storages.Inventory invv = new gq.unurled.raxen.components.player.Storages.Inventory(inv);
|
||||||
Inventories invvv = new Inventories(invv);
|
Inventories invvv = new Inventories(invv);
|
||||||
profileManager.setPlayerInventory(player.getUniqueId(), invvv);
|
profileManager.setPlayerInventory(player.getUniqueId(), invvv);
|
||||||
log("Player: " + player.getName() + " data successfully loaded!");
|
log("Player: " + player.getName() + " data successfully loaded!");
|
|
@ -1,10 +1,10 @@
|
||||||
package gq.unurled.elixium.listener.player;
|
package gq.unurled.raxen.listener.player;
|
||||||
|
|
||||||
import com.destroystokyo.paper.event.player.PlayerArmorChangeEvent;
|
import com.destroystokyo.paper.event.player.PlayerArmorChangeEvent;
|
||||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.components.player.Skills;
|
import gq.unurled.raxen.components.player.Skills;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
@ -15,7 +15,7 @@ public class ArmorEvent implements Listener {
|
||||||
|
|
||||||
private ProfileManager profileManager;
|
private ProfileManager profileManager;
|
||||||
|
|
||||||
public ArmorEvent(Elixium main) {
|
public ArmorEvent(Raxen main) {
|
||||||
this.profileManager = main.getProfileManager();
|
this.profileManager = main.getProfileManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,6 +55,6 @@ public class ArmorEvent implements Listener {
|
||||||
skills.addStrength(nbti.getInteger("STRENGTH"));
|
skills.addStrength(nbti.getInteger("STRENGTH"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gq.unurled.elixium.utils.Skills.updateSkills(player);
|
gq.unurled.raxen.utils.Skills.updateSkills(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
package gq.unurled.elixium.listener.player;
|
package gq.unurled.raxen.listener.player;
|
||||||
|
|
||||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.components.player.Skills;
|
import gq.unurled.raxen.components.player.Skills;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
@ -15,7 +15,7 @@ public class ItemHandEvent implements Listener {
|
||||||
|
|
||||||
private ProfileManager profileManager;
|
private ProfileManager profileManager;
|
||||||
|
|
||||||
public ItemHandEvent(Elixium main) {
|
public ItemHandEvent(Raxen main) {
|
||||||
this.profileManager = main.getProfileManager();
|
this.profileManager = main.getProfileManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,6 +55,6 @@ public class ItemHandEvent implements Listener {
|
||||||
skills.addStrength(nbti.getInteger("STRENGTH"));
|
skills.addStrength(nbti.getInteger("STRENGTH"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gq.unurled.elixium.utils.Skills.updateSkills(player);
|
gq.unurled.raxen.utils.Skills.updateSkills(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,8 +1,8 @@
|
||||||
package gq.unurled.elixium.listener.player;
|
package gq.unurled.raxen.listener.player;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.config.PlayerConfig;
|
import gq.unurled.raxen.config.PlayerConfig;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
|
@ -10,11 +10,11 @@ import org.bukkit.event.player.PlayerJoinEvent;
|
||||||
|
|
||||||
public class JoinEvent implements Listener {
|
public class JoinEvent implements Listener {
|
||||||
|
|
||||||
private Elixium main;
|
private Raxen main;
|
||||||
private ProfileManager profileManager;
|
private ProfileManager profileManager;
|
||||||
private PlayerConfig playerConfig;
|
private PlayerConfig playerConfig;
|
||||||
|
|
||||||
public JoinEvent(Elixium main) {
|
public JoinEvent(Raxen main) {
|
||||||
this.main = main;
|
this.main = main;
|
||||||
this.profileManager = main.getProfileManager();
|
this.profileManager = main.getProfileManager();
|
||||||
this.playerConfig = main.getPlayerConfig();
|
this.playerConfig = main.getPlayerConfig();
|
|
@ -1,8 +1,8 @@
|
||||||
package gq.unurled.elixium.listener.player;
|
package gq.unurled.raxen.listener.player;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.config.PlayerConfig;
|
import gq.unurled.raxen.config.PlayerConfig;
|
||||||
import gq.unurled.elixium.manager.ProfileManager;
|
import gq.unurled.raxen.manager.ProfileManager;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
|
@ -12,7 +12,7 @@ public class LeaveEvent implements Listener {
|
||||||
|
|
||||||
private final PlayerConfig playerConfig;
|
private final PlayerConfig playerConfig;
|
||||||
|
|
||||||
public LeaveEvent(Elixium main) {
|
public LeaveEvent(Raxen main) {
|
||||||
ProfileManager profileManager = main.getProfileManager();
|
ProfileManager profileManager = main.getProfileManager();
|
||||||
this.playerConfig = main.getPlayerConfig();
|
this.playerConfig = main.getPlayerConfig();
|
||||||
}
|
}
|
|
@ -1,18 +1,18 @@
|
||||||
package gq.unurled.elixium.manager;
|
package gq.unurled.raxen.manager;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.commands.admin.NbtCommand;
|
import gq.unurled.raxen.commands.admin.NbtCommand;
|
||||||
import gq.unurled.elixium.commands.admin.ReloadCommand;
|
import gq.unurled.raxen.commands.admin.ReloadCommand;
|
||||||
import gq.unurled.elixium.commands.admin.TestGuiCommand;
|
import gq.unurled.raxen.commands.admin.TestGuiCommand;
|
||||||
import gq.unurled.elixium.commands.player.SkillsCommand;
|
import gq.unurled.raxen.commands.player.SkillsCommand;
|
||||||
import gq.unurled.elixium.commands.player.StorageCommand;
|
import gq.unurled.raxen.commands.player.StorageCommand;
|
||||||
|
|
||||||
|
|
||||||
public class CommandManager {
|
public class CommandManager {
|
||||||
|
|
||||||
private Elixium main;
|
private Raxen main;
|
||||||
|
|
||||||
public CommandManager(Elixium main) {
|
public CommandManager(Raxen main) {
|
||||||
this.main = main;
|
this.main = main;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,17 @@
|
||||||
package gq.unurled.elixium.manager;
|
package gq.unurled.raxen.manager;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.listener.player.*;
|
import gq.unurled.raxen.listener.player.*;
|
||||||
import gq.unurled.elixium.utils.AureliumSkills;
|
import gq.unurled.raxen.utils.AureliumSkills;
|
||||||
import gq.unurled.elixium.utils.Reload;
|
import gq.unurled.raxen.utils.Reload;
|
||||||
import org.bukkit.event.Listener;
|
|
||||||
import org.bukkit.plugin.PluginManager;
|
import org.bukkit.plugin.PluginManager;
|
||||||
|
|
||||||
public class ListenerManager {
|
public class ListenerManager {
|
||||||
|
|
||||||
private final Elixium main;
|
private final Raxen main;
|
||||||
private final PluginManager pm;
|
private final PluginManager pm;
|
||||||
|
|
||||||
public ListenerManager(Elixium main) {
|
public ListenerManager(Raxen main) {
|
||||||
this.main = main;
|
this.main = main;
|
||||||
this.pm = main.getPm();
|
this.pm = main.getPm();
|
||||||
}
|
}
|
12
src/main/java/gq/unurled/raxen/manager/PlayerManager.java
Normal file
12
src/main/java/gq/unurled/raxen/manager/PlayerManager.java
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
package gq.unurled.raxen.manager;
|
||||||
|
|
||||||
|
import gq.unurled.raxen.Raxen;
|
||||||
|
|
||||||
|
public class PlayerManager {
|
||||||
|
|
||||||
|
private Raxen main;
|
||||||
|
|
||||||
|
public PlayerManager(Raxen main) {
|
||||||
|
this.main = main;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,12 +1,12 @@
|
||||||
package gq.unurled.elixium.manager;
|
package gq.unurled.raxen.manager;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.components.player.Inventories;
|
import gq.unurled.raxen.components.player.Inventories;
|
||||||
import gq.unurled.elixium.components.player.Profile;
|
import gq.unurled.raxen.components.player.Profile;
|
||||||
import gq.unurled.elixium.components.player.Skills;
|
import gq.unurled.raxen.components.player.Skills;
|
||||||
import gq.unurled.elixium.components.player.Storage;
|
import gq.unurled.raxen.components.player.Storage;
|
||||||
import gq.unurled.elixium.components.player.Storages.EnderChest;
|
import gq.unurled.raxen.components.player.Storages.EnderChest;
|
||||||
import gq.unurled.elixium.components.player.Storages.Inventory;
|
import gq.unurled.raxen.components.player.Storages.Inventory;
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
@ -16,16 +16,16 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.log;
|
import static gq.unurled.raxen.utils.Utils.log;
|
||||||
|
|
||||||
public class ProfileManager {
|
public class ProfileManager {
|
||||||
|
|
||||||
private Elixium main;
|
private Raxen main;
|
||||||
private Map<UUID, Profile> profiles = new HashMap<>();
|
private Map<UUID, Profile> profiles = new HashMap<>();
|
||||||
private Map<UUID, Storage> storages = new HashMap<>();
|
private Map<UUID, Storage> storages = new HashMap<>();
|
||||||
private Map<UUID, Inventories> inventory = new HashMap<>();
|
private Map<UUID, Inventories> inventory = new HashMap<>();
|
||||||
|
|
||||||
public ProfileManager(Elixium main) {
|
public ProfileManager(Raxen main) {
|
||||||
this.main = main;
|
this.main = main;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,18 @@
|
||||||
package gq.unurled.elixium.utils;
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
import com.archyx.aureliumskills.api.AureliumAPI;
|
import com.archyx.aureliumskills.api.AureliumAPI;
|
||||||
import com.archyx.aureliumskills.api.event.SkillLevelUpEvent;
|
import com.archyx.aureliumskills.api.event.SkillLevelUpEvent;
|
||||||
import com.archyx.aureliumskills.skills.Skill;
|
import com.archyx.aureliumskills.skills.Skill;
|
||||||
import com.archyx.aureliumskills.skills.SkillRegistry;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.Elixium;
|
|
||||||
import lombok.Getter;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Locale;
|
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.log;
|
|
||||||
import static gq.unurled.elixium.utils.Utils.msgPlayer;
|
|
||||||
|
|
||||||
public class AureliumSkills implements Listener {
|
public class AureliumSkills implements Listener {
|
||||||
|
|
||||||
private static AureliumAPI aureliumAPI;
|
private static AureliumAPI aureliumAPI;
|
||||||
|
|
||||||
public AureliumSkills(Elixium main) {
|
public AureliumSkills(Raxen main) {
|
||||||
this.aureliumAPI = main.getAureliumAPI();
|
this.aureliumAPI = main.getAureliumAPI();
|
||||||
}
|
}
|
||||||
|
|
24
src/main/java/gq/unurled/raxen/utils/LuckPerm.java
Normal file
24
src/main/java/gq/unurled/raxen/utils/LuckPerm.java
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
|
import gq.unurled.raxen.Raxen;
|
||||||
|
import lombok.Getter;
|
||||||
|
import net.luckperms.api.LuckPerms;
|
||||||
|
import org.bukkit.Bukkit;
|
||||||
|
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||||
|
|
||||||
|
public class LuckPerm {
|
||||||
|
|
||||||
|
private static RegisteredServiceProvider<LuckPerms> provider;
|
||||||
|
@Getter
|
||||||
|
private static LuckPerms api;
|
||||||
|
|
||||||
|
public LuckPerm(Raxen main) {
|
||||||
|
provider = Bukkit.getServicesManager().getRegistration(LuckPerms.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void register() {
|
||||||
|
if (provider != null) {
|
||||||
|
api = provider.getProvider();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,11 +1,10 @@
|
||||||
package gq.unurled.elixium.utils;
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
import com.mongodb.ConnectionString;
|
import com.mongodb.ConnectionString;
|
||||||
import com.mongodb.client.MongoClient;
|
import com.mongodb.client.MongoClient;
|
||||||
import com.mongodb.client.MongoClients;
|
import com.mongodb.client.MongoClients;
|
||||||
import com.mongodb.client.MongoCollection;
|
import com.mongodb.client.MongoCollection;
|
||||||
import com.mongodb.client.MongoDatabase;
|
import com.mongodb.client.MongoDatabase;
|
||||||
import gq.unurled.elixium.Elixium;
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import org.bson.Document;
|
import org.bson.Document;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
|
@ -1,7 +1,6 @@
|
||||||
package gq.unurled.elixium.utils;
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.config.Config;
|
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
@ -17,16 +16,14 @@ import java.nio.file.Paths;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.log;
|
|
||||||
|
|
||||||
public class Reload implements Listener {
|
public class Reload implements Listener {
|
||||||
|
|
||||||
private static FileConfiguration config = Elixium.getPlugin().getConfig();
|
private static FileConfiguration config = Raxen.getPlugin().getConfig();
|
||||||
private static boolean serverReloading = true;
|
private static boolean serverReloading = true;
|
||||||
|
|
||||||
public static void kickAll() {
|
public static void kickAll() {
|
||||||
for(Player player : Bukkit.getOnlinePlayers()) {
|
for(Player player : Bukkit.getOnlinePlayers()) {
|
||||||
player.kick(Component.text(Elixium.getPrefix() + "\n §cServer is Restarting\n §cPlease Wait a few Minutes to reconnect."));
|
player.kick(Component.text(Raxen.getPrefix() + "\n§cServer is Restarting\n §cPlease Wait a few Minutes to reconnect."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
package gq.unurled.elixium.utils;
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import org.bukkit.attribute.Attribute;
|
import org.bukkit.attribute.Attribute;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import static gq.unurled.elixium.utils.Utils.color;
|
import static gq.unurled.raxen.utils.Utils.msgPlayer;
|
||||||
import static gq.unurled.elixium.utils.Utils.msgPlayer;
|
|
||||||
|
|
||||||
public class Skills {
|
public class Skills {
|
||||||
|
|
||||||
public static void updateSkills(Player player) {
|
public static void updateSkills(Player player) {
|
||||||
gq.unurled.elixium.components.player.Skills skills = Elixium.getProfileManager().getPlayerProfile(player.getUniqueId()).getSkils();
|
gq.unurled.raxen.components.player.Skills skills = Raxen.getProfileManager().getPlayerProfile(player.getUniqueId()).getSkils();
|
||||||
int health, defense, speed, strength;
|
int health, defense, speed, strength;
|
||||||
health = skills.getHealth();
|
health = skills.getHealth();
|
||||||
defense = skills.getDefense();
|
defense = skills.getDefense();
|
|
@ -1,18 +1,17 @@
|
||||||
package gq.unurled.elixium.utils;
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
import com.comphenix.protocol.PacketType;
|
import com.comphenix.protocol.PacketType;
|
||||||
import com.comphenix.protocol.ProtocolManager;
|
import com.comphenix.protocol.ProtocolManager;
|
||||||
import com.comphenix.protocol.events.ListenerPriority;
|
import com.comphenix.protocol.events.ListenerPriority;
|
||||||
import com.comphenix.protocol.events.PacketAdapter;
|
import com.comphenix.protocol.events.PacketAdapter;
|
||||||
import net.minecraft.server.players.PlayerList;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.Elixium;
|
|
||||||
|
|
||||||
public class TabApi {
|
public class TabApi {
|
||||||
|
|
||||||
private ProtocolManager protocolManager;
|
private ProtocolManager protocolManager;
|
||||||
private Elixium main;
|
private Raxen main;
|
||||||
|
|
||||||
public TabApi(Elixium main) {
|
public TabApi(Raxen main) {
|
||||||
this.main = main;
|
this.main = main;
|
||||||
this.protocolManager = main.getProtocolManager();
|
this.protocolManager = main.getProtocolManager();
|
||||||
}
|
}
|
|
@ -1,29 +1,24 @@
|
||||||
package gq.unurled.elixium.utils;
|
package gq.unurled.raxen.utils;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.google.gson.reflect.TypeToken;
|
import com.google.gson.reflect.TypeToken;
|
||||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
|
||||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||||
import gq.unurled.elixium.Elixium;
|
import gq.unurled.raxen.Raxen;
|
||||||
import gq.unurled.elixium.commands.admin.NbtCommand;
|
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.craftbukkit.v1_17_R1.inventory.CraftItemStack;
|
|
||||||
import org.bukkit.enchantments.Enchantment;
|
import org.bukkit.enchantments.Enchantment;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemFlag;
|
import org.bukkit.inventory.ItemFlag;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.inventory.meta.ItemMeta;
|
import org.bukkit.inventory.meta.ItemMeta;
|
||||||
import org.checkerframework.checker.units.qual.N;
|
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
public class Utils {
|
public class Utils {
|
||||||
|
|
||||||
private static Logger logger = Elixium.getPluginLogger();
|
private static Logger logger = Raxen.getPluginLogger();
|
||||||
|
|
||||||
public static String color(String string) {
|
public static String color(String string) {
|
||||||
return ChatColor.translateAlternateColorCodes('&', string);
|
return ChatColor.translateAlternateColorCodes('&', string);
|
|
@ -1,2 +1,3 @@
|
||||||
|
version: "${project.version}"
|
||||||
motd: "YAY, Super server!"
|
motd: "YAY, Super server!"
|
||||||
motd-reload: "Server reloading!"
|
motd-reload: "Server reloading!"
|
|
@ -1,6 +1,6 @@
|
||||||
name: Elixium
|
name: Raxen
|
||||||
version: '${project.version}'
|
version: '${project.version}'
|
||||||
main: gq.unurled.elixium.Elixium
|
main: gq.unurled.raxen.Raxen
|
||||||
api-version: 1.17
|
api-version: 1.17
|
||||||
depend: [ProtocolLib]
|
depend: [ProtocolLib]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue