aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-05-14 15:47:52 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-05-14 15:47:52 -0600
commitb7ef7feebb2a384fb6a18baf573d0d8a28cb8421 (patch)
treeb50bbb40b49f41e90bfb8f377e58d735b3837cde
parent0a74a95d02553fdb39976b22dcc42566a2ccbb44 (diff)
downloadServerCraft-b7ef7feebb2a384fb6a18baf573d0d8a28cb8421.tar
ServerCraft-b7ef7feebb2a384fb6a18baf573d0d8a28cb8421.tar.gz
ServerCraft-b7ef7feebb2a384fb6a18baf573d0d8a28cb8421.tar.bz2
still working on readme, fix dialog icons
-rw-r--r--README.md17
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/servercraft/controllers/PrimaryController.kt4
2 files changed, 17 insertions, 4 deletions
diff --git a/README.md b/README.md
index 5e125e2..8f24bce 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,17 @@
-# <img src="app/src/main/resources/xyz/brysonsteck/servercraft/app.png" alt="ServerCraft Logo" width="25"/> ServerCraft
+# ServerCraft
-Does this work?
+Is the `server.properties` file too overwhelming? Here is a graphical application to help you out with that!
+## About
+
+ServerCraft is designed for the layman who has knowledge of Minecraft but has no idea how to create a simple server.
+
+## Features
+
+* Utilizes the Spigot Minecraft server for performance and extensibility
+* Automatically downloads the correct Java version, no more confusing errors when trying to run the server
+* Common settings available at a glance
+* Separate section for common settings that are a little more advanced, such as:
+ * The amount of RAM to allocate to the server
+ * Render and simulation distances
+ *
diff --git a/app/src/main/kotlin/xyz/brysonsteck/servercraft/controllers/PrimaryController.kt b/app/src/main/kotlin/xyz/brysonsteck/servercraft/controllers/PrimaryController.kt
index dd795e2..cad547d 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/servercraft/controllers/PrimaryController.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/servercraft/controllers/PrimaryController.kt
@@ -435,7 +435,7 @@ class PrimaryController {
var result = false
val resources = App().javaClass.getResource("icons/warning.png")
val dialog = Stage()
- dialog.icons.add(Image(this.javaClass.getResourceAsStream("app.png")))
+ dialog.icons.add(Image(App().javaClass.getResourceAsStream("app.png")))
dialog.setResizable(false)
dialog.initModality(Modality.APPLICATION_MODAL);
dialog.title = directory
@@ -504,7 +504,7 @@ class PrimaryController {
var result = false
val resources = App().javaClass.getResource("icons/$type.png")
val dialog = Stage()
- dialog.icons.add(Image(this.javaClass.getResourceAsStream("app.png")))
+ dialog.icons.add(Image(App().javaClass.getResourceAsStream("app.png")))
dialog.setResizable(false)
dialog.initModality(Modality.APPLICATION_MODAL);
dialog.title = directory