still working on readme, fix dialog icons

This commit is contained in:
Bryson Steck 2023-05-14 15:47:52 -06:00
parent 0a74a95d02
commit b7ef7feebb
2 changed files with 17 additions and 4 deletions

View file

@ -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
*

View file

@ -435,7 +435,7 @@ class PrimaryController {
var result = false var result = false
val resources = App().javaClass.getResource("icons/warning.png") val resources = App().javaClass.getResource("icons/warning.png")
val dialog = Stage() 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.setResizable(false)
dialog.initModality(Modality.APPLICATION_MODAL); dialog.initModality(Modality.APPLICATION_MODAL);
dialog.title = directory dialog.title = directory
@ -504,7 +504,7 @@ class PrimaryController {
var result = false var result = false
val resources = App().javaClass.getResource("icons/$type.png") val resources = App().javaClass.getResource("icons/$type.png")
val dialog = Stage() 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.setResizable(false)
dialog.initModality(Modality.APPLICATION_MODAL); dialog.initModality(Modality.APPLICATION_MODAL);
dialog.title = directory dialog.title = directory