Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
CommandStream: add stream url to config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Sep 8, 2023
1 parent 4925fc8 commit 47f6b59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/flectone/commands/CommandStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public List<String> onTabComplete(@NotNull CommandSender commandSender, @NotNull
default -> {
if (!strings[0].equalsIgnoreCase("start")) break;

isStartsWith(strings[1], "https://flectone.net");
isStartsWith(strings[1], locale.getString("tab-complete.stream-url"));
}
}

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/language/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ chat:
tab-complete:
message: "(message)"
reason: "(reason)"
stream-url: "https://flectone.net"

command:
null-player: "#ff4e4e⁉ This player does not exist"
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/language/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ chat:
tab-complete:
message: "(сообщение)"
reason: "(причина)"
stream-url: "https://flectone.net"

command:
null-player: "#ff4e4e⁉ Этот игрок не существует"
Expand Down

0 comments on commit 47f6b59

Please sign in to comment.