mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Added some more message lines
This commit is contained in:
1 parent
c39f6c9f6a
commit
9e3d6d7e75
3 files changed
+17
-7
No files matched your search
@@ -55,7 +55,7 @@ public class editingHandler {
|
||||
public static void showEditHomeOptions(Player p, Home home) {
|
||||
p.sendMessage("");
|
||||
messageManager.sendMessage(p, "edit_home_title", home.getName());
|
||||
messageManager.sendMessage(p, "edit_home_title", home.getDescription());
|
||||
messageManager.sendMessage(p, "edit_home_description", home.getDescription());
|
||||
messageManager.sendMessage(p, "edit_home_location",
|
||||
Double.toString(home.getX()),
|
||||
Double.toString(home.getY()),
|
||||
@@ -77,14 +77,14 @@ public class editingHandler {
|
||||
public static void showEditWarpOptions(Player p, Warp warp) {
|
||||
p.sendMessage("");
|
||||
messageManager.sendMessage(p, "edit_warp_title", warp.getName());
|
||||
messageManager.sendMessage(p, "edit_warp_title", warp.getDescription());
|
||||
messageManager.sendMessage(p, "edit_warp_location",
|
||||
messageManager.sendMessage(p, "edit_home_description", warp.getDescription());
|
||||
messageManager.sendMessage(p, "edit_home_location",
|
||||
Double.toString(warp.getX()),
|
||||
Double.toString(warp.getY()),
|
||||
Double.toString(warp.getZ()));
|
||||
messageManager.sendMessage(p, "edit_warp_world", warp.getWorldName());
|
||||
messageManager.sendMessage(p, "edit_home_world", warp.getWorldName());
|
||||
if (Main.settings.doBungee()) {
|
||||
messageManager.sendMessage(p, "edit_warp_server", warp.getServer());
|
||||
messageManager.sendMessage(p, "edit_home_server", warp.getServer());
|
||||
}
|
||||
p.sendMessage("");
|
||||
p.spigot().sendMessage(editWarpOptions(warp).create());
|
||||
|
||||
@@ -71,4 +71,9 @@ error_rtp_cooldown: '§4Error: §cYou must wait %1% minutes before randomly tele
|
||||
rtp_spent_money: '§7Spent %1% to randomly teleport.'
|
||||
error_command_disabled: '§4Error: §cThat command is disabled!'
|
||||
error_console_only: '§4Error: §cThat command can only be run from the server console.'
|
||||
error_tp_invalid_world: '§4Error: §cPlease specify a valid server world.'
|
||||
error_tp_invalid_world: '§4Error: §cPlease specify a valid server world.'
|
||||
edit_warp_title: '§aEdit details for the warp §l%1%§r§a:'
|
||||
error_edit_warp_invalid_description: '§4Error: §cWarp descriptions may only contain alphanumeric (A-Z, 0-9) characters, hyphens (-) and underscores (_)'
|
||||
edit_warp_update_location: '§aRe-located the warp §l%1% §r§ato your current position.'
|
||||
edit_warp_update_description: '§aChanged the description for the warp §l%1%§r§a to "%2%".'
|
||||
edit_warp_update_name: '§aSuccessfully changed a warp''s name: %1% → §l%2%'
|
||||
@@ -69,4 +69,9 @@ warp_deleted: '§aSuccessfully deleted §l%1%§r§a warp.'
|
||||
error_warp_invalid: '§4Error: §cThere is no warp set with the name %1%'
|
||||
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z,0-9)'
|
||||
error_set_warp_invalid_length: '§4Error: §cWarp names can only contain up to 16 characters!'
|
||||
error_no_warps_set: '§4Error: §cThere aren''t any warps set!'
|
||||
error_no_warps_set: '§4Error: §cThere aren''t any warps set!'
|
||||
edit_warp_title: '§aEdit details for the warp §l%1%§r§a:'
|
||||
error_edit_warp_invalid_description: '§4Error: §cWarp descriptions may only contain alphanumeric (A-Z, 0-9) characters, hyphens (-) and underscores (_)'
|
||||
edit_warp_update_location: '§aRe-located the warp §l%1% §r§ato your current position.'
|
||||
edit_warp_update_description: '§aChanged the description for the warp §l%1%§r§a to "%2%".'
|
||||
edit_warp_update_name: '§aSuccessfully changed a warp''s name: %1% → §l%2%'
|
||||
Reference in new issue
Block a user