Skip to content

Puppet module for installing and managing a Vanilla Minecraft Server (1.7.x)

License

Notifications You must be signed in to change notification settings

stefanvanwouw/puppet-minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

puppet-minecraft

Puppet module for installing and managing a (Vanilla) Minecraft Server (1.7.x).

Example Usage

Add this in your /etc/puppet/manifests/site.pp. All possible options and defaults are found in manifests/init.pp and manifests/defaults.pp respectively.

If you use the https://github.com/puppetlabs/puppetlabs-firewall module (i.e. if class['firewall'] is defined), the module will also add firewall rules automatically based on your $open_rcon_port, $open_query_port and $open_server_port settings.

node 'hostname' {
    class {'minecraft':
        jar_url             => 'https://s3.amazonaws.com/Minecraft.Download/versions/1.7.4/minecraft_server.1.7.4.jar',
        min_memory          => '800M',
        max_memory          => '900M',
        level_name          => 'Berrybridge',
        difficulty          => 3,
        level_seed          => '-840222844129379185',
        op_permission_level => 4,
        server_name         => 'The Experiment',
        motd                => '&1Experiments',
        white_list          => true,
        max_players         => 30,
        enable_rcon         => true,
        rcon_password       => 'abcdefgh876543210',
        open_rcon_port      => false,
    }
}

About

Puppet module for installing and managing a Vanilla Minecraft Server (1.7.x)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages