Installation

From Hopmod Wiki

Jump to: navigation, search

Contents

Supported Operating Systems

  • Linux
  • FreeBSD

Required Dependencies

Name Description Download page URL Ubuntu Package Name
CMake Build system Download cmake
GeoIP IP address to country lookup database Download libgeoip-dev
SQLite3 Database engine sqlite-3.7.0.tar.gz (source) libsqlite3-dev
ZLib Data compression library zlib-1.2.5.tar.gz (source) zlib1g-dev

Download the Source Code

svn checkout http://hopmod.googlecode.com/svn/trunk/ hopmod

Build and Install

mkdir release-build
cd release-build
cmake ..
make
make install

Configuration

The server configuration file exists at conf/server.conf.

Essential Server Variables

Name Default Value Description
serverip "0.0.0.0" Game server listen address
serverport 28785 Game server listen port
servername "" A name to identify your server that will appear on the server browser
maxplayers 8 Maximum number of client connections
admin_password "" Used to gain admin status in-game by typing /setmaster <admin_password>. (See alternative: The #admin command)

Game Customization Variables

Name Default Value Description
default_gamemode "ffa" The game mode used for the first game
default_game_on_empty 1 Switch back to default game mode when the server goes empty
allowed_gamemodes <all> List of acceptable game modes that players can vote for
allow_mapvote 1 Ban map voting by setting this var to 0
use_best_map_size 0 Next map is chosen for its appropriate size based on the number of players
use_server_random_maprotation 0 Next map is randomly chosen
mapvote_disallow_unknown_map 1 Disallow map votes for maps not found in the current game-mode's map rotation list

The map rotation lists are located in conf/maps.conf

Server Configuration Examples

Startup and Shutdown

./bin/server

To immediately shutdown the server:

./bin/server stop

Support

If you're having any problems installing or configuring Hopmod feel free to drop by our IRC channel at #hopmod on the Gamesurge IRC network and we'll help you out.

See Also

Personal tools