API: New events, move around old ones, setters

This commit is contained in:
William278 committed 2023-03-20 16:59:20 +00:00
1 parent 6a62cea52c
commit 503898a0ef
44 files changed
+538 -236

No files matched your search

@@ -1,17 +1,16 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.user.User;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.teleport.Teleport;
import net.william278.huskhomes.teleport.TimedTeleport;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.User;
import org.bukkit.Bukkit;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import java.util.concurrent.CompletableFuture;
public interface BukkitEventDispatcher extends EventDispatcher {
@@ -32,25 +31,34 @@ public interface BukkitEventDispatcher extends EventDispatcher {
return new TeleportWarmupEvent(teleport, duration);
}
@Override
default IHomeSaveEvent getHomeSaveEvent(@NotNull Home home) {
return new HomeSaveEvent(home);
default IHomeCreateEvent getHomeCreateEvent(@NotNull User owner, @NotNull String name, @NotNull Position position, @NotNull CommandUser creator) {
return new HomeCreateEvent(owner, name, position, creator);
}
@Override
default IHomeDeleteEvent getHomeDeleteEvent(@NotNull Home home) {
return new HomeDeleteEvent(home);
default IHomeEditEvent getHomeEditEvent(@NotNull Home home, @NotNull CommandUser editor) {
return new HomeEditEvent(home, editor);
}
@Override
default IWarpSaveEvent getWarpSaveEvent(@NotNull Warp warp) {
return new WarpSaveEvent(warp);
default IHomeDeleteEvent getHomeDeleteEvent(@NotNull Home home, @NotNull CommandUser deleter) {
return new HomeDeleteEvent(home, deleter);
}
@Override
default IWarpDeleteEvent getWarpDeleteEvent(@NotNull Warp warp) {
return new WarpDeleteEvent(warp);
default IWarpCreateEvent getWarpCreateEvent(@NotNull String name, @NotNull Position position, @NotNull CommandUser creator) {
return new WarpCreateEvent(name, position, creator);
}
@Override
default IWarpEditEvent getWarpEditEvent(@NotNull Warp warp, @NotNull CommandUser editor) {
return new WarpEditEvent(warp, editor);
}
@Override
default IWarpDeleteEvent getWarpDeleteEvent(@NotNull Warp warp, @NotNull CommandUser deleter) {
return new WarpDeleteEvent(warp, deleter);
}
@Override
@@ -64,13 +72,13 @@ public interface BukkitEventDispatcher extends EventDispatcher {
}
@Override
default IDeleteAllHomesEvent getDeleteAllHomesEvent(@NotNull User user) {
return new DeleteAllHomesEvent(user);
default IDeleteAllHomesEvent getDeleteAllHomesEvent(@NotNull User user, @NotNull CommandUser deleter) {
return new DeleteAllHomesEvent(user, deleter);
}
@Override
default IDeleteAllWarpsEvent getDeleteAllWarpsEvent() {
return new DeleteAllWarpsEvent();
default IDeleteAllWarpsEvent getDeleteAllWarpsEvent(@NotNull CommandUser deleter) {
return new DeleteAllWarpsEvent(deleter);
}
}
@@ -1,5 +1,6 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.User;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
@@ -10,13 +11,13 @@ public class DeleteAllHomesEvent extends Event implements IDeleteAllHomesEvent,
private static final HandlerList HANDLER_LIST = new HandlerList();
private final User homeOwner;
private final CommandUser deleter;
private boolean cancelled;
@NotNull
private final User homeOwner;
public DeleteAllHomesEvent(@NotNull User homeOwner) {
public DeleteAllHomesEvent(@NotNull User homeOwner, @NotNull CommandUser deleter) {
this.homeOwner = homeOwner;
this.deleter = deleter;
}
@NotNull
@@ -41,7 +42,14 @@ public class DeleteAllHomesEvent extends Event implements IDeleteAllHomesEvent,
}
@Override
public @NotNull User getHomeOwner() {
@NotNull
public User getHomeOwner() {
return homeOwner;
}
@Override
@NotNull
public CommandUser getDeleter() {
return deleter;
}
}
@@ -1,5 +1,6 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
@@ -9,9 +10,11 @@ public class DeleteAllWarpsEvent extends Event implements IDeleteAllWarpsEvent,
private static final HandlerList HANDLER_LIST = new HandlerList();
private final CommandUser deleter;
private boolean cancelled;
public DeleteAllWarpsEvent() {
public DeleteAllWarpsEvent(@NotNull CommandUser deleter) {
this.deleter = deleter;
}
@NotNull
@@ -35,4 +38,9 @@ public class DeleteAllWarpsEvent extends Event implements IDeleteAllWarpsEvent,
return cancelled;
}
@Override
@NotNull
public CommandUser getDeleter() {
return deleter;
}
}
@@ -0,0 +1,82 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.User;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
public class HomeCreateEvent extends Event implements IHomeCreateEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
private final User owner;
private String name;
private Position position;
private final CommandUser creator;
private boolean cancelled;
public HomeCreateEvent(@NotNull User owner, @NotNull String name, @NotNull Position position, @NotNull CommandUser creator) {
this.owner = owner;
this.name = name;
this.position = position;
this.creator = creator;
}
@NotNull
@Override
public HandlerList getHandlers() {
return HANDLER_LIST;
}
@SuppressWarnings("unused")
public static HandlerList getHandlerList() {
return HANDLER_LIST;
}
@Override
public void setCancelled(boolean cancelled) {
this.cancelled = cancelled;
}
@Override
public boolean isCancelled() {
return cancelled;
}
@Override
@NotNull
public User getOwner() {
return owner;
}
@Override
@NotNull
public String getName() {
return name;
}
@Override
public void setName(@NotNull String name) {
this.name = name;
}
@Override
@NotNull
public Position getPosition() {
return position;
}
@Override
public void setPosition(@NotNull Position position) {
this.position = position;
}
@Override
@NotNull
public CommandUser getCreator() {
return creator;
}
}
@@ -1,6 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
@@ -9,13 +10,14 @@ import org.jetbrains.annotations.NotNull;
public class HomeDeleteEvent extends Event implements IHomeDeleteEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final Home home;
private final Home home;
private final CommandUser deleter;
private boolean cancelled;
public HomeDeleteEvent(@NotNull Home home) {
public HomeDeleteEvent(@NotNull Home home, @NotNull CommandUser deleter) {
this.home = home;
this.deleter = deleter;
}
@NotNull
@@ -40,7 +42,14 @@ public class HomeDeleteEvent extends Event implements IHomeDeleteEvent, Cancella
}
@Override
public @NotNull Home getHome() {
@NotNull
public Home getHome() {
return home;
}
@Override
@NotNull
public CommandUser getDeleter() {
return deleter;
}
}
@@ -1,21 +1,23 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
public class HomeSaveEvent extends Event implements IHomeSaveEvent, Cancellable {
public class HomeEditEvent extends Event implements IHomeEditEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final Home home;
private final Home home;
private final CommandUser editor;
private boolean cancelled;
public HomeSaveEvent(@NotNull Home home) {
public HomeEditEvent(@NotNull Home home, @NotNull CommandUser editor) {
this.home = home;
this.editor = editor;
}
@NotNull
@@ -40,7 +42,15 @@ public class HomeSaveEvent extends Event implements IHomeSaveEvent, Cancellable
}
@Override
public @NotNull Home getHome() {
@NotNull
public Home getHome() {
return home;
}
@Override
@NotNull
public CommandUser getEditor() {
return editor;
}
}
@@ -1,7 +1,6 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.position.Home;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
@@ -13,16 +12,15 @@ import java.util.List;
public class HomeListEvent extends Event implements IHomeListEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final List<Home> homes;
@NotNull
private final CommandUser onlineUser;
private List<Home> homes;
private final CommandUser listViewer;
private final boolean isPublicHomeList;
private boolean cancelled;
public HomeListEvent(@NotNull List<Home> homes, @NotNull CommandUser onlineUser, boolean isPublicHomeList) {
public HomeListEvent(@NotNull List<Home> homes, @NotNull CommandUser listViewer, boolean isPublicHomeList) {
this.homes = homes;
this.onlineUser = onlineUser;
this.listViewer = listViewer;
this.isPublicHomeList = isPublicHomeList;
}
@@ -43,10 +41,15 @@ public class HomeListEvent extends Event implements IHomeListEvent, Cancellable
return homes;
}
@Override
public void setHomes(@NotNull List<Home> homes) {
this.homes = homes;
}
@Override
@NotNull
public CommandUser getListViewer() {
return onlineUser;
return listViewer;
}
@Override
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
public class TeleportEvent extends Event implements ITeleportEvent {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final Teleport teleport;
public TeleportEvent(@NotNull Teleport teleport) {
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
public class TeleportWarmupEvent extends Event implements ITeleportWarmupEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final TimedTeleport warp;
private final int duration;
private boolean cancelled;
@@ -0,0 +1,73 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
public class WarpCreateEvent extends Event implements IWarpCreateEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
private String name;
private Position position;
private final CommandUser creator;
private boolean cancelled;
public WarpCreateEvent(@NotNull String name, @NotNull Position position, @NotNull CommandUser creator) {
this.name = name;
this.position = position;
this.creator = creator;
}
@NotNull
@Override
public HandlerList getHandlers() {
return HANDLER_LIST;
}
@SuppressWarnings("unused")
public static HandlerList getHandlerList() {
return HANDLER_LIST;
}
@Override
public void setCancelled(boolean cancelled) {
this.cancelled = cancelled;
}
@Override
public boolean isCancelled() {
return cancelled;
}
@Override
@NotNull
public String getName() {
return name;
}
@Override
public void setName(@NotNull String name) {
this.name = name;
}
@Override
@NotNull
public Position getPosition() {
return position;
}
@Override
public void setPosition(@NotNull Position position) {
this.position = position;
}
@Override
@NotNull
public CommandUser getCreator() {
return creator;
}
}
@@ -1,6 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
@@ -9,13 +10,14 @@ import org.jetbrains.annotations.NotNull;
public class WarpDeleteEvent extends Event implements IWarpDeleteEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final Warp warp;
private final Warp warp;
private final CommandUser deleter;
private boolean cancelled;
public WarpDeleteEvent(@NotNull Warp warp) {
public WarpDeleteEvent(@NotNull Warp warp, @NotNull CommandUser deleter) {
this.warp = warp;
this.deleter = deleter;
}
@Override
@@ -44,4 +46,10 @@ public class WarpDeleteEvent extends Event implements IWarpDeleteEvent, Cancella
public Warp getWarp() {
return warp;
}
@Override
@NotNull
public CommandUser getDeleter() {
return deleter;
}
}
@@ -1,21 +1,23 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
public class WarpSaveEvent extends Event implements IWarpSaveEvent, Cancellable {
public class WarpEditEvent extends Event implements IWarpEditEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final Warp warp;
private final Warp warp;
private final CommandUser editor;
private boolean cancelled;
public WarpSaveEvent(@NotNull Warp warp) {
public WarpEditEvent(@NotNull Warp warp, @NotNull CommandUser editor) {
this.warp = warp;
this.editor = editor;
}
@NotNull
@@ -40,7 +42,14 @@ public class WarpSaveEvent extends Event implements IWarpSaveEvent, Cancellable
}
@Override
public @NotNull Warp getWarp() {
@NotNull
public Warp getWarp() {
return warp;
}
@Override
@NotNull
public CommandUser getEditor() {
return editor;
}
}
@@ -1,8 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
@@ -13,9 +12,8 @@ import java.util.List;
public class WarpListEvent extends Event implements IWarpListEvent, Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
@NotNull
private final List<Warp> warps;
@NotNull
private List<Warp> warps;
private final CommandUser listViewer;
private boolean cancelled;
@@ -41,6 +39,11 @@ public class WarpListEvent extends Event implements IWarpListEvent, Cancellable
return warps;
}
@Override
public void setWarps(@NotNull List<Warp> warps) {
this.warps = warps;
}
@Override
@NotNull
public CommandUser getListViewer() {
@@ -31,7 +31,7 @@ public class DelHomeCommand extends SavedPositionCommand<Home> {
return;
}
plugin.fireEvent(plugin.getHomeDeleteEvent(home), (event) -> {
plugin.fireEvent(plugin.getHomeDeleteEvent(home, executor), (event) -> {
try {
plugin.getManager().homes().deleteHome(home);
} catch (ValidationException e) {
@@ -53,7 +53,7 @@ public class DelHomeCommand extends SavedPositionCommand<Home> {
return true;
}
plugin.fireEvent(plugin.getDeleteAllHomesEvent(user), (event) -> {
plugin.fireEvent(plugin.getDeleteAllHomesEvent(user, user), (event) -> {
final int deleted = plugin.getManager().homes().deleteAllHomes(user);
if (deleted == 0) {
plugin.getLocales().getLocale("error_no_homes_set")
@@ -31,7 +31,7 @@ public class DelWarpCommand extends SavedPositionCommand<Warp> {
return;
}
plugin.fireEvent(plugin.getWarpDeleteEvent(warp), (event) -> {
plugin.fireEvent(plugin.getWarpDeleteEvent(warp, executor), (event) -> {
try {
plugin.getManager().warps().deleteWarp(warp);
} catch (ValidationException e) {
@@ -54,7 +54,7 @@ public class DelWarpCommand extends SavedPositionCommand<Warp> {
return true;
}
plugin.fireEvent(plugin.getDeleteAllWarpsEvent(), (event) -> {
plugin.fireEvent(plugin.getDeleteAllWarpsEvent(executor), (event) -> {
final int deleted = plugin.getManager().warps().deleteAllWarps();
if (deleted == 0) {
plugin.getLocales().getLocale("error_no_warps_set")
@@ -34,7 +34,7 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
final Optional<String> operation = parseStringArg(args, 0);
if (operation.isEmpty()) {
getHomeEditorWindow(home, true, !ownerEditing,
getHomeEditorWindow(home, !ownerEditing,
!ownerEditing || executor.hasPermission(getOtherPermission()),
executor.hasPermission(getPermission("privacy")))
.forEach(executor::sendMessage);
@@ -42,8 +42,7 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
}
if (!arguments.contains(operation.get().toLowerCase())) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/edithome " + home.getName() + " <" + String.join("|", arguments) + ">")
plugin.getLocales().getLocale("error_invalid_syntax", getUsage())
.ifPresent(executor::sendMessage);
return;
}
@@ -57,56 +56,61 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
}
private void setHomeName(@NotNull CommandUser executor, @NotNull Home home, boolean ownerEditing, @NotNull String[] args) {
final Optional<String> newName = parseStringArg(args, 1);
if (newName.isEmpty()) {
final String oldName = home.getName();
final Optional<String> optionalName = parseStringArg(args, 1);
if (optionalName.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/edithome " + home.getName() + " rename <name>")
.ifPresent(executor::sendMessage);
return;
}
plugin.fireEvent(plugin.getHomeSaveEvent(home), (event) -> {
home.getMeta().setName(optionalName.get());
plugin.fireEvent(plugin.getHomeEditEvent(home, executor), (event) -> {
final String newName = event.getHome().getName();
try {
plugin.getManager().homes().setHomeName(home, newName.get());
plugin.getManager().homes().setHomeName(home, newName);
} catch (ValidationException e) {
e.dispatchHomeError(executor, false, plugin, newName.get());
e.dispatchHomeError(executor, false, plugin, newName);
return;
}
if (ownerEditing) {
plugin.getLocales().getLocale("edit_home_update_name", home.getName(), newName.get())
plugin.getLocales().getLocale("edit_home_update_name", oldName, newName)
.ifPresent(executor::sendMessage);
} else {
plugin.getLocales().getLocale("edit_home_update_name_other", home.getOwner().getUsername(),
home.getName(), newName.get())
oldName, newName)
.ifPresent(executor::sendMessage);
}
});
}
private void setHomeDescription(@NotNull CommandUser executor, @NotNull Home home, boolean ownerEditing, @NotNull String[] args) {
final Optional<String> newDescription = parseGreedyString(args, 1);
if (newDescription.isEmpty()) {
final Optional<String> optionalDescription = parseGreedyString(args, 1);
if (optionalDescription.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/edithome " + home.getName() + " description <text>")
.ifPresent(executor::sendMessage);
return;
}
plugin.fireEvent(plugin.getHomeSaveEvent(home), (event) -> {
home.getMeta().setDescription(optionalDescription.get());
plugin.fireEvent(plugin.getHomeEditEvent(home, executor), (event) -> {
final String newDescription = event.getHome().getMeta().getDescription();
try {
plugin.getManager().homes().setHomeDescription(home, newDescription.get());
plugin.getManager().homes().setHomeDescription(home, newDescription);
} catch (ValidationException e) {
e.dispatchHomeError(executor, false, plugin, newDescription.get());
e.dispatchHomeError(executor, false, plugin, newDescription);
return;
}
if (ownerEditing) {
plugin.getLocales().getLocale("edit_home_update_description", home.getName(), newDescription.get())
plugin.getLocales().getLocale("edit_home_update_description", home.getName(), newDescription)
.ifPresent(executor::sendMessage);
} else {
plugin.getLocales().getLocale("edit_home_update_description_other", home.getOwner().getUsername(),
home.getName(), newDescription.get())
home.getName(), newDescription)
.ifPresent(executor::sendMessage);
}
});
@@ -119,9 +123,10 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
return;
}
plugin.fireEvent(plugin.getHomeDeleteEvent(home), (event) -> {
home.update(user.getPosition());
plugin.fireEvent(plugin.getHomeEditEvent(home, executor), (event) -> {
try {
plugin.getManager().homes().setHomePosition(home, user.getPosition());
plugin.getManager().homes().setHomePosition(home, home);
} catch (ValidationException e) {
e.dispatchHomeError(executor, false, plugin, home.getName());
return;
@@ -157,9 +162,10 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
return;
}
plugin.fireEvent(plugin.getHomeSaveEvent(home), (event) -> {
home.setPublic(privacyArg.get().equals("public"));
plugin.fireEvent(plugin.getHomeEditEvent(home, executor), (event) -> {
try {
plugin.getManager().homes().setHomePrivacy(home, privacyArg.get().equals("public"));
plugin.getManager().homes().setHomePrivacy(home, home.isPublic());
} catch (ValidationException e) {
int maxHomes = executor instanceof OnlineUser user ?
user.getMaxPublicHomes(plugin.getSettings().getMaxPublicHomes(),
@@ -174,25 +180,16 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
plugin.performEconomyTransaction(user, EconomyHook.Action.MAKE_HOME_PUBLIC);
}
final String privacy = home.isPublic() ? "public" : "private";
if (ownerEditing) {
plugin.getLocales().getLocale("edit_home_privacy_" + privacyArg.get() + "_success",
plugin.getLocales().getLocale("edit_home_privacy_" + privacy + "_success",
home.getMeta().getName())
.ifPresent(executor::sendMessage);
} else {
plugin.getLocales().getLocale("edit_home_privacy_" + privacyArg.get() + "_success_other",
plugin.getLocales().getLocale("edit_home_privacy_" + privacy + "_success_other",
home.getOwner().getUsername(), home.getMeta().getName())
.ifPresent(executor::sendMessage);
}
// Show the menu if the menu flag is set
parseStringArg(args, 2).ifPresent(arg -> {
if (arg.equalsIgnoreCase("-m")) {
getHomeEditorWindow(home, false, !ownerEditing,
ownerEditing || executor.hasPermission(getOtherPermission()),
executor.hasPermission(getPermission("privacy")))
.forEach(executor::sendMessage);
}
});
});
}
@@ -200,24 +197,21 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
* Get a formatted home editor chat window for a supplied {@link Home}
*
* @param home The home to display
* @param showTitle Whether to show the menu title
* @param otherViewer If the viewer of the editor is not the homeowner
* @param showTeleportButton Whether to show the teleport "use" button
* @param showPrivacyToggleButton Whether to show the home privacy toggle button
* @return List of {@link MineDown} messages to send to the editor that form the menu
*/
@NotNull
private List<MineDown> getHomeEditorWindow(@NotNull Home home, boolean showTitle, boolean otherViewer,
private List<MineDown> getHomeEditorWindow(@NotNull Home home, boolean otherViewer,
boolean showTeleportButton, boolean showPrivacyToggleButton) {
return new ArrayList<>() {{
if (showTitle) {
if (!otherViewer) {
plugin.getLocales().getLocale("edit_home_menu_title", home.getMeta().getName())
.ifPresent(this::add);
} else {
plugin.getLocales().getLocale("edit_home_menu_title_other", home.getOwner().getUsername(), home.getMeta().getName())
.ifPresent(this::add);
}
if (!otherViewer) {
plugin.getLocales().getLocale("edit_home_menu_title", home.getMeta().getName())
.ifPresent(this::add);
} else {
plugin.getLocales().getLocale("edit_home_menu_title_other", home.getOwner().getUsername(), home.getMeta().getName())
.ifPresent(this::add);
}
plugin.getLocales().getLocale("edit_home_menu_metadata_" + (!home.isPublic() ? "private" : "public"),
@@ -5,7 +5,6 @@ import net.william278.huskhomes.HuskHomes;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.util.Permission;
import net.william278.huskhomes.util.ValidationException;
import org.jetbrains.annotations.NotNull;
@@ -26,14 +25,12 @@ public class EditWarpCommand extends SavedPositionCommand<Warp> {
public void execute(@NotNull CommandUser executor, @NotNull Warp warp, @NotNull String[] args) {
final Optional<String> operation = parseStringArg(args, 0);
if (operation.isEmpty()) {
getWarpEditorWindow(warp, true, executor.hasPermission(Permission.COMMAND_WARP.node))
.forEach(executor::sendMessage);
getWarpEditorWindow(warp).forEach(executor::sendMessage);
return;
}
if (!arguments.contains(operation.get().toLowerCase())) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/editwarp " + warp.getName() + " <" + String.join("|", arguments) + ">")
plugin.getLocales().getLocale("error_invalid_syntax", getUsage())
.ifPresent(executor::sendMessage);
return;
}
@@ -46,43 +43,50 @@ public class EditWarpCommand extends SavedPositionCommand<Warp> {
}
private void setWarpName(@NotNull CommandUser executor, @NotNull Warp warp, @NotNull String[] args) {
final Optional<String> newName = parseStringArg(args, 1);
if (newName.isEmpty()) {
final String oldName = warp.getName();
final Optional<String> optionalName = parseStringArg(args, 1);
if (optionalName.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/editwarp " + warp.getName() + " rename <name>")
.ifPresent(executor::sendMessage);
return;
}
try {
plugin.getManager().warps().renameWarp(warp, newName.get());
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, newName.get());
return;
}
warp.getMeta().setName(optionalName.get());
plugin.fireEvent(plugin.getWarpEditEvent(warp, executor), (event) -> {
try {
plugin.getManager().warps().renameWarp(warp, warp.getName());
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, warp.getName());
return;
}
plugin.getLocales().getLocale("edit_warp_update_name", warp.getName(), newName.get())
.ifPresent(executor::sendMessage);
plugin.getLocales().getLocale("edit_warp_update_name", oldName, optionalName.get())
.ifPresent(executor::sendMessage);
});
}
private void setWarpDescription(@NotNull CommandUser executor, @NotNull Warp warp, @NotNull String[] args) {
final Optional<String> newDescription = parseGreedyString(args, 1);
if (newDescription.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
final Optional<String> optionalDescription = parseGreedyString(args, 1);
if (optionalDescription.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/editwarp " + warp.getName() + " description <text>")
.ifPresent(executor::sendMessage);
return;
}
try {
plugin.getManager().warps().setWarpDescription(warp, newDescription.get());
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, newDescription.get());
return;
}
plugin.getLocales().getLocale("edit_warp_update_description", warp.getName(), newDescription.get())
.ifPresent(executor::sendMessage);
warp.getMeta().setDescription(optionalDescription.get());
plugin.fireEvent(plugin.getWarpEditEvent(warp, executor), (event) -> {
try {
plugin.getManager().warps().setWarpDescription(warp, warp.getMeta().getDescription());
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, warp.getMeta().getDescription());
return;
}
plugin.getLocales().getLocale("edit_warp_update_description", warp.getName(), warp.getMeta().getDescription())
.ifPresent(executor::sendMessage);
});
}
private void setWarpPosition(@NotNull CommandUser executor, @NotNull Warp warp) {
@@ -92,32 +96,31 @@ public class EditWarpCommand extends SavedPositionCommand<Warp> {
return;
}
try {
plugin.getManager().warps().relocateWarp(warp, user.getPosition());
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, warp.getName());
return;
}
warp.update(user.getPosition());
plugin.fireEvent(plugin.getWarpEditEvent(warp, executor), (event) -> {
try {
plugin.getManager().warps().relocateWarp(warp, warp);
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, warp.getName());
return;
}
plugin.getLocales().getLocale("edit_warp_update_location", warp.getName())
.ifPresent(executor::sendMessage);
plugin.getLocales().getLocale("edit_warp_update_location", warp.getName())
.ifPresent(executor::sendMessage);
});
}
/**
* Get a formatted warp editor chat window for a supplied {@link Warp}
*
* @param warp The warp to display
* @param showTitle Whether to show the menu title
* @param showTeleportButton Whether to show the teleport "use" button
* @param warp The warp to display
* @return List of {@link MineDown} messages to send to the editor that form the menu
*/
@NotNull
private List<MineDown> getWarpEditorWindow(@NotNull Warp warp, boolean showTitle, boolean showTeleportButton) {
private List<MineDown> getWarpEditorWindow(@NotNull Warp warp) {
return new ArrayList<>() {{
if (showTitle) {
plugin.getLocales().getLocale("edit_warp_menu_title", warp.getMeta().getName())
.ifPresent(this::add);
}
plugin.getLocales().getLocale("edit_warp_menu_title", warp.getMeta().getName())
.ifPresent(this::add);
plugin.getLocales().getLocale("edit_warp_menu_metadata",
DateTimeFormatter.ofPattern("MMM dd yyyy, HH:mm")
@@ -145,10 +148,8 @@ public class EditWarpCommand extends SavedPositionCommand<Warp> {
String.format("%.2f", warp.getYaw()), String.format("%.2f", warp.getPitch()))
.ifPresent(this::add);
if (showTeleportButton) {
plugin.getLocales().getLocale("edit_warp_menu_use_buttons", warp.getMeta().getName())
.ifPresent(this::add);
}
plugin.getLocales().getLocale("edit_warp_menu_use_buttons", warp.getMeta().getName())
.ifPresent(this::add);
plugin.getLocales().getLocale("edit_warp_menu_manage_buttons", warp.getMeta().getName())
.ifPresent(this::add);
plugin.getLocales().getLocale("edit_warp_menu_meta_edit_buttons", warp.getMeta().getName())
@@ -56,7 +56,7 @@ public class PrivateHomeListCommand extends ListCommand {
final List<Home> homes = plugin.getDatabase().getHomes(user);
plugin.fireEvent(plugin.getViewHomeListEvent(homes, executor, false),
(event) -> this.generateList(executor, user, homes).ifPresent(homeList -> {
(event) -> this.generateList(executor, user, event.getHomes()).ifPresent(homeList -> {
cachedLists.put(user.getUuid(), homeList);
executor.sendMessage(homeList.getNearestValidPage(pageNumber));
}));
@@ -33,7 +33,7 @@ public class PublicHomeListCommand extends ListCommand {
final List<Home> homes = plugin.getDatabase().getPublicHomes();
plugin.fireEvent(plugin.getViewHomeListEvent(homes, executor, true),
(event) -> this.generateList(executor, homes).ifPresent(homeList -> {
(event) -> this.generateList(executor, event.getHomes()).ifPresent(homeList -> {
if (executor instanceof OnlineUser onlineUser) {
cachedLists.put(onlineUser.getUuid(), homeList);
}
@@ -26,11 +26,13 @@ public class SetHomeCommand extends SetPositionCommand {
@Override
protected void execute(@NotNull OnlineUser setter, @NotNull String name) {
try {
plugin.getManager().homes().createHome(setter, name, setter.getPosition());
} catch (ValidationException e) {
e.dispatchHomeError(setter, false, plugin, name);
}
plugin.fireEvent(plugin.getHomeCreateEvent(setter, name, setter.getPosition(), setter), (event) -> {
try {
plugin.getManager().homes().createHome(setter, event.getName(), event.getPosition());
} catch (ValidationException e) {
e.dispatchHomeError(setter, false, plugin, event.getName());
}
});
}
private boolean createDefaultHome(@NotNull OnlineUser user) {
@@ -13,10 +13,12 @@ public class SetWarpCommand extends SetPositionCommand {
@Override
protected void execute(@NotNull OnlineUser setter, @NotNull String name) {
try {
plugin.getManager().warps().createWarp(name, setter.getPosition());
} catch (ValidationException e) {
e.dispatchWarpError(setter, plugin, name);
}
plugin.fireEvent(plugin.getWarpCreateEvent(name, setter.getPosition(), setter), (event) -> {
try {
plugin.getManager().warps().createWarp(event.getName(), event.getPosition());
} catch (ValidationException e) {
e.dispatchWarpError(setter, plugin, event.getName());
}
});
}
}
@@ -32,7 +32,7 @@ public class WarpListCommand extends ListCommand {
final List<Warp> warps = getItems(executor);
plugin.fireEvent(plugin.getViewWarpListEvent(warps, executor),
(event) -> this.generateList(executor, warps).ifPresent(homeList -> {
(event) -> this.generateList(executor, event.getWarps()).ifPresent(homeList -> {
if (executor instanceof OnlineUser onlineUser) {
cachedLists.put(onlineUser.getUuid(), homeList);
}
@@ -1,13 +1,13 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.HuskHomes;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.user.User;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.teleport.Teleport;
import net.william278.huskhomes.teleport.TimedTeleport;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.User;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -47,21 +47,25 @@ public interface EventDispatcher {
ITeleportWarmupEvent getTeleportWarmupEvent(@NotNull TimedTeleport teleport, int duration);
IHomeSaveEvent getHomeSaveEvent(@NotNull Home home);
IHomeCreateEvent getHomeCreateEvent(@NotNull User owner, @NotNull String name, @NotNull Position position, @NotNull CommandUser creator);
IHomeDeleteEvent getHomeDeleteEvent(@NotNull Home home);
IHomeEditEvent getHomeEditEvent(@NotNull Home home, @NotNull CommandUser editor);
IWarpSaveEvent getWarpSaveEvent(@NotNull Warp warp);
IHomeDeleteEvent getHomeDeleteEvent(@NotNull Home home, @NotNull CommandUser deleter);
IWarpDeleteEvent getWarpDeleteEvent(@NotNull Warp warp);
IWarpCreateEvent getWarpCreateEvent(@NotNull String name, @NotNull Position position, @NotNull CommandUser creator);
IWarpEditEvent getWarpEditEvent(@NotNull Warp warp, @NotNull CommandUser editor);
IWarpDeleteEvent getWarpDeleteEvent(@NotNull Warp warp, @NotNull CommandUser deleter);
IHomeListEvent getViewHomeListEvent(@NotNull List<Home> homes, @NotNull CommandUser listViewer, boolean publicHomeList);
IWarpListEvent getViewWarpListEvent(@NotNull List<Warp> homes, @NotNull CommandUser listViewer);
IDeleteAllHomesEvent getDeleteAllHomesEvent(@NotNull User user);
IDeleteAllHomesEvent getDeleteAllHomesEvent(@NotNull User user, @NotNull CommandUser deleter);
IDeleteAllWarpsEvent getDeleteAllWarpsEvent();
IDeleteAllWarpsEvent getDeleteAllWarpsEvent(@NotNull CommandUser deleter);
@NotNull
HuskHomes getPlugin();
@@ -1,5 +1,6 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.User;
import org.jetbrains.annotations.NotNull;
@@ -16,4 +17,7 @@ public interface IDeleteAllHomesEvent extends Cancellable {
@NotNull
User getHomeOwner();
@NotNull
CommandUser getDeleter();
}
@@ -1,8 +1,14 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when all warps are deleted
*/
public interface IDeleteAllWarpsEvent extends Cancellable {
@NotNull
CommandUser getDeleter();
}
@@ -0,0 +1,26 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.User;
import org.jetbrains.annotations.NotNull;
public interface IHomeCreateEvent extends Cancellable {
@NotNull
User getOwner();
@NotNull
String getName();
void setName(@NotNull String name);
@NotNull
Position getPosition();
void setPosition(@NotNull Position position);
@NotNull
CommandUser getCreator();
}
@@ -1,6 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
/**
@@ -16,4 +17,7 @@ public interface IHomeDeleteEvent extends Cancellable {
@NotNull
Home getHome();
@NotNull
CommandUser getDeleter();
}
@@ -0,0 +1,23 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when a home is edited
*/
public interface IHomeEditEvent extends Cancellable {
/**
* Get the home about to be saved
*
* @return the {@link Home} being saved
*/
@NotNull
Home getHome();
@NotNull
CommandUser getEditor();
}
@@ -1,8 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -17,8 +16,11 @@ public interface IHomeListEvent extends Cancellable {
*
* @return the list of homes
*/
@NotNull
List<Home> getHomes();
void setHomes(@NotNull List<Home> homes);
/**
* Get the player viewing the home list
*
@@ -1,19 +0,0 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Home;
import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when a home is created or updated
*/
public interface IHomeSaveEvent extends Cancellable {
/**
* Get the home being created or updated
*
* @return the {@link Home} being saved
*/
@NotNull
Home getHome();
}
@@ -0,0 +1,22 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Position;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
public interface IWarpCreateEvent extends Cancellable {
@NotNull
String getName();
void setName(@NotNull String name);
@NotNull
Position getPosition();
void setPosition(@NotNull Position position);
@NotNull
CommandUser getCreator();
}
@@ -1,6 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
/**
@@ -16,4 +17,7 @@ public interface IWarpDeleteEvent extends Cancellable {
@NotNull
Warp getWarp();
@NotNull
CommandUser getDeleter();
}
@@ -1,12 +1,13 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when a warp is created or updated
*/
public interface IWarpSaveEvent extends Cancellable {
public interface IWarpEditEvent extends Cancellable {
/**
* Get the warp being created or updated
@@ -16,4 +17,7 @@ public interface IWarpSaveEvent extends Cancellable {
@NotNull
Warp getWarp();
@NotNull
CommandUser getEditor();
}
@@ -1,8 +1,7 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.user.CommandUser;
import net.william278.huskhomes.user.OnlineUser;
import net.william278.huskhomes.position.Warp;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -17,8 +16,11 @@ public interface IWarpListEvent extends Cancellable {
*
* @return the list of warps
*/
@NotNull
List<Warp> getWarps();
void setWarps(@NotNull List<Warp> warps);
/**
* Get the user viewing the warp list
*
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the home is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the home is set)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the home in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this home run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_other: '[Successfully made %1%''s home,](#00fb9a) [%2%](#00fb9a bold)[, open to the public.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the warp is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the warp is set)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the warp in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this warp run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Ре-локиране на уарпа](#00fb9a) [%1%](#00fb9a bold) [до Вашата текуща позиция.](#00fb9a)'
edit_warp_update_description: '[Successfully changed the description of the warp, %1%:](#00fb9a) \n[←](white) [Old:](#00fb9a) ["%2%"](gray)\n[→](white) [New:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Welt:\n&8Die
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Welt:\n&8Die Welt in der das Home gesetzt ist) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8Der Server auf dem das Home gesetzt ist)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Koordinaten:\n&8Die Position des Homes in der Welt\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Nutzen:](gray) [[⏩ Teleportieren…]](#00fb9a show_text=&7Klicke, um dich zu diesem Home zu teleportieren run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Verwalten:](gray) [[❌ Löschen…]](#ff3300 show_text=&7Klicke, um dieses Home zu löschen\n&#ff3300&⚠ Dies kann nicht rückgängig gemacht werden! suggest_command=/huskhomes:delhome %1%) [[⚐ Position ändern…]](#ffc43b-#f5c962 show_text=&7Klicke, um die Position des Homes zu deinem aktuellen Standort zu machen run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Öffentlich machen…]](#6fff00 show_text=&7Klicke, um dein Home öffentlich zu machen run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Privat machen…]](#ff9f0f show_text=&7Klicke, um das Home privat zu machen run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Verwalten:](gray) [[❌ Löschen…]](#ff3300 show_text=&7Klicke, um dieses Home zu löschen\n&#ff3300&⚠ Dies kann nicht rückgängig gemacht werden! suggest_command=/huskhomes:delhome %1%) [[⚐ Position ändern…]](#ffc43b-#f5c962 show_text=&7Klicke, um die Position des Homes zu deinem aktuellen Standort zu machen run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Öffentlich machen…]](#6fff00 show_text=&7Klicke, um dein Home öffentlich zu machen run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Privat machen…]](#ff9f0f show_text=&7Klicke, um das Home privat zu machen run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Bearbeiten:](gray) [[✎ Umbenennen…]](#c160ff-#bb50ff show_text=&7Klicke, um den Befehl zum Umbenennen des Homes im Chat einzufügen suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Beschreibung…]](#bb50ff-#b43fff show_text=&7Klicke, um den Befehl zum Bearbeiten der Beschreibung des Homes im Chat einzufügen suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Dein Home](#00fb9a) [%1%](#00fb9a bold) [wurde erfolgreich auf öffentlich gestellt.](#00fb9a)'
edit_home_privacy_public_success_other: '[Das Home](#00fb9a) [%2%](#00fb9a bold) [von %1% wurde erfolgreich auf öffentlich gestellt.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Welt:\n&8Die
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Welt:\n&8Die Welt in der der Warp gesetzt ist) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8Der Server auf dem der Warp gesetzt ist)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Koordinaten:\n&8Die Position des Warps in der Welt\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Nutzen:](gray) [[⏩ Teleportieren…]](#00fb9a show_text=&7Klicke, um dich zu diesem Warp zu teleportieren run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Verwalten:](gray) [[❌ Löschen…]](#ff3300 show_text=&7Klicke, um diesen Warp zu löschen\n&#ff3300&⚠ Dies kann nicht rückgängig gemacht werden! suggest_command=/huskhomes:delwarp %1%) [[⚐ Position ändern…]](#ffc43b-#f5c962 show_text=&7Klicke, um die Position des Warps zu deinem aktuellen Standort zu machen run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Verwalten:](gray) [[❌ Löschen…]](#ff3300 show_text=&7Klicke, um diesen Warp zu löschen\n&#ff3300&⚠ Dies kann nicht rückgängig gemacht werden! suggest_command=/huskhomes:delwarp %1%) [[⚐ Position ändern…]](#ffc43b-#f5c962 show_text=&7Klicke, um die Position des Warps zu deinem aktuellen Standort zu machen run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Bearbeiten:](gray) [[✎ Umbenennen…]](#c160ff-#bb50ff show_text=&7Klicke, um den Befehl zum Umbenennen des Warps im Chat einzufügen suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Beschreibung…]](#bb50ff-#b43fff show_text=&7Klicke, um den Befehl zum Bearbeiten der Beschreibung des Warps im Chat einzufügen suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Die Position des Warps](#00fb9a) [%1%](#00fb9a bold) [wurde erfolgreich auf deinen aktuellen Standort geändert.](#00fb9a)'
edit_warp_update_description: '[Die Beschreibung des Warps "%1%" wurde erfolgreich geändert:](#00fb9a) \n[←](white) [Alt:](#00fb9a) ["%2%"](gray)\n[→](white) [Neu:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the home is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the home is set)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the home in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this home run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_other: '[Successfully made %1%''s home,](#00fb9a) [%2%](#00fb9a bold)[, open to the public.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the warp is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the warp is set)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the warp in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this warp run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Re-located the warp](#00fb9a) [%1%](#00fb9a bold) [to your current position.](#00fb9a)'
edit_warp_update_description: '[Successfully changed the description of the warp, %1%:](#00fb9a) \n[←](white) [Old:](#00fb9a) ["%2%"](gray)\n[→](white) [New:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Mundo:\n&8El
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Mundo:\n&8El mundo en el que se encuentra el hogar) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8El servidor donde se establece el hogar)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordenadas:\n&8Ubicación de la casa:\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Usa:](gray) [[⏩ Teletransportar…]](#00fb9a show_text=&7Clic para teletransportarse a esta casa run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Gestionar:](gray) [[❌ Eliminar…]](#ff3300 show_text=&7Clic para eliminar esta casa\n&#ff3300&⚠ ¡Esto no se puede deshacer! suggest_command=/huskhomes:delhome %1%) [[⚐ Reubicar…]](#ffc43b-#f5c962 show_text=&7Clic para reubicar la casa en su posición run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Hacer Público…]](#6fff00 show_text=&7Clic para abrir esta casa al público run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Hacer privado…]](#ff9f0f show_text=&7Clic para hacer esta casa privada run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Gestionar:](gray) [[❌ Eliminar…]](#ff3300 show_text=&7Clic para eliminar esta casa\n&#ff3300&⚠ ¡Esto no se puede deshacer! suggest_command=/huskhomes:delhome %1%) [[⚐ Reubicar…]](#ffc43b-#f5c962 show_text=&7Clic para reubicar la casa en su posición run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Hacer Público…]](#6fff00 show_text=&7Clic para abrir esta casa al público run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Hacer privado…]](#ff9f0f show_text=&7Clic para hacer esta casa privada run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Editar:](gray) [[✎ Renombrar…]](#c160ff-#bb50ff show_text=&7Clic para cambiar nombre suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Descripción…]](#bb50ff-#b43fff show_text=&7Cclic para cambiar la descripción suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Casa creada con exito,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_other: '[Casa %1% creada con éxito,](#00fb9a) [%2%](#00fb9a bold)[, open to the public.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Mundo:\n&8El
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Mundo:\n&8El mundo en el que se establece el warp) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8El servidor donde se establece el warp)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordenadas:\n&8Ubicación del warp en el mundo\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Teletransportar…]](#00fb9a show_text=&7Clic para teletransportarse a esta casa run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Gestionar:](gray) [[❌ Eliminar…]](#ff3300 show_text=&7Clic para eliminar este warp\n&#ff3300&⚠ ¡Esto no se puede deshacer! suggest_command=/huskhomes:delwarp %1%) [[⚐ Reubicar...]](#ffc43b-#f5c962 show_text=&7Clic para reubicar esta warp en su posición run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Gestionar:](gray) [[❌ Eliminar…]](#ff3300 show_text=&7Clic para eliminar este warp\n&#ff3300&⚠ ¡Esto no se puede deshacer! suggest_command=/huskhomes:delwarp %1%) [[⚐ Reubicar...]](#ffc43b-#f5c962 show_text=&7Clic para reubicar esta warp en su posición run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Renombrar…]](#c160ff-#bb50ff show_text=&7Clic para cambiar el nombre suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Descripción…]](#bb50ff-#b43fff show_text=&7Clic para editar la descripción suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Reubicar el warp](#00fb9a) [%1%](#00fb9a bold) [a su posición actual.](#00fb9a)'
edit_warp_update_description: '[Cambiada con éxito la descripción del warp, %1%:](#00fb9a) \n[←](white) [Anterior:](#00fb9a) ["%2%"](gray)\n[→](white) [Nuevo:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Mondo:\n&8Il
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Mondo:\n&8Il mondo in cui è salvata la home) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8Il server in cui è impostata la home)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinate:\n&8Coordinate della tua home\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Usa:](gray) [[⏩ Teletrasportati…]](#00fb9a show_text=&7Vai a questa home run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Gestisci:](gray) [[❌ Cancella…]](#ff3300 show_text=&7Cancella questa home\n&#ff3300&⚠ Questa azione è irreversibile! suggest_command=/huskhomes:delhome %1%) [[⚐ Riposiziona…]](#ffc43b-#f5c962 show_text=&7Clicca per riposizionare la tua home run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Imposta come Pubblica…]](#6fff00 show_text=&7Imposta questa home come pubblica run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Imposta come Privata…]](#ff9f0f show_text=&7Imposta questa home come privata run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Gestisci:](gray) [[❌ Cancella…]](#ff3300 show_text=&7Cancella questa home\n&#ff3300&⚠ Questa azione è irreversibile! suggest_command=/huskhomes:delhome %1%) [[⚐ Riposiziona…]](#ffc43b-#f5c962 show_text=&7Clicca per riposizionare la tua home run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Imposta come Pubblica…]](#6fff00 show_text=&7Imposta questa home come pubblica run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Imposta come Privata…]](#ff9f0f show_text=&7Imposta questa home come privata run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Modifica:](gray) [[✎ Rinomina…]](#c160ff-#bb50ff show_text=&7Clicca per rinominare command suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Descrizione…]](#bb50ff-#b43fff show_text=&7Clicca per modificare la descrizione command suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Hai impostato la tua home](#00fb9a) [%1%](#00fb9a bold)[ come pubblica.](#00fb9a)'
edit_home_privacy_public_success_other: '[Hai impostato la home %2% di](#00fb9a) [%1%](#00fb9a bold)[ come pubblica.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Mondo:\n&8Il
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Mondo:\n&8Il mondo in cui il warp è posizionato) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8Il server in cui il warp è posizionato)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinate:\n&8Posizione del warp nel mondo\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Teletrasporto…]](#00fb9a show_text=&7Clicca per teletrasportarti al warp run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Cancella…]](#ff3300 show_text=&7Clicca per cancellare questo warp\n&#ff3300&⚠ Questa azione è irreversibile! suggest_command=/huskhomes:delwarp %1%) [[⚐ Riposiziona…]](#ffc43b-#f5c962 show_text=&7Clicca per riposizionare il file run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Cancella…]](#ff3300 show_text=&7Clicca per cancellare questo warp\n&#ff3300&⚠ Questa azione è irreversibile! suggest_command=/huskhomes:delwarp %1%) [[⚐ Riposiziona…]](#ffc43b-#f5c962 show_text=&7Clicca per riposizionare il file run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rinomina…]](#c160ff-#bb50ff show_text=&7Clicca per rinominare command suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Descrizione…]](#bb50ff-#b43fff show_text=&7Clicca per modificare la descrizione command suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Riposizionato il warp](#00fb9a) [%1%](#00fb9a bold) [alla tua posizione attuale.](#00fb9a)'
edit_warp_update_description: '[Hai cambiato la descrizione del warp %1%:](#00fb9a) \n[←](white) [Vecchia:](#00fb9a) ["%2%"](gray)\n[→](white) [Nuova:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the home is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the home is set)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the home in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this home run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_other: '[Successfully made %1%''s home,](#00fb9a) [%2%](#00fb9a bold)[, open to the public.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the warp is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the warp is set)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the warp in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this warp run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Przemieszczono](#00fb9a) [%1%](#00fb9a bold) [do twojej obecnej pozycji.](#00fb9a)'
edit_warp_update_description: '[Successfully changed the description of the warp, %1%:](#00fb9a) \n[←](white) [Old:](#00fb9a) ["%2%"](gray)\n[→](white) [New:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Dünya:\n&8E
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Dünya:\n&8Evin kurulduğu dünya) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Sunucu:\n&8Evin kurulduğu sunucu)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Koordinatlar:\n&8Evin dünyadaki konumu\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Kullan:](gray) [[⏩ Işınlanma…]](#00fb9a show_text=&7Bu eve ışınlanmak için tıklayın run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Yönet:](gray) [[❌ Sil…]](#ff3300 show_text=&7Bu evi silmek için tıklayın\n&#ff3300&⚠ Bu geri alınamaz! suggest_command=/huskhomes:delhome %1%) [[⚐ Taşı…]](#ffc43b-#f5c962 show_text=&7Bu evi konumunuza taşımak için tıklayın run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Herkese Açık Yap…]](#6fff00 show_text=&7Bu evi herkese açık yapmak için tıklayın run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Özel Yap…]](#ff9f0f show_text=&7Bu evi özel yapmak için tıklayın run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Yönet:](gray) [[❌ Sil…]](#ff3300 show_text=&7Bu evi silmek için tıklayın\n&#ff3300&⚠ Bu geri alınamaz! suggest_command=/huskhomes:delhome %1%) [[⚐ Taşı…]](#ffc43b-#f5c962 show_text=&7Bu evi konumunuza taşımak için tıklayın run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Herkese Açık Yap…]](#6fff00 show_text=&7Bu evi herkese açık yapmak için tıklayın run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Özel Yap…]](#ff9f0f show_text=&7Bu evi özel yapmak için tıklayın run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Düzenle:](gray) [[✎ Yeniden isimlendir…]](#c160ff-#bb50ff show_text=&7Yeniden adlandırma komutunu önermek için tıklayın suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Açıklama…]](#bb50ff-#b43fff show_text=&7Açıklamayı düzenle komutunu önermek için tıklayın suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[%1%](#00fb9a bold) [eviniz başarıyla halka açıldı](#00fb9a)'
edit_home_privacy_public_success_other: '[%1% adlı oyuncunun evi](#00fb9a) [%2%](#00fb9a bold) [başarıyla herkese açıldı.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&Dünya:\n&8W
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&Dünya:\n&8Warpın ayarlandığı dünya) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Sunucu:\n&8Warpın ayarlandığı sunucu)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Koordinatlar:\n&8Warpın dünyadaki konumu\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Işınlanma…]](#00fb9a show_text=&7Bu warpa ışınlanmak için tıklayın run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Yönet:](gray) [[❌ Sil…]](#ff3300 show_text=&7Bu warpı silmek için tıklayın\n&#ff3300&⚠ Bu geri alınamaz! suggest_command=/huskhomes:delwarp %1%) [[⚐ Taşı…]](#ffc43b-#f5c962 show_text=&7Bu warpı konumunuza taşımak için tıklayın run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Yönet:](gray) [[❌ Sil…]](#ff3300 show_text=&7Bu warpı silmek için tıklayın\n&#ff3300&⚠ Bu geri alınamaz! suggest_command=/huskhomes:delwarp %1%) [[⚐ Taşı…]](#ffc43b-#f5c962 show_text=&7Bu warpı konumunuza taşımak için tıklayın run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Düzenle:](gray) [[✎ Yeniden isimlendir…]](#c160ff-#bb50ff show_text=&7Yeniden adlandırma komutunu önermek için tıklayın suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Açıklama…]](#bb50ff-#b43fff show_text=&7Açıklamayı düzenle komutunu önermek için tıklayın suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Warp](#00fb9a) [%1%](#00fb9a bold) [mevcut konumunuza yeniden yerleştirildi.](#00fb9a)'
edit_warp_update_description: '[Warpın açıklaması başarıyla değiştirildi %1%:](#00fb9a) \n[←](white) [Eski:](#00fb9a) ["%2%"](gray)\n[→](white) [Yeni:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the home is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the home is set)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the home in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_home_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this home run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this home\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delhome %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this home to your position run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ Make Public…]](#6fff00 show_text=&7Click to open this home to the public run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ Make Private…]](#ff9f0f show_text=&7Click to make this home private run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:edithome %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
edit_home_privacy_public_success_other: '[Successfully made %1%''s home,](#00fb9a) [%2%](#00fb9a bold)[, open to the public.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&World:\n&8Th
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&World:\n&8The world where the warp is set) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&Server:\n&8The server where the warp is set)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&Coordinates:\n&8Location of the warp in the world\n&8yaw: %4%, pitch: %5%)\n'
edit_warp_menu_use_buttons: '[Use:](gray) [[⏩ Teleport…]](#00fb9a show_text=&7Click to teleport to this warp run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[Manage:](gray) [[❌ Delete…]](#ff3300 show_text=&7Click to delete this warp\n&#ff3300&⚠ This cannot be undone! suggest_command=/huskhomes:delwarp %1%) [[⚐ Relocate…]](#ffc43b-#f5c962 show_text=&7Click to relocate this warp to your position run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[Edit:](gray) [[✎ Rename…]](#c160ff-#bb50ff show_text=&7Click to suggest the rename command suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ Description…]](#bb50ff-#b43fff show_text=&7Click to suggest the edit description command suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[Варп](#00fb9a) [%1%](#00fb9a bold) [переміщено на вашу поточну позицію.](#00fb9a)'
edit_warp_update_description: '[Successfully changed the description of the warp, %1%:](#00fb9a) \n[←](white) [Old:](#00fb9a) ["%2%"](gray)\n[→](white) [New:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&世界:\n&8
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&世界:\n&8家所在的世界) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&服务器: \n&8家所在的服务器)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&坐标:\n&8家在世界上的位置\n&8偏航角: %4%, 俯仰角: %5%)\n'
edit_home_menu_use_buttons: '[使用:](gray) [[⏩ 传送…]](#00fb9a show_text=&7点击传送到这个家 run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[管理:](gray) [[❌ 删除…]](#ff3300 show_text=&7点击删除这个家\n&#ff3300&⚠ 此操作无法撤消! suggest_command=/huskhomes:delhome %1%) [[⚐ 迁移…]](#ffc43b-#f5c962 show_text=&7点击将这个家修改到您的位置 run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ 设为公共…]](#6fff00 show_text=&7点击公开这个家 run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ 设为私有…]](#ff9f0f show_text=&7点击将这个家设为私有 run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[管理:](gray) [[❌ 删除…]](#ff3300 show_text=&7点击删除这个家\n&#ff3300&⚠ 此操作无法撤消! suggest_command=/huskhomes:delhome %1%) [[⚐ 迁移…]](#ffc43b-#f5c962 show_text=&7点击将这个家修改到您的位置 run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ 设为公共…]](#6fff00 show_text=&7点击公开这个家 run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ 设为私有…]](#ff9f0f show_text=&7点击将这个家设为私有 run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[编辑:](gray) [[✎ 命名…]](#c160ff-#bb50ff show_text=&7点击使用重命名指令 suggest_command=/huskhomes:edithome %1% rename ) [[ℹ 描述…]](#bb50ff-#b43fff show_text=&7点击使用编辑描述命令 suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[成功开放家](#00fb9a) [%1%](#00fb9a bold)[.](#00fb9a)'
edit_home_privacy_public_success_other: '[成功将 %1% 的家](#00fb9a) [%2%](#00fb9a bold)[ 设为公开.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&世界:\n&8
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&世界:\n&8设置地标的世界) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&服务器:\n&8设置地标的服务器)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&坐标:\n&8地标在世界上的位置\n&8偏航角: %4%, 俯仰角: %5%)\n'
edit_warp_menu_use_buttons: '[使用:](gray) [[⏩ 传送…]](#00fb9a show_text=&7点击传送到地标 run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[管理:](gray) [[❌ 删除…]](#ff3300 show_text=&7点击删除此地标\n&#ff3300&⚠ 此操作无法撤消! suggest_command=/huskhomes:delwarp %1%) [[⚐ 迁移…]](#ffc43b-#f5c962 show_text=&7点击将地标修改到您的位置 run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[管理:](gray) [[❌ 删除…]](#ff3300 show_text=&7点击删除此地标\n&#ff3300&⚠ 此操作无法撤消! suggest_command=/huskhomes:delwarp %1%) [[⚐ 迁移…]](#ffc43b-#f5c962 show_text=&7点击将地标修改到您的位置 run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[编辑:](gray) [[✎ 命名…]](#c160ff-#bb50ff show_text=&7点击使用重命名指令 suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ 描述…]](#bb50ff-#b43fff show_text=&7点击使用编辑描述命令 suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[更改地标](#00fb9a) [%1%](#00fb9a bold) [到您现在的位置.](#00fb9a)'
edit_warp_update_description: '[成功更改 %1% 的描述:](#00fb9a) \n[←](white) [旧的:](#00fb9a) ["%2%"](gray)\n[→](white) [新的:](#00fb9a) ["%3%" ](gray)'
+4 -4
View File
@@ -33,9 +33,9 @@ edit_home_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&世界:\n&8
edit_home_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&世界:\n&8家所在的世界) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&伺服器: \n&8家所在的伺服器)'
edit_home_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&坐標:\n&8家在世界上的位置\n&8偏航角: %4%, 俯仰角: %5%)\n'
edit_home_menu_use_buttons: '[前往:](gray) [[⏩ 傳送…]](#00fb9a show_text=&7點擊傳送到這個家 run_command=/huskhomes:home %1%)'
edit_home_menu_manage_buttons: '[管理:](gray) [[❌ 刪除…]](#ff3300 show_text=&7點擊刪除這個家\n&#ff3300&⚠ 此操作無法撤消! suggest_command=/huskhomes:delhome %1%) [[⚐ 遷移…]](#ffc43b-#f5c962 show_text=&7點擊將這個家修改到您的位置 run_command=/huskhomes:edithome %1% relocate -m) %2%'
edit_home_menu_privacy_button_public: '[[☀ 設為公共…]](#6fff00 show_text=&7點擊將這個家設為公共 run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_privacy_button_private: '[[∅ 設為私有…]](#ff9f0f show_text=&7點擊將這個家設為私有 run_command=/huskhomes:edithome %1% privacy -m)'
edit_home_menu_manage_buttons: '[管理:](gray) [[❌ 刪除…]](#ff3300 show_text=&7點擊刪除這個家\n&#ff3300&⚠ 此操作無法撤消! suggest_command=/huskhomes:delhome %1%) [[⚐ 遷移…]](#ffc43b-#f5c962 show_text=&7點擊將這個家修改到您的位置 run_command=/huskhomes:edithome %1% relocate) %2%'
edit_home_menu_privacy_button_public: '[[☀ 設為公共…]](#6fff00 show_text=&7點擊將這個家設為公共 run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_privacy_button_private: '[[∅ 設為私有…]](#ff9f0f show_text=&7點擊將這個家設為私有 run_command=/huskhomes:edithome %1% privacy)'
edit_home_menu_meta_edit_buttons: '[編輯:](gray) [[✎ 命名…]](#c160ff-#bb50ff show_text=&7點擊使用重新命名的指令 suggest_command=/huskhomes:edithome %1% rename ) [[ℹ 介紹…]](#bb50ff-#b43fff show_text=&7點擊使用編輯介紹的指令 suggest_command=/huskhomes:edithome %1% description )'
edit_home_privacy_public_success: '[成功將](#00fb9a) [%1%](#00fb9a bold)[ 設為公共.](#00fb9a)'
edit_home_privacy_public_success_other: '[成功將 %1% 的家](#00fb9a) [%2%](#00fb9a bold)[ 設為公共.](#00fb9a)'
@@ -54,7 +54,7 @@ edit_warp_menu_world: '[⭘ %1%](#3b76ff-#5286ff show_text=&#3b76ff&世界:\n&8
edit_warp_menu_world_server: '[⭘ %1%](#3b76ff-#477fff show_text=&#3b76ff&世界:\n&8設置地標的世界) [☁ %2%](#477fff-#5286ff show_text=&#3b76ff&伺服器:\n&8設置地標的伺服器)'
edit_warp_menu_coordinates: '[⚐ x: %1%, y: %2%, z: %3%](#ffc43b-#f5c962 show_text=&#ffc43b&坐標:\n&8地標在世界上的位置\n&8偏航角: %4%, 俯仰角: %5%)\n'
edit_warp_menu_use_buttons: '[前往:](gray) [[⏩ 傳送…]](#00fb9a show_text=&7點擊傳送到地標 run_command=/huskhomes:warp %1%)'
edit_warp_menu_manage_buttons: '[管理:](gray) [[❌ 刪除…]](#ff3300 show_text=&7點擊刪除此地標\n&#ff3300&⚠ 此操作無法撤消! suggest_command=/huskhomes:delwarp %1%) [[⚐ 遷移…]](#ffc43b-#f5c962 show_text=&7點擊將地標修改到您的位置 run_command=/huskhomes:editwarp %1% relocate -m)'
edit_warp_menu_manage_buttons: '[管理:](gray) [[❌ 刪除…]](#ff3300 show_text=&7點擊刪除此地標\n&#ff3300&⚠ 此操作無法撤消! suggest_command=/huskhomes:delwarp %1%) [[⚐ 遷移…]](#ffc43b-#f5c962 show_text=&7點擊將地標修改到您的位置 run_command=/huskhomes:editwarp %1% relocate)'
edit_warp_menu_meta_edit_buttons: '[編輯:](gray) [[✎ 命名…]](#c160ff-#bb50ff show_text=&7點擊使用重新命名的指令 suggest_command=/huskhomes:editwarp %1% rename ) [[ℹ 介紹…]](#bb50ff-#b43fff show_text=&7點擊使用編輯介紹的指令 suggest_command=/huskhomes:editwarp %1% description )'
edit_warp_update_location: '[更改地標](#00fb9a) [%1%](#00fb9a bold) [到您現在的位置.](#00fb9a)'
edit_warp_update_description: '[成功更改 %1% 的介紹:](#00fb9a) \n[←](white) [舊的:](#00fb9a) ["%2%"](gray)\n[→](white) [新的:](#00fb9a) ["%3%" ](gray)'