Skip to content

Commit

Permalink
feat: add tp invulerability option, show privacy in /homelist (#577)
Browse files Browse the repository at this point in the history
* Renamed PrivateHomeListCommand.java to HomeListCommand.java as it shows all homes not just private homes

* Implemented #543

* Implemented #515

* added changes to all lang files, removed un used imports, fix error where it would not remove invulnerability from player on sponge
  • Loading branch information
ProdPreva1l authored Feb 25, 2024
1 parent 2f2ae6f commit 1cb56f9
Show file tree
Hide file tree
Showing 27 changed files with 108 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected static PermissionDefault getPermissionDefault(boolean isOperatorComman
public enum Type {
HOME_COMMAND(PrivateHomeCommand::new),
SET_HOME_COMMAND(SetHomeCommand::new),
HOME_LIST_COMMAND(PrivateHomeListCommand::new),
HOME_LIST_COMMAND(HomeListCommand::new),
DEL_HOME_COMMAND(DelHomeCommand::new),
EDIT_HOME_COMMAND(EditHomeCommand::new),
PUBLIC_HOME_COMMAND(PublicHomeCommand::new),
Expand Down
14 changes: 14 additions & 0 deletions bukkit/src/main/java/net/william278/huskhomes/user/BukkitUser.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,20 @@ public boolean isVanished() {
.orElse(false);
}

/**
* Handles player invulnerability after teleporting
*/
@Override
public void handleInvulnerability() {
if (plugin.getSettings().getGeneral().getTeleportInvulnerabilityTime() <= 0) {
return;
}
long invulnerabilityTimeInTicks = 20L * plugin.getSettings().getGeneral().getTeleportInvulnerabilityTime();
player.setInvulnerable(true);
// Remove the invulnerability
plugin.runSyncDelayed(() -> player.setInvulnerable(false), invulnerabilityTimeInTicks);
}

/**
* Send a Bukkit plugin message to the player.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package net.william278.huskhomes.command;

import de.themoep.minedown.adventure.MineDown;
import de.themoep.minedown.adventure.MineDownParser;
import net.william278.huskhomes.HuskHomes;
import net.william278.huskhomes.config.Locales;
import net.william278.huskhomes.position.Home;
Expand All @@ -34,9 +36,9 @@
import java.util.Optional;
import java.util.stream.Collectors;

public class PrivateHomeListCommand extends ListCommand {
public class HomeListCommand extends ListCommand {

protected PrivateHomeListCommand(@NotNull HuskHomes plugin) {
protected HomeListCommand(@NotNull HuskHomes plugin) {
super("homelist", List.of("homes"), "[player] [page]", plugin);
addAdditionalPermissions(Map.of("other", true));
}
Expand Down Expand Up @@ -110,6 +112,8 @@ private Optional<PaginatedList> generateList(@NotNull CommandUser executor, @Not
plugin.getLocales()
.getRawLocale("home_list_item",
Locales.escapeText(home.getName()), home.getSafeIdentifier(),
home.isPublic() ? plugin.getLocales().getRawLocale("home_is_public").orElse("&#00fb9a&Public"):
plugin.getLocales().getRawLocale("home_is_private").orElse("&#239e6f&Private"),
Locales.escapeText(home.getMeta().getDescription()))
.orElse(home.getName())).sorted().collect(Collectors.toList()),
plugin.getLocales()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void execute(@NotNull CommandUser executor, @NotNull String[] args) {
super.execute(executor, homes.get(0), args);
return;
}
plugin.getCommand(PrivateHomeListCommand.class)
plugin.getCommand(HomeListCommand.class)
.ifPresent(command -> command.showHomeList(executor, user.getUsername(), 1));
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ public static class GeneralSettings {
@Comment("Where the teleport warmup timer should display (CHAT, ACTION_BAR, TITLE, SUBTITLE or NONE)")
private Locales.DisplaySlot teleportWarmupDisplay = Locales.DisplaySlot.ACTION_BAR;

@Comment("How long the player should be invulnerable for after teleporting (in seconds)")
private int teleportInvulnerabilityTime = 0;

@Comment("How long before received teleport requests expire (in seconds)")
private int teleportRequestExpiryTime = 60;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private void handleInboundTeleport(@NotNull OnlineUser teleporter) {
}
plugin.getDatabase().clearCurrentTeleport(teleporter);
teleport.displayTeleportingComplete(teleporter);
teleporter.handleInvulnerability();
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private void executeLocal(@NotNull OnlineUser teleporter) throws TeleportationEx
if (updateLastPosition) {
plugin.getDatabase().setLastPosition(teleporter, teleporter.getPosition());
}

teleporter.teleportLocally(localTarget.get().getPosition(), async);
this.displayTeleportingComplete(teleporter);
teleporter.handleInvulnerability();
});
return;
}
Expand Down Expand Up @@ -127,6 +127,7 @@ private void executeLocal(@NotNull OnlineUser teleporter) throws TeleportationEx
|| target.getServer().equals(plugin.getServerName())) {
teleporter.teleportLocally(target, async);
this.displayTeleportingComplete(teleporter);
teleporter.handleInvulnerability();
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ public Audience getAudience() {
*/
public abstract boolean isVanished();

/**
* Handles player invulnerability after teleporting
*/
public abstract void handleInvulnerability();

/**
* Get the maximum number of homes this user may set.
*
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/locales/bg-bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ locales:
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Обществен'
home_is_private: '&#239e6f&Частно'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/de-de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Öffentliche Homes:](#00fb9a) [(%1%-%2% von](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% von](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Befehlsliste](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Öffentlich'
home_is_private: '&#239e6f&Privat'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Klicke, um den Befehl im Chat einzufügen command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/en-gb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Public'
home_is_private: '&#239e6f&Private'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/es-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ locales:
command_list_title: '[GreenShield](#green bold) [| lista de comandos](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
home_is_public: '&#00fb9a&Pública'
home_is_private: '&#239e6f&Privada'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Estado: %3%\n&7ℹ %4% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clic para sugerir el comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
list_footer: '\n%1%[Página](#00fb9a) [%2%](#00fb9a)/[%3%](#00fb9a)%4% %5%'
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/fr-fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Homes Publiques :](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Liste des commandes](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Statut: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Publique'
home_is_private: '&#239e6f&Privée'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Cliquez pour suggérer la commande command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/it-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Home pubbliche:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Lista Warp:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista comandi](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Stato: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Pubblica'
home_is_private: '&#239e6f&Privato'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clicca per usare il comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/ja-jp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ 公開ホーム一覧:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[ワープ一覧:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| コマンドリスト](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7状態: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&公共'
home_is_private: '&#239e6f&プライベート'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/ko-kr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ 공용 집:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[워프:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| 명령어 목록](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n\n&7상태: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&공공의'
home_is_private: '&#239e6f&사적인'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7클릭하여 명령어를 입력할 수 있습니다 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/pl-pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Domy Publiczne:](#00fb9a) [(%1%-%2% z](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warp:](#00fb9a) [(%1%-%2% z](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista Komend](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Publiczny'
home_is_private: '&#239e6f&Prywatny'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Kliknij, aby sugerować komendę suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/pt-br.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Casas Públicas:](#00fb9a) [(%1%-%2% de](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% de](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Lista de Comandos](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Status: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Pública'
home_is_private: '&#239e6f&Privada'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Clique para sugerir comando suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/ru-ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Публичные дома:](#00fb9a) [(%1%-%2% из](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Телепортации:](#00fb9a) [(%1%-%2% из](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Список команд](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Положение дел: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Общественный'
home_is_private: '&#239e6f&Частный'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Нажмите, чтобы предложить команду suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/tr-tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Herkese Açık Evler:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warplar:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Komut Listesi](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Durum: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Halk'
home_is_private: '&#239e6f&Özel'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Komut önermek için tıklayın suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/uk-ua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ Public Homes:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
warp_list_page_title: '[Warps:](#00fb9a) [(%1%-%2% of](#00fb9a) [%3%](#00fb9a bold)[)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| Command List](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7Статус: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&Громадський'
home_is_private: '&#239e6f&Приватний'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7Click to suggest command suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/zh-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ locales:
public_home_list_page_title: '[☀ 公共家:](#00fb9a) [(%1%-%2% 共](#00fb9a)[%3%](#00fb9a bold)[个)](#00fb9a)\n'
warp_list_page_title: '[地标:](#00fb9a) [(%1%-%2% 共](#00fb9a)[%3%](#00fb9a bold)[个)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| 命令列表](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7地位: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&民众'
home_is_private: '&#239e6f&私人的'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7点击使用命令 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
4 changes: 3 additions & 1 deletion common/src/main/resources/locales/zh-tw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@
public_home_list_page_title: '[☀ 公共家:](#00fb9a) [(%1%-%2% 共](#00fb9a) [%3%](#00fb9a bold)[ 個)](#00fb9a)\n'
warp_list_page_title: '[地標:](#00fb9a) [(%1%-%2% 共](#00fb9a) [%3%](#00fb9a bold)[ 個)](#00fb9a)\n'
command_list_title: '[HuskHomes](#00fb9a bold) [| 指令列表](#00fb9a)\n'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:edithome %2%)'
home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7地位: %3%\n&7ℹ %4% run_command=/huskhomes:edithome %2%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7☻ %3%\n&7ℹ %4% run_command=/huskhomes:phome %2%)'
home_is_public: '&#00fb9a&民众'
home_is_private: '&#239e6f&私人的'
warp_list_item: '[[%1%]](show_text=&#00fb9a&%1%\n&7ℹ %3% run_command=/huskhomes:warp %2%)'
command_list_item: '[/%1%](#00fb9a show_text=&7點擊使用指令 suggest_command=/%1%) [%2%](gray show_text=&#00fb9a&/%1%\n&7%3%)'
list_item_divider: ' [•](gray) '
Expand Down
Loading

0 comments on commit 1cb56f9

Please sign in to comment.