Skip to content

dulrich/floxel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

floxel

Simple voxel based strategy game engine

Running the Server

Setup floxel or another host name in your /etc/hosts and create a matching web server. If you use a host other than floxel you will need to update the value of S.server in settings.js. For example in nginx:

server {
	server_name floxel;
	
	location / {
		alias /code/floxel/;
	}
	
	location /server/ {
		proxy_pass         http://127.0.0.1:1337/;
		proxy_redirect     off;
	#	proxy_buffering off;
		proxy_set_header   Host             'floxel';
		proxy_set_header   X-Real-IP        $remote_addr;
		proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
		proxy_max_temp_file_size 0;
	}
}

Then, run the map server: node server/server.js

license

Floxel is copyright (C) 2014 - 2015 David Ulrich.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Simple voxel based strategy game engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published