PhonicUK Software Wiki
Welcome, Guest | Login
RSS RSS

Navigation





Search the wiki
»

PoweredBy

McMyAdmin Arguments

McMyAdmin supports the following command line arguments:

  • -insane : Prevents McMyAdmin from performing a sanity check on its configuration.
  • -nostart : Don't start the Minecraft server until the user requests that it is started.
  • -configonly : Apply configuration changes as dictated by the command line arguments, but don't start McMyAdmin.
  • -? or -help : Show a list of command line arguments.

You may specify an alternative configuration file for McMyAdmin to load (instead of the default McMyAdmin.conf in its own directory) by simply appending it as an argument.

Examples

Windows:

McMyAdmin.exe -nostart c:\users\user000\McMyAdmin.conf

Linux:

./MCMA2_Linux_x86_64 -nostart /home/user000/McMyAdmin.conf

Settings overrides

Any setting specified in the McMyAdmin.conf file can be overridden via command line arguments. They take the format of:

+key value

Where key is the field being changed (E.g. memory, passwordmd5, javaopts) and value is the accompanying value for that field.

Examples

McMyAdmin.exe -nonotice +java.memory 768 +webserver.passwordmd5 5d41402abc4b2a76b9719d911017c592

./MCMA2_Linux_x86_64 -delay 1000 +security.allowexec 1 +mcmyadmin.backuplimit 14

Overriding settings in server.properties

You can force settings in server.properties using the server.forcesetting setting in McMyAdmin. Using it on the command line works the same as any other setting:

+server.forcesetting setting:value;setting2:value2

For example:

./MCMA2_Linux_x86_64 +server.forcesetting server-port:25568;server-ip:192.168.3.4

This would force the Minecraft server to run on port 25568 listening on IP address 192.168.3.4 regardless of any changes made to server.properties

server.forcesetting is usable as a normal setting in McMyAdmin.conf, you don't have to specify it on the command line but can do if you wish.

Updater Arguments

As of version 0.9.0.0, McMyAdmin has a built in updater to keep itself up-to-date. This is invoked via the normal McMyAdmin executable. The following arguments can be used in addition to the standard arguments listed above.

  • -prerelease : Download and run a prerelease build (if available)
  • -updateonly : Update McMyAdmin, but do not launch it
  • -verbose : List files being unpacked instead of showing a progress bar
  • -delay (milliseconds) : Delay execution by a given number of milliseconds
  • -nonotice : Don't show the confirmation notice on new installations

PhonicUK Wiki ©2011 PhonicUK - Based on ScrewTurn Wiki version 3.0.4.560. Uses icons from FamFamFam. Serving a total of 38 pages.