mcwrapper 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,61 @@
1
+ # Example configuration for mcwrapper: mcwrapper.conf
2
+ # this file can live in any of the following places (in order of priority):
3
+ # - the value of MCWRAPPER_CONFIG_PATH env variable
4
+ # - the current working directory as "mcwrapper.conf"
5
+ # - ~/.mcwrapper.conf
6
+ # - /etc/mcwrapper.conf
7
+ #
8
+ # Configuration is actual Bash. You can use conditionals... not that you would.
9
+
10
+ ## All non-absolute paths are relative to mcwrapper.
11
+
12
+ # MINECRAFT_SERVER_PATH -- path to the minecraft_server.jar
13
+ # default: either minecraft_server.jar in same directory or one level up.
14
+ # MINECRAFT_SERVER_PATH="/usr/local/minecraft/minecraft_server.jar"
15
+
16
+ # JAVA_BIN -- the java binary.
17
+ # default: 'java' binary in your path.
18
+ # change this if you'd like to use a different java binary.
19
+ JAVA_BIN='java'
20
+
21
+ # Java VM settings (increasing these never hurts)
22
+ # these are suggested settings from minecraft.net
23
+ MX_SIZE="1024M"
24
+ MS_SIZE="1024M"
25
+
26
+ # PID_FILE -- where mcwrapper stores the Minecraft server pid.
27
+ # default: mcwrapper.pid
28
+ PID_FILE="mcwrapper.pid"
29
+
30
+ # COMMAND_PIPE -- the mcwrapper FIFO
31
+ # default: command_input
32
+ COMMAND_PIPE="command_input"
33
+
34
+ # Backup configuration:
35
+
36
+ # directory to store backups
37
+ # can be relative or absolute. if relative, it's relative to mcwrapper
38
+ # default: 'backups'
39
+ #BACKUP_DIRECTORY_PATH="backups"
40
+
41
+ # how many backups to keep in the backups directory
42
+ # (we automatically delete old backups)
43
+ # set to -1 to retain ALL backups (never delete)
44
+ # set to 0 to completely disable backups.
45
+ #BACKUPS_TO_KEEP=5
46
+
47
+ # set backup name to
48
+ # +%Y%m%d -- just the datestamp; no time.
49
+ # +%Y%m%d%H%M%S -- full timestamp including hour, minute, second
50
+ #CURRENT_BACKUP_NAME=`date +%Y%m%d%H%M%S`
51
+
52
+ # How to compress the backup
53
+ # leave undefined (commented out) to not use compression
54
+ # accepted values are: tgz, zip
55
+ #COMPRESS_BACKUP='tgz'
56
+
57
+ # Whether to automatically backup when exiting.
58
+ # this is only called when you run `mcwrapper stop`
59
+ # uncomment to backup when exiting.
60
+ # default: ""
61
+ #BACKUP_ON_EXIT=1
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mcwrapper'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "mcwrapper"
8
+ gem.version = MCWrapper::VERSION
9
+ gem.authors = ["Spike Grobstein"]
10
+ gem.email = ["me@spike.cx"]
11
+ gem.description = %q{Control your Minecraft server. start/stop and live backups.}
12
+ gem.summary = %q{Control your Minecraft server. start/stop and live backups.}
13
+ gem.homepage = ""
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+ end
metadata ADDED
@@ -0,0 +1,59 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mcwrapper
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Spike Grobstein
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-30 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Control your Minecraft server. start/stop and live backups.
15
+ email:
16
+ - me@spike.cx
17
+ executables:
18
+ - mcwrapper
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - .gitignore
23
+ - Gemfile
24
+ - Gemfile.lock
25
+ - LICENSE
26
+ - README.markdown
27
+ - Rakefile
28
+ - bin/mcwrapper
29
+ - lib/mcwrapper.rb
30
+ - lib/mcwrapper/version.rb
31
+ - libexec/mcwrapper
32
+ - mcwrapper.conf-example
33
+ - mcwrapper.gemspec
34
+ homepage: ''
35
+ licenses: []
36
+ post_install_message:
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ! '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubyforge_project:
54
+ rubygems_version: 1.8.24
55
+ signing_key:
56
+ specification_version: 3
57
+ summary: Control your Minecraft server. start/stop and live backups.
58
+ test_files: []
59
+ has_rdoc: