chris_61

Untitled

Jul 27th, 2015
257
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [multicraft]
  2. ## The daemon will run under this user (not used for Windows)
  3. user = minecraft:minecraft
  4. ## Directories created by Multicraft will have the owner set to
  5. ## the user and the group set to the webUser (not used for Windows)
  6. ## default: same as "user"
  7. webUser = www-data:www-data
  8.  
  9. ## The daemon will listen on the following IP/port.
  10. ## 0.0.0.0 to listen on all available interfaces (all IPs). Note that
  11. ## you will have to use the "externalIp" setting below if you set this
  12. ## to 0.0.0.0 as the control panel needs to know where to connect.
  13. ip = 0.0.0.0
  14. port = 25465
  15.  
  16. ## If the external address is different from the listen address
  17. ## you can set the external address here. This setting will be saved
  18. ## to the DB and used by the control panel to connect to the daemon.
  19. ## default: same as "ip"
  20. externalIp = xx.xxx.x.xx
  21.  
  22. ## The connection password for daemon communication
  23. ## !! Change this when you set Multicraft to listen on a public IP !!
  24. ## The same password will have to be put in the panels "daemon.php"
  25. #password = none
  26.  
  27. ## Remote IP restrictions for daemon connections. This is a comma separated
  28. ## list of IPs that are allowed to connect to this daemon. Empty for all
  29. ## remote IPs allowed.
  30. ## default: empty
  31. #allowedIps = 127.0.0.1
  32.  
  33. ## The daemon ID. Only used for reseller edition to assign servers to daemons
  34. ## Running multiple servers with the same IDs can cause unpredictable behavior
  35. ## Valid values: 1, 2, ..., 10
  36. #id = 1
  37.  
  38. ## The database containing daemon
  39. ## default: sqlite:data.db (-> "baseDir"/"dataDir"/data.db)
  40. database = sqlite:daemon.db
  41. ## Example for MySQL connections:
  42. #database = mysql:host=127.0.0.1;dbname=multicraft_daemon
  43. #dbUser = youruser
  44. #dbPassword = yourpassword
  45. #dbCharset = utf8
  46.  
  47. ## A name for this daemon, this is optional
  48. ## default: Multicraft Daemon
  49. #name =
  50.  
  51. ## The amount of memory available to this daemon in MB. This setting mainly
  52. ## serves informational purpose for display in the control panel and
  53. ## for the API to decide if this daemon can still run more servers.
  54. ## 0 means undefined
  55. ## default: 0
  56. #totalMemory =
  57.  
  58. ## The base directory of the multicraft install. Relative to the users
  59. ## home directory or absolute. Must exist.
  60. ## default: multicraft (-> /home/"user"/multicraft)
  61. baseDir = ./multicraft
  62. ## The directory the daemon binaries reside in
  63. ## default: bin (-> "baseDir"/bin)
  64. daemonDir = bin
  65. ## The data directory. Contains the database, socket, log and
  66. ## must be accessible by the control panel user if using a SQLite DB
  67. ## default: data (-> "baseDir"/data)
  68. dataDir = ./data
  69. ## The directory jar files can be placed in
  70. ## default: jar (-> "baseDir"/jar)
  71. jarDir = jar
  72. ## The directory containing all the servers. Users can be given access
  73. ## to specific subdirectories containing their server data
  74. ## default: servers (-> "baseDir"/servers)
  75. serversDir = servers
  76. ## The following files contain daemon specific data.
  77. ## The paths specified are relative to "baseDir"
  78. pidFile = multicraft.pid
  79. logFile = multicraft.log
  80. licenseFile = multicraft.key
  81. scriptsFile = scripts.conf
  82.  
  83. ## Note that for all of the above settings where a file or directory is
  84. ## indicated you can also use absolute paths (/dir), home-relative
  85. ## paths (~/dir) or relative paths (./dir or ../dir). "dir" stands for
  86. ## the setting you're editing.
  87. ## When not using absolute/relative paths the setting is taken to be
  88. ## relative to the home directory of the user configured by the "user"
  89. ## setting.
  90. ## Examples:
  91. ## - Changing "baseDir" to ./multicraft will cause multicraft to search
  92. ## all the files in a subdirectory "multicraft" of the directory it's
  93. ## called from
  94. ## - Changing "logFile" to ~/multicraft.log will cause Multicraft to log
  95. ## everything to the file multicraft.log in the home directory of the
  96. ## user configured by the "user" setting
  97.  
  98. ## The maximum size of one logfile after which the log will be rotated
  99. ## default: 20971520 (20 MB)
  100. logSize = 20971520
  101.  
  102. ## The number of log files to keep (multicraft.log.1 ... multicraft.log.X)
  103. ## default: 9
  104. logCount = 9
  105.  
  106. ## Synchronize log writes. Disabling this will improve performance at the
  107. ## risk of having some log entries overlap.
  108. ## default: true
  109. #logSync = false
  110.  
  111. ## Use thesyslog facility instead of logging to a file.
  112. ## default: false
  113. #logSyslog = true
  114.  
  115. ## The syslog facility to log to. Possible values: auth, cron, daemon,
  116. ## kern, lpr, mail, news, security, syslog, user, uucp, local10-17
  117. ## default: daemon
  118. #logFacility = daemon
  119.  
  120. ## Delay between server auto-starts in milliseconds.
  121. ## default: 750
  122. autostartDelay = 750
  123.  
  124. ## A list of section names in .conf files that can safely be defined
  125. ## or overridden by users. Note that this is just a default value that
  126. ## can itself be overridden in the .conf files in the daemon directory.
  127. ## Use * to allow all sections or a regular expression matching allowed
  128. ## sections only.
  129. ## default: ^(encoding|commands|parse_.+)$
  130. #safeConfSections = ^(encoding|commands|parse_.+)$
  131.  
  132. [useragent]
  133. ## The path to the Multicraft useragent. This program is used in
  134. ## multiuser mode to access user files.
  135. ## default: bin (-> "baseDir"/bin, same as daemonDir)
  136. #userAgentDir = bin
  137. ## The executable of the Multicraft useragent. Note that a config
  138. ## file with the same name as this setting (plus .conf) will be
  139. ## generated next to this file.
  140. ## default: launcher (-> "baseDir"/"userAgentDir"/useragent)
  141. #userAgentFile = useragent
  142. ## The minimum allowed user and group IDs for server users
  143. ## default: 100
  144. #userAgentMinUid = 100
  145. #userAgentMinGid = 100
  146. ## The script to run when a server is being prepared. The path is
  147. ## relative to the userAgentDir.
  148. ## NOTE: This script will be run as the superuser.
  149. ## default: empty
  150. #userAgentSuperuserPrepare =
  151. ## The script to run when a server is being prepared. The path is
  152. ## relative to the baseDir.
  153. ## default: empty
  154. #userAgentPrepare =
  155. ## Various useragent configuration options
  156. #userAgentCp = /bin/cp
  157. #userAgentCpOpts = --preserve=mode,timestamps
  158. #userAgentUnzip = /usr/bin/unzip
  159. #userAgentUnzipOpts = -qql
  160. #userAgentUnzipRe = ^(?:\s+[^\s]+){3}\s+(.*)$
  161.  
  162.  
  163. [launcher]
  164. ## The path to the Multicraft launcher. This launcher program enables
  165. ## Multicraft to run servers that need a console to run correctly.
  166. ## default: launcher (-> "baseDir"/launcher)
  167. #launcherDir = launcher
  168. ## The executable of the Multicraft launcher
  169. ## default: launcher (-> "baseDir"/"launcherDir"/launcher)
  170. #launcherFile = launcher
  171.  
  172. ## Integrated FTP server settings
  173. [ftp]
  174. ## Wheter or not to enable the integrated FTP server, true/false
  175. ## default: true
  176. enabled = true
  177. ## IP to listen on for FTP connections, uncomment to use the same as
  178. ## for the daemon.
  179. ## 0.0.0.0 means listening on all available interfaces (all IPs)
  180. ## default: same as the "ip" setting for the daemon, see above
  181. ftpIp = 0.0.0.0
  182. ## See the descriptions of "externalIp" and "ip" for the daemon above
  183. ## default: same as "externalIp" if "ftpIp" is "0.0.0.0" otherwise "ftpIp"
  184. ftpExternalIp = xx.xxx.x.xx
  185. ## Masquerade IP address to use for passive FTP connections when
  186. ## Multicraft is running behind a router.
  187. ## default: empty
  188. #ftpNatIp =
  189. ## A port range to use for passive data transfers. If this is not
  190. ## specified the FTP server will use random ports.
  191. ## Format: 4000-8000
  192. ## default: empty
  193. ftpPasvPorts = 16000-20000
  194. ## Port to listen on for incoming FTP connections. Change this to
  195. ## something else if you are already running an FTP server on this
  196. ## system.
  197. ## default: 21
  198. ftpPort = 21
  199. ## Regular expression matching files that can't be manipulated by
  200. ## users in any way. If you want users to be able to upload their own
  201. ## plugins instead of using the ones you provide for them you can
  202. ## just comment this option out.
  203. ## default: empty
  204. #forbiddenFiles = \.(jar|exe|bat|pif|sh)$
  205.  
  206. ## Minecraft default settings
  207. [minecraft]
  208. ## The default amount of reserved memory
  209. ## default: 1024
  210. memory = 1024
  211. ## The name of the java executable
  212. ## default: java
  213. java = C:\Program Files\Java\jre1.8.0_40\bin\java.exe
  214. ## The jar file to use. This file will be looked for in the "base"
  215. ## directory as configured above
  216. ## default: minecraft_server.jar
  217. jar = minecraft_server.jar
  218.  
  219. ## Backup settings
  220. [backup]
  221. ## The command to run a backup. The following variables can be used:
  222. ## - {WORLD} The name of the world being backed up
  223. ## - {SERVER_DIR} The directory of the server (working directory)
  224. ## - {MULTICRAFT_DIR} The Multicraft base directory ("baseDir" above)
  225. ## - {BASE_DIR} The directory containing all the servers ("serversDir above")
  226. ## Note that the resulting files is expected to be named "{WORLD}-tmp.zip"
  227. command = /usr/bin/zip -qr "{WORLD}-tmp.zip" . -i "{WORLD}"*/*
  228. ## The same setting for Windows systems
  229. commandWin = "{MULTICRAFT_DIR}\bin\zip.exe" -qr "{WORLD}-tmp.zip" "{WORLD}"*/
  230.  
  231. ## System settings
  232. [system]
  233. ## Most of the settings below are for Linux only
  234.  
  235. ## Whether or not to use one system user per Minecraft server.
  236. ## This is recommended if you let your users upload untrusted executables.
  237. ## Note that for every server a new system user is automatically created
  238. ## if this option is enabled (user name format and commands configured below).
  239. ## default: false
  240. #multiuser = true
  241.  
  242. ## Display the output of this command in the panel under
  243. ## "Settings"->"Multicraft Status"
  244. ## default: empty
  245. infoCmd = uptime
  246. infoCmdWin =
  247.  
  248. ## The name format for new users, the following variables can be used:
  249. ## - {ID} The server ID
  250. ## default: mc{ID}
  251. userFormat = mc{ID}
  252. ## The name format for new groups, the following variables can be used:
  253. ## - {ID} The server ID
  254. ## - {USER} The full username
  255. ## default: same as userFormat
  256. #groupFormat = {USER}
  257.  
  258. ## The commands to create and delete system users and groups
  259. ## The following variables can be used:
  260. ## - {USER} The full username
  261. ## - {GROUP} The full groupname
  262. ## - {ID} The server ID
  263. ## - {DIR} The server base directory, used as the users home
  264. ## These commands cannot contain escaped quotes or empty arguments
  265. addUser = /usr/sbin/useradd -c "Multicraft Server {ID}" -d "{DIR}" -g "{GROUP}" -s /bin/false "{USER}"
  266. addGroup = /usr/sbin/groupadd "{GROUP}"
  267. delUser = /usr/sbin/userdel "{USER}"
  268. delGroup = /usr/sbin/groupdel "{GROUP}"
  269.  
  270. ## Regular expression for filtering file names. Any match gets replaced by "_".
  271. ## Warning: Changing this is potentially dangerous
  272. ## default: [\\/<>:|*?"'&;$~%\0]
  273. #fileFilter = [\\/<>:|*?"'&;$~%\0]
  274.  
  275. ## The command to unpack a zip file. The following variables can be used:
  276. ## - {FILE} The name of the zip archive to restore
  277. unpackCmd = /usr/bin/unzip -quo "{FILE}"
  278. ## The same setting for Windows systems
  279. unpackCmdWin = "{MULTICRAFT_DIR}\bin\unzip.exe" -quo "{FILE}"
RAW Paste Data