SpaceManiac/Glowstone — pull request #146 by JeromSar (2014-09-04 14:40:41+00:00)
Title: Added various command-line options

Created a foundation for adding more options.
Currently implemented: --port, --host and --onlinemode

Some server hosters, especially those who have payment options on a per-slot basis, customize runtime parameters to restrict server owners from exceeding their limits. Glowstone currently has limited support for command line options.

This commit adds a foundation for command-line options and implements --host, --port and --onlinemode

This commit also formats the help message that it shown when running GlowStone with the --help switch.

Lastly, some code cleanup and refractoring is also included in this commit.