From df3e66fe997e634ea8b857ef7bc13cec5d914879 Mon Sep 17 00:00:00 2001 From: flikites <72367027+flikites@users.noreply.github.com> Date: Thu, 7 Dec 2023 08:22:29 -0700 Subject: [PATCH 1/3] Add Minecraft Public + Private - Update devMarketplaceApps.json added options for both public and private Minecraft marketplace options --- config/devMarketplaceApps.json | 155 +++++++++++++++++++-------------- 1 file changed, 92 insertions(+), 63 deletions(-) diff --git a/config/devMarketplaceApps.json b/config/devMarketplaceApps.json index 9e0869e..63ac45d 100644 --- a/config/devMarketplaceApps.json +++ b/config/devMarketplaceApps.json @@ -58,6 +58,98 @@ "visible": true, "enabled": true }, + { + "description": "Host your PRIVATE Java Minecraft server on the Flux Cloud", + "price": 25.67, + "multiplier": 1, + "category": "Games", + "version": 7, + "name": "privateminecraftserver", + "instances": 3, + "contacts": [], + "geolocation": [], + "staticip": true, + "nodes": [], + "isAutoEnterprise": true, + "expire": 22000, + "compose": [ + { + "name": "node", + "description": "Private Minecraft Server container", + "repotag": "itzg/minecraft-server:latest", + "containerPorts": [25565], + "domains": [""], + "environmentParameters": ["EULA=TRUE",TYPE=SPIGOT], + "commands": [], + "containerData": "r:/data", + "tiered": false, + "cpu": 2, + "ram": 5000, + "hdd": 30, + "portSpecs": ["25565-25600"], + "ports": [25565], + "userSecrets": [ + { + "name": "OPS", + "description": "Enter the minecraft username that should be set as the server operator/administrator", + "placeholder": "Enter the admins minecraft username here" + }, + { + "name": "WHITELIST", + "description": "Enter the minecraft usernames that should be whitelisted, comma seperated", + "placeholder": "Enter minecraft usernames to whitelist here" + }, + { + "name": "RCON_PASSWORD", + "description": "The RCON Password for your server will be encrypted on chain", + "placeholder": "Enter your desired password (not transmitted over the internet)" + } + ], + "secrets": "", + "repoauth": "" + } + ], + "visible": true, + "enabled": true + }, + { + "description": "Host your PUBLIC Java Minecraft server on the Flux Cloud", + "price": 12.15, + "category": "Games", + "version": 7, + "name": "Minecraft", + "instances": 3, + "contacts": [], + "geolocation": [], + "staticip": false, + "nodes": [], + "expire": 22000, + "compose": [ + { + "name": "minecraftserver", + "description": "The Minecraft Server container", + "repotag": "itzg/minecraft-server:latest", + "containerPorts": [25565], + "domains": [""], + "environmentParameters": ["EULA=TRUE"], + "commands": [], + "containerData": "r:/data", + "tiered": false, + "cpu": 2, + "ram": 5000, + "hdd": 30, + "portSpecs": [ + 25565-25700" + ], + "ports": [25565], + ], + "secrets": "", + "repoauth": "" + } + ], + "visible": true, + "enabled": true + }, { "description": "PoUW at Flux layer 2 network. Folding@home is a project focused on disease research. Client Visit was disabled, to check Run On Flux team stats go to https://stats.foldingathome.org/team/262156", "price": 1.91, @@ -2969,69 +3061,6 @@ "visible": true, "enabled": true }, - { - "description": "Host your Java Minecraft server on the Flux Cloud", - "price": 12.15, - "category": "Games", - "version": 7, - "name": "Minecraft", - "instances": 3, - "contacts": [], - "geolocation": [], - "staticip": false, - "nodes": [], - "expire": 22000, - "compose": [ - { - "name": "minecraftserver", - "description": "The Minecraft Server container", - "repotag": "wirewrex/minecraft-server:fluxtest", - "containerPorts": [ - 25565,22222 - ], - "domains": [ - "","" - ], - "environmentParameters": ["EULA=TRUE"], - "commands": [], - "containerData": "/root|s:/root/cluster", - "tiered": false, - "cpu": 2, - "ram": 5000, - "hdd": 30, - "portSpecs": [ - "22222-25565" - ], - "ports": [25565,22222], - "userEnvironmentParameters": [ - { - "name": "SEED", - "description": "If you want to create the Minecraft level with a specific Seed (only Positive Numbers)", - "placeholder": "Put in a random Number, e.g 1785852800490497919" - }, - { - "name": "MINECRAFT_USERNAME", - "description": "Enter the Minecraft username that should be designated as the server operator", - "placeholder": "minecraft username" - }, - { - "name": "DIFFICULTY", - "description": "The difficulty level can be set like peaceful, easy, normal, and hard", - "placeholder": "(default: easy)" - }, - { - "name": "TYPE", - "description": "What kind of server type do you want, refer to https://github.com/itzg/docker-minecraft-server/blob/master/README.md", - "placeholder": "Enter your server type here, e.g CATSERVER" - } - ], - "secrets": "", - "repoauth": "" - } - ], - "visible": true, - "enabled": true - }, { "description": "Host your Meowcoin Full Node on the Flux Cloud", "price": 7.3, From 913a73c4828ba330bc718c2c9b452d2b4be49240 Mon Sep 17 00:00:00 2001 From: flikites <72367027+flikites@users.noreply.github.com> Date: Thu, 7 Dec 2023 10:30:30 -0700 Subject: [PATCH 2/3] Update devMarketplaceApps.json Fixed errors --- config/devMarketplaceApps.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/devMarketplaceApps.json b/config/devMarketplaceApps.json index 63ac45d..54a0e65 100644 --- a/config/devMarketplaceApps.json +++ b/config/devMarketplaceApps.json @@ -79,7 +79,7 @@ "repotag": "itzg/minecraft-server:latest", "containerPorts": [25565], "domains": [""], - "environmentParameters": ["EULA=TRUE",TYPE=SPIGOT], + "environmentParameters": ["EULA=TRUE","TYPE=SPIGOT"], "commands": [], "containerData": "r:/data", "tiered": false, @@ -139,7 +139,7 @@ "ram": 5000, "hdd": 30, "portSpecs": [ - 25565-25700" + "25565-25700" ], "ports": [25565], ], From f63c86e3b4d310108dcdb0f0c68055456f4bd18b Mon Sep 17 00:00:00 2001 From: flikites <72367027+flikites@users.noreply.github.com> Date: Thu, 7 Dec 2023 10:31:51 -0700 Subject: [PATCH 3/3] Update devMarketplaceApps.json --- config/devMarketplaceApps.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/devMarketplaceApps.json b/config/devMarketplaceApps.json index 54a0e65..013f074 100644 --- a/config/devMarketplaceApps.json +++ b/config/devMarketplaceApps.json @@ -138,11 +138,8 @@ "cpu": 2, "ram": 5000, "hdd": 30, - "portSpecs": [ - "25565-25700" - ], + "portSpecs": ["25565-25700"], "ports": [25565], - ], "secrets": "", "repoauth": "" }