add mohist egg
This commit is contained in:
		
							
								
								
									
										15
									
								
								minecraft/java/mohist/README.MD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								minecraft/java/mohist/README.MD
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| # Mohist | ||||
|  | ||||
| Mohist is a Spigot fork that prioritizes performance optimizations. | ||||
|  | ||||
| ## Server Ports | ||||
| The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server. | ||||
|  | ||||
|  | ||||
| | Port  | default | | ||||
| |-------|---------| | ||||
| | Game  | 25565   | | ||||
|  | ||||
| ## Server Specific | ||||
|  | ||||
| Limited to version 1.12.2 (1.16.4 cannot run headless as of 12/6/2020) | ||||
							
								
								
									
										55
									
								
								minecraft/java/mohist/egg-mohist.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								minecraft/java/mohist/egg-mohist.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,55 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2020-12-06T02:04:44-08:00", | ||||
|     "name": "Mohist", | ||||
|     "author": "alex.chang-lam@protonmail.com", | ||||
|     "description": "Spigot fork with performance optimizations.", | ||||
|     "features": null, | ||||
|     "image": "quay.io\/pterodactyl\/core:java", | ||||
|     "startup": "java -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}} pause", | ||||
|     "config": { | ||||
|         "files": "{\r\n    \"server.properties\": {\r\n        \"parser\": \"properties\",\r\n        \"find\": {\r\n            \"server-ip\": \"0.0.0.0\",\r\n            \"server-port\": \"{{server.build.default.port}}\"\r\n        }\r\n    }\r\n}", | ||||
|         "startup": "{\r\n    \"done\": \")! For help, type \",\r\n    \"userInteraction\": [\r\n        \"Go to eula.txt for more info.\"\r\n    ]\r\n}", | ||||
|         "logs": "{}", | ||||
|         "stop": "stop" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# Mohistmc Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt install -y curl\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sSL \"https:\/\/mohistmc.com\/api\/${MINECRAFT_VERSION}\/${BUILD_NUMBER}\/download\" -o ${SERVER_JARFILE}", | ||||
|             "container": "debian:buster-slim", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "Minecraft Version", | ||||
|             "description": "The version of minecraft to download. \r\n\r\nInvalid versions will default to 1.12.2.", | ||||
|             "env_variable": "MINECRAFT_VERSION", | ||||
|             "default_value": "1.12.2", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Jar File", | ||||
|             "description": "The name of the server jarfile to run the server with.", | ||||
|             "env_variable": "SERVER_JARFILE", | ||||
|             "default_value": "server.jar", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Build Number", | ||||
|             "description": "The build number for the Mohist release.\r\n\r\nLeave at latest to always get the latest version. Invalid versions will default to latest.", | ||||
|             "env_variable": "BUILD_NUMBER", | ||||
|             "default_value": "latest", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:20" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user