puppet-minecraft
installs and configures your Minecraft server with Puppet!
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`
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.
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