Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'download' argument from Skript command #7239

Open
wants to merge 5 commits into
base: dev/feature
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/main/java/ch/njol/skript/SkriptCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public class SkriptCommand implements CommandExecutor {
).add(new CommandHelp("update", SkriptColor.DARK_CYAN)
.add("check")
.add("changes")
.add("download")
).add("info"
).add("help");

Expand Down Expand Up @@ -351,8 +350,6 @@ else if (args[0].equalsIgnoreCase("update")) {
updater.updateCheck(sender);
} else if (args[1].equalsIgnoreCase("changes")) {
updater.changesCheck(sender);
} else if (args[1].equalsIgnoreCase("download")) {
Asleeepp marked this conversation as resolved.
Show resolved Hide resolved
updater.updateCheck(sender);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public List<String> onTabComplete(CommandSender sender, Command command, String
if (args[0].equalsIgnoreCase("update") && args.length == 2) {
options.add("check");
options.add("changes");
options.add("download");
} else if (args[0].matches("(?i)(reload|disable|enable)") && args.length >= 2) {
File scripts = Skript.getInstance().getScriptsFolder();
String scriptsPathString = scripts.toPath().toString();
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/lang/dutch.lang
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ skript command:
all: Schakelt alle scripts uit
<script>: Schakelt een specifiek script of een folder met scripts uit
update:
description: Controleert of er updates zijn, laat de lijst met wijzigingen zien of downloadt de nieuwste versie van Skript
description: Controleert of er updates zijn, of laat de lijst met wijzigingen zien
check: Controleert of er een nieuwe versie is
changes: Toont alle wijzigingen sinds de huidige versie
download: Downloadt de nieuwste versie
info: Toont koppelingen naar de alliassen en documentatie van Skript
gen-docs: Genereert documentatie met behulp van docs/templates in de plugin folder
test: Gebruikt voor het uitvoeren van interne Skript-tests
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/lang/english.lang
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ skript command:
all: Disables all scripts
<script>: Disables a specific script or a folder of scripts
update:
description: Check for updates, read the changelog, or download the latest version of Skript
description: Check for updates or read the changelog
check: Checks for a new version
changes: Lists all changes since the current version
download: Download the newest version
info: Prints a message with links to Skript's aliases and documentation
gen-docs: Generates documentation using docs/templates in plugin folder
test: Used for running internal Skript tests
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/french.lang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ skript command:
description: Vérifie les mises à jour, liste le journal des modifications ou télécharge la dernière version de Skript
check: Vérifie la présence d'une nouvelle version
changes: Liste toutes les modifications apportées depuis la version actuelle
download: Télécharge la dernière version
info: Affiche un message contenant les liens vers les alias et la documentation de Skript
gen-docs: Génère la documentation en utilisant docs/templates dans le dossier du plugin
test: Utilisé pour exécuter les tests Skript
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/lang/german.lang
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ skript command:
all: Deaktiviert alle Skripte
<script>: Deaktiviert ein bestimmtes Skript oder einen Ordner
update:
description: Überprüft auf eine neue Version, listet Änderungen dieser auf, und kann sie auch gleich herunterladen
description: Überprüft auf eine neue Version oder listet Änderungen dieser auf
check: Überprüft, ob eine neue Version von Skript verfügbar ist
changes: Listet alle Änderungen seit der aktuellen Version auf (auf englisch)
download: Lädt die neueste Version herunter
info: Druckt eine Nachricht mit Links zu den Aliases und der Dokumentation von Skript.
gen-docs: Generiert Dokumentation mithilfe von docs/templates im Plugin-Ordner
test: Wird zum Ausführen von Skript-Tests verwendet
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/japanese.lang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ skript command:
description: アップデートのチェック, 変更履歴を見る, もしくは最新バージョンのSkriptをダウンロードします。
check: 新しいバージョンが存在するか確認します。
changes: 現在のバージョンとの変更点を表示します。
download: 最新バージョンをダウンロードします。
info: Skriptのエイリアスとドキュメントをリンク付きで表示します。
gen-docs: pluginフォルダ内にテンプレートを使用してドキュメントを生成します。
test: 内部テストを実行するために使用します。
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/korean.lang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ skript command:
description: 업데이트를 확인하거나, 변경 로그를 읽거나, 최신 버전의 Skript를 다운로드합니다.
check: 새 버전을 확인합니다.
changes: 현재 버전의 모든 변경 사항을 나열합니다.
download: 최신 버전을 다운로드합니다.
info: Skript의 별명 및 문서에 대한 링크가있는 메시지를 표시합니다
gen-docs: 플러그인 폴더의 문서 템플릿을 사용하여 문서를 생성합니다.
test: Skript 테스트를 실행할 때 사용됩니다.
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/polish.lang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ skript command:
description: Sprawdź aktualizację, przeczytaj listę zmian lub pobierz najnowszą wersję Skripta
check: Sprawdza dostępność nowszej wersji
changes: Wypisuje nowe zmiany od obecnej wersji
download: Pobiera najnowszą stabilną wersję
info: Wyświetla linki do aliasów i oficjalnej dokumentacji Skripta
gen-docs: Generuje dokumentację używając szablonów w folderze Skripta
test: Służy do uruchamiania wewnętrznych testów Skripta
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/russian.lang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ skript command:
description: Проверить наличие обновлений, прочитать список изменений, или скачать последнюю версию Skript
check: Проверить наличие обновлений
changes: Вывести список всех изменений с текущей версии
download: Скачать самую новую версию
info: Выводит ссылки на алиасы Skript и документацию
gen-docs: Генерирует документацию, используя документации/шаблоны в папке плагина
test: Используется для внутреннего тестирования Skript
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/simplifiedchinese.lang
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ skript command:
description: 检查更新,阅读更新日志,或下载最新版本的Skript
check: 检查新版本
changes: 列出自当前版本以来的所有变化
download: 下载最新的版本
info: 打印一个带有Skript的别名和文档链接的信息
gen-docs: 使用插件文件夹中的docs/templates生成文档
test: 用于运行内部的Skript测试
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/lang/turkish.lang
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ skript command:
description: Skript eklentisinin güncelliğini yönetmenizi sağlar.
check: Yeni bir sürüm olup olmadığını kontrol eder.
changes: Son sürümdeki tüm değişiklikleri listeler.
download: En yeni sürümü indirir.
info: Skript'in alias ve dökümantasyon bağlantılarını gösterir.
gen-docs: Eklenti klasöründeki şablonları kullanarak bir dokümantasyon oluşturur.
test: Skript'in dahili testleri için kullanılır.
Expand Down
Loading