diff --git a/wiki/tutorials/getting-started/de.yml b/wiki/tutorials/getting-started/de.yml new file mode 100644 index 00000000..7f68290e --- /dev/null +++ b/wiki/tutorials/getting-started/de.yml @@ -0,0 +1,28 @@ +title: "Erste Schritte" +description: "Grundlagen von KubeJS" + +warning1: ">>> warning" +warning2: "Es ist wichtig zuerst die Grundlagen der Programmierung in JavaScript zu verstehen, bevor du startest KubeJS zu benutzen!" +warning3: "<<<" +l1: "Zunächst benötigst du einen Code-Editor. Ein Code-Editor macht deinen Code lesbarer und hilft dir, Fehler zu finden." +l2: "Wir empfehlen [Visual Studio Code](https://code.visualstudio.com/), das native Unterstützung für JS bietet." +l3: "" +l4: "# ProbeJS verwenden" +l5: "ProbeJS ist ein unverzichtbares Addon für KubeJS, das Code-Vervollständigung auf Basis generierter TypeScript-Dateien ermöglicht." +l6: "Es kann dir helfen, Methoden und Felder zu finden, und bietet Dokumentation für Methoden, Funktionen und Event-Handler." +l7: "" +l8: "Um ProbeJS zu verwenden, musst du zunächst dein Spiel mit ProbeJS und KubeJS starten, eine Welt betreten und den Befehl `/probejs dump` ausführen." +l9: "Dieser Befehl generiert alle Typings (Dokumentation) im Ordner deines Modpacks." +l10: "" +l11: "Als nächstes musst du den Ordner deines Modpacks (egal ob er .minecraft oder der Name deines Modpacks ist) in Visual Studio Code öffnen und den `kubejs`-Ordner aufrufen." +l12: "" +l13: "# Die Ordnerstruktur" +l14: "Die Kategorie [Folder Structure](https://kubejs.com/wiki/folder-structure) erklärt die `kubejs`-Ordnerstruktur ausführlicher." +l15: "Derzeit gibt es 3 Ordner, die du kennen solltest:" +l16: "- `server_scripts`" +l17: "- `client_scripts`" +l18: "- `startup_scripts`" +l19: "Dies sind **Skript-Ordner**, in denen du deine Skripte schreiben wirst." +l20: "" +l21: "Jetzt bist du bereit, KubeJS zu verwenden!" +l22: "Schau dir die anderen Wiki-Seiten für weitere Informationen an, und wenn du noch Fragen hast, frag gerne im [latvian.dev Discord Server]({discord-url})!" \ No newline at end of file diff --git a/wiki/tutorials/getting-started/en.yml b/wiki/tutorials/getting-started/en.yml index 7f3229bc..11e922ab 100644 --- a/wiki/tutorials/getting-started/en.yml +++ b/wiki/tutorials/getting-started/en.yml @@ -1,2 +1,28 @@ -title: "Getting Started" -description: "Basics of KubeJS" +title : "Getting Started" +description : "Basics of KubeJS" + +warning1 : ">>> warning" +warning2 : "It is mandatory that you learn the basics of programming and JavaScript before you start using KubeJS!" +warning3 : "<<<" +l1: "Starting off, you will need a code editor. A code editor will make your code more readable, and help you find errors you have made." +l2: "We recommend [Visual Studio Code](https://code.visualstudio.com/), which has native support for JS." +l3: "" +l4: "# Using ProbeJS" +l5: "ProbeJS is an essential addon for KubeJS that allows for code completion based on generated TypeScript files." +l6: "It can help you find methods and fields, and provide documentation for methods, functions, and event handlers." +l7: "" +l8: "To use ProbeJS, you first need to start up your game with both it and KubeJS installed, go into a world, and run the command `/probejs dump`." +l9: "This command will generate all the typings (documentation) within your modpack's folder." +l10: "" +l11: "The next thing you need to do is open your modpack's folder (be it named .minecraft, or your modpack's name) in Visual Studio Code and open the `kubejs` folder." +l12: "" +l13: "# The Folder Structure" +l14: "The [Folder Structure](https://kubejs.com/wiki/folder-structure) category explains the `kubejs` folder structure in more depth." +l15: "For now, there are 3 folders that you should be aware of:" +l16: "- `server_scripts`" +l17: "- `client_scripts`" +l18: "- `startup_scripts`" +l19: "These are **Script Folders** in which you'll write your scripts." +l20: "" +l21: "Now, you should be ready to begin using KubeJS!" +l22: "Look to the other wiki pages for more info, and if you have any more questions, feel free to ask in the [latvian.dev Discord Server]({discord-url})!" diff --git a/wiki/tutorials/getting-started/page.kubedoc b/wiki/tutorials/getting-started/page.kubedoc index e60d1bfd..54615223 100644 --- a/wiki/tutorials/getting-started/page.kubedoc +++ b/wiki/tutorials/getting-started/page.kubedoc @@ -1,26 +1,20 @@ ->>> warning -It is mandatory that you learn the basics of programming and JavaScript before you start using KubeJS! -<<< - -Starting off, you will need a code editor. A code editor will make your code more readable, and help you find errors you have made. -We recommend [Visual Studio Code](https://code.visualstudio.com/), which has native support for JS. - -# Using ProbeJS -ProbeJS is an essential addon for KubeJS that allows for code completion based on generated TypeScript files. -It can help you find methods and fields, and provide documentation for methods, functions, and event handlers. - -To use ProbeJS, you first need to start up your game with both it and KubeJS installed, go into a world, and run the command `/probejs dump`. -This command will generate all the typings (documentation) within your modpack's folder. - -The next thing you need to do is open your modpack's folder (be it named .minecraft, or your modpack's name) in Visual Studio Code and open the `kubejs` folder. - -# The Folder Structure -The [Folder Structure](https://kubejs.com/wiki/folder-structure) category explains the `kubejs` folder structure in more depth. -For now, there are 3 folders that you should be aware of: -- `server_scripts` -- `client_scripts` -- `startup_scripts` -These are **Script Folders** in which you'll write your scripts. - -Now, you should be ready to begin using KubeJS! -Look to the other wiki pages for more info, and if you have any more questions, feel free to ask in the [latvian.dev Discord Server]({discord-url})! \ No newline at end of file +{warning1} +{warning2} +{warning3} +{l1} +{l2} +{l4} +{l5} +{l6} +{l8} +{l9} +{l11} +{l13} +{l14} +{l15} +{l16} +{l17} +{l18} +{l19} +{l21} +{l22} \ No newline at end of file