aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-05-15 20:05:43 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-05-15 20:05:43 -0600
commitbc65a6a44c5f54f65b559731b2a69894b6badf13 (patch)
treee8295ffa823e03e3286816c601595cbca7b8aee1 /app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt
parentb7ef7feebb2a384fb6a18baf573d0d8a28cb8421 (diff)
downloadServerCraft-bc65a6a44c5f54f65b559731b2a69894b6badf13.tar
ServerCraft-bc65a6a44c5f54f65b559731b2a69894b6badf13.tar.gz
ServerCraft-bc65a6a44c5f54f65b559731b2a69894b6badf13.tar.bz2
changed package name, added java packager to gradle
Diffstat (limited to 'app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt')
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt35
1 files changed, 0 insertions, 35 deletions
diff --git a/app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt b/app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt
deleted file mode 100644
index 38e79a1..0000000
--- a/app/src/main/kotlin/xyz/brysonsteck/servercraft/server/Server.kt
+++ /dev/null
@@ -1,35 +0,0 @@
-package xyz.brysonsteck.servercraft.server
-
-import java.io.File
-import java.util.Properties
-
-public class Server {
- public var jar = ""
-
- private val props = Properties()
-
- constructor() {
- props.setProperty("allow-flight", false.toString())
- props.setProperty("allow-nether", true.toString())
- props.setProperty("generate-structures", true.toString())
- props.setProperty("hardcore", false.toString())
- props.setProperty("pvp", true.toString())
- props.setProperty("white-list", false.toString())
- props.setProperty("enable-command-block", false.toString())
- props.setProperty("hide-online-players", false.toString())
- props.setProperty("max-players", 20.toString())
- props.setProperty("max-world-size", 29999984.toString())
- props.setProperty("server-port", 25565.toString())
- props.setProperty("view-distance", 10.toString())
- props.setProperty("jvm-ram", 1024.toString())
- props.setProperty("spawn-protection", 16.toString())
- props.setProperty("simulation-distance", 10.toString())
- props.setProperty("max-tick-time", 60000.toString())
- props.setProperty("difficulty", "normal")
- props.setProperty("gamemode", "survival")
- props.setProperty("level-name", "world")
- props.setProperty("level-seed", "")
- props.setProperty("level-type", "minecraft:normal")
- props.setProperty("motd", "A server for a dummy")
- }
-} \ No newline at end of file