Update from Git Manager GUI

This commit is contained in:
2026-01-23 12:17:49 +01:00
parent 96973d44e5
commit 27b9563a45
5 changed files with 577 additions and 25 deletions

View File

@@ -16,12 +16,9 @@ import de.nexuslobby.modules.servers.ServerSwitcherListener;
import de.nexuslobby.modules.armorstandtools.*;
import de.nexuslobby.modules.gadgets.GadgetModule;
import de.nexuslobby.modules.hologram.HologramModule;
import de.nexuslobby.utils.VoidProtection;
import de.nexuslobby.utils.DoubleJump;
import de.nexuslobby.utils.PlayerHider;
import de.nexuslobby.utils.MaintenanceListener;
import de.nexuslobby.utils.ConfigUpdater;
import de.nexuslobby.utils.UpdateChecker;
import de.nexuslobby.modules.mapart.MapArtModule; // Neu
import de.nexuslobby.modules.intro.IntroModule; // Neu
import de.nexuslobby.utils.*;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import net.md_5.bungee.api.chat.ClickEvent;
import net.md_5.bungee.api.chat.ComponentBuilder;
@@ -52,7 +49,9 @@ public class NexusLobby extends JavaPlugin implements Listener {
private ItemsModule itemsModule;
private GadgetModule gadgetModule;
private HologramModule hologramModule;
private DynamicArmorStandModule dynamicArmorStandModule; // Neu hinzugefügt
private DynamicArmorStandModule dynamicArmorStandModule;
private MapArtModule mapArtModule; // Neu
private IntroModule introModule; // Neu
private File visualsFile;
private FileConfiguration visualsConfig;
@@ -142,10 +141,17 @@ public class NexusLobby extends JavaPlugin implements Listener {
this.hologramModule = new HologramModule();
moduleManager.registerModule(this.hologramModule);
// Dynamic ArmorStand Module registrieren
// Dynamic ArmorStand Module
this.dynamicArmorStandModule = new DynamicArmorStandModule();
moduleManager.registerModule(this.dynamicArmorStandModule);
// MapArt & Intro Module
this.mapArtModule = new MapArtModule();
moduleManager.registerModule(this.mapArtModule);
this.introModule = new IntroModule();
moduleManager.registerModule(this.introModule);
moduleManager.registerModule(new SecurityModule());
moduleManager.registerModule(new BossBarModule());
moduleManager.registerModule(new ActionBarModule());
@@ -290,6 +296,10 @@ public class NexusLobby extends JavaPlugin implements Listener {
nexusCmd.setExecutor(new NexusLobbyCommand());
nexusCmd.setTabCompleter(tabCompleter);
}
// Neue Commands im TabCompleter registrieren
if (getCommand("mapart") != null) getCommand("mapart").setTabCompleter(tabCompleter);
if (getCommand("introtest") != null) getCommand("introtest").setTabCompleter(tabCompleter);
}
public class NexusLobbyExpansion extends PlaceholderExpansion {
@@ -314,5 +324,5 @@ public class NexusLobby extends JavaPlugin implements Listener {
public ItemsModule getItemsModule() { return itemsModule; }
public GadgetModule getGadgetModule() { return gadgetModule; }
public HologramModule getHologramModule() { return hologramModule; }
public DynamicArmorStandModule getDynamicArmorStandModule() { return dynamicArmorStandModule; } // Getter hinzugefügt
public DynamicArmorStandModule getDynamicArmorStandModule() { return dynamicArmorStandModule; }
}