Configuration - smithy212000/PortMiner GitHub Wiki

PortMiner Configuration

As of PortMiner 5.2, the properties file (used as config) is located in a directory named PortMiner in the AppData on Windows, and the home directory for Linux or OSX. The file can be opened and edited with Notepad.

Most of these values shouldn't need to be changed, and should work as default.

Some of the default values may not match your PortMiner configuration, this is because PortMiner, or you, have likely changed them.

Configuration values

Parameter Default Value Description
xms 256 JVM environment parameter, the initial amount of RAM allocated to the server.
xmx 1024 JVM environment parameter, the maximum amount of RAM available to the server.
maxpermsize 64 Not really needed anymore, was useful for when a server had lots of plugins.
port 25565 The port that PortMiner will open. Make sure this matches what the server is running on.
internal-ip 0.0.0.0 What IP PortMiner should forward the opened ports to. Only set if find-ip is false.
find-ip true Tells PortMiner to attempt to automatically get the internal IP. Only disable if PortMiner gets an incorrect IP, or you wish to use another address.
server-jar minecraft_server.jar The location of the jarfile PortMiner will run. This will likely be different from the default as PortMiner may ask you to set it on startup.
run-server true Tells PortMiner to run the Minecraft server. Set this to false if you want PortMiner to just open the ports to run another server (eg. Gmod)
run-server-false-protocol TCP What protocol should be opened on the port. You only need to set this if run-server is false and you are running a server other than Minecraft.
plugin-support false If set to true, PortMiner will open a second port specified with plugin-port. This is useful for plugins such as Dynmap.
plugin-port 8080 If using plugin-support, set this to the port the plugin requires to be opened.
plugin-protocol TCP If using plugin-support, set this to the port the plugin requires, which is most likely TCP.
safe-close true Avoid changing this, tells PortMiner if when last ran, it safely closed.
config-version 1.1 Manually changing this could cause PortMiner to delete your configuration. Best to leave it.