Version information
released Nov 29th 2012
Start using this module
Add this module to your Puppetfile:
mod 'branan-minecraft', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
branan/minecraft — version 1.0.0 Nov 29th 2012
Puppet Module for Minecraft
puppet-minecraft
installs and configures your Minecraft server with Puppet!
Usage
The simplest possible usage is
class { 'minecraft': }
Parameters are available which control how the Minecraft installation behaves:
user
: The user account for the Minecraft servicegroup
: The user group for the Minecraft servicehomedir
: The directory in which Minecraft stores its datamanage_java
: Should this module manage thejava
package?manage_screen
: Should this module manage thescreen
package?manage_curl
: Should this module manage thecurl
package?heap_size
: The maximum Java heap size for the Minecraft service in megabytesheap_start
: The initial Java heap size for the Minecraft service in megabytes`
Server configuration
Full configuration of the Minecraft server is supported. Simply use
the minecraft::server_prop
type.
minecraft::server_prop { 'spawn-monsters':
value => 'true'
}
Consult your favorite Minecraft resource for the full list of server properties.
Managing players
This module includes several Puppet defines to allow managing the players on your server
minecraft::op { $player: }
: Add$player
to the auto-op listminecraft::whitelist { $player: }
: Add$player
to the server whitelistminecraft::ban { $player: }
: Add$player
to the server ban listminecraft::ipban { $ipaddr: }
: Add$ipaddr
to the server ip-ban list
Dependencies
- branan/s3file (>= 1.0.0)
- puppetlabs/stdlib (>= 2.2.0)
- puppetlabs/java (>= 0.1.6)