Fix various issues

This commit is contained in:
William committed 2023-03-20 23:23:06 +00:00
1 parent 503898a0ef
commit 054811676d
35 files changed
+236 -243

No files matched your search

@@ -55,15 +55,7 @@ public class Cache {
.filter(player -> !player.isVanished())
.map(User::getUsername)
.toList());
//todo
// if (plugin.getSettings().isCrossServer()) {
// return plugin.getMessenger()
// .getOnlinePlayerNames(requester)
// .thenApply(networkedPlayers -> {
// getPlayers().addAll(Set.of(networkedPlayers));
// return getPlayers();
// });
// }
return CompletableFuture.completedFuture(getPlayers());
}
@@ -325,7 +325,7 @@ public interface HuskHomes extends TaskRunner, EventDispatcher {
default <T extends Command> Optional<T> getCommand(@NotNull Class<T> type) {
return getCommands().stream()
.filter(command -> command.getClass().isInstance(type))
.filter(command -> command.getClass() == type)
.findFirst()
.map(type::cast);
}
@@ -87,6 +87,7 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
}
private void setHomeDescription(@NotNull CommandUser executor, @NotNull Home home, boolean ownerEditing, @NotNull String[] args) {
final String oldDescription = home.getMeta().getDescription();
final Optional<String> optionalDescription = parseGreedyString(args, 1);
if (optionalDescription.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
@@ -106,11 +107,11 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
}
if (ownerEditing) {
plugin.getLocales().getLocale("edit_home_update_description", home.getName(), newDescription)
plugin.getLocales().getLocale("edit_home_update_description", home.getName(), oldDescription, newDescription)
.ifPresent(executor::sendMessage);
} else {
plugin.getLocales().getLocale("edit_home_update_description_other", home.getOwner().getUsername(),
home.getName(), newDescription)
home.getName(), oldDescription, newDescription)
.ifPresent(executor::sendMessage);
}
});
@@ -64,7 +64,7 @@ public class RtpCommand extends Command {
.orElseThrow(() -> new IllegalStateException("No user data found for " + teleporter.getUsername()));
final Instant currentTime = Instant.now();
if (executor.equals(teleporter) && !currentTime.isAfter(user.getRtpCooldown()) &&
!executor.hasPermission(getPermission("bypass_cooldown"))) {
!executor.hasPermission(getPermission("bypass_cooldown"))) {
plugin.getLocales().getLocale("error_rtp_cooldown",
Long.toString(currentTime.until(user.getRtpCooldown(), ChronoUnit.MINUTES) + 1))
.ifPresent(executor::sendMessage);
@@ -74,7 +74,7 @@ public class RtpCommand extends Command {
plugin.getLocales().getLocale("teleporting_random_generation")
.ifPresent(teleporter::sendMessage);
final Optional<Position> position = plugin.getRandomTeleportEngine()
.getRandomPosition(teleporter.getPosition().getWorld(), removeFirstArg(args));
.getRandomPosition(teleporter.getPosition().getWorld(), args.length > 1 ? removeFirstArg(args) : args);
if (position.isEmpty()) {
plugin.getLocales().getLocale("error_rtp_randomization_timeout")
.ifPresent(executor::sendMessage);
@@ -31,7 +31,10 @@ public class SetHomeCommand extends SetPositionCommand {
plugin.getManager().homes().createHome(setter, event.getName(), event.getPosition());
} catch (ValidationException e) {
e.dispatchHomeError(setter, false, plugin, event.getName());
return;
}
plugin.getLocales().getLocale("set_home_success", event.getName())
.ifPresent(setter::sendMessage);
});
}
@@ -18,7 +18,10 @@ public class SetWarpCommand extends SetPositionCommand {
plugin.getManager().warps().createWarp(event.getName(), event.getPosition());
} catch (ValidationException e) {
e.dispatchWarpError(setter, plugin, event.getName());
return;
}
plugin.getLocales().getLocale("set_warp_success", event.getName())
.ifPresent(setter::sendMessage);
});
}
}
@@ -31,7 +31,7 @@ public class TpaAllCommand extends InGameCommand {
}
plugin.getManager().requests().sendTeleportAllRequest(executor);
plugin.getLocales().getLocale("teleporting_all_players")
plugin.getLocales().getLocale("tpaall_request_sent")
.ifPresent(executor::sendMessage);
}
@@ -4,6 +4,7 @@ import net.william278.huskhomes.HuskHomes;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.teleport.Teleportable;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -15,6 +16,16 @@ public class WarpCommand extends SavedPositionCommand<Warp> {
super("warp", List.of(), Warp.class, List.of(), plugin);
}
@Override
public void execute(@NotNull CommandUser executor, @NotNull String[] args) {
if (args.length == 0) {
plugin.getCommand(WarpListCommand.class)
.ifPresent(command -> command.showWarpList(executor, 1));
return;
}
super.execute(executor, args);
}
@Override
public void execute(@NotNull CommandUser executor, @NotNull Warp warp, @NotNull String[] args) {
if (plugin.getSettings().isPermissionRestrictWarps()) {
@@ -15,7 +15,7 @@ import java.util.stream.Collectors;
public class WarpListCommand extends ListCommand {
protected WarpListCommand(@NotNull HuskHomes plugin) {
super("homelist", List.of("homes"), "[player] [page]", plugin);
super("warplist", List.of("warps"), "[player] [page]", plugin);
}
@Override
@@ -41,6 +41,9 @@ public class Locales {
* @return An {@link Optional} containing the locale corresponding to the id, if it exists
*/
public Optional<String> getRawLocale(@NotNull String localeId) {
if (!rawLocales.containsKey(localeId)) { // debug
return Optional.of(localeId + " (missing locale)"); // debug
} // debug
return Optional.ofNullable(rawLocales.get(localeId)).map(StringEscapeUtils::unescapeJava);
}
@@ -3,6 +3,7 @@ package net.william278.huskhomes.config;
import net.william278.annotaml.YamlComment;
import net.william278.annotaml.YamlFile;
import net.william278.annotaml.YamlKey;
import net.william278.huskhomes.command.Command;
import net.william278.huskhomes.database.Database;
import net.william278.huskhomes.hook.EconomyHook;
import net.william278.huskhomes.hook.MapHook;
@@ -490,8 +491,12 @@ public class Settings {
return warpsOnMap;
}
public List<String> getDisabledCommands() {
return disabledCommands;
public boolean isCommandDisabled(Command type) {
return disabledCommands.stream().anyMatch(disabled -> {
final String command = (disabled.startsWith("/") ? disabled.substring(1) : disabled);
return command.equalsIgnoreCase(type.getName())
|| type.getAliases().stream().anyMatch(alias -> alias.equalsIgnoreCase(command));
});
}
public boolean doBrigadierTabCompletion() {
@@ -63,28 +63,30 @@ public class EventListener {
/**
* Handle inbound cross-server teleports
*
* @param onlineUser user to handle the checks for
* @param teleporter user to handle the checks for
*/
private void handleInboundTeleport(@NotNull OnlineUser onlineUser) {
plugin.getDatabase().getCurrentTeleport(onlineUser).ifPresent(teleport -> {
private void handleInboundTeleport(@NotNull OnlineUser teleporter) {
plugin.getDatabase().getCurrentTeleport(teleporter).ifPresent(teleport -> {
if (teleport.getType() == Teleport.Type.RESPAWN) {
final Optional<Position> bedPosition = onlineUser.getBedSpawnPosition();
final Optional<Position> bedPosition = teleporter.getBedSpawnPosition();
if (bedPosition.isEmpty()) {
plugin.getLocalCachedSpawn()
.map(spawn -> spawn.getPosition(plugin.getServerName()))
.ifPresent(position -> onlineUser.teleportLocally(position,
.ifPresent(position -> teleporter.teleportLocally(position,
plugin.getSettings().isAsynchronousTeleports()));
onlineUser.sendTranslatableMessage("block.minecraft.spawn.not_valid");
teleporter.sendTranslatableMessage("block.minecraft.spawn.not_valid");
} else {
onlineUser.teleportLocally(bedPosition.get(), plugin.getSettings().isAsynchronousTeleports());
teleporter.teleportLocally(bedPosition.get(), plugin.getSettings().isAsynchronousTeleports());
}
plugin.getDatabase().setCurrentTeleport(onlineUser, null);
plugin.getDatabase().setRespawnPosition(onlineUser, bedPosition.orElse(null));
plugin.getDatabase().setCurrentTeleport(teleporter, null);
plugin.getDatabase().setRespawnPosition(teleporter, bedPosition.orElse(null));
return;
}
onlineUser.teleportLocally((Position) teleport.getTarget(), plugin.getSettings().isAsynchronousTeleports());
plugin.getDatabase().setCurrentTeleport(onlineUser, null);
teleporter.teleportLocally((Position) teleport.getTarget(), plugin.getSettings().isAsynchronousTeleports());
plugin.getDatabase().setCurrentTeleport(teleporter, null);
plugin.getLocales().getLocale("teleporting_complete")
.ifPresent(teleporter::sendMessage);
});
}
@@ -97,14 +99,6 @@ public class EventListener {
// Remove this user's home cache
plugin.getCache().getHomes().remove(onlineUser.getUsername());
// Update the cached player list using another online player if possible
plugin.getOnlineUsers()
.stream()
.filter(onlinePlayer -> !onlinePlayer.equals(onlineUser))
.findAny()
.ifPresent(updater -> plugin.getCache().updatePlayerListCache(plugin, updater));
// Set offline position
plugin.getDatabase().setOfflinePosition(onlineUser, onlineUser.getPosition());
}
@@ -163,6 +163,7 @@ public class RequestsManager {
.payload(Payload.withTeleportRequest(request))
.target(targetUser)
.build().send(plugin.getMessenger(), requester);
return;
}
throw new IllegalArgumentException("Player not found");
}
@@ -62,7 +62,7 @@ public abstract class Broker {
*
* @throws RuntimeException if the broker fails to initialize
*/
public abstract void initialize() throws RuntimeException;
public abstract void initialize() throws IllegalStateException;
/**
* Send a message to the broker
@@ -32,7 +32,7 @@ public class PluginMessageBroker extends Broker {
}
@Override
public void initialize() throws RuntimeException {
public void initialize() throws IllegalStateException {
plugin.initializePluginChannels();
}
@@ -21,7 +21,7 @@ public class RedisBroker extends PluginMessageBroker {
}
@Override
public void initialize() throws RuntimeException {
public void initialize() throws IllegalStateException {
super.initialize();
final String password = plugin.getSettings().getRedisPassword();
@@ -51,7 +51,7 @@ public class RedisBroker extends PluginMessageBroker {
final Message message = plugin.getGson().fromJson(encodedMessage, Message.class);
plugin.getOnlineUsers().stream()
.filter(online -> message.getTarget().equals(Message.TARGET_ALL)
|| online.getUsername().equals(message.getTarget()))
|| online.getUsername().equals(message.getTarget()))
.forEach(receiver -> handle(receiver, message));
}
}, getSubChannelId());
@@ -13,10 +13,8 @@ public class Home extends SavedPosition {
private final User owner;
private boolean isPublic;
public Home(double x, double y, double z, float yaw, float pitch,
@NotNull World world, @NotNull String server,
@NotNull PositionMeta positionMeta, @NotNull UUID uuid,
@NotNull User owner, boolean isPublic) {
public Home(double x, double y, double z, float yaw, float pitch, @NotNull World world, @NotNull String server,
@NotNull PositionMeta positionMeta, @NotNull UUID uuid, @NotNull User owner, boolean isPublic) {
super(x, y, z, yaw, pitch, world, server, positionMeta, uuid);
this.owner = owner;
this.setPublic(isPublic);
@@ -19,6 +19,7 @@ public class Server {
/**
* Default server identifier
*/
@NotNull
public static String getDefaultServerName() {
try {
final Path serverDirectory = Path.of(System.getProperty("user.dir"));
@@ -85,6 +85,8 @@ public class Teleport {
fireEvent((event) -> {
executeEconomyActions();
teleporter.teleportLocally(localTarget.get().getPosition(), async);
plugin.getLocales().getLocale("teleporting_complete")
.ifPresent(teleporter::sendMessage);
});
return;
}
@@ -96,6 +98,8 @@ public class Teleport {
.type(Message.Type.TELEPORT_TO_NETWORKED_POSITION)
.target(username.name())
.build().send(plugin.getMessenger(), executor);
plugin.getLocales().getLocale("teleporting_complete")
.ifPresent(teleporter::sendMessage);
});
return;
}
@@ -105,10 +109,24 @@ public class Teleport {
fireEvent((event) -> {
executeEconomyActions();
teleporter.teleportLocally((Position) target, async);
final Position target = (Position) this.target;
if (plugin.getSettings().isCrossServer() && target.getServer().equals(plugin.getServerName())) {
teleporter.teleportLocally(target, async);
plugin.getLocales().getLocale("teleporting_complete")
.ifPresent(teleporter::sendMessage);
return;
}
plugin.getDatabase().setCurrentTeleport(teleporter, this);
plugin.getMessenger().changeServer(teleporter, target.getServer());
});
}
private void teleport(@NotNull OnlineUser teleporter, @NotNull Position target) {
}
@NotNull
private Optional<OnlineUser> resolveLocalTeleporter() throws TeleportationException {
if (this.teleporter instanceof Username username) {
@@ -16,6 +16,8 @@ public class TeleportationException extends IllegalArgumentException {
ALREADY_WARMING_UP,
ECONOMY_ACTION_FAILED,
WARMUP_ALREADY_MOVING,
WORLD_NOT_FOUND,
ILLEGAL_TARGET_COORDINATES,
CANNOT_TELEPORT_TO_SELF
}
@@ -33,6 +35,12 @@ public class TeleportationException extends IllegalArgumentException {
case CANNOT_TELEPORT_TO_SELF -> plugin.getLocales()
.getLocale("error_teleport_request_self")
.ifPresent(user::sendMessage);
case ILLEGAL_TARGET_COORDINATES -> plugin.getLocales()
.getLocale("error_illegal_target_coordinates")
.ifPresent(user::sendMessage);
case WORLD_NOT_FOUND -> plugin.getLocales()
.getLocale("error_invalid_world")
.ifPresent(user::sendMessage);
}
}
}
@@ -142,7 +142,7 @@ public abstract class OnlineUser extends User implements Teleportable, CommandUs
* @param location the {@link Location} to teleport the player to
* @param asynchronous if the teleport should be asynchronous
*/
public abstract CompletableFuture<TeleportResult> teleportLocally(@NotNull Location location, boolean asynchronous);
public abstract void teleportLocally(@NotNull Location location, boolean asynchronous);
/**
* Send a plugin message to the user
+4 -4
View File
@@ -12,7 +12,7 @@ teleporting_all_players: '[Teleporting all players to your position…](#00fb9a)
teleporting_random_generation: '[Finding a safe random position to teleport you to…](#00fb9a)'
tpa_request_sent: '[You sent a teleport request asking to teleport to](#00fb9a) [%1%](#00fb9a bold)[.](#00fb9a)'
tpahere_request_sent: '[You sent a teleport request asking](#00fb9a) [%1%](#00fb9a bold) [to teleport to you.](#00fb9a)'
tpaall_request_sent: '[You sent a teleport request asking](#00fb9a) [%1%](#00fb9a bold) [player(s) to teleport to you.](#00fb9a)'
tpaall_request_sent: '[You sent a teleport request to every player asking them to teleport to you.](#00fb9a)'
tpa_request_received: '[%1%](#00fb9a bold) [has requested to teleport to you.](#00fb9a)'
tpahere_request_received: '[%1%](#00fb9a bold) [has requested that you teleport to them.](#00fb9a)'
teleport_request_buttons: '[Options:](gray) [[✔ Accept…]](#00fb9a show_text=&#00fb9a&Accept teleport request\n&8Click to accept %1%''s request run_command=/huskhomes:tpaccept %1%) [[❌ Decline…]](#ff3300 show_text=&#ff3300&Decline teleport request\n&8Click to decline %1%''s request run_command=/huskhomes:tpdeny %1%)'
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Редактирайте уарп'
back_command_description: 'Върнете се на предишната си позиция или където сте умряли'
homelist_command_description: 'Списък с Вашите домове'
warplist_command_description: 'Вижте списък с уарпове'
publichomelist_command_description: 'Вижте списъка с публични домове'
publichome_command_description: 'Телепортирайте се до публичен дом'
phomelist_command_description: 'Вижте списъка с публични домове'
phome_command_description: 'Телепортирайте се до публичен дом'
tp_command_description: 'Телепортирайте се до друг играч или локация'
tphere_command_description: 'Телепортирайте друг играч до Вас'
tpa_command_description: 'Заявете да се телепортирате до друг играч'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Öffentliche Homes:](#00fb9a) [(%1%-%2% von](
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% von](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Befehlsliste](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Klicke, um den Befehl im Chat einzufügen command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Ändere einen Warp'
back_command_description: 'Kehre zu deiner letzten Position oder zu deinem Todespunkt zurück'
homelist_command_description: 'Erhalte eine Liste deiner Homes'
warplist_command_description: 'Siehe die Liste der Warps'
publichomelist_command_description: 'Siehe die Liste der öffentlichen Homes'
publichome_command_description: 'Teleportiere dich zu einem öffentlichen Home'
phomelist_command_description: 'Siehe die Liste der öffentlichen Homes'
phome_command_description: 'Teleportiere dich zu einem öffentlichen Home'
tp_command_description: 'Teleportiere dich zu einem Spieler oder zu einer Position'
tphere_command_description: 'Teleportiere einen Spieler zu dir'
tpa_command_description: 'Frage einem Spieler sich zu ihm zu teleportieren'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Edit a warp'
back_command_description: 'Return to your previous position, or where you died'
homelist_command_description: 'Get a list of your homes'
warplist_command_description: 'View the list of warps'
publichomelist_command_description: 'View the list of public homes'
publichome_command_description: 'Teleport to a public home'
phomelist_command_description: 'View the list of public homes'
phome_command_description: 'Teleport to a public home'
tp_command_description: 'Teleport to another player or location'
tphere_command_description: 'Teleport another player to you'
tpa_command_description: 'Request to teleport to another player'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[GreenShield](#green bold) [| lista de comandos](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clic para sugerir el comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Editar un warp'
back_command_description: 'Volver a su posición anterior, o donde murió'
homelist_command_description: 'Obtenga una lista de sus casas'
warplist_command_description: 'Ver la lista de warps'
publichomelist_command_description: 'Ver la lista de casas públicos'
publichome_command_description: 'Teletransporte a una vivienda pública'
phomelist_command_description: 'Ver la lista de casas públicos'
phome_command_description: 'Teletransporte a una vivienda pública'
tp_command_description: 'Teletransportarse a otro jugador o lugar'
tphere_command_description: 'Teletransportar a otro jugador hacia ti'
tpa_command_description: 'Solicitud de teletransporte a otro jugador'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Home pubbliche:](#00fb9a) [(%1%-%2% of](#00fb
warp_list_page_title: '[Lista Warp:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista comandi](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clicca per usare il comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Modifica un warp'
back_command_description: 'Ritorna in una tua posizione precedente, o dove sei morto.'
homelist_command_description: 'Ricevi una lista delle tue home'
warplist_command_description: 'Ricevi una lista dei warp esistenti'
publichomelist_command_description: 'Ricevi una lista delle home pubbliche'
publichome_command_description: 'Teletrasportati in una home pubblica'
phomelist_command_description: 'Ricevi una lista delle home pubbliche'
phome_command_description: 'Teletrasportati in una home pubblica'
tp_command_description: 'Teletrasportati nella posizione di un altro giocatore'
tphere_command_description: 'Teletrasporta un altro giocatore da te'
tpa_command_description: 'Richiedi ad un altro giocatore di teletrasportarti da lui'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Edit a warp'
back_command_description: 'Return to your previous position, or where you died'
homelist_command_description: 'Get a list of your homes'
warplist_command_description: 'View the list of warps'
publichomelist_command_description: 'View the list of public homes'
publichome_command_description: 'Teleport to a public home'
phomelist_command_description: 'View the list of public homes'
phome_command_description: 'Teleport to a public home'
tp_command_description: 'Teleport to another player or location'
tphere_command_description: 'Teleport another player to you'
tpa_command_description: 'Request to teleport to another player'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Herkese Açık Evler:](#00fb9a) [(%1%-%2% of]
warp_list_page_title: '[Warplar:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Komut Listesi](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Komut önermek için tıklayın suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Warpları düzenler'
back_command_description: 'Önceki konumunuza veya öldüğünüz yere dönüdürür'
homelist_command_description: 'Evlerinizin bir listesini alır'
warplist_command_description: 'Warp listesini görünütler'
publichomelist_command_description: 'Herkese açık evlerin listesini görüntüler'
publichome_command_description: 'Herkese açık bir eve ışınlar'
phomelist_command_description: 'Herkese açık evlerin listesini görüntüler'
phome_command_description: 'Herkese açık bir eve ışınlar'
tp_command_description: 'Başka bir oyuncuya veya konuma ışınlar'
tphere_command_description: 'Başka bir oyuncuyu sana ışınlar'
tpa_command_description: 'Başka bir oyuncuya ışınlanma isteği atar'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: 'Редагувати варп'
back_command_description: 'Повернутися на попередню позицію, або місце смерті'
homelist_command_description: 'Cписок моїх домівок'
warplist_command_description: 'Cписок варпів'
publichomelist_command_description: 'Cписок публічних домівок'
publichome_command_description: 'Телепортуватися до публічної домівки'
phomelist_command_description: 'Cписок публічних домівок'
phome_command_description: 'Телепортуватися до публічної домівки'
tp_command_description: 'Телепортуватися до іншого гравця чи на позицію'
tphere_command_description: 'Телепортувати гравця до себе'
tpa_command_description: 'Надіслати гравцеві запит на телепортацію'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ 公共家:](#00fb9a) [(%1%-%2% 共](#00fb9a)
warp_list_page_title: '[地标:](#00fb9a) [(%1%-%2% 共](#00fb9a) [%3%](#00fb9a bold)[ 个)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| 指令列表](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7点击使用命令 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: '编辑地标'
back_command_description: '返回到上次传送或死亡的位置'
homelist_command_description: '您的家列表'
warplist_command_description: '地标列表'
publichomelist_command_description: '公开家的列表'
publichome_command_description: '传送至公开的家'
phomelist_command_description: '公开家的列表'
phome_command_description: '传送至公开的家'
tp_command_description: '传送到玩家或坐标'
tphere_command_description: '将该玩家传送至您这里'
tpa_command_description: '请求传送到该玩家'
+3 -3
View File
@@ -64,7 +64,7 @@ public_home_list_page_title: '[☀ 公共家:](#00fb9a) [(%1%-%2% 共](#00fb9a)
warp_list_page_title: '[地標:](#00fb9a) [(%1%-%2% 共](#00fb9a) [%3%](#00fb9a bold)[ 個)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| 指令列表](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:publichome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %2% run_command=/huskhomes:warp %1%)'
command_list_item: '[/%1%](#00fb9a show_text=&7點擊使用指令 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
@@ -155,8 +155,8 @@ editwarp_command_description: '編輯地標'
back_command_description: '返回到上次傳送或死亡的位置'
homelist_command_description: '您的家列表'
warplist_command_description: '地標列表'
publichomelist_command_description: '公開的家列表'
publichome_command_description: '傳送至公開的家'
phomelist_command_description: '公開的家列表'
phome_command_description: '傳送至公開的家'
tp_command_description: '傳送至玩家或坐標'
tphere_command_description: '將該玩家傳送至您身邊'
tpa_command_description: '請求傳送到該玩家身邊'