Compare commits
6 Commits
1.0.5
...
a88fef28c3
Author | SHA1 | Date | |
---|---|---|---|
a88fef28c3 | |||
657a83e182 | |||
aadc1e75cc | |||
121bdcf8b4 | |||
a625527a1e | |||
03dc23cb50 |
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Ignoriere Build-Ordner
|
||||||
|
target/
|
||||||
|
|
||||||
|
# Ignoriere ZIP-Dateien
|
||||||
|
*.zip
|
7
pom.xml
7
pom.xml
@@ -6,7 +6,11 @@
|
|||||||
|
|
||||||
<groupId>de.viper</groupId>
|
<groupId>de.viper</groupId>
|
||||||
<artifactId>SurvivalPlus</artifactId>
|
<artifactId>SurvivalPlus</artifactId>
|
||||||
<version>1.0.5-Beta</version>
|
<<<<<<< HEAD
|
||||||
|
<version>1.0.7-Beta</version>
|
||||||
|
=======
|
||||||
|
<version>1.0.6-Beta</version>
|
||||||
|
>>>>>>> aadc1e75cc9b97929c3cde4fa3d098d281ba32f7
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>SurvivalPlus</name>
|
<name>SurvivalPlus</name>
|
||||||
@@ -111,6 +115,7 @@
|
|||||||
<include>shop.yml</include>
|
<include>shop.yml</include>
|
||||||
<include>warps.yml</include>
|
<include>warps.yml</include>
|
||||||
<include>tablist.yml</include>
|
<include>tablist.yml</include>
|
||||||
|
<include>blockedcommands.yml</include>
|
||||||
</includes>
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
|
193
src/main/java/de/viper/survivalplus/Manager/CommandBlocker.java
Normal file
193
src/main/java/de/viper/survivalplus/Manager/CommandBlocker.java
Normal file
@@ -0,0 +1,193 @@
|
|||||||
|
package de.viper.survivalplus.Manager;
|
||||||
|
|
||||||
|
import de.viper.survivalplus.SurvivalPlus;
|
||||||
|
import org.bukkit.command.Command;
|
||||||
|
import org.bukkit.command.CommandExecutor;
|
||||||
|
import org.bukkit.command.CommandSender;
|
||||||
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
|
import org.bukkit.entity.Player;
|
||||||
|
import org.bukkit.event.EventHandler;
|
||||||
|
import org.bukkit.event.Listener;
|
||||||
|
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class CommandBlocker implements Listener, CommandExecutor {
|
||||||
|
|
||||||
|
private final SurvivalPlus plugin;
|
||||||
|
private FileConfiguration blockedCommandsConfig;
|
||||||
|
private File blockedCommandsFile;
|
||||||
|
private List<String> blockedCommands;
|
||||||
|
|
||||||
|
public CommandBlocker(SurvivalPlus plugin) {
|
||||||
|
this.plugin = plugin;
|
||||||
|
|
||||||
|
// Lade blockedcommands.yml
|
||||||
|
try {
|
||||||
|
blockedCommandsFile = new File(plugin.getDataFolder(), "blockedcommands.yml");
|
||||||
|
if (!blockedCommandsFile.exists()) {
|
||||||
|
plugin.saveResource("blockedcommands.yml", false);
|
||||||
|
}
|
||||||
|
blockedCommandsConfig = YamlConfiguration.loadConfiguration(blockedCommandsFile);
|
||||||
|
blockedCommands = blockedCommandsConfig.getStringList("blocked-commands");
|
||||||
|
if (blockedCommands == null) {
|
||||||
|
blockedCommands = new ArrayList<>();
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
blockedCommands = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Registriere Listener und Command
|
||||||
|
plugin.getServer().getPluginManager().registerEvents(this, plugin);
|
||||||
|
plugin.getCommand("sp").setExecutor(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Verarbeitet /sp cb Befehle
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||||
|
if (args.length < 2 || !args[0].equalsIgnoreCase("cb")) {
|
||||||
|
return false; // Wird von anderen /sp Subcommands behandelt
|
||||||
|
}
|
||||||
|
|
||||||
|
String subCommand = args[1].toLowerCase();
|
||||||
|
|
||||||
|
switch (subCommand) {
|
||||||
|
case "add":
|
||||||
|
return handleAddCommand(sender, args);
|
||||||
|
case "remove":
|
||||||
|
return handleRemoveCommand(sender, args);
|
||||||
|
case "list":
|
||||||
|
return handleListCommand(sender);
|
||||||
|
default:
|
||||||
|
sender.sendMessage("§cUnbekannter Subcommand! Verfügbare Subcommands: add, remove, list");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* /sp cb add <command>
|
||||||
|
*/
|
||||||
|
private boolean handleAddCommand(CommandSender sender, String[] args) {
|
||||||
|
if (!sender.hasPermission("survivalplus.commandblocker.add")) {
|
||||||
|
sender.sendMessage("§cDu hast keine Berechtigung für diesen Befehl!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (args.length < 3) {
|
||||||
|
sender.sendMessage("§eBenutzung: /sp cb add <command>");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
String commandToBlock = args[2].toLowerCase().replaceFirst("^/", "").trim();
|
||||||
|
if (commandToBlock.isEmpty()) {
|
||||||
|
sender.sendMessage("§cBitte gib einen gültigen Befehl an!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (blockedCommands.contains(commandToBlock)) {
|
||||||
|
sender.sendMessage("§cDer Befehl §e/" + commandToBlock + "§c ist bereits blockiert!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockedCommands.add(commandToBlock);
|
||||||
|
blockedCommandsConfig.set("blocked-commands", blockedCommands);
|
||||||
|
blockedCommandsConfig.save(blockedCommandsFile);
|
||||||
|
sender.sendMessage("§aDer Befehl §e/" + commandToBlock + "§a wurde zur Blockierliste hinzugefügt.");
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
sender.sendMessage("§cFehler beim Hinzufügen des Befehls!");
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* /sp cb remove <command>
|
||||||
|
*/
|
||||||
|
private boolean handleRemoveCommand(CommandSender sender, String[] args) {
|
||||||
|
if (!sender.hasPermission("survivalplus.commandblocker.remove")) {
|
||||||
|
sender.sendMessage("§cDu hast keine Berechtigung für diesen Befehl!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (args.length < 3) {
|
||||||
|
sender.sendMessage("§eBenutzung: /sp cb remove <command>");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
String commandToUnblock = args[2].toLowerCase().replaceFirst("^/", "").trim();
|
||||||
|
if (commandToUnblock.isEmpty()) {
|
||||||
|
sender.sendMessage("§cBitte gib einen gültigen Befehl an!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (!blockedCommands.contains(commandToUnblock)) {
|
||||||
|
sender.sendMessage("§cDer Befehl §e/" + commandToUnblock + "§c ist nicht blockiert!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockedCommands.remove(commandToUnblock);
|
||||||
|
blockedCommandsConfig.set("blocked-commands", blockedCommands);
|
||||||
|
blockedCommandsConfig.save(blockedCommandsFile);
|
||||||
|
sender.sendMessage("§aDer Befehl §e/" + commandToUnblock + "§a wurde aus der Blockierliste entfernt.");
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
sender.sendMessage("§cFehler beim Entfernen des Befehls!");
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* /sp cb list
|
||||||
|
*/
|
||||||
|
private boolean handleListCommand(CommandSender sender) {
|
||||||
|
if (!sender.hasPermission("survivalplus.commandblocker.list")) {
|
||||||
|
sender.sendMessage("§cDu hast keine Berechtigung für diesen Befehl!");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (blockedCommands.isEmpty()) {
|
||||||
|
sender.sendMessage("§eEs sind keine Befehle blockiert.");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
sender.sendMessage("§6=== Blockierte Befehle ===");
|
||||||
|
for (String cmd : blockedCommands) {
|
||||||
|
sender.sendMessage("§e- /" + cmd);
|
||||||
|
}
|
||||||
|
sender.sendMessage("§6=====================");
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
sender.sendMessage("§cFehler beim Abrufen der Blockierliste!");
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Blockiere Befehle, wenn sie in der Liste sind
|
||||||
|
*/
|
||||||
|
@EventHandler
|
||||||
|
public void onPlayerCommand(PlayerCommandPreprocessEvent event) {
|
||||||
|
Player player = event.getPlayer();
|
||||||
|
if (player.hasPermission("survivalplus.commandblocker.bypass")) {
|
||||||
|
return; // Spieler mit Bypass-Berechtigung ignorieren
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
String command = event.getMessage().toLowerCase().replaceFirst("^/", "").trim();
|
||||||
|
// Extrahiere den Hauptbefehl (ohne Argumente)
|
||||||
|
String mainCommand = command.split("\\s+")[0];
|
||||||
|
|
||||||
|
if (blockedCommands.contains(mainCommand)) {
|
||||||
|
event.setCancelled(true);
|
||||||
|
player.sendMessage("§cDieser Befehl ist blockiert!");
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -3,21 +3,30 @@ package de.viper.survivalplus.Manager;
|
|||||||
import de.viper.survivalplus.SurvivalPlus;
|
import de.viper.survivalplus.SurvivalPlus;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
import org.bukkit.event.EventHandler;
|
||||||
|
import org.bukkit.event.Listener;
|
||||||
|
import org.bukkit.event.player.AsyncPlayerChatEvent;
|
||||||
import org.bukkit.scheduler.BukkitRunnable;
|
import org.bukkit.scheduler.BukkitRunnable;
|
||||||
|
import org.bukkit.scoreboard.Scoreboard;
|
||||||
|
import org.bukkit.scoreboard.ScoreboardManager;
|
||||||
|
import org.bukkit.scoreboard.Team;
|
||||||
import me.clip.placeholderapi.PlaceholderAPI;
|
import me.clip.placeholderapi.PlaceholderAPI;
|
||||||
import net.luckperms.api.LuckPerms;
|
import net.luckperms.api.LuckPerms;
|
||||||
import net.luckperms.api.LuckPermsProvider;
|
import net.luckperms.api.LuckPermsProvider;
|
||||||
import net.luckperms.api.model.user.User;
|
import net.luckperms.api.model.user.User;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.logging.Level;
|
import java.util.Map;
|
||||||
|
|
||||||
public class TablistManager {
|
public class TablistManager implements Listener {
|
||||||
|
|
||||||
private final SurvivalPlus plugin;
|
private final SurvivalPlus plugin;
|
||||||
private final List<String> headerAnim = new ArrayList<>();
|
private final List<String> headerAnim = new ArrayList<>();
|
||||||
@@ -34,15 +43,39 @@ public class TablistManager {
|
|||||||
private String staffPermission;
|
private String staffPermission;
|
||||||
private String separatorLine;
|
private String separatorLine;
|
||||||
private LuckPerms luckPerms;
|
private LuckPerms luckPerms;
|
||||||
|
private boolean hasPlaceholderAPI;
|
||||||
|
private final Scoreboard scoreboard;
|
||||||
|
private final Map<String, Team> prefixTeams;
|
||||||
|
private FileConfiguration nicknameConfig;
|
||||||
|
|
||||||
public TablistManager(SurvivalPlus plugin) {
|
public TablistManager(SurvivalPlus plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
this.prefixTeams = new HashMap<>();
|
||||||
|
|
||||||
|
// Scoreboard initialisieren
|
||||||
|
ScoreboardManager scoreboardManager = Bukkit.getScoreboardManager();
|
||||||
|
this.scoreboard = scoreboardManager != null ? scoreboardManager.getMainScoreboard() : null;
|
||||||
|
|
||||||
// Resource sicherstellen, Config laden
|
// Resource sicherstellen, Config laden
|
||||||
try { plugin.saveResource("tablist.yml", false); } catch (Exception ignored) {}
|
try {
|
||||||
try { plugin.reloadTablistConfig(); } catch (Throwable ignored) {}
|
plugin.saveResource("tablist.yml", false);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
try {
|
||||||
|
plugin.reloadTablistConfig();
|
||||||
|
} catch (Exception ignored) {}
|
||||||
FileConfiguration config = plugin.getTablistConfig();
|
FileConfiguration config = plugin.getTablistConfig();
|
||||||
|
|
||||||
|
// Nicknames.yml laden
|
||||||
|
try {
|
||||||
|
File nicknameFile = new File(plugin.getDataFolder(), "nicknames.yml");
|
||||||
|
if (!nicknameFile.exists()) {
|
||||||
|
plugin.saveResource("nicknames.yml", false);
|
||||||
|
}
|
||||||
|
this.nicknameConfig = YamlConfiguration.loadConfiguration(nicknameFile);
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
this.nicknameConfig = null; // Keine Konsolenausgabe
|
||||||
|
}
|
||||||
|
|
||||||
// Konfigurationswerte laden
|
// Konfigurationswerte laden
|
||||||
this.enabled = config.getBoolean("enabled", true);
|
this.enabled = config.getBoolean("enabled", true);
|
||||||
this.serverName = config.getString("server-name", "SurvivalPlus");
|
this.serverName = config.getString("server-name", "SurvivalPlus");
|
||||||
@@ -57,13 +90,16 @@ public class TablistManager {
|
|||||||
// LuckPerms API initialisieren
|
// LuckPerms API initialisieren
|
||||||
try {
|
try {
|
||||||
this.luckPerms = LuckPermsProvider.get();
|
this.luckPerms = LuckPermsProvider.get();
|
||||||
} catch (IllegalStateException e) {
|
} catch (Throwable e) {
|
||||||
plugin.getLogger().warning("LuckPerms nicht gefunden! Versuche Fallback auf PlaceholderAPI.");
|
luckPerms = null; // Keine Konsolenausgabe
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prüfen, ob PlaceholderAPI verfügbar ist
|
// Prüfen, ob PlaceholderAPI verfügbar ist
|
||||||
if (!Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) {
|
this.hasPlaceholderAPI = Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI");
|
||||||
plugin.getLogger().warning("PlaceholderAPI nicht gefunden! Verwende Standard-Prefix als Fallback.");
|
|
||||||
|
// Chat-Listener registrieren
|
||||||
|
if (enabled) {
|
||||||
|
Bukkit.getPluginManager().registerEvents(this, plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!enabled) {
|
if (!enabled) {
|
||||||
@@ -112,17 +148,29 @@ public class TablistManager {
|
|||||||
|
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||||
try {
|
try {
|
||||||
// Spieler-Prefix abrufen (LuckPerms primär, PlaceholderAPI als Fallback)
|
// Nickname oder Spielername verwenden
|
||||||
String prefix = getPlayerPrefix(player);
|
String displayName = getNickname(player);
|
||||||
int ping = getPlayerPing(player);
|
if (displayName == null || displayName.trim().isEmpty()) {
|
||||||
// Korrigierte Formatierung: Gesamten String durch color-Methode leiten
|
displayName = player.getName();
|
||||||
String prefixedName = color(prefix + player.getName() + "&8 | &e" + ping + "ms");
|
}
|
||||||
player.setPlayerListName(prefixedName);
|
|
||||||
|
|
||||||
// Header mit Spielername und Statistiken
|
// Spielername für die Tablist setzen
|
||||||
|
String playerListName;
|
||||||
|
String prefix = getPlayerPrefix(player);
|
||||||
|
if (luckPerms == null && !hasPlaceholderAPI) {
|
||||||
|
playerListName = displayName;
|
||||||
|
updateNametag(player, "", displayName);
|
||||||
|
} else {
|
||||||
|
int ping = getPlayerPing(player);
|
||||||
|
playerListName = color(prefix + displayName + (ping >= 0 ? "&8 | &e" + ping + "ms" : ""));
|
||||||
|
updateNametag(player, prefix, displayName);
|
||||||
|
}
|
||||||
|
player.setPlayerListName(playerListName);
|
||||||
|
|
||||||
|
// Header mit Spielername/Nickname und Statistiken
|
||||||
String headerRaw = headerAnim.get(headerIndex)
|
String headerRaw = headerAnim.get(headerIndex)
|
||||||
.replace("{server}", serverName)
|
.replace("{server}", serverName)
|
||||||
.replace("{player}", player.getName())
|
.replace("{player}", displayName)
|
||||||
.replace("{online}", String.valueOf(onlinePlayers))
|
.replace("{online}", String.valueOf(onlinePlayers))
|
||||||
.replace("{staff}", String.valueOf(onlineStaff));
|
.replace("{staff}", String.valueOf(onlineStaff));
|
||||||
String footerRaw = footerAnim.get(footerIndex);
|
String footerRaw = footerAnim.get(footerIndex);
|
||||||
@@ -131,7 +179,7 @@ public class TablistManager {
|
|||||||
StringBuilder footerBuilder = new StringBuilder();
|
StringBuilder footerBuilder = new StringBuilder();
|
||||||
footerBuilder.append("\n"); // Extra Abstand
|
footerBuilder.append("\n"); // Extra Abstand
|
||||||
footerBuilder.append(color(footerRaw)).append("\n");
|
footerBuilder.append(color(footerRaw)).append("\n");
|
||||||
|
|
||||||
footerBuilder.append(color(separatorLine)).append("\n");
|
footerBuilder.append(color(separatorLine)).append("\n");
|
||||||
if (showTeamspeak || showDiscord) {
|
if (showTeamspeak || showDiscord) {
|
||||||
StringBuilder socialLine = new StringBuilder();
|
StringBuilder socialLine = new StringBuilder();
|
||||||
@@ -161,12 +209,9 @@ public class TablistManager {
|
|||||||
done = tryStringMethod(player, header, footer);
|
done = tryStringMethod(player, header, footer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 3) Wenn alles fehlschlägt -> Log
|
// 3) Keine Warnung bei Fehlschlag, da dies normal sein kann
|
||||||
if (!done) {
|
} catch (Exception ignored) {
|
||||||
plugin.getLogger().warning("Tablist: Keine geeignete Methode gefunden für Spieler " + player.getName());
|
// Keine Konsolenausgabe für Fehler bei der Tablist
|
||||||
}
|
|
||||||
} catch (Throwable t) {
|
|
||||||
plugin.getLogger().log(Level.FINE, "Fehler beim Setzen der Tablist für Spieler " + player.getName(), t);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,28 +221,170 @@ public class TablistManager {
|
|||||||
}.runTaskTimer(plugin, 0L, interval);
|
}.runTaskTimer(plugin, 0L, interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Nickname aus nicknames.yml abrufen
|
||||||
|
*/
|
||||||
|
private String getNickname(Player player) {
|
||||||
|
if (nicknameConfig == null) return null;
|
||||||
|
try {
|
||||||
|
String uuid = player.getUniqueId().toString();
|
||||||
|
String nickname = nicknameConfig.getString(uuid);
|
||||||
|
if (nickname != null && !nickname.trim().isEmpty()) {
|
||||||
|
try {
|
||||||
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".nickname", nickname);
|
||||||
|
debugConfig.save(debugFile);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
return nickname;
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Nametag über dem Kopf aktualisieren
|
||||||
|
*/
|
||||||
|
private void updateNametag(Player player, String prefix, String displayName) {
|
||||||
|
if (scoreboard == null) return;
|
||||||
|
|
||||||
|
try {
|
||||||
|
String teamName = generateTeamName(player, prefix);
|
||||||
|
Team team = scoreboard.getTeam(teamName);
|
||||||
|
|
||||||
|
// Team erstellen oder aktualisieren
|
||||||
|
if (team == null) {
|
||||||
|
team = scoreboard.registerNewTeam(teamName);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Prefix zwingend setzen, wenn LuckPerms installiert ist
|
||||||
|
String coloredPrefix = color(prefix != null && !prefix.trim().isEmpty() ? prefix : (luckPerms != null ? "&7[Spieler] " : ""));
|
||||||
|
team.setPrefix(coloredPrefix);
|
||||||
|
|
||||||
|
// Spieler dem Team hinzufügen
|
||||||
|
String entry = displayName != null && !displayName.trim().isEmpty() ? displayName : player.getName();
|
||||||
|
if (!team.hasEntry(entry)) {
|
||||||
|
// Spieler aus anderen Teams entfernen, um Konflikte zu vermeiden
|
||||||
|
for (Team existingTeam : scoreboard.getTeams()) {
|
||||||
|
if (!existingTeam.getName().equals(teamName)) {
|
||||||
|
existingTeam.removeEntry(entry);
|
||||||
|
existingTeam.removeEntry(player.getName());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
team.addEntry(entry);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Team für alle Spieler sichtbar machen
|
||||||
|
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
||||||
|
if (onlinePlayer.getScoreboard() != scoreboard) {
|
||||||
|
onlinePlayer.setScoreboard(scoreboard);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Debug-Ausgabe für Nametag
|
||||||
|
try {
|
||||||
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".nametag_prefix", coloredPrefix);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".nametag_entry", entry);
|
||||||
|
debugConfig.save(debugFile);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Eindeutigen Teamnamen generieren
|
||||||
|
*/
|
||||||
|
private String generateTeamName(Player player, String prefix) {
|
||||||
|
// Verwende UUID für eindeutige Teamnamen, falls kein Prefix vorhanden
|
||||||
|
if (prefix == null || prefix.trim().isEmpty()) {
|
||||||
|
return "nametag_" + player.getUniqueId().toString().substring(0, 8);
|
||||||
|
}
|
||||||
|
// Verwende Prefix für Teamnamen, max 16 Zeichen (Bukkit-Beschränkung)
|
||||||
|
String sanitizedPrefix = prefix.replaceAll("[^a-zA-Z0-9]", "").toLowerCase();
|
||||||
|
return "prefix_" + sanitizedPrefix.substring(0, Math.min(sanitizedPrefix.length(), 12));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Spieler-Prefix abrufen (LuckPerms primär, PlaceholderAPI als Fallback)
|
* Spieler-Prefix abrufen (LuckPerms primär, PlaceholderAPI als Fallback)
|
||||||
*/
|
*/
|
||||||
private String getPlayerPrefix(Player player) {
|
private String getPlayerPrefix(Player player) {
|
||||||
// Versuche LuckPerms-API zuerst
|
// Wenn LuckPerms installiert ist, Prefix zwingend abrufen
|
||||||
if (luckPerms != null) {
|
if (luckPerms != null) {
|
||||||
|
// Versuche LuckPerms-API zuerst
|
||||||
try {
|
try {
|
||||||
User user = luckPerms.getPlayerAdapter(Player.class).getUser(player);
|
User user = luckPerms.getPlayerAdapter(Player.class).getUser(player);
|
||||||
String prefix = user.getCachedData().getMetaData().getPrefix();
|
String prefix = user.getCachedData().getMetaData().getPrefix();
|
||||||
return (prefix == null || prefix.isEmpty()) ? "&7[Spieler] " : prefix + " ";
|
if (prefix != null && !prefix.trim().isEmpty()) {
|
||||||
} catch (Exception e) {
|
try {
|
||||||
plugin.getLogger().log(Level.FINE, "Fehler beim Abrufen des Prefix aus LuckPerms für Spieler " + player.getName(), e);
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".prefix", prefix);
|
||||||
|
debugConfig.save(debugFile);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
return prefix + " ";
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fallback auf PlaceholderAPI, wenn LuckPerms installiert ist
|
||||||
|
if (hasPlaceholderAPI) {
|
||||||
|
try {
|
||||||
|
String prefix = PlaceholderAPI.setPlaceholders(player, "%luckperms_prefix%");
|
||||||
|
if (prefix != null && !prefix.trim().isEmpty()) {
|
||||||
|
try {
|
||||||
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".prefix", prefix);
|
||||||
|
debugConfig.save(debugFile);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
return prefix + " ";
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Standard-Prefix, wenn LuckPerms installiert ist, aber kein Prefix definiert
|
||||||
|
try {
|
||||||
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".prefix", "&7[Spieler]");
|
||||||
|
debugConfig.save(debugFile);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
return "&7[Spieler] ";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Wenn LuckPerms nicht installiert ist, aber PlaceholderAPI vorhanden ist
|
||||||
|
if (hasPlaceholderAPI) {
|
||||||
|
try {
|
||||||
|
String prefix = PlaceholderAPI.setPlaceholders(player, "%luckperms_prefix%");
|
||||||
|
if (prefix != null && !prefix.trim().isEmpty()) {
|
||||||
|
try {
|
||||||
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
|
debugConfig.set(player.getUniqueId().toString() + ".prefix", prefix);
|
||||||
|
debugConfig.save(debugFile);
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
return prefix + " ";
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fallback auf PlaceholderAPI
|
// Standard-Prefix, wenn weder LuckPerms noch PlaceholderAPI einen Prefix liefern
|
||||||
if (Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) {
|
try {
|
||||||
String prefix = PlaceholderAPI.setPlaceholders(player, "%luckperms_prefix%");
|
File debugFile = new File(plugin.getDataFolder(), "debug.yml");
|
||||||
return (prefix == null || prefix.isEmpty()) ? "&7[Spieler] " : prefix + " ";
|
FileConfiguration debugConfig = YamlConfiguration.loadConfiguration(debugFile);
|
||||||
}
|
debugConfig.set(player.getUniqueId().toString() + ".prefix", "&7[Spieler]");
|
||||||
|
debugConfig.save(debugFile);
|
||||||
// Letzter Fallback: Standard-Prefix
|
} catch (Exception ignored) {}
|
||||||
return "&7[Spieler] ";
|
return "&7[Spieler] ";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,9 +396,28 @@ public class TablistManager {
|
|||||||
Method getHandle = player.getClass().getMethod("getHandle");
|
Method getHandle = player.getClass().getMethod("getHandle");
|
||||||
Object entityPlayer = getHandle.invoke(player);
|
Object entityPlayer = getHandle.invoke(player);
|
||||||
return entityPlayer.getClass().getField("ping").getInt(entityPlayer);
|
return entityPlayer.getClass().getField("ping").getInt(entityPlayer);
|
||||||
} catch (Exception e) {
|
} catch (Exception ignored) {
|
||||||
plugin.getLogger().log(Level.FINE, "Fehler beim Abrufen des Pings für Spieler " + player.getName(), e);
|
return -1; // Keine Konsolenausgabe
|
||||||
return -1;
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Chat-Format modifizieren
|
||||||
|
*/
|
||||||
|
@EventHandler
|
||||||
|
public void onPlayerChat(AsyncPlayerChatEvent event) {
|
||||||
|
try {
|
||||||
|
Player player = event.getPlayer();
|
||||||
|
String displayName = getNickname(player);
|
||||||
|
if (displayName == null || displayName.trim().isEmpty()) {
|
||||||
|
displayName = player.getName();
|
||||||
|
}
|
||||||
|
|
||||||
|
String prefix = getPlayerPrefix(player);
|
||||||
|
String format = color(prefix + displayName + "&7: &f") + "%2$s";
|
||||||
|
event.setFormat(format);
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
// Keine Konsolenausgabe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,7 +431,9 @@ public class TablistManager {
|
|||||||
try {
|
try {
|
||||||
textMethod = compClass.getMethod("text", CharSequence.class);
|
textMethod = compClass.getMethod("text", CharSequence.class);
|
||||||
} catch (NoSuchMethodException ignored) {
|
} catch (NoSuchMethodException ignored) {
|
||||||
try { textMethod = compClass.getMethod("text", String.class); } catch (NoSuchMethodException ignored2) {}
|
try {
|
||||||
|
textMethod = compClass.getMethod("text", String.class);
|
||||||
|
} catch (NoSuchMethodException ignored2) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
Object headerComp = null;
|
Object headerComp = null;
|
||||||
@@ -243,8 +451,8 @@ public class TablistManager {
|
|||||||
Method deserialize = miniMsgClass.getMethod("deserialize", String.class);
|
Method deserialize = miniMsgClass.getMethod("deserialize", String.class);
|
||||||
headerComp = deserialize.invoke(miniMsg, headerRaw);
|
headerComp = deserialize.invoke(miniMsg, headerRaw);
|
||||||
footerComp = deserialize.invoke(miniMsg, footerRaw);
|
footerComp = deserialize.invoke(miniMsg, footerRaw);
|
||||||
} catch (Throwable t) {
|
} catch (Exception ignored) {
|
||||||
// kein MiniMessage
|
// Kein MiniMessage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -265,10 +473,7 @@ public class TablistManager {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (ClassNotFoundException cnf) {
|
} catch (Exception ignored) {
|
||||||
return false;
|
|
||||||
} catch (Throwable t) {
|
|
||||||
plugin.getLogger().log(Level.FINER, "Adventure-Variante fehlgeschlagen: " + t.getMessage());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@@ -295,8 +500,7 @@ public class TablistManager {
|
|||||||
mf.invoke(player, footer);
|
mf.invoke(player, footer);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} catch (Throwable t) {
|
} catch (Exception ignored) {
|
||||||
plugin.getLogger().log(Level.FINER, "String-Variante fehlgeschlagen: " + t.getMessage());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@@ -311,7 +515,7 @@ public class TablistManager {
|
|||||||
try {
|
try {
|
||||||
Method m = current.getMethod(name, paramTypes);
|
Method m = current.getMethod(name, paramTypes);
|
||||||
if (m != null) return m;
|
if (m != null) return m;
|
||||||
} catch (NoSuchMethodException ignored) { }
|
} catch (NoSuchMethodException ignored) {}
|
||||||
current = current.getSuperclass();
|
current = current.getSuperclass();
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
@@ -34,7 +34,7 @@ import de.viper.survivalplus.commands.ReportCommand;
|
|||||||
import de.viper.survivalplus.Manager.ShopManager;
|
import de.viper.survivalplus.Manager.ShopManager;
|
||||||
import de.viper.survivalplus.commands.HealCommand;
|
import de.viper.survivalplus.commands.HealCommand;
|
||||||
import de.viper.survivalplus.Manager.TablistManager;
|
import de.viper.survivalplus.Manager.TablistManager;
|
||||||
|
import de.viper.survivalplus.Manager.CommandBlocker;
|
||||||
import de.viper.survivalplus.Manager.WarpManager;
|
import de.viper.survivalplus.Manager.WarpManager;
|
||||||
import de.viper.survivalplus.commands.SetWarpCommand;
|
import de.viper.survivalplus.commands.SetWarpCommand;
|
||||||
import de.viper.survivalplus.commands.WarpsCommand;
|
import de.viper.survivalplus.commands.WarpsCommand;
|
||||||
@@ -65,7 +65,9 @@ import org.bukkit.permissions.Permission;
|
|||||||
import org.bukkit.permissions.PermissionDefault;
|
import org.bukkit.permissions.PermissionDefault;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.Inventory;
|
import org.bukkit.inventory.Inventory;
|
||||||
|
import org.bukkit.command.Command;
|
||||||
|
import org.bukkit.command.CommandExecutor;
|
||||||
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
public class SurvivalPlus extends JavaPlugin {
|
public class SurvivalPlus extends JavaPlugin {
|
||||||
|
|
||||||
@@ -114,6 +116,13 @@ public class SurvivalPlus extends JavaPlugin {
|
|||||||
// FunChallengeManager als Feld
|
// FunChallengeManager als Feld
|
||||||
private FunChallengeManager funChallengeManager;
|
private FunChallengeManager funChallengeManager;
|
||||||
|
|
||||||
|
private File blockedCommandsFile;
|
||||||
|
private FileConfiguration blockedCommandsConfig;
|
||||||
|
|
||||||
|
// Felder für Executor-Instanzen
|
||||||
|
private LockSystem lockSystem;
|
||||||
|
private PluginCommand pluginCommand;
|
||||||
|
|
||||||
// ------------------- Tablist Config -------------------
|
// ------------------- Tablist Config -------------------
|
||||||
public void reloadTablistConfig() {
|
public void reloadTablistConfig() {
|
||||||
// Lädt die tablist.yml aus dem Plugin-Ordner neu
|
// Lädt die tablist.yml aus dem Plugin-Ordner neu
|
||||||
@@ -132,6 +141,38 @@ public class SurvivalPlus extends JavaPlugin {
|
|||||||
return tablistConfig;
|
return tablistConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void reloadBlockedCommandsConfig() {
|
||||||
|
if (blockedCommandsFile == null) blockedCommandsFile = new File(getDataFolder(), "blockedcommands.yml");
|
||||||
|
if (!blockedCommandsFile.exists()) {
|
||||||
|
try {
|
||||||
|
saveResource("blockedcommands.yml", false);
|
||||||
|
} catch (IllegalArgumentException e) {
|
||||||
|
getLogger().warning("Die Ressource 'blockedcommands.yml' wurde nicht gefunden. Erstelle eine leere Konfiguration.");
|
||||||
|
blockedCommandsConfig = new YamlConfiguration();
|
||||||
|
blockedCommandsConfig.createSection("blocked-commands");
|
||||||
|
try {
|
||||||
|
blockedCommandsConfig.save(blockedCommandsFile);
|
||||||
|
} catch (IOException ex) {
|
||||||
|
getLogger().log(Level.SEVERE, "Fehler beim Speichern der blockedcommands.yml", ex);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
blockedCommandsConfig = YamlConfiguration.loadConfiguration(blockedCommandsFile);
|
||||||
|
}
|
||||||
|
|
||||||
|
public FileConfiguration getBlockedCommandsConfig() {
|
||||||
|
if (blockedCommandsConfig == null) {
|
||||||
|
reloadBlockedCommandsConfig();
|
||||||
|
}
|
||||||
|
return blockedCommandsConfig;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void saveBlockedCommandsConfig() {
|
||||||
|
try {
|
||||||
|
blockedCommandsConfig.save(blockedCommandsFile);
|
||||||
|
} catch (IOException ignored) {}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
@@ -164,6 +205,7 @@ public void onEnable() {
|
|||||||
createLeashesFile();
|
createLeashesFile();
|
||||||
createMobCapFile();
|
createMobCapFile();
|
||||||
createNicknamesFile();
|
createNicknamesFile();
|
||||||
|
reloadBlockedCommandsConfig();
|
||||||
|
|
||||||
// PluginManager holen (vor Listener-Registrierung!)
|
// PluginManager holen (vor Listener-Registrierung!)
|
||||||
PluginManager pluginManager = getServer().getPluginManager();
|
PluginManager pluginManager = getServer().getPluginManager();
|
||||||
@@ -196,6 +238,10 @@ public void onEnable() {
|
|||||||
getCommand("day").setExecutor(new DayCommand(this));
|
getCommand("day").setExecutor(new DayCommand(this));
|
||||||
getCommand("night").setExecutor(new NightCommand(this));
|
getCommand("night").setExecutor(new NightCommand(this));
|
||||||
|
|
||||||
|
CommandBlocker commandBlocker = new CommandBlocker(this);
|
||||||
|
pluginCommand = new PluginCommand(this);
|
||||||
|
getCommand("sp").setExecutor(pluginCommand);
|
||||||
|
|
||||||
// TradeManager und ReportManager initialisieren
|
// TradeManager und ReportManager initialisieren
|
||||||
TradeManager tradeManager = new TradeManager(this);
|
TradeManager tradeManager = new TradeManager(this);
|
||||||
ReportManager reportManager = new ReportManager(this);
|
ReportManager reportManager = new ReportManager(this);
|
||||||
@@ -262,6 +308,7 @@ public void onEnable() {
|
|||||||
getCommand("startchallenge").setExecutor(new StartFunChallengeCommand(this, funChallengeManager));
|
getCommand("startchallenge").setExecutor(new StartFunChallengeCommand(this, funChallengeManager));
|
||||||
getCommand("kit").setExecutor(new KitCommand(this));
|
getCommand("kit").setExecutor(new KitCommand(this));
|
||||||
getCommand("heal").setExecutor(new HealCommand(this));
|
getCommand("heal").setExecutor(new HealCommand(this));
|
||||||
|
getCommand("sp").setExecutor(commandBlocker);
|
||||||
|
|
||||||
// LootChestManager + Befehle
|
// LootChestManager + Befehle
|
||||||
LootChestManager lootChestManager = new LootChestManager(this);
|
LootChestManager lootChestManager = new LootChestManager(this);
|
||||||
@@ -298,10 +345,30 @@ public void onEnable() {
|
|||||||
pluginManager.registerEvents(new ChallengeSmeltListener(funChallengeManager), this);
|
pluginManager.registerEvents(new ChallengeSmeltListener(funChallengeManager), this);
|
||||||
pluginManager.registerEvents(new BlockDetectionListener(this), this);
|
pluginManager.registerEvents(new BlockDetectionListener(this), this);
|
||||||
|
|
||||||
LockSystem lockSystem = new LockSystem(this);
|
lockSystem = new LockSystem(this);
|
||||||
pluginManager.registerEvents(lockSystem, this);
|
pluginManager.registerEvents(lockSystem, this);
|
||||||
getCommand("sp").setExecutor(lockSystem);
|
getCommand("sp").setExecutor(lockSystem);
|
||||||
|
|
||||||
|
// Kombinierter Executor für /sp, um alle Subcommands zu handhaben
|
||||||
|
getCommand("sp").setExecutor(new CommandExecutor() {
|
||||||
|
@Override
|
||||||
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||||
|
if (!command.getName().equalsIgnoreCase("sp")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (args.length == 0) {
|
||||||
|
return pluginCommand.onCommand(sender, command, label, args);
|
||||||
|
}
|
||||||
|
String subCommand = args[0].toLowerCase();
|
||||||
|
if (subCommand.equals("cb")) {
|
||||||
|
return commandBlocker.onCommand(sender, command, label, args);
|
||||||
|
} else if (subCommand.equals("lock") || subCommand.equals("unlock") ||
|
||||||
|
subCommand.equals("friendadd") || subCommand.equals("friendremove")) {
|
||||||
|
return lockSystem.onCommand(sender, command, label, args);
|
||||||
|
}
|
||||||
|
return pluginCommand.onCommand(sender, command, label, args);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
pluginManager.registerEvents(new RepairSignListener(getConfig(), getLangConfig()), this);
|
pluginManager.registerEvents(new RepairSignListener(getConfig(), getLangConfig()), this);
|
||||||
pluginManager.registerEvents(new ToolUpgradeListener(this), this);
|
pluginManager.registerEvents(new ToolUpgradeListener(this), this);
|
||||||
|
4
src/main/resources/blockedcommands.yml
Normal file
4
src/main/resources/blockedcommands.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
blocked-commands:
|
||||||
|
- op
|
||||||
|
- ban
|
||||||
|
- kick
|
@@ -3,17 +3,57 @@ footer: "&6==========================="
|
|||||||
|
|
||||||
commands:
|
commands:
|
||||||
gm:
|
gm:
|
||||||
description: "&eWechselt den Spielmodus (survival, creative, adventure, spectator)."
|
description: "&eÄndert den Spielmodus eines Spielers (survival, creative, adventure, spectator)."
|
||||||
usage: "&b/gm [spieler]"
|
usage: "&b/gm <modus> [spieler]"
|
||||||
|
|
||||||
sp:
|
sp:
|
||||||
description: "&eHauptbefehl für SurvivalPlus mit Unterbefehlen."
|
description: "&eHauptbefehl für SurvivalPlus mit Unterbefehlen."
|
||||||
usage: "&b/sp "
|
usage: "&b/sp [reload | help | info | share | lock]"
|
||||||
|
|
||||||
share:
|
sp_reload:
|
||||||
description: "&eTeilt deine aktuellen Koordinaten nach Bestätigung mit allen Spielern."
|
description: "&eLädt das Plugin neu."
|
||||||
|
usage: "&b/sp reload"
|
||||||
|
|
||||||
|
sp_help:
|
||||||
|
description: "&eZeigt die Hilfe für SurvivalPlus-Befehle an."
|
||||||
|
usage: "&b/sp help"
|
||||||
|
|
||||||
|
sp_info:
|
||||||
|
description: "&eZeigt Informationen über das Plugin an."
|
||||||
|
usage: "&b/sp info"
|
||||||
|
|
||||||
|
sp_share:
|
||||||
|
description: "&eTeilt deine Koordinaten nach Bestätigung mit allen Spielern."
|
||||||
usage: "&b/sp share"
|
usage: "&b/sp share"
|
||||||
|
|
||||||
|
sp_cb_add:
|
||||||
|
description: "&eFügt einen Befehl zur Blockierliste hinzu."
|
||||||
|
usage: "&b/sp cb add <befehl>"
|
||||||
|
|
||||||
|
sp_cb_remove:
|
||||||
|
description: "&eEntfernt einen Befehl aus der Blockierliste."
|
||||||
|
usage: "&b/sp cb remove <befehl>"
|
||||||
|
|
||||||
|
sp_cb_list:
|
||||||
|
description: "&eZeigt die Liste der blockierten Befehle an."
|
||||||
|
usage: "&b/sp cb list"
|
||||||
|
|
||||||
|
sp_lock_lock:
|
||||||
|
description: "&eSperrt einen Container (z.B. Kiste oder Tür)."
|
||||||
|
usage: "&b/sp lock "
|
||||||
|
|
||||||
|
sp_lock_unlock:
|
||||||
|
description: "&eEntsperrt einen Container (z.B. Kiste oder Tür)."
|
||||||
|
usage: "&b/sp lock "
|
||||||
|
|
||||||
|
sp_lock_friendadd:
|
||||||
|
description: "&eFügt einen Freund zum Container-Sperrsystem hinzu."
|
||||||
|
usage: "&b/sp lock friendadd <Spieler>"
|
||||||
|
|
||||||
|
sp_lock_friendremove:
|
||||||
|
description: "&eEntfernt einen Freund aus dem Container-Sperrsystem."
|
||||||
|
usage: "&b/sp lock friendremove <Spieler>"
|
||||||
|
|
||||||
shareconfirm:
|
shareconfirm:
|
||||||
description: "&eBestätigt das Teilen deiner Koordinaten mit allen Spielern."
|
description: "&eBestätigt das Teilen deiner Koordinaten mit allen Spielern."
|
||||||
usage: "&b/sp shareconfirm"
|
usage: "&b/sp shareconfirm"
|
||||||
@@ -23,71 +63,90 @@ commands:
|
|||||||
usage: "&b/sp sharecancel"
|
usage: "&b/sp sharecancel"
|
||||||
|
|
||||||
sethome:
|
sethome:
|
||||||
description: "&eSetzt einen neuen Homepunkt."
|
description: "&eSetzt ein Home mit dem angegebenen Namen."
|
||||||
usage: "&b/sethome "
|
usage: "&b/sethome <name>"
|
||||||
|
|
||||||
delhome:
|
delhome:
|
||||||
description: "&eLöscht einen Homepunkt."
|
description: "&eLöscht ein Home mit dem angegebenen Namen."
|
||||||
usage: "&b/delhome "
|
usage: "&b/delhome <name>"
|
||||||
|
|
||||||
homelist:
|
homelist:
|
||||||
description: "&eZeigt alle deine Homes."
|
description: "&eÖffnet eine GUI mit allen Homes."
|
||||||
usage: "&b/homelist"
|
usage: "&b/homelist"
|
||||||
|
|
||||||
home:
|
home:
|
||||||
description: "&eTeleportiert dich zu einem gespeicherten Home."
|
description: "&eTeleportiert zu einem Home."
|
||||||
usage: "&b/home "
|
usage: "&b/home <name>"
|
||||||
|
|
||||||
inv:
|
inv:
|
||||||
description: "&eÖffnet dein Inventar oder das eines anderen Spielers."
|
description: "&eÖffnet das Inventar (eigenes oder das eines anderen Spielers)."
|
||||||
usage: "&b/inv "
|
usage: "&b/inv [spieler]"
|
||||||
|
|
||||||
ec:
|
ec:
|
||||||
description: "&eÖffnet deine Endertruhe oder die eines anderen Spielers."
|
description: "&eÖffnet die Endertruhe (eigene oder die eines anderen Spielers)."
|
||||||
usage: "&b/ec [spieler]"
|
usage: "&b/ec [spieler]"
|
||||||
|
|
||||||
setspawn:
|
|
||||||
description: "&eSetzt den Spawnpunkt der Welt."
|
|
||||||
usage: "&b/setspawn"
|
|
||||||
|
|
||||||
setworldspawn:
|
setworldspawn:
|
||||||
description: "&eSetzt den globalen Weltspawnpunkt."
|
description: "&eSetzt den Weltspawnpunkt auf die Position des Spielers."
|
||||||
usage: "&b/setworldspawn"
|
usage: "&b/setworldspawn"
|
||||||
|
|
||||||
|
setspawn:
|
||||||
|
description: "&eSetzt den Server-Spawnpunkt auf die Position des Spielers."
|
||||||
|
usage: "&b/setspawn"
|
||||||
|
|
||||||
clearchat:
|
clearchat:
|
||||||
description: "&eLöscht den Chat für alle Spieler."
|
description: "&eLöscht den Chat für alle Spieler."
|
||||||
usage: "&b/clearchat"
|
usage: "&b/clearchat"
|
||||||
|
|
||||||
clearitems:
|
clearitems:
|
||||||
description: "&eEntfernt alle Items auf dem Boden."
|
description: "&eLöscht alle herumliegenden Items."
|
||||||
usage: "&b/clearitems"
|
usage: "&b/clearitems"
|
||||||
|
|
||||||
closedoors:
|
closedoors:
|
||||||
description: "&eSchließt alle Türen im angegebenen Radius."
|
description: "&eSchließt alle Türen im angegebenen Radius."
|
||||||
usage: "&b/closedoors "
|
usage: "&b/closedoors <radius>"
|
||||||
|
|
||||||
sit:
|
sit:
|
||||||
description: "&eSetzt dich hin oder steht wieder auf."
|
description: "&eLässt den Spieler sich hinsetzen oder aufstehen."
|
||||||
usage: "&b/sit"
|
usage: "&b/sit"
|
||||||
|
|
||||||
back:
|
back:
|
||||||
description: "&eTeleportiert dich zurück zum letzten Todespunkt."
|
description: "&eTeleportiert zum letzten Todespunkt."
|
||||||
usage: "&b/back"
|
usage: "&b/back"
|
||||||
|
|
||||||
friend:
|
friend:
|
||||||
description: "&eVerwalte deine Freundesliste (hinzufügen, entfernen, anzeigen, teleportieren). Unterstützt anklickbare Anfragen und Bestätigungen."
|
description: "&eVerwaltet die Freundesliste (hinzufügen, entfernen, anzeigen, teleportieren)."
|
||||||
usage: "&b/friend [Spieler]"
|
usage: "&b/friend [add | accept | deny | list | del | tp] [Spieler]"
|
||||||
|
subcommands:
|
||||||
|
add:
|
||||||
|
description: "&eFügt einen Spieler zur Freundesliste hinzu."
|
||||||
|
usage: "&b/friend add <Spieler>"
|
||||||
|
accept:
|
||||||
|
description: "&eAkzeptiert eine Freundschaftsanfrage."
|
||||||
|
usage: "&b/friend accept <Spieler>"
|
||||||
|
deny:
|
||||||
|
description: "&eLehnt eine Freundschaftsanfrage ab."
|
||||||
|
usage: "&b/friend deny <Spieler>"
|
||||||
|
list:
|
||||||
|
description: "&eZeigt die Freundesliste an."
|
||||||
|
usage: "&b/friend list"
|
||||||
|
del:
|
||||||
|
description: "&eEntfernt einen Spieler aus der Freundesliste."
|
||||||
|
usage: "&b/friend del <Spieler>"
|
||||||
|
tp:
|
||||||
|
description: "&eTeleportiert dich zu einem Freund."
|
||||||
|
usage: "&b/friend tp <Spieler>"
|
||||||
|
|
||||||
ir:
|
ir:
|
||||||
description: "&eBenennt Items um."
|
description: "&eBenennt das Item in der Hand um."
|
||||||
usage: "&b/ir "
|
usage: "&b/ir <neuer_name>"
|
||||||
|
|
||||||
showarmorstands:
|
showarmorstands:
|
||||||
description: "&eZeigt unsichtbare ArmorStands an."
|
description: "&eMacht alle unsichtbaren Armor Stands sichtbar."
|
||||||
usage: "&b/showarmorstands"
|
usage: "&b/showarmorstands"
|
||||||
|
|
||||||
cleardebugarmorstands:
|
cleardebugarmorstands:
|
||||||
description: "&eLöscht alle Debug ArmorStands."
|
description: "&eEntfernt alle Debug-ArmorStands."
|
||||||
usage: "&b/cleardebugarmorstands"
|
usage: "&b/cleardebugarmorstands"
|
||||||
|
|
||||||
trash:
|
trash:
|
||||||
@@ -95,76 +154,72 @@ commands:
|
|||||||
usage: "&b/trash"
|
usage: "&b/trash"
|
||||||
|
|
||||||
workbench:
|
workbench:
|
||||||
description: "&eÖffnet eine Werkbank GUI."
|
description: "&eÖffnet eine Werkbank-GUI."
|
||||||
usage: "&b/workbench"
|
usage: "&b/workbench"
|
||||||
|
|
||||||
anvil:
|
anvil:
|
||||||
description: "&eÖffnet eine Amboss GUI."
|
description: "&eÖffnet eine Amboss-GUI."
|
||||||
usage: "&b/anvil"
|
usage: "&b/anvil"
|
||||||
|
|
||||||
stats:
|
stats:
|
||||||
description: "&eZeigt deine persönlichen Statistiken an."
|
description: "&eZeigt deine Statistiken an."
|
||||||
usage: "&b/stats"
|
usage: "&b/stats"
|
||||||
|
|
||||||
spawn:
|
spawn:
|
||||||
description: "&eTeleportiert dich zum Welt-Spawnpunkt."
|
description: "&eTeleportiert dich zum Weltspawnpunkt."
|
||||||
usage: "&b/spawn"
|
usage: "&b/spawn"
|
||||||
|
|
||||||
lock:
|
|
||||||
description: "&eSchützt Container mit dem LockSystem."
|
|
||||||
usage: "&b/lock [Spieler]"
|
|
||||||
|
|
||||||
tp:
|
tp:
|
||||||
description: "&eTeleportiert dich zu einem anderen Spieler."
|
description: "&eTeleportiert dich zu einem Spieler."
|
||||||
usage: "&b/tp "
|
usage: "&b/tp <Spieler>"
|
||||||
|
|
||||||
tphere:
|
tphere:
|
||||||
description: "&eTeleportiert einen Spieler zu dir."
|
description: "&eTeleportiert einen Spieler zu dir."
|
||||||
usage: "&b/tphere "
|
usage: "&b/tphere <Spieler>"
|
||||||
|
|
||||||
tpa:
|
tpa:
|
||||||
description: "&eSendet eine Teleport-Anfrage an einen Spieler."
|
description: "&eSendet eine Teleportanfrage an einen Spieler."
|
||||||
usage: "&b/tpa "
|
usage: "&b/tpa <Spieler>"
|
||||||
|
|
||||||
tpaccept:
|
tpaccept:
|
||||||
description: "&eAkzeptiert eine Teleport-Anfrage."
|
description: "&eAkzeptiert eine Teleportanfrage."
|
||||||
usage: "&b/tpaccept"
|
usage: "&b/tpaccept"
|
||||||
|
|
||||||
tpdeny:
|
tpdeny:
|
||||||
description: "&eLehnt eine Teleport-Anfrage ab."
|
description: "&eLehnt eine Teleportanfrage ab."
|
||||||
usage: "&b/tpdeny"
|
usage: "&b/tpdeny"
|
||||||
|
|
||||||
block:
|
block:
|
||||||
description: "&eBlockiert Nachrichten eines Spielers."
|
description: "&eBlockiert einen Spieler."
|
||||||
usage: "&b/block "
|
usage: "&b/block <Spieler>"
|
||||||
|
|
||||||
unblock:
|
unblock:
|
||||||
description: "&eHebt eine Blockierung auf."
|
description: "&eEntblockt einen Spieler."
|
||||||
usage: "&b/unblock "
|
usage: "&b/unblock <Spieler>"
|
||||||
|
|
||||||
blocklist:
|
blocklist:
|
||||||
description: "&eZeigt eine Liste blockierter Spieler."
|
description: "&eZeigt eine Liste der blockierten Spieler."
|
||||||
usage: "&b/blocklist"
|
usage: "&b/blocklist"
|
||||||
|
|
||||||
kit:
|
kit:
|
||||||
description: "&eErhalte dein Starterkit."
|
description: "&eHolt das Starterkit."
|
||||||
usage: "&b/kit"
|
usage: "&b/kit"
|
||||||
|
|
||||||
leashcount:
|
leashcount:
|
||||||
description: "&eZeigt die Anzahl der angeleinten Tiere an."
|
description: "&eZeigt die Anzahl der geleinten Tiere an."
|
||||||
usage: "&b/leashcount"
|
usage: "&b/leashcount"
|
||||||
|
|
||||||
nick:
|
nick:
|
||||||
description: "&eÄndert deinen angezeigten Namen mit Farben (&) und Hex-Farben (#RRGGBB)."
|
description: "&eÄndert deinen Nicknamen mit Farb- und Hex-Support."
|
||||||
usage: "&b/nick "
|
usage: "&b/nick <Name>"
|
||||||
|
|
||||||
trade:
|
lootchests:
|
||||||
description: "&eStartet einen Handel mit einem Spieler."
|
description: "&eZeigt eine Liste aller aktiven Loot-Kisten an. Admins können per Klick teleportieren."
|
||||||
usage: "&b/trade "
|
usage: "&b/lootchests"
|
||||||
|
|
||||||
tradeaccept:
|
tploot:
|
||||||
description: "&eAkzeptiert eine Handelsanfrage."
|
description: "&eTeleportiert dich zu einer Loot-Kiste (nur Admins)."
|
||||||
usage: "&b/tradeaccept "
|
usage: "&b/tploot <welt> <x> <y> <z>"
|
||||||
|
|
||||||
day:
|
day:
|
||||||
description: "&eSetzt die Zeit auf Tag."
|
description: "&eSetzt die Zeit auf Tag."
|
||||||
@@ -174,33 +229,61 @@ commands:
|
|||||||
description: "&eSetzt die Zeit auf Nacht."
|
description: "&eSetzt die Zeit auf Nacht."
|
||||||
usage: "&b/night"
|
usage: "&b/night"
|
||||||
|
|
||||||
|
trade:
|
||||||
|
description: "&eStartet einen Handel mit einem Spieler."
|
||||||
|
usage: "&b/trade <Spieler>"
|
||||||
|
|
||||||
|
tradeaccept:
|
||||||
|
description: "&eAkzeptiert eine Handelsanfrage."
|
||||||
|
usage: "&b/tradeaccept <Spieler>"
|
||||||
|
|
||||||
report:
|
report:
|
||||||
description: "&eMeldet einen Spieler an die Admins."
|
description: "&eMeldet einen Spieler an die Admins."
|
||||||
usage: "&b/report [Grund]"
|
usage: "&b/report <Spieler> [Grund]"
|
||||||
|
|
||||||
showreport:
|
showreport:
|
||||||
description: "&eZeigt alle Reports eines Spielers an."
|
description: "&eZeigt alle Reports eines Spielers an."
|
||||||
usage: "&b/showreport "
|
usage: "&b/showreport <Spieler>"
|
||||||
|
|
||||||
clearreport:
|
clearreport:
|
||||||
description: "&eLöscht alle Reports eines Spielers."
|
description: "&eLöscht alle Reports eines Spielers."
|
||||||
usage: "&b/clearreport "
|
usage: "&b/clearreport <Spieler>"
|
||||||
|
|
||||||
shop:
|
shop:
|
||||||
description: "&eVerwaltet den Server-Shop (z.B. Items hinzufügen)."
|
description: "&eVerwaltet den Server-Shop (z.B. Items hinzufügen)."
|
||||||
usage: "&b/shop add "
|
usage: "&b/shop add <item> <basispreis> <lagerbestand>"
|
||||||
|
|
||||||
|
setwarp:
|
||||||
|
description: "&eSetzt einen persönlichen Warp mit dem Item in der Hand."
|
||||||
|
usage: "&b/setwarp <name>"
|
||||||
|
|
||||||
|
delwarp:
|
||||||
|
description: "&eLöscht einen persönlichen Warp."
|
||||||
|
usage: "&b/delwarp <name>"
|
||||||
|
|
||||||
|
warps:
|
||||||
|
description: "&eÖffnet die GUI mit allen Spieler-Warps."
|
||||||
|
usage: "&b/warps"
|
||||||
|
|
||||||
|
startchallenge:
|
||||||
|
description: "&eStartet eine Fun-Challenge."
|
||||||
|
usage: "&b/startchallenge <name>"
|
||||||
|
|
||||||
|
heal:
|
||||||
|
description: "&eHeilt einen Spieler vollständig."
|
||||||
|
usage: "&b/heal [spieler]"
|
||||||
|
|
||||||
messages:
|
messages:
|
||||||
header: "&6=== Befehle ==="
|
header: "&6=== Befehle ==="
|
||||||
footer: "&6================"
|
footer: "&6================"
|
||||||
navigation:
|
navigation:
|
||||||
prev: "&7« Vorherige "
|
prev: "&7« Vorherige Seite"
|
||||||
next: "&7 Nächste »"
|
next: "&7Nächste Seite »"
|
||||||
prev-disabled: "&8« "
|
prev-disabled: "&8« Vorherige Seite"
|
||||||
next-disabled: "&8 »"
|
next-disabled: "&8Nächste Seite »"
|
||||||
page: "&fSeite {current} von {total} "
|
page: "&fSeite {current} von {total}"
|
||||||
sp:
|
sp:
|
||||||
invalid-subcommand: "&cUngültiger Unterbefehl! Verwendung: /sp [reload|help|info|share]"
|
invalid-subcommand: "&cUngültiger Unterbefehl! Verwendung: /sp [reload|help|info|share|lock]"
|
||||||
no-permission: "&cDu hast keine Berechtigung für diesen Befehl!"
|
no-permission: "&cDu hast keine Berechtigung für diesen Befehl!"
|
||||||
plugin:
|
plugin:
|
||||||
reloaded: "&aSurvivalPlus wurde erfolgreich neu geladen!"
|
reloaded: "&aSurvivalPlus wurde erfolgreich neu geladen!"
|
||||||
@@ -215,9 +298,9 @@ messages:
|
|||||||
preview-title: "&aDeine aktuellen Koordinaten wären:"
|
preview-title: "&aDeine aktuellen Koordinaten wären:"
|
||||||
preview-format: "&e%player% &7teilt Koordinaten: &eX: %x%, Y: %y%, Z: %z% &7in Welt &e%world%"
|
preview-format: "&e%player% &7teilt Koordinaten: &eX: %x%, Y: %y%, Z: %z% &7in Welt &e%world%"
|
||||||
send-button: "&a[✅ Senden]"
|
send-button: "&a[✅ Senden]"
|
||||||
cancel-button: "&c [❌ Abbrechen]"
|
cancel-button: "&c[❌ Abbrechen]"
|
||||||
send-hover: "&aKlicke, um deine Koordinaten an alle zu senden."
|
send-hover: "&aKlicke, um deine Koordinaten an alle zu senden."
|
||||||
cancel-hover: "&cKlicke, um das Senden abzubrechen."
|
cancel-hover: "&cKlicke, um das Senden abzubrechen."
|
||||||
sent: "&aKoordinaten gesendet."
|
sent: "&aKoordinaten gesendet."
|
||||||
cancelled: "&eSenden der Koordinaten abgebrochen."
|
cancelled: "&eSenden der Koordinaten abgebrochen."
|
||||||
help-not-found: "&cHilfedatei (help.yml) konnte nicht geladen werden!"
|
help-not-found: "&cHilfedatei (help.yml) konnte nicht geladen werden!"
|
@@ -1,5 +1,9 @@
|
|||||||
name: SurvivalPlus
|
name: SurvivalPlus
|
||||||
version: 1.0.5
|
<<<<<<< HEAD
|
||||||
|
version: 1.0.7
|
||||||
|
=======
|
||||||
|
version: 1.0.6
|
||||||
|
>>>>>>> aadc1e75cc9b97929c3cde4fa3d098d281ba32f7
|
||||||
main: de.viper.survivalplus.SurvivalPlus
|
main: de.viper.survivalplus.SurvivalPlus
|
||||||
api-version: 1.21
|
api-version: 1.21
|
||||||
softdepend: [LuckPerms, PlaceholderAPI]
|
softdepend: [LuckPerms, PlaceholderAPI]
|
||||||
@@ -7,284 +11,272 @@ author: Viper
|
|||||||
description: A plugin for enhancing survival gameplay in Minecraft.
|
description: A plugin for enhancing survival gameplay in Minecraft.
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
|
sp:
|
||||||
|
description: Hauptbefehl für SurvivalPlus (Command-Blocker, Reload, Info, etc.)
|
||||||
|
usage: /<command> [cb add|cb remove|cb list|reload|help|info|share] [args]
|
||||||
|
permission: survivalplus.sp
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
ir:
|
ir:
|
||||||
description: Benennt das Item in der Hand um.
|
description: Benennt das Item in der Hand um.
|
||||||
usage: /ir <neuer_name>
|
usage: /<command> <neuer_name>
|
||||||
permission: survivalplus.itemrename
|
permission: survivalplus.itemrename
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
gm:
|
gm:
|
||||||
description: Ändert den Spielmodus eines Spielers
|
description: Ändert den Spielmodus eines Spielers
|
||||||
usage: /<command> <modus> [spieler]
|
usage: /<command> <modus> [spieler]
|
||||||
aliases: [gamemode]
|
aliases: [gamemode]
|
||||||
permission: survivalplus.gamemode
|
permission: survivalplus.gamemode
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
sp:
|
|
||||||
description: Zeigt Plugin-Informationen oder führt weitere Befehle aus
|
|
||||||
usage: /<command> [reload|help|info|share] [seite]
|
|
||||||
permission: survivalplus.sp
|
|
||||||
|
|
||||||
sethome:
|
sethome:
|
||||||
description: Setzt ein Home mit dem angegebenen Namen
|
description: Setzt ein Home mit dem angegebenen Namen
|
||||||
usage: /<command> <name>
|
usage: /<command> <name>
|
||||||
permission: survivalplus.homes.set
|
permission: survivalplus.homes.set
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
delhome:
|
delhome:
|
||||||
description: Löscht ein Home mit dem angegebenen Namen
|
description: Löscht ein Home mit dem angegebenen Namen
|
||||||
usage: /<command> <name>
|
usage: /<command> <name>
|
||||||
permission: survivalplus.homes.delete
|
permission: survivalplus.homes.delete
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
homelist:
|
homelist:
|
||||||
description: Öffnet eine GUI mit allen Homes
|
description: Öffnet eine GUI mit allen Homes
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.homes.list
|
permission: survivalplus.homes.list
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
home:
|
home:
|
||||||
description: Teleportiert zu einem Home
|
description: Teleportiert zu einem Home
|
||||||
usage: /<command> <name>
|
usage: /<command> <name>
|
||||||
permission: survivalplus.homes
|
permission: survivalplus.homes
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
inv:
|
inv:
|
||||||
description: Öffnet das Inventar (eigenes oder das eines anderen Spielers)
|
description: Öffnet das Inventar (eigenes oder das eines anderen Spielers)
|
||||||
usage: /<command> [spieler]
|
usage: /<command> [spieler]
|
||||||
permission: survivalplus.inventory.own
|
permission: survivalplus.inventory.own
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
ec:
|
ec:
|
||||||
description: Öffnet die Endertruhe (eigene oder die eines anderen Spielers)
|
description: Öffnet die Endertruhe (eigene oder die eines anderen Spielers)
|
||||||
usage: /<command> [spieler]
|
usage: /<command> [spieler]
|
||||||
permission: survivalplus.enderchest.own
|
permission: survivalplus.enderchest.own
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
setworldspawn:
|
setworldspawn:
|
||||||
description: Setzt den Weltspawnpunkt auf die Position des Spielers
|
description: Setzt den Weltspawnpunkt auf die Position des Spielers
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.setworldspawn
|
permission: survivalplus.setworldspawn
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
setspawn:
|
setspawn:
|
||||||
description: Setzt den Server-Spawnpunkt auf die Position des Spielers
|
description: Setzt den Server-Spawnpunkt auf die Position des Spielers
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.setspawn
|
permission: survivalplus.setspawn
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
clearchat:
|
clearchat:
|
||||||
description: Löscht den Chat für alle Spieler
|
description: Löscht den Chat für alle Spieler
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.clearchat
|
permission: survivalplus.clearchat
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
clearitems:
|
clearitems:
|
||||||
description: Löscht alle herumliegenden Items
|
description: Löscht alle herumliegenden Items
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.clearitems
|
permission: survivalplus.clearitems
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
closedoors:
|
closedoors:
|
||||||
description: Schließt alle Türen im angegebenen Radius
|
description: Schließt alle Türen im angegebenen Radius
|
||||||
usage: /<command> <radius>
|
usage: /<command> <radius>
|
||||||
permission: survivalplus.closedoors
|
permission: survivalplus.closedoors
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
sit:
|
sit:
|
||||||
description: Lässt den Spieler sich hinsetzen
|
description: Lässt den Spieler sich hinsetzen
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.sit
|
permission: survivalplus.sit
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
back:
|
back:
|
||||||
description: Teleportiert zum letzten Todespunkt
|
description: Teleportiert zum letzten Todespunkt
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
permission: survivalplus.back
|
permission: survivalplus.back
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
friend:
|
friend:
|
||||||
description: Verwaltet die Freundesliste
|
description: Verwaltet die Freundesliste
|
||||||
usage: /<command> [add|accept|deny|list|del|tp] [Spielername]
|
usage: /<command> [add|accept|deny|list|del|tp] [Spielername]
|
||||||
permission: survivalplus.friend
|
permission: survivalplus.friend
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
stats:
|
stats:
|
||||||
description: Zeigt deine Statistiken an
|
description: Zeigt deine Statistiken an
|
||||||
usage: /stats
|
usage: /<command>
|
||||||
permission: survivalplus.stats
|
permission: survivalplus.stats
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
showarmorstands:
|
showarmorstands:
|
||||||
description: Macht alle unsichtbaren Armor Stands sichtbar.
|
description: Macht alle unsichtbaren Armor Stands sichtbar.
|
||||||
usage: /showarmorstands
|
usage: /<command>
|
||||||
permission: survivalplus.showarmorstands
|
permission: survivalplus.showarmorstands
|
||||||
permission-message: "§cDu hast keine Rechte für diesen Befehl."
|
permission-message: "§cDu hast keine Rechte für diesen Befehl."
|
||||||
|
|
||||||
cleardebugarmorstands:
|
cleardebugarmorstands:
|
||||||
description: Entfernt alle Debug-ArmorStands
|
description: Entfernt alle Debug-ArmorStands
|
||||||
usage: /cleardebugarmorstands
|
usage: /<command>
|
||||||
permission: survivalplus.cleardebugarmorstands
|
permission: survivalplus.cleardebugarmorstands
|
||||||
permission-message: "§cDu hast keine Rechte für diesen Befehl."
|
permission-message: "§cDu hast keine Rechte für diesen Befehl."
|
||||||
|
|
||||||
trash:
|
trash:
|
||||||
description: Öffnet den Mülleimer
|
description: Öffnet den Mülleimer
|
||||||
usage: /trash
|
usage: /<command>
|
||||||
permission: survivalplus.trash
|
permission: survivalplus.trash
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
workbench:
|
workbench:
|
||||||
description: Öffnet eine Werkbank GUI
|
description: Öffnet eine Werkbank GUI
|
||||||
usage: /workbench
|
usage: /<command>
|
||||||
permission: survivalplus.workbench
|
permission: survivalplus.workbench
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
anvil:
|
anvil:
|
||||||
description: Öffnet eine Amboss GUI
|
description: Öffnet eine Amboss GUI
|
||||||
usage: /anvil
|
usage: /<command>
|
||||||
permission: survivalplus.anvil
|
permission: survivalplus.anvil
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
leashcount:
|
leashcount:
|
||||||
description: Zeigt die Anzahl der geleinten Tiere an.
|
description: Zeigt die Anzahl der geleinten Tiere an.
|
||||||
usage: /leashcount
|
usage: /<command>
|
||||||
permission: survivalplus.leashcount
|
permission: survivalplus.leashcount
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
splock:
|
splock:
|
||||||
description: Verwaltet das Sperrsystem für Kisten und Türen
|
description: Verwaltet das Sperrsystem für Kisten und Türen
|
||||||
usage: /sp lock|unlock|friendadd|friendremove [Spieler]
|
usage: /<command> lock|unlock|friendadd|friendremove [Spieler]
|
||||||
permission: survivalplus.lock
|
permission: survivalplus.lock
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
tp:
|
tp:
|
||||||
description: Teleportiere dich zu einem Spieler
|
description: Teleportiere dich zu einem Spieler
|
||||||
usage: /tp <Spieler>
|
usage: /<command> <Spieler>
|
||||||
|
permission: survivalplus.tp
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
tphere:
|
tphere:
|
||||||
description: Teleportiere einen Spieler zu dir
|
description: Teleportiere einen Spieler zu dir
|
||||||
usage: /tphere <Spieler>
|
usage: /<command> <Spieler>
|
||||||
|
permission: survivalplus.tphere
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
tpa:
|
tpa:
|
||||||
description: Sende eine Teleportanfrage an einen Spieler
|
description: Sende eine Teleportanfrage an einen Spieler
|
||||||
usage: /tpa <Spieler>
|
usage: /<command> <Spieler>
|
||||||
|
permission: survivalplus.tpa
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
tpaccept:
|
tpaccept:
|
||||||
description: Akzeptiere eine Teleportanfrage
|
description: Akzeptiere eine Teleportanfrage
|
||||||
usage: /tpaccept
|
usage: /<command>
|
||||||
|
permission: survivalplus.tpaccept
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
tpdeny:
|
tpdeny:
|
||||||
description: Lehne eine Teleportanfrage ab
|
description: Lehne eine Teleportanfrage ab
|
||||||
usage: /tpdeny
|
usage: /<command>
|
||||||
|
permission: survivalplus.tpdeny
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
block:
|
block:
|
||||||
description: Blockiere einen Spieler
|
description: Blockiere einen Spieler
|
||||||
usage: /block <Spieler>
|
usage: /<command> <Spieler>
|
||||||
permission: survivalplus.block
|
permission: survivalplus.block
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
unblock:
|
unblock:
|
||||||
description: Entblocke einen Spieler
|
description: Entblocke einen Spieler
|
||||||
usage: /unblock <Spieler>
|
usage: /<command> <Spieler>
|
||||||
permission: survivalplus.unlock
|
permission: survivalplus.unblock
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
blocklist:
|
blocklist:
|
||||||
description: Zeige eine Liste der blockierten Spieler
|
description: Zeige eine Liste der blockierten Spieler
|
||||||
usage: /blocklist
|
usage: /<command>
|
||||||
permission: survivalplus.blocklist
|
permission: survivalplus.blocklist
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
kit:
|
kit:
|
||||||
description: Hol dir das Starterkit!
|
description: Hol dir das Starterkit!
|
||||||
usage: /kit
|
usage: /<command>
|
||||||
permission: survivalplus.kit
|
permission: survivalplus.kit
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
nick:
|
nick:
|
||||||
description: Ändert deinen Nicknamen mit Farb- und Hex-Support.
|
description: Ändert deinen Nicknamen mit Farb- und Hex-Support.
|
||||||
usage: /nick <Name>
|
usage: /<command> <Name>
|
||||||
permission: survivalplus.nick
|
permission: survivalplus.nick
|
||||||
permission-message: "§cDu hast keine Berechtigung, deinen Nick zu ändern!"
|
permission-message: "§cDu hast keine Berechtigung, deinen Nick zu ändern!"
|
||||||
|
|
||||||
lootchests:
|
lootchests:
|
||||||
description: Zeigt eine Liste aller aktiven Loot-Kisten an. Admins können per Klick zu einer Kiste teleportieren.
|
description: Zeigt eine Liste aller aktiven Loot-Kisten an. Admins können per Klick zu einer Kiste teleportieren.
|
||||||
usage: /lootchests
|
usage: /<command>
|
||||||
permission: survivalplus.lootchests
|
permission: survivalplus.lootchests
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl!"
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl!"
|
||||||
|
|
||||||
tploot:
|
tploot:
|
||||||
description: Teleportiere dich zu einer Loot-Kiste (nur Admins)
|
description: Teleportiere dich zu einer Loot-Kiste (nur Admins)
|
||||||
usage: /tploot <welt> <x> <y> <z>
|
usage: /<command> <welt> <x> <y> <z>
|
||||||
permission: survivalplus.lootchests
|
permission: survivalplus.lootchests
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl!"
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl!"
|
||||||
|
|
||||||
day:
|
day:
|
||||||
description: Setzt die Zeit auf Tag
|
description: Setzt die Zeit auf Tag
|
||||||
usage: /day
|
usage: /<command>
|
||||||
permission: survivalplus.day
|
permission: survivalplus.day
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
night:
|
night:
|
||||||
description: Setzt die Zeit auf Nacht
|
description: Setzt die Zeit auf Nacht
|
||||||
usage: /night
|
usage: /<command>
|
||||||
permission: survivalplus.night
|
permission: survivalplus.night
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
trade:
|
trade:
|
||||||
description: Startet einen Handel mit einem Spieler
|
description: Startet einen Handel mit einem Spieler
|
||||||
usage: /trade <Spieler>
|
usage: /<command> <Spieler>
|
||||||
permission: survivalplus.trade
|
permission: survivalplus.trade
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
tradeaccept:
|
tradeaccept:
|
||||||
description: Akzeptiert eine Handelsanfrage
|
description: Akzeptiert eine Handelsanfrage
|
||||||
usage: /tradeaccept <Spieler>
|
usage: /<command> <Spieler>
|
||||||
permission: survivalplus.tradeaccept
|
permission: survivalplus.tradeaccept
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
report:
|
report:
|
||||||
description: Meldet einen Spieler an die Admins
|
description: Meldet einen Spieler an die Admins
|
||||||
usage: /report <Spieler> [Grund]
|
usage: /<command> <Spieler> [Grund]
|
||||||
permission: survivalplus.report
|
permission: survivalplus.report
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
showreport:
|
showreport:
|
||||||
description: Zeigt alle Reports eines Spielers an
|
description: Zeigt alle Reports eines Spielers an
|
||||||
usage: /showreport <Spieler>
|
usage: /<command> <Spieler>
|
||||||
permission: survivalplus.report.show
|
permission: survivalplus.report.show
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
clearreport:
|
clearreport:
|
||||||
description: Löscht alle Reports eines Spielers
|
description: Löscht alle Reports eines Spielers
|
||||||
usage: /clearreport <Spieler>
|
usage: /<command> <Spieler>
|
||||||
permission: survivalplus.report.clear
|
permission: survivalplus.report.clear
|
||||||
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
shop:
|
shop:
|
||||||
description: Verwalten des Server-Shops (z.B. Items hinzufügen)
|
description: Verwalten des Server-Shops (z.B. Items hinzufügen)
|
||||||
usage: /shop add <item> <basispreis> <lagerbestand>
|
usage: /<command> add <item> <basispreis> <lagerbestand>
|
||||||
permission: survivalplus.shop
|
permission: survivalplus.shop
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
spawn:
|
spawn:
|
||||||
description: Teleportiert dich zum Weltspawnpunkt.
|
description: Teleportiert dich zum Weltspawnpunkt.
|
||||||
usage: /spawn
|
usage: /<command>
|
||||||
permission: survivalplus.spawn
|
permission: survivalplus.spawn
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
setwarp:
|
setwarp:
|
||||||
description: Setzt einen persönlichen Warp mit dem Item in der Hand.
|
description: Setzt einen persönlichen Warp mit dem Item in der Hand.
|
||||||
usage: /setwarp <name>
|
usage: /<command> <name>
|
||||||
permission: survivalplus.setwarp
|
permission: survivalplus.setwarp
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
delwarp:
|
delwarp:
|
||||||
description: Löscht einen persönlichen Warp .
|
description: Löscht einen persönlichen Warp.
|
||||||
usage: /delwarp <name>
|
usage: /<command> <name>
|
||||||
permission: survivalplus.delwarp
|
permission: survivalplus.delwarp
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
warps:
|
warps:
|
||||||
description: Öffnet die GUI mit allen Spieler-Warps.
|
description: Öffnet die GUI mit allen Spieler-Warps.
|
||||||
usage: /warps
|
usage: /<command>
|
||||||
permission: survivalplus.warps
|
permission: survivalplus.warps
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
startchallenge:
|
startchallenge:
|
||||||
description: Startet eine Fun-Challenge
|
description: Startet eine Fun-Challenge
|
||||||
usage: /startchallenge <name>
|
usage: /<command> <name>
|
||||||
permission: survivalplus.startchallenge
|
permission: survivalplus.startchallenge
|
||||||
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
permission-message: "§cDu hast keine Berechtigung für diesen Befehl."
|
||||||
|
|
||||||
heal:
|
heal:
|
||||||
description: Heilt einen Spieler vollständig
|
description: Heilt einen Spieler vollständig
|
||||||
usage: /heal [spieler]
|
usage: /<command> [spieler]
|
||||||
permission: survivalplus.heal
|
permission: survivalplus.heal
|
||||||
permission-message: "§cDu hast keine Berechtigung, Spieler zu heilen!"
|
permission-message: "§cDu hast keine Berechtigung, Spieler zu heilen!"
|
||||||
|
|
||||||
survivalplus.notify:
|
|
||||||
description: Erhält Benachrichtigungen, wenn ein Spieler einen Command- oder Structure-Block besitzt
|
|
||||||
default: op
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
survivalplus.*:
|
survivalplus.*:
|
||||||
description: Gibt Zugriff auf alle SurvivalPlus-Befehle
|
description: Gibt Zugriff auf alle SurvivalPlus-Befehle
|
||||||
default: op
|
default: op
|
||||||
children:
|
children:
|
||||||
|
survivalplus.commandblocker.add: true
|
||||||
|
survivalplus.commandblocker.remove: true
|
||||||
|
survivalplus.commandblocker.list: true
|
||||||
|
survivalplus.commandblocker.bypass: true
|
||||||
survivalplus.gamemode: true
|
survivalplus.gamemode: true
|
||||||
survivalplus.gamemode.others: true
|
survivalplus.gamemode.others: true
|
||||||
survivalplus.sp: true
|
survivalplus.sp: true
|
||||||
@@ -315,194 +307,221 @@ permissions:
|
|||||||
survivalplus.workbench: true
|
survivalplus.workbench: true
|
||||||
survivalplus.anvil: true
|
survivalplus.anvil: true
|
||||||
survivalplus.leashcount: true
|
survivalplus.leashcount: true
|
||||||
|
survivalplus.lock: true
|
||||||
|
survivalplus.tp: true
|
||||||
|
survivalplus.tphere: true
|
||||||
|
survivalplus.tpa: true
|
||||||
|
survivalplus.tpaccept: true
|
||||||
|
survivalplus.tpdeny: true
|
||||||
|
survivalplus.block: true
|
||||||
|
survivalplus.unblock: true
|
||||||
|
survivalplus.blocklist: true
|
||||||
|
survivalplus.kit: true
|
||||||
survivalplus.nick: true
|
survivalplus.nick: true
|
||||||
survivalplus.lootchests: true
|
survivalplus.lootchests: true
|
||||||
|
survivalplus.day: true
|
||||||
|
survivalplus.night: true
|
||||||
|
survivalplus.trade: true
|
||||||
|
survivalplus.tradeaccept: true
|
||||||
|
survivalplus.report: true
|
||||||
|
survivalplus.report.show: true
|
||||||
|
survivalplus.report.clear: true
|
||||||
|
survivalplus.shop: true
|
||||||
|
survivalplus.spawn: true
|
||||||
|
survivalplus.setwarp: true
|
||||||
|
survivalplus.delwarp: true
|
||||||
|
survivalplus.warps: true
|
||||||
survivalplus.startchallenge: true
|
survivalplus.startchallenge: true
|
||||||
survivalplus.heal: true
|
survivalplus.heal: true
|
||||||
survivalplus.heal.others: true
|
survivalplus.heal.others: true
|
||||||
survivalplus.notify: true
|
survivalplus.notify: true
|
||||||
|
survivalplus.chunkanimals: true
|
||||||
survivalplus.lootchests:
|
survivalplus.commandblocker.add:
|
||||||
description: Erlaubt das Verwalten und Teleportieren zu Loot-Kisten
|
description: Erlaubt das Hinzufügen von Befehlen zur Blockierliste
|
||||||
|
default: op
|
||||||
|
survivalplus.commandblocker.remove:
|
||||||
|
description: Erlaubt das Entfernen von Befehlen aus der Blockierliste
|
||||||
|
default: op
|
||||||
|
survivalplus.commandblocker.list:
|
||||||
|
description: Erlaubt das Anzeigen der Blockierliste
|
||||||
|
default: op
|
||||||
|
survivalplus.commandblocker.bypass:
|
||||||
|
description: Erlaubt das Umgehen blockierter Befehle
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.gamemode:
|
survivalplus.gamemode:
|
||||||
description: Erlaubt das Ändern des eigenen Spielmodus
|
description: Erlaubt das Ändern des eigenen Spielmodus
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.gamemode.others:
|
survivalplus.gamemode.others:
|
||||||
description: Erlaubt das Ändern des Spielmodus anderer Spieler
|
description: Erlaubt das Ändern des Spielmodus anderer Spieler
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.sp:
|
survivalplus.sp:
|
||||||
description: Erlaubt den Zugriff auf den /sp-Befehl
|
description: Erlaubt den Zugriff auf den /sp-Befehl
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.share:
|
survivalplus.share:
|
||||||
description: Erlaubt das Teilen der eigenen Koordinaten mit /sp share
|
description: Erlaubt das Teilen der eigenen Koordinaten mit /sp share
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.homes.set:
|
survivalplus.homes.set:
|
||||||
description: Erlaubt das Setzen von Homes
|
description: Erlaubt das Setzen von Homes
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.homes.delete:
|
survivalplus.homes.delete:
|
||||||
description: Erlaubt das Löschen von Homes
|
description: Erlaubt das Löschen von Homes
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.homes.list:
|
survivalplus.homes.list:
|
||||||
description: Erlaubt das Öffnen der Home-Liste GUI
|
description: Erlaubt das Öffnen der Home-Liste GUI
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.homes:
|
survivalplus.homes:
|
||||||
description: Erlaubt das Teleportieren zu Homes
|
description: Erlaubt das Teleportieren zu Homes
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.homes.unlimited:
|
survivalplus.homes.unlimited:
|
||||||
description: Erlaubt unbegrenzte Homes
|
description: Erlaubt unbegrenzte Homes
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.inventory.own:
|
survivalplus.inventory.own:
|
||||||
description: Erlaubt das Ansehen des eigenen Inventars
|
description: Erlaubt das Ansehen des eigenen Inventars
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.inventory.others:
|
survivalplus.inventory.others:
|
||||||
description: Erlaubt das Ansehen des Inventars anderer Spieler
|
description: Erlaubt das Ansehen des Inventars anderer Spieler
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.enderchest.own:
|
survivalplus.enderchest.own:
|
||||||
description: Erlaubt das Ansehen der eigenen Endertruhe
|
description: Erlaubt das Ansehen der eigenen Endertruhe
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.enderchest.others:
|
survivalplus.enderchest.others:
|
||||||
description: Erlaubt das Ansehen der Endertruhen anderer Spieler
|
description: Erlaubt das Ansehen der Endertruhen anderer Spieler
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.setworldspawn:
|
survivalplus.setworldspawn:
|
||||||
description: Erlaubt das Setzen des Weltspawnpunkts
|
description: Erlaubt das Setzen des Weltspawnpunkts
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.setspawn:
|
survivalplus.setspawn:
|
||||||
description: Erlaubt das Setzen des Server-Spawnpunkts
|
description: Erlaubt das Setzen des Server-Spawnpunkts
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.clearchat:
|
survivalplus.clearchat:
|
||||||
description: Erlaubt das Löschen des Chats
|
description: Erlaubt das Löschen des Chats
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.clearitems:
|
survivalplus.clearitems:
|
||||||
description: Erlaubt das manuelle Löschen der herumliegenden Items
|
description: Erlaubt das manuelle Löschen der herumliegenden Items
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.closedoors:
|
survivalplus.closedoors:
|
||||||
description: Erlaubt das Schließen von Türen mit /closedoors
|
description: Erlaubt das Schließen von Türen mit /closedoors
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.sit:
|
survivalplus.sit:
|
||||||
description: Erlaubt das Sitzen auf Treppen oder mit /sit
|
description: Erlaubt das Sitzen auf Treppen oder mit /sit
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.graves:
|
|
||||||
description: Erlaubt das Erstellen von Gräbern bei Tod
|
|
||||||
default: true
|
|
||||||
|
|
||||||
survivalplus.back:
|
survivalplus.back:
|
||||||
description: Erlaubt das Teleportieren zum letzten Todespunkt
|
description: Erlaubt das Teleportieren zum letzten Todespunkt
|
||||||
default: true
|
default: true
|
||||||
|
survivalplus.graves:
|
||||||
|
description: Erlaubt das Erstellen von Gräbern bei Tod
|
||||||
|
default: true
|
||||||
survivalplus.friend:
|
survivalplus.friend:
|
||||||
description: Erlaubt die Verwaltung der Freundesliste
|
description: Erlaubt die Verwaltung der Freundesliste
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.itemrename:
|
survivalplus.itemrename:
|
||||||
description: Erlaubt das Umbenennen von Items mit /ir
|
description: Erlaubt das Umbenennen von Items mit /ir
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.stats:
|
survivalplus.stats:
|
||||||
description: Erlaubt den Zugriff auf den /stats-Befehl
|
description: Erlaubt den Zugriff auf den /stats-Befehl
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.showarmorstands:
|
survivalplus.showarmorstands:
|
||||||
description: Erlaubt das Sichtbarmachen von Armor Stands mit /showarmorstands
|
description: Erlaubt das Sichtbarmachen von Armor Stands mit /showarmorstands
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.cleardebugarmorstands:
|
survivalplus.cleardebugarmorstands:
|
||||||
description: Erlaubt das Entfernen von Debug-ArmorStands
|
description: Erlaubt das Entfernen von Debug-ArmorStands
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.trash:
|
survivalplus.trash:
|
||||||
description: Erlaubt die Nutzung von /trash
|
description: Erlaubt die Nutzung von /trash
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.workbench:
|
survivalplus.workbench:
|
||||||
description: Erlaubt die Nutzung von /workbench
|
description: Erlaubt die Nutzung von /workbench
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.anvil:
|
survivalplus.anvil:
|
||||||
description: Erlaubt die Nutzung von /anvil
|
description: Erlaubt die Nutzung von /anvil
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.leashcount:
|
survivalplus.leashcount:
|
||||||
description: Erlaubt die Nutzung von /leashcount
|
description: Erlaubt die Nutzung von /leashcount
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.chunkanimals:
|
|
||||||
description: Erlaubt das Anzeigen der Anzahl der Tiere im aktuellen Chunk
|
|
||||||
default: op
|
|
||||||
|
|
||||||
survivalplus.lock:
|
survivalplus.lock:
|
||||||
description: Erlaubt das Verwenden von /lock-Befehlen
|
description: Erlaubt das Verwenden von /lock-Befehlen
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.tp:
|
survivalplus.tp:
|
||||||
description: Erlaube das Teleportieren zu anderen Spielern
|
description: Erlaubt das Teleportieren zu anderen Spielern
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.tphere:
|
survivalplus.tphere:
|
||||||
description: Erlaube das Teleportieren anderer Spieler zu dir
|
description: Erlaubt das Teleportieren anderer Spieler zu dir
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.tpa:
|
survivalplus.tpa:
|
||||||
description: Erlaube das Senden von Teleportanfragen
|
description: Erlaubt das Senden von Teleportanfragen
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.tpaccept:
|
survivalplus.tpaccept:
|
||||||
description: Erlaube das Annehmen von Teleportanfragen
|
description: Erlaubt das Annehmen von Teleportanfragen
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.tpdeny:
|
survivalplus.tpdeny:
|
||||||
description: Erlaube das Ablehnen von Teleportanfragen
|
description: Erlaubt das Ablehnen von Teleportanfragen
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.block:
|
survivalplus.block:
|
||||||
description: Erlaubt das Blockieren anderer Spieler im Chat
|
description: Erlaubt das Blockieren anderer Spieler im Chat
|
||||||
default: true
|
default: true
|
||||||
|
survivalplus.unblock:
|
||||||
survivalplus.info:
|
description: Erlaubt das Entblocken anderer Spieler im Chat
|
||||||
description: Erlaubt den Zugriff auf /sp info
|
default: true
|
||||||
|
survivalplus.blocklist:
|
||||||
|
description: Erlaubt das Anzeigen der blockierten Spieler
|
||||||
|
default: true
|
||||||
|
survivalplus.kit:
|
||||||
|
description: Erlaubt das Abrufen des Starterkits
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.nick:
|
survivalplus.nick:
|
||||||
description: Erlaubt es, den eigenen Nicknamen zu ändern (mit Farben & Hex)
|
description: Erlaubt das Ändern des eigenen Nicknamens (mit Farben & Hex)
|
||||||
|
default: op
|
||||||
|
survivalplus.lootchests:
|
||||||
|
description: Erlaubt das Verwalten und Teleportieren zu Loot-Kisten
|
||||||
|
default: op
|
||||||
|
survivalplus.day:
|
||||||
|
description: Erlaubt das Setzen der Zeit auf Tag
|
||||||
|
default: op
|
||||||
|
survivalplus.night:
|
||||||
|
description: Erlaubt das Setzen der Zeit auf Nacht
|
||||||
|
default: op
|
||||||
|
survivalplus.trade:
|
||||||
|
description: Erlaubt das Starten eines Handels
|
||||||
|
default: true
|
||||||
|
survivalplus.tradeaccept:
|
||||||
|
description: Erlaubt das Akzeptieren eines Handels
|
||||||
|
default: true
|
||||||
|
survivalplus.report:
|
||||||
|
description: Erlaubt das Melden von Spielern
|
||||||
|
default: true
|
||||||
|
survivalplus.report.show:
|
||||||
|
description: Erlaubt das Anzeigen von Spieler-Reports
|
||||||
|
default: op
|
||||||
|
survivalplus.report.clear:
|
||||||
|
description: Erlaubt das Löschen von Spieler-Reports
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.shop:
|
survivalplus.shop:
|
||||||
description: Erlaubt die Nutzung des Shop-Befehls
|
description: Erlaubt die Nutzung des Shop-Befehls
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
survivalplus.spawn:
|
survivalplus.spawn:
|
||||||
description: Erlaubt die Nutzung des /spawn Befehls
|
description: Erlaubt die Nutzung des /spawn Befehls
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
survivalplus.setwarp:
|
survivalplus.setwarp:
|
||||||
description: Erlaubt das Setzen von persönlichen Warps
|
description: Erlaubt das Setzen von persönlichen Warps
|
||||||
default: true
|
default: true
|
||||||
|
survivalplus.delwarp:
|
||||||
|
description: Erlaubt das Löschen von persönlichen Warps
|
||||||
|
default: true
|
||||||
survivalplus.warps:
|
survivalplus.warps:
|
||||||
description: Erlaubt das Öffnen der Warps-GUI
|
description: Erlaubt das Öffnen der Warps-GUI
|
||||||
default: true
|
default: true
|
||||||
|
survivalplus.startchallenge:
|
||||||
delwarp:
|
description: Erlaubt das Starten von Fun-Challenges
|
||||||
description: Erlaubt das Löschen von persönlichen Warps
|
default: op
|
||||||
default: true
|
survivalplus.heal:
|
||||||
|
description: Erlaubt das Heilen des eigenen Spielers
|
||||||
|
default: op
|
||||||
|
survivalplus.heal.others:
|
||||||
|
description: Erlaubt das Heilen anderer Spieler
|
||||||
|
default: op
|
||||||
|
survivalplus.notify:
|
||||||
|
description: Erhält Benachrichtigungen, wenn ein Spieler einen Command- oder Structure-Block besitzt
|
||||||
|
default: op
|
||||||
|
survivalplus.chunkanimals:
|
||||||
|
description: Erlaubt das Anzeigen der Anzahl der Tiere im aktuellen Chunk
|
||||||
|
default: op
|
Reference in New Issue
Block a user