-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathminecontrol.init.5
More file actions
72 lines (71 loc) · 4.39 KB
/
minecontrol.init.5
File metadata and controls
72 lines (71 loc) · 4.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.TH minecontrol.init 5
.SH NAME
minecontrol.init \- minecontrol Minecraft server initialization file
.SH DESCRIPTION
The \fI/etc/minecontrold/minecontrol.init\fR file controls properties of the Minecraft servers managed by a minecontrol server. This file does
NOT apply settings for the minecontrol server (\fBminecontrold\fR(1)). The minecontrol server reads this file before starting any Minecraft
server, therefore it may be changed at any time. This file is not required for the minecontrol server to run but allows behavior to be customized.
The file format is line oriented, with a '#' symbol introducing a comment-line. Each line follows the format:
.RS
\fIproperty\fR=\fIkey\fR
.RE
Whitespace may be included as part of the property-name or property-key.
.SH PROPERTIES
.TP
\fBexec\fR=\fI/path/to/java\fR
The \fBexec\fR property tells the minecontrol server what program to launch in response to a \fBSTART\fR command (see \fBminecontrol\fR(1)). This should
be the Java virtual machine program. This property defaults to \fB/usr/bin/java\fR if not specified.
.TP
\fBprofile\fR=\fIprofile-name\fR:\fIarguments\fR ...
The \fBprofile\fR property is used to specify a command\-line for the Minecraft
server process. You are allowed to specify any number of \fBprofile\fR lines in
the file. Each line begins with the profile name, followed by a colon. The rest
of the line is the command-line. Each argument is separated by whitespace. The
program name is not to be specified and is inserted by the minecontrol server
using the \fBexec\fR property value. Here's an example value:
.RS
.RS
\-Xmx1024M \-Xms1024M \-jar /path/to/minecraft_server.jar nogui
.RE
.RE
.RS
Of course, you will need to point to the correct Minecraft server jarfile based
on your system configuration. Ideally you should create profiles that align with
Minecraft major versions so you can run multiple versions of Minecraft server
simultaneously.
.RE
.TP
\fBdefault-profile\fR=\fIprofile-name\fR
The \fBdefault-profile\fR property is used to specify which profile is to be
selected by default when creating a new server. The default profile is only
selected if the client does not specify a profile.
.TP
\fBserver\-time\fR=\fIhours\fR
The \fBserver\-time\fR property specifies the default time\-limit (in hours) for any Minecraft server process. When the time expires, the minecontrol server will shutdown the Minecraft server. The user may override this property if they specify it. The default
time is 4 hours.
.TP
\fBmax\-servers\fR=\fInumber\fR
The \fBmax\-servers\fR property specifies the maximum number of Minecraft server processes that the minecontrol server is to manage. The default value is a large
value permitting virtually unlimited Minecraft server processes.
.TP
\fBshutdown\-countdown\fR=\fIseconds\fR
The \fBshutdown\-countdown\fR property specifies the number of seconds allowed for a Minecraft server process to terminate. If this time period expires before the
Minecraft server process quits, then the server process is forcefully sure-killed. The default value is 30 seconds.
.TP
\fBalt\-home\fR=\fI/alternate/home/path\fR
The \fBalt\-home\fR property specifies an alternate home directory for users who login to the minecontrol server. This means that Minecraft server data will be stored
within a user-directory that is a subdirectory of the alt\-home path. By default, minecontrol uses the home directory specified in the system password file; thus
the default value of this property is empty. If this property is specified, then the new user home directory becomes: $ALT_HOME/$USERNAME. The minecontrol server
creates a minecraft directory within the user's home directory. Each server is stored as a subdirectory of this $HOME/$USER/minecraft directory.
.TP
\fBdefault\-\fIproperty\-name\fR=\fIproperty-value\fR
Assigns a server.properties property with name \fIproperty-name\fR the value \fIproperty-value\fR. This action only takes place if the Minecraft server is being
created and if the user did not specify the property when creating the server.
.TP
\fBoverride\-\fIproperty\-name\fR=\fIproperty-value\fR
Assigns a server.properties property with name \fIproperty-name\fR the value \fIproperty-value\fR. This action only takes place if the Minecraft server is being
created. The property will always override whatever the user may have specified.
.SH AUTHOR
Written by Roger P. Gee <rpg11a@acu.edu>
.SH SEE ALSO
\fBminecontrol\fR(1), \fBminecontrold\fR(1), \fBminecontrol.exec\fR(5)