mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Make editing warps and homes utilise MineDown properly, Close #43
This commit is contained in:
1 parent
e1113efeac
commit
639712f997
4 files changed
+45
-123
No files matched your search
@@ -2,58 +2,11 @@ package me.william278.huskhomes2;
|
||||
|
||||
import me.william278.huskhomes2.teleport.points.Home;
|
||||
import me.william278.huskhomes2.teleport.points.Warp;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import net.md_5.bungee.api.chat.ClickEvent;
|
||||
import net.md_5.bungee.api.chat.ComponentBuilder;
|
||||
import net.md_5.bungee.api.chat.HoverEvent;
|
||||
import net.md_5.bungee.api.chat.TextComponent;
|
||||
import net.md_5.bungee.api.chat.hover.content.Text;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class EditingHandler {
|
||||
|
||||
private static TextComponent optionButton(String buttonText, ChatColor color, ClickEvent.Action actionType, String command, String hoverMessage) {
|
||||
TextComponent button = new TextComponent(buttonText);
|
||||
button.setColor(color);
|
||||
|
||||
button.setClickEvent(new ClickEvent(actionType, (command)));
|
||||
button.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Text(new ComponentBuilder(hoverMessage).color(ChatColor.GRAY).italic(true).create())));
|
||||
return button;
|
||||
}
|
||||
|
||||
private static ComponentBuilder editWarpOptions(Warp warp) {
|
||||
ComponentBuilder options = new ComponentBuilder();
|
||||
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_warp_teleport_button") + " ", ChatColor.GREEN, ClickEvent.Action.RUN_COMMAND, "/huskhomes:warp " + warp.getName(), MessageManager.getRawMessage("edit_warp_teleport_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_warp_delete_button") + " ", ChatColor.RED, ClickEvent.Action.RUN_COMMAND, "/huskhomes:delwarp " + warp.getName(), MessageManager.getRawMessage("edit_warp_delete_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_warp_relocate_button") + "\n", ChatColor.BLUE, ClickEvent.Action.RUN_COMMAND, "/huskhomes:editwarp " + warp.getName() + " location", MessageManager.getRawMessage("edit_warp_relocate_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_warp_rename_button") + " ", ChatColor.YELLOW, ClickEvent.Action.SUGGEST_COMMAND, "/huskhomes:editwarp " + warp.getName() + " rename ", MessageManager.getRawMessage("edit_warp_rename_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_warp_description_button") + " ", ChatColor.GOLD, ClickEvent.Action.SUGGEST_COMMAND, "/huskhomes:editwarp " + warp.getName() + " description ", MessageManager.getRawMessage("edit_warp_description_button_tooltip")));
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
private static ComponentBuilder editHomeOptions(Player p, Home home) {
|
||||
ComponentBuilder options = new ComponentBuilder();
|
||||
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_teleport_button") + " ", ChatColor.GREEN, ClickEvent.Action.RUN_COMMAND, "/huskhomes:home " + home.getName(), MessageManager.getRawMessage("edit_home_teleport_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_delete_button") + " ", ChatColor.RED, ClickEvent.Action.RUN_COMMAND, "/huskhomes:delhome " + home.getName(), MessageManager.getRawMessage("edit_home_delete_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_relocate_button") + "\n", ChatColor.BLUE, ClickEvent.Action.RUN_COMMAND, "/huskhomes:edithome " + home.getName() + " location", MessageManager.getRawMessage("edit_home_relocate_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_rename_button") + " ", ChatColor.YELLOW, ClickEvent.Action.SUGGEST_COMMAND, "/huskhomes:edithome " + home.getName() + " rename ", MessageManager.getRawMessage("edit_home_rename_button_tooltip")));
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_description_button") + " ", ChatColor.GOLD, ClickEvent.Action.SUGGEST_COMMAND, "/huskhomes:edithome " + home.getName() + " description ", MessageManager.getRawMessage("edit_home_description_button_tooltip")));
|
||||
|
||||
if (p.hasPermission("huskhomes.edithome.public")) {
|
||||
if (!home.isPublic()) {
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_make_public_button") + " ", ChatColor.DARK_GREEN, ClickEvent.Action.RUN_COMMAND, "/huskhomes:edithome " + home.getName() + " public", MessageManager.getRawMessage("edit_home_make_public_button_tooltip")));
|
||||
} else {
|
||||
options.append(optionButton(MessageManager.getRawMessage("edit_home_make_private_button") + " ", ChatColor.DARK_RED, ClickEvent.Action.RUN_COMMAND, "/huskhomes:edithome " + home.getName() + " private", MessageManager.getRawMessage("edit_home_make_private_button_tooltip")));
|
||||
}
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
public static void showEditHomeOptions(Player p, Home home) {
|
||||
p.sendMessage("");
|
||||
MessageManager.sendMessage(p, "edit_home_title", home.getName());
|
||||
MessageManager.sendMessage(p, "edit_description", home.getDescription());
|
||||
MessageManager.sendMessage(p, "edit_location",
|
||||
@@ -69,13 +22,19 @@ public class EditingHandler {
|
||||
} else {
|
||||
MessageManager.sendMessage(p, "edit_home_privacy_public");
|
||||
}
|
||||
p.sendMessage("");
|
||||
p.spigot().sendMessage(editHomeOptions(p, home).create());
|
||||
p.sendMessage("");
|
||||
|
||||
if (p.hasPermission("huskhomes.edithome.public")) {
|
||||
if (home.isPublic()) {
|
||||
MessageManager.sendMessage(p, "edit_home_options_make_private", home.getName());
|
||||
} else {
|
||||
MessageManager.sendMessage(p, "edit_home_options_make_public", home.getName());
|
||||
}
|
||||
} else {
|
||||
MessageManager.sendMessage(p, "edit_home_options", home.getName());
|
||||
}
|
||||
}
|
||||
|
||||
public static void showEditWarpOptions(Player p, Warp warp) {
|
||||
p.sendMessage("");
|
||||
MessageManager.sendMessage(p, "edit_warp_title", warp.getName());
|
||||
MessageManager.sendMessage(p, "edit_description", warp.getDescription());
|
||||
MessageManager.sendMessage(p, "edit_location",
|
||||
@@ -86,9 +45,8 @@ public class EditingHandler {
|
||||
if (HuskHomes.getSettings().doBungee()) {
|
||||
MessageManager.sendMessage(p, "edit_server", warp.getServer());
|
||||
}
|
||||
p.sendMessage("");
|
||||
p.spigot().sendMessage(editWarpOptions(warp).create());
|
||||
p.sendMessage("");
|
||||
|
||||
MessageManager.sendMessage(p, "edit_warp_options", warp.getName());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -240,7 +240,11 @@ public final class HuskHomes extends JavaPlugin {
|
||||
String latestVersion = new BufferedReader(new InputStreamReader(urlConnection.getInputStream())).readLine();
|
||||
String pluginVersion = instance.getDescription().getVersion();
|
||||
if (!latestVersion.equals(pluginVersion)) {
|
||||
return "An update for HuskHomes is available; v" + latestVersion + " (Currently running v" + pluginVersion + ")";
|
||||
if (pluginVersion.contains("dev")) {
|
||||
return "You are running a development build of HuskHomes. The latest stable version is " + latestVersion + ".";
|
||||
} else {
|
||||
return "An update for HuskHomes is available; v" + latestVersion + " (Currently running v" + pluginVersion + ")";
|
||||
}
|
||||
} else {
|
||||
return "HuskHomes is up to date! (Version " + pluginVersion + ")";
|
||||
}
|
||||
|
||||
@@ -13,11 +13,10 @@ warp_deleted: '[Successfully deleted the warp,](#00fb9a) [%1%](#00fb9a bold)'
|
||||
error_home_invalid: '[Error:](#ff3300) [You do not have a home named "%1%"](#ff7e5e)'
|
||||
error_warp_invalid: '[Error:](#ff3300) [There is no warp set named "%1%"](#ff7e5e)'
|
||||
error_invalid_syntax: '[Error:](#ff3300) [Incorrect syntax. Usage: %1%](#ff7e5e)'
|
||||
edit_home_title: '[Edit home details for](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
edit_description: '• Description: &7%1%'
|
||||
edit_location: '• Location: &7%1%, %2%, %3%'
|
||||
edit_world: '• World: &7%1%'
|
||||
edit_server: '• Server: &7%1%'
|
||||
edit_home_title: '\n[Edit home details for](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
edit_home_options: '\n[[Teleport]](green show_text=&7Teleport to your home run_command=/huskhomes:home %1%) [[Delete]](red show_text=&7Delete your home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Update your home''s location run_command=/huskhomes:edithome %1% location)\n[[Rename]](yellow show_text=&7Change the name of your home run_command=/huskhomes:edithome %1% rename ) [[Edit Description]](gold show_text=&7Update the description of your home run_command=/huskhomes:edithome %1% description )\n'
|
||||
edit_home_options_make_public: '\n[[Teleport]](green show_text=&7Teleport to your home run_command=/huskhomes:home %1%) [[Delete]](red show_text=&7Delete your home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Update your home''s location run_command=/huskhomes:edithome %1% location)\n[[Rename]](yellow show_text=&7Change the name of your home run_command=/huskhomes:edithome %1% rename ) [[Edit Description]](gold show_text=&7Update the description of your home run_command=/huskhomes:edithome %1% description ) [[Make Public]](dark_green show_text=&7Open your home to the public run_command=/huskhomes:edithome %1% public)\n'
|
||||
edit_home_options_make_private: '\n[[Teleport]](green show_text=&7Teleport to your home run_command=/huskhomes:home %1%) [[Delete]](red show_text=&7Delete your home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Update your home''s location run_command=/huskhomes:edithome %1% location)\n[[Rename]](yellow show_text=&7Change the name of your home run_command=/huskhomes:edithome %1% rename ) [[Edit Description]](gold show_text=&7Update the description of your home run_command=/huskhomes:edithome %1% description ) [[Make Private]](dark_red show_text=&7Make your home private run_command=/huskhomes:edithome %1% private)\n'
|
||||
edit_home_privacy_private: '• Access: &#ff7e5e&Private &7(Only you can use it)'
|
||||
edit_home_privacy_public: '• Access: &aPublic &7(Anyone can use it)'
|
||||
edit_home_privacy_public_success: '[Successfully made your home,](#00fb9a) [%1%](#00fb9a bold)[, open to the public.](#00fb9a)'
|
||||
@@ -30,6 +29,16 @@ error_edit_home_invalid_description: '[Error:](#ff3300) [Home descriptions may o
|
||||
edit_home_update_location: '[Re-located](#00fb9a) [%1%](#00fb9a bold) [to your current position.](#00fb9a)'
|
||||
edit_home_update_description: '[Changed the description for](#00fb9a) [%1%](#00fb9a bold) [to "%2%"](#00fb9a)'
|
||||
edit_home_update_name: '[Successfully changed your home''s name: %1% →](#00fb9a) [%2%](#00fb9a bold)'
|
||||
edit_warp_title: '\n[Edit details for the warp](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
edit_warp_options: '\n[[Teleport]](green show_text=&7Teleport to this warp run_command=/huskhomes:warp %1%) [[Delete]](red show_text=&7Delete this warp run_command=/huskhomes:delwarp %1%) [[Relocate]](blue show_text=&7Update this warp''s location run_command=/huskhomes:editwarp %1% location)\n[[Rename]](yellow show_text=&7Change the name of this warp run_command=/huskhomes:editwarp %1% rename ) [[Edit Description]](gold show_text=&7Update this warp''s description run_command=/huskhomes:editwarp %1% description )\n'
|
||||
error_edit_warp_invalid_description: '[Error:](#ff3300) [Warp descriptions may only contain alphanumeric (A-Z, 0-9) characters, hyphens (-) and underscores (_) and must be less than 255 characters in length](#ff7e5e)'
|
||||
edit_warp_update_location: '[Re-located the warp](#00fb9a) [%1%](#00fb9a bold) [to your current position.](#00fb9a)'
|
||||
edit_warp_update_description: '[Changed the description for the warp](#00fb9a) [%1%](#00fb9a bold) [to "%2%".](#00fb9a)'
|
||||
edit_warp_update_name: '[Successfully changed a warp''s name: %1% →](#00fb9a) [%2%](#00fb9a bold)'
|
||||
edit_description: '• Description: &7%1%'
|
||||
edit_location: '• Location: &7%1%, %2%, %3%'
|
||||
edit_world: '• World: &7%1%'
|
||||
edit_server: '• Server: &7%1%'
|
||||
error_no_homes_set: '[Error:](#ff3300) [You haven''t set any homes!](#ff7e5e)'
|
||||
error_no_public_homes_set: '[Error:](#ff3300) [There aren''t any public homes set!](#ff7e5e)'
|
||||
error_no_warps_set: '[Error:](#ff3300) [There aren''t any warps set!](#ff7e5e)'
|
||||
@@ -73,39 +82,10 @@ error_command_disabled: '[Error:](#ff3300) [That command is disabled!](#ff7e5e)'
|
||||
error_console_only: '[Error:](#ff3300) [That command can only be run from the server console.](#ff7e5e)'
|
||||
error_tp_invalid_world: '[Error:](#ff3300) [Please specify a valid server world.](#ff7e5e)'
|
||||
error_rtp_randomization_timeout: '[Error:](#ff3300) [Failed to find a safe random location to teleport you.](#ff7e5e)'
|
||||
edit_warp_title: '[Edit details for the warp](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
error_edit_warp_invalid_description: '[Error:](#ff3300) [Warp descriptions may only contain alphanumeric (A-Z, 0-9) characters, hyphens (-) and underscores (_) and must be less than 255 characters in length](#ff7e5e)'
|
||||
edit_warp_update_location: '[Re-located the warp](#00fb9a) [%1%](#00fb9a bold) [to your current position.](#00fb9a)'
|
||||
edit_warp_update_description: '[Changed the description for the warp](#00fb9a) [%1%](#00fb9a bold) [to "%2%".](#00fb9a)'
|
||||
edit_warp_update_name: '[Successfully changed a warp''s name: %1% →](#00fb9a) [%2%](#00fb9a bold)'
|
||||
list_item_divider: ' [•](gray) '
|
||||
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %1%)'
|
||||
public_home_list_item: '[[%1%]](show_text=�fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
|
||||
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
|
||||
edit_warp_teleport_button: '[Teleport]'
|
||||
edit_warp_teleport_button_tooltip: 'Teleport to this warp'
|
||||
edit_warp_delete_button: '[Delete]'
|
||||
edit_warp_delete_button_tooltip: 'Delete this warp'
|
||||
edit_warp_relocate_button: '[Relocate]'
|
||||
edit_warp_relocate_button_tooltip: 'Update this warp''s location'
|
||||
edit_warp_rename_button: '[Rename]'
|
||||
edit_warp_rename_button_tooltip: 'Change the name of this warp'
|
||||
edit_warp_description_button: '[Edit Description]'
|
||||
edit_warp_description_button_tooltip: 'Update this warp''s description'
|
||||
edit_home_teleport_button: '[Teleport]'
|
||||
edit_home_teleport_button_tooltip: 'Teleport to your home'
|
||||
edit_home_delete_button: '[Delete]'
|
||||
edit_home_delete_button_tooltip: 'Delete your home'
|
||||
edit_home_relocate_button: '[Relocate]'
|
||||
edit_home_relocate_button_tooltip: 'Update your home''s location'
|
||||
edit_home_rename_button: '[Rename]'
|
||||
edit_home_rename_button_tooltip: 'Change the name of your home'
|
||||
edit_home_description_button: '[Edit Description]'
|
||||
edit_home_description_button_tooltip: 'Update the description of your home'
|
||||
edit_home_make_public_button: '[Make Public]'
|
||||
edit_home_make_public_button_tooltip: 'Open your home to the public'
|
||||
edit_home_make_private_button: '[Make Private]'
|
||||
edit_home_make_private_button_tooltip: 'Make your home private'
|
||||
home_default_description: '%1%''s home'
|
||||
warp_default_description: 'A publicly accessible warp'
|
||||
delete_all_homes_confirm: '[Warning:](#ff3300) [Are you sure you want to delete all of your homes?](#ff7e5e)\n[Once you confirm, it will not be possible to recover them.](gray)\n[→](gray) [[Confirm]](#ff3300 show_text=&#ff3300&Click to confirm deletion. This cannot be undone. run_command=/delhome all confirm)'
|
||||
@@ -122,4 +102,4 @@ page_options_min_max: '\n[Viewing Page %1%/%2%](#00fb9a)'
|
||||
page_options_max: '\n[←](gray show_text=&7View previous page run_command=%1%) [Viewing Page %2%/%3%](#00fb9a)'
|
||||
page_no_items: '[(No items to display on this page)](gray show_text=&7Try a different page number)'
|
||||
command_list_header: '\n[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)'
|
||||
error_invalid_on_arrival: '[Error:](#ff3300) [Failed to finish your teleportation as the target world could not be found.](#ff7e5e)'
|
||||
error_invalid_on_arrival: '[Error:](#ff3300) [Failed to finish your teleportation as the target world could not be found.](#ff7e5e)'
|
||||
@@ -14,10 +14,9 @@ error_home_invalid: '[Errore:](#ff3300) [Non hai nessuna home chiamata "%1%"](#f
|
||||
error_warp_invalid: '[Errore:](#ff3300) [Non c’’è nessun warp chiamato "%1%"](#ff7e5e)'
|
||||
error_invalid_syntax: '[Errore:](#ff3300) [Comando non riconosciuto. Utilizza: %1%](#ff7e5e)'
|
||||
edit_home_title: '[Modifica della home](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
edit_description: '• Descrizione: &7%1%'
|
||||
edit_location: '• Posizione: &7%1%, %2%, %3%'
|
||||
edit_world: '• Mondo: &7%1%'
|
||||
edit_server: '• Server: &7%1%'
|
||||
edit_home_options: '[[Teletrasporto]](green show_text=&7Teletrasportati alla tua home run_command=/huskhomes:home %1%) [[Cancella]](red show_text=&7Cancella la tua home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Aggiorna le coordinate della tua home run_command=/huskhomes:edithome %1% location)\n[[Rinomina]](yellow show_text=&7Cambia il nome della tua home run_command=/huskhomes:edithome %1% rename ) [[Modifica Descrizione]](gold show_text=&7Aggiorna la descrizione della tua home run_command=/huskhomes:edithome %1% description )'
|
||||
edit_home_options_make_public: '[[[Teletrasporto]](green show_text=&7Teletrasportati alla tua home run_command=/huskhomes:home %1%) [[Cancella]](red show_text=&7Cancella la tua home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Aggiorna le coordinate della tua home run_command=/huskhomes:edithome %1% location)\n[[Rinomina]](yellow show_text=&7Cambia il nome della tua home run_command=/huskhomes:edithome %1% rename ) [[Modifica Descrizione]](gold show_text=&7Aggiorna la descrizione della tua home run_command=/huskhomes:edithome %1% description ) [[Rendi Pubblica]](dark_green show_text=&7Rendi la tua home pubblica run_command=/huskhomes:edithome %1% public)'
|
||||
edit_home_options_make_private: '[[Teletrasporto]](green show_text=&7Teletrasportati alla tua home run_command=/huskhomes:home %1%) [[Cancella]](red show_text=&7Cancella la tua home run_command=/huskhomes:delhome %1%) [[Relocate]](blue show_text=&7Aggiorna le coordinate della tua home run_command=/huskhomes:edithome %1% location)\n[[Rinomina]](yellow show_text=&7Cambia il nome della tua home run_command=/huskhomes:edithome %1% rename ) [[Modifica Descrizione]](gold show_text=&7Aggiorna la descrizione della tua home run_command=/huskhomes:edithome %1% description ) [[Rendi Privata]](dark_red show_text=&7Rendi la tua home privata run_command=/huskhomes:edithome %1% private)'
|
||||
edit_home_privacy_private: '• Accesso: &#ff7e5e&Privata &7(Solo tu puoi usarla)'
|
||||
edit_home_privacy_public: '• Accesso: &aPubblica &7(Tutti possono usarla)'
|
||||
edit_home_privacy_public_success: '[Hai impostato la privacy della tua home](#00fb9a) [%1%](#00fb9a bold) [come pubblica.](#00fb9a)'
|
||||
@@ -30,6 +29,16 @@ error_edit_home_invalid_description: '[Errore:](#ff3300) [La descrizione della h
|
||||
edit_home_update_location: '[Hai riposizionato la home](#00fb9a) [%1%](#00fb9a bold) [nella tua posizione corrente.](#00fb9a)'
|
||||
edit_home_update_description: '[Hai cambiato la descrizione di](#00fb9a) [%1%](#00fb9a bold) [in "%2%"](#00fb9a)'
|
||||
edit_home_update_name: '[Hai cambiato il nome della tua home: %1% →](#00fb9a) [%2%](#00fb9a bold)'
|
||||
edit_warp_title: '[Modifica dettagli del warp](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
edit_warp_options: '[[Teletrasporto]](green show_text=&7Teletrasportati al warp run_command=/huskhomes:warp %1%) [[Cancella]](red show_text=&7Cancella il warp run_command=/huskhomes:delwarp %1%) [[Riposiziona]](blue show_text=&7Aggiorna le coordinate del warp run_command=/huskhomes:editwarp %1% location)\n[[Rinomina]](yellow show_text=&7Cambia il nome del warp run_command=/huskhomes:editwarp %1% rename ) [[Modifica Descrizione]](gold show_text=&7Aggiorna la descrizione del warp run_command=/huskhomes:editwarp %1% description )'
|
||||
error_edit_warp_invalid_description: '[Errore:](#ff3300) [La descrizione del warp può contenere solo caratteri alfanumerici (A-Z, 0-9), trattini (-_) e deve contenere meno di 255 caratteri](#ff7e5e)'
|
||||
edit_warp_update_location: '[Riposizionato il warp](#00fb9a) [%1%](#00fb9a bold) [alla tua posizione attuale.](#00fb9a)'
|
||||
edit_warp_update_description: '[Cambiata la descrizione del warp](#00fb9a) [%1%](#00fb9a bold) [to "%2%".](#00fb9a)'
|
||||
edit_warp_update_name: '[Cambiato con successo il nome del warp: %1% →](#00fb9a) [%2%](#00fb9a bold)'
|
||||
edit_description: '• Descrizione: &7%1%'
|
||||
edit_location: '• Posizione: &7%1%, %2%, %3%'
|
||||
edit_world: '• Mondo: &7%1%'
|
||||
edit_server: '• Server: &7%1%'
|
||||
error_no_homes_set: '[Errore:](#ff3300) [Non hai impostato nessuna home! Scegli un luogo sicuro e digita /sethome](#ff7e5e)'
|
||||
error_no_public_homes_set: '[Errore:](#ff3300) [Non ci sono home pubbliche!](#ff7e5e)'
|
||||
error_no_warps_set: '[Errore:](#ff3300) [Non c’’è alcun warp!](#ff7e5e)'
|
||||
@@ -73,39 +82,10 @@ error_command_disabled: '[Errore:](#ff3300) [Questo comando è disabilitato!](#f
|
||||
error_console_only: '[Errore:](#ff3300) [Quel comando può essere eseguito solo da Console.](#ff7e5e)'
|
||||
error_tp_invalid_world: '[Errore:](#ff3300) [Per favore, specifica un mondo valido nel server.](#ff7e5e)'
|
||||
error_rtp_randomization_timeout: '[Errore:](#ff3300) [Non sono riuscito a trovare una posizione sicura, riprova.](#ff7e5e)'
|
||||
edit_warp_title: '[Modifica dettagli del warp](#00fb9a) [%1%](#00fb9a bold)[:](#00fb9a)'
|
||||
error_edit_warp_invalid_description: '[Errore:](#ff3300) [La descrizione del warp può contenere solo caratteri alfanumerici (A-Z, 0-9), trattini (-_) e deve contenere meno di 255 caratteri](#ff7e5e)'
|
||||
edit_warp_update_location: '[Riposizionato il warp](#00fb9a) [%1%](#00fb9a bold) [alla tua posizione attuale.](#00fb9a)'
|
||||
edit_warp_update_description: '[Cambiata la descrizione del warp](#00fb9a) [%1%](#00fb9a bold) [to "%2%".](#00fb9a)'
|
||||
edit_warp_update_name: '[Cambiato con successo il nome del warp: %1% →](#00fb9a) [%2%](#00fb9a bold)'
|
||||
list_item_divider: ' [•](gray) '
|
||||
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %1%)'
|
||||
public_home_list_item: '[[%1%]](show_text=�fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
|
||||
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
|
||||
edit_warp_teleport_button: '[Teletrasporto]'
|
||||
edit_warp_teleport_button_tooltip: 'Teletrasportati al warp'
|
||||
edit_warp_delete_button: '[Cancella]'
|
||||
edit_warp_delete_button_tooltip: 'Cancella il warp'
|
||||
edit_warp_relocate_button: '[Riposiziona]'
|
||||
edit_warp_relocate_button_tooltip: 'Aggiorna le coordinate del warp'
|
||||
edit_warp_rename_button: '[Rinomina]'
|
||||
edit_warp_rename_button_tooltip: 'Cambia il nome del warp'
|
||||
edit_warp_description_button: '[Modifica Descrizione]'
|
||||
edit_warp_description_button_tooltip: 'Aggiorna la descrizione del warp'
|
||||
edit_home_teleport_button: '[Teletrasporto]'
|
||||
edit_home_teleport_button_tooltip: 'Teletrasportati alla tua home'
|
||||
edit_home_delete_button: '[Cancella]'
|
||||
edit_home_delete_button_tooltip: 'Cancella la tua home'
|
||||
edit_home_relocate_button: '[Riposiziona]'
|
||||
edit_home_relocate_button_tooltip: 'Aggiorna le coordinate della tua home'
|
||||
edit_home_rename_button: '[Rinomina]'
|
||||
edit_home_rename_button_tooltip: 'Cambia il nome della tua home'
|
||||
edit_home_description_button: '[Modifica Descrizione]'
|
||||
edit_home_description_button_tooltip: 'Aggiorna la descrizione della tua home'
|
||||
edit_home_make_public_button: '[Rendi Pubblica]'
|
||||
edit_home_make_public_button_tooltip: 'Rendi la tua home pubblica'
|
||||
edit_home_make_private_button: '[Rendi Privata]'
|
||||
edit_home_make_private_button_tooltip: 'Rendi la tua home privata'
|
||||
home_default_description: 'Home di %1%'
|
||||
warp_default_description: 'Warp accessibile a tutti!'
|
||||
delete_all_homes_confirm: '[Attenzione:](#ff3300) [Sei sicuro di voler eliminare tutte le home?](#ff7e5e\n[Una volta confermato non sarà possibile recuperarli.](gray)\n[→](gray) [[Conferma]](#ff3300 show_text=&#ff3300&Clicca per confermare. AZIONE IRREVERSIBILE. run_command=/delhome all confirm)'
|
||||
|
||||
Reference in new issue
Block a user