Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Minors
Dieser Commit ist enthalten in:
Ursprung
7b8bf18309
Commit
a22ba45b1c
@ -302,7 +302,7 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
try {
|
try {
|
||||||
this.vault = new VaultUtil();
|
this.vault = new VaultUtil();
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
this.debug("&dVault is used for persistent `/wea` toggles.");
|
this.debug(BBC.getPrefix() + "&dVault is used for persistent `/wea` toggles.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -310,7 +310,7 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
public String getDebugInfo() {
|
public String getDebugInfo() {
|
||||||
StringBuilder msg = new StringBuilder();
|
StringBuilder msg = new StringBuilder();
|
||||||
List<String> pl = new ArrayList<>();
|
List<String> pl = new ArrayList<>();
|
||||||
msg.append("server.version: " + Bukkit.getVersion() + " / " + Bukkit.getBukkitVersion() + "\n");
|
msg.append("server.version: " + Bukkit.getVersion() + "\n");
|
||||||
msg.append("Plugins: \n");
|
msg.append("Plugins: \n");
|
||||||
for (Plugin p : Bukkit.getPluginManager().getPlugins()) {
|
for (Plugin p : Bukkit.getPluginManager().getPlugins()) {
|
||||||
msg.append(" - " + p.getName() + ": " + p.getDescription().getVersion() + "\n");
|
msg.append(" - " + p.getName() + ": " + p.getDescription().getVersion() + "\n");
|
||||||
|
@ -161,7 +161,7 @@ public abstract class HelpBuilder implements Runnable {
|
|||||||
visited.add(args.getString(i));
|
visited.add(args.getString(i));
|
||||||
isRootLevel = false;
|
isRootLevel = false;
|
||||||
} else {
|
} else {
|
||||||
String msg = String.format("'%s' has no sub-commands. (Maybe '%s' is for a parameter?)",
|
String msg = String.format(BBC.getPrefix() + "'%s' has no sub-commands. (Maybe '%s' is for a parameter?)",
|
||||||
Joiner.on(" ").join(visited), command);
|
Joiner.on(" ").join(visited), command);
|
||||||
displayFailure(msg);
|
displayFailure(msg);
|
||||||
return;
|
return;
|
||||||
@ -200,7 +200,7 @@ public abstract class HelpBuilder implements Runnable {
|
|||||||
|
|
||||||
// Box
|
// Box
|
||||||
if (offset >= aliases.size()) {
|
if (offset >= aliases.size()) {
|
||||||
displayFailure(String.format("There is no page %d (total number of pages is %d).", page + 1, pageTotal));
|
displayFailure(String.format(BBC.getPrefix() + "There is no page %d (total number of pages is %d).", page + 1, pageTotal));
|
||||||
} else {
|
} else {
|
||||||
int end = Math.min(offset + perPage, aliases.size());
|
int end = Math.min(offset + perPage, aliases.size());
|
||||||
List<CommandMapping> subAliases = aliases.subList(offset, end);
|
List<CommandMapping> subAliases = aliases.subList(offset, end);
|
||||||
|
@ -23,9 +23,7 @@ import com.boydti.fawe.Fawe;
|
|||||||
import com.boydti.fawe.FaweVersion;
|
import com.boydti.fawe.FaweVersion;
|
||||||
import com.boydti.fawe.config.BBC;
|
import com.boydti.fawe.config.BBC;
|
||||||
import com.boydti.fawe.config.Settings;
|
import com.boydti.fawe.config.Settings;
|
||||||
import com.boydti.fawe.object.FawePlayer;
|
|
||||||
import com.boydti.fawe.util.*;
|
import com.boydti.fawe.util.*;
|
||||||
import com.google.common.io.Files;
|
|
||||||
import com.sk89q.minecraft.util.commands.Command;
|
import com.sk89q.minecraft.util.commands.Command;
|
||||||
import com.sk89q.minecraft.util.commands.CommandContext;
|
import com.sk89q.minecraft.util.commands.CommandContext;
|
||||||
import com.sk89q.minecraft.util.commands.CommandPermissions;
|
import com.sk89q.minecraft.util.commands.CommandPermissions;
|
||||||
@ -35,21 +33,12 @@ import com.sk89q.worldedit.WorldEditException;
|
|||||||
import com.sk89q.worldedit.entity.Player;
|
import com.sk89q.worldedit.entity.Player;
|
||||||
import com.sk89q.worldedit.event.platform.ConfigurationLoadEvent;
|
import com.sk89q.worldedit.event.platform.ConfigurationLoadEvent;
|
||||||
import com.sk89q.worldedit.extension.platform.*;
|
import com.sk89q.worldedit.extension.platform.*;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.net.URL;
|
|
||||||
import com.sk89q.worldedit.extension.platform.Actor;
|
import com.sk89q.worldedit.extension.platform.Actor;
|
||||||
import com.sk89q.worldedit.extension.platform.Capability;
|
import com.sk89q.worldedit.extension.platform.Capability;
|
||||||
import com.sk89q.worldedit.extension.platform.Platform;
|
import com.sk89q.worldedit.extension.platform.Platform;
|
||||||
import com.sk89q.worldedit.extension.platform.PlatformManager;
|
import com.sk89q.worldedit.extension.platform.PlatformManager;
|
||||||
import com.sk89q.worldedit.util.paste.ActorCallbackPaste;
|
|
||||||
import com.sk89q.worldedit.util.report.ConfigReport;
|
|
||||||
import com.sk89q.worldedit.util.report.ReportList;
|
|
||||||
import com.sk89q.worldedit.util.report.SystemInfoReport;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@ -89,7 +78,7 @@ public class WorldEditCommands {
|
|||||||
PlatformManager pm = we.getPlatformManager();
|
PlatformManager pm = we.getPlatformManager();
|
||||||
actor.printDebug("Platforms:");
|
actor.printDebug("Platforms:");
|
||||||
for (Platform platform : pm.getPlatforms()) {
|
for (Platform platform : pm.getPlatforms()) {
|
||||||
actor.printDebug(String.format(" - %s", platform.getPlatformName()));
|
actor.printDebug(String.format(" - %s (%s)", platform.getPlatformName(), platform.getVersion()));
|
||||||
}
|
}
|
||||||
actor.printDebug("Capabilities:");
|
actor.printDebug("Capabilities:");
|
||||||
for (Capability capability : Capability.values()) {
|
for (Capability capability : Capability.values()) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren