(svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use 
scripts/pre_dedicated.scr)
			
			
This commit is contained in:
		
							
								
								
									
										2
									
								
								scripts/pre_dedicated.scr.example
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								scripts/pre_dedicated.scr.example
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
set server_ip 0.0.0.0
 | 
			
		||||
set server_port 3979
 | 
			
		||||
							
								
								
									
										1
									
								
								scripts/pre_server.scr.example
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								scripts/pre_server.scr.example
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
set server_port 3979
 | 
			
		||||
@@ -6,6 +6,8 @@ OpenTTD supports scripts.
 | 
			
		||||
 - 'on_client.scr' is executed when you join a server as client
 | 
			
		||||
 - 'on_server.scr' is executed when you start a server / dedicated server
 | 
			
		||||
 - 'on_dedicated.scr' is additionally executed when you start a dedicated server
 | 
			
		||||
 - 'pre_server.scr' is executed before the server is started
 | 
			
		||||
 - 'pre_dedeicated.scr' is additionally executed when you start a dedicated server
 | 
			
		||||
 | 
			
		||||
For examples how a script can look, check the .example examples.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user