Skip to content

Commit

Permalink
Create minecraft-neoforged.json
Browse files Browse the repository at this point in the history
  • Loading branch information
spusuf authored Aug 1, 2024
1 parent fe963cd commit ea09eea
Showing 1 changed file with 106 additions and 0 deletions.
106 changes: 106 additions & 0 deletions minecraft-neoforged/minecraft-neoforged.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"name": "minecraft-neoforged",
"display": "Minecraft NeoForge",
"type": "minecraft-java",
"install": [
{
"type": "javadl",
"version": "${javaversion}"
},
{
"files": [
"https://maven.neoforged.net/releases/net/neoforged/neoforge/${version}/neoforge-${version}-installer.jar"
],
"type": "download"
},
{
"source": "neoforge-*.jar",
"target": "neoforge.jar",
"type": "move"
},
{
"commands": [
"java${javaversion} -jar neoforge.jar --installServer"
],
"type": "command"
},
{
"target": "server.properties",
"text": "server-ip=${ip}\nserver-port=${port}\nmotd=${motd}\n",
"type": "writefile"
},
{
"target": "eula.txt",
"text": "eula=${eula}",
"type": "writefile"
}
],
"run": {
"stop": "stop",
"command": "java${javaversion} -Xmx${memory}M -Dterminal.jline=false -Dterminal.ansi=true -Dlog4j2.formatMsgNoLookups=true @libraries/net/neoforged/neoforge/${version}/unix_args.txt nogui",
"workingDirectory": "",
"pre": [],
"post": [],
"environmentVars": {}
},
"data": {
"eula": {
"type": "boolean",
"desc": "Do you (or the server owner) agree to the <a href='https://account.mojang.com/documents/minecraft_eula'>Minecraft EULA?</a>",
"display": "EULA Agreement (true/false)",
"required": true,
"value": "false"
},
"ip": {
"type": "string",
"desc": "What IP to bind the server to",
"display": "IP",
"required": true,
"value": "0.0.0.0"
},
"javaversion": {
"type": "string",
"desc": "Version of Java to use",
"display": "Java Version",
"required": true,
"value": "17"
},
"memory": {
"type": "integer",
"desc": "How much memory in MB to allocate to the Java Heap",
"display": "Memory (MB)",
"required": true,
"value": "1024"
},
"motd": {
"type": "string",
"desc": "This is the message that is displayed in the server list of the client, below the name. The MOTD does support <a href='https://minecraft.wiki/w/Formatting_codes' target='_blank'>color and formatting codes</a>.",
"display": "MOTD message of the day",
"required": true,
"value": "A Neoforged Minecraft Server\\n\\u00A79 hosted on PufferPanel"
},
"port": {
"type": "integer",
"desc": "What port to bind the server to",
"display": "Port",
"required": true,
"value": "25565"
},
"version": {
"type": "string",
"desc": "Version of NeoForged to install You can find the latest neoforged package for your desired minecraft version from <a href='https://projects.neoforged.net/neoforged/neoforge/'>here</a>",
"display": "Neo Version",
"required": true,
"value": "20.4.237"
}
},
"environment": {
"type": "standard"
},
"supportedEnvironments": [
{
"type": "standard"
}
],
"requirements": {}
}

0 comments on commit ea09eea

Please sign in to comment.