Add Minecraft/Bedrock/start.sh
This commit is contained in:
		
							parent
							
								
									82d661526d
								
							
						
					
					
						commit
						ccdce4d08b
					
				
					 1 changed files with 24 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								Minecraft/Bedrock/start.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								Minecraft/Bedrock/start.sh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,24 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					cd /home/moddedmc/KidsBedrock || exit
 | 
				
			||||||
 | 
					rm -rf *.zip
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					cp server.properties Master_Copies
 | 
				
			||||||
 | 
					cp permissions.json Master_Copies
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					url=$(curl https://claytonia.net/bedrock_url.txt)
 | 
				
			||||||
 | 
					wget $url
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					unzip -o *.zip
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					rm -rf *.zip
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					rm -f server.properties
 | 
				
			||||||
 | 
					cp Master_Copies/server.properties server.properties
 | 
				
			||||||
 | 
					cp Master_Copies/permissions.json permissions.json
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					LD_LIBRARY_PATH=. ./bedrock_server 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					exit 0
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue