mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-11-04 10:58:06 +00:00 
			
		
		
		
	Revert commit to add MAX_PLAYERS
This commit is contained in:
		
							parent
							
								
									38a01b2297
								
							
						
					
					
						commit
						b7f4a0ec8f
					
				@ -8,7 +8,7 @@
 | 
				
			|||||||
    "author": "parker@parkervcp.com",
 | 
					    "author": "parker@parkervcp.com",
 | 
				
			||||||
    "description": "This option allows modifying the startup arguments and other details to run a custom HLDS based game on the panel.",
 | 
					    "description": "This option allows modifying the startup arguments and other details to run a custom HLDS based game on the panel.",
 | 
				
			||||||
    "image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_source",
 | 
					    "image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_source",
 | 
				
			||||||
    "startup": ".\/hlds_run -console -game {{HLDS_GAME}} -port {{SERVER_PORT}} -sport {{VAC_PORT}} +map {{SRCDS_MAP}} +maxplayers {{MAX_PLAYERS}} +ip 0.0.0.0 -strictportbind -norestart",
 | 
					    "startup": ".\/hlds_run -console -game {{HLDS_GAME}} -port {{SERVER_PORT}} -sport {{VAC_PORT}} +map {{SRCDS_MAP}} +ip 0.0.0.0 -strictportbind -norestart",
 | 
				
			||||||
    "config": {
 | 
					    "config": {
 | 
				
			||||||
        "files": "{}",
 | 
					        "files": "{}",
 | 
				
			||||||
        "startup": "{\r\n    \"done\": \"Connection to Steam servers successful\",\r\n    \"userInteraction\": []\r\n}",
 | 
					        "startup": "{\r\n    \"done\": \"Connection to Steam servers successful\",\r\n    \"userInteraction\": []\r\n}",
 | 
				
			||||||
@ -58,15 +58,6 @@
 | 
				
			|||||||
            "user_viewable": 1,
 | 
					            "user_viewable": 1,
 | 
				
			||||||
            "user_editable": 0,
 | 
					            "user_editable": 0,
 | 
				
			||||||
            "rules": "required|numeric|digits_between:1,5"
 | 
					            "rules": "required|numeric|digits_between:1,5"
 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            "name": "Max Players",
 | 
					 | 
				
			||||||
            "description": "Maximum amount of players that can connect to the server.",
 | 
					 | 
				
			||||||
            "env_variable": "MAX_PLAYERS",
 | 
					 | 
				
			||||||
            "default_value": "18",
 | 
					 | 
				
			||||||
            "user_viewable": 1,
 | 
					 | 
				
			||||||
            "user_editable": 0,
 | 
					 | 
				
			||||||
            "rules": "required|numeric|digits_between:1,2"
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user