make files more clear and avoid git pull conflicts

This commit is contained in:
Nayan
2025-08-25 22:49:55 -04:00
parent c6123df4df
commit d379076cd7
5 changed files with 17 additions and 15 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
.env
servers.json
config.json

View File

@@ -1,14 +0,0 @@
{
"example_json": {
"path": "/path/to/server/folder",
"servername": "example",
"startcommand": "screen -S example java -Xmx1024M -Xms512M -jar /path/to/server/spigot-1.18.2.jar nogui"
},
"servers": [
{
"path": "",
"servername": "testserver1",
"startcommand": "./startserver.sh"
}
]
}

14
servers.json.example Normal file
View File

@@ -0,0 +1,14 @@
{
"servers": [
{
"path": "/path/to/server/folder",
"servername": "example",
"startcommand": "screen -S example java -Xmx1024M -Xms512M -jar /path/to/server/spigot-1.18.2.jar nogui"
},
{
"path": "/path/to/server/folder",
"servername": "example2",
"startcommand": "examplestartscript.sh"
}
]
}