msm/CHANGELOG.markdown
2012-08-08 01:33:04 +01:00

18 KiB

Minecraft Server Manager

Visit https://github.com/marcuswhybrow/minecraft-server-manager for more information.

Maintainers:

Change Log

0.7.5

  • Fixed issue [#69][#69] where pressing tab after msm config or msm start would disconnect the terminal session.

0.7.4

  • Fixed issue #64 where using server name all and tab completing caused the terminal to exit.

0.7.3

  • Fixed global stop and start commands from failing since 0.7.0.

0.7.2

  • Fixed several bugs where the server username was not being used. Affected the msm <server> worlds backup, msm <server> cmd and msm <server> cmdlog commands.

0.7.1

  • Fixed issue #54 where setting a server's jar file would fail to create the symbolic link.

0.7.0

  • Added /etc/profile.d/msm.sh support. Define environment variables there, and both MSM and bash completion scripts will see it. At this point you can add the MSM_SCRIPT and MSM_CONF environment variables to tell MSM where you have installed your MSM files:
    • Add export MSM_SCRIPT="/path/to/msm" if you have changed it from /etc/init.d/msm.
    • Add export MSM_CONF="/path/to/msm.conf" if you have changed it from /etc/msm.conf.
  • Added some simple stopped server unit tests for half the commands.
  • Refactored config property loading to be "lazy". Speeds up all commands by only loading from file what is needed.
  • Improved whitelist, operator, player ban, ip ban, gamemode and kick commands to support multiple space-separated users.
  • Improved whitelist, operator, player ban and ip ban commands to also work when the server is stopped.
  • Improved MSM script speed for BASH 4 users (loading config properties is now much faster.)
  • Improved BASH completion to also use default settings specified in MSM.
  • Removed use of subshells in script (using less means faster code.)

0.6.4

  • Closes issue #25 by improving the msm <server> start command to be more robust. It now alerts the user when the server jar to be started cannot be found, and prints out dots for each log line created during startup. The absence of these dots make it simple to spot a hanging server.
  • Fixed a bug with the msm <server> say command, where it would only accept 2 or more arguments.

0.6.3

  • Improved the msm server list command to show active/inactive and running/stopped statuses. Thanks to oldman,j's suggestion.

0.6.2

  • Fixed issue #49 where, probably since 0.6.0, active files where not being created upon server start.

0.6.1

  • Fixed test.sh to use new settings names.

0.6.0

  • Added new command msm config which displays a key value list of all MSM settings in use. Useful for transparency.
  • Improved msm <server> config <setting> <value> to list all MSM settings for a server when arguments are omitted.
  • Updated bash completion script for new commands.
  • Refactored the way settings are added globally and for individual servers, making development far simpler.
  • Changed several setting names in /etc/msm.conf:
    • DEFAULT_SERVER_USER is now DEFAULT_USERNAME
    • DEFAULT_LOG is now DEFAULT_LOG_PATH
    • DEFAULT_PROPERTIES is now DEFAULT_PROPERTIES_PATH
    • DEFAULT_WHITELIST is now DEFAULT_WHITELIST_PATH
    • DEFAULT_BANNED_PLAYERS is now DEFAULT_BANNED_PLAYERS_PATH
    • DEFAULT_BANNED_IPS is now DEFAULT_BANNED_IPS_PATH
    • DEFAULT_OPS is now DEFAULT_OPS_PATH
    • DEFAULT_JAR is now DEFAULT_JAR_PATH
    • DEFAULT_STOP_MESSAGE is now DEFAULT_MESSAGE_STOP
    • DEFAULT_STOP_ABORT is now DEFAULT_MESSAGE_STOP_ABORT
    • DEFAULT_RESTART_MESSAGE is now DEFAULT_MESSAGE_RESTART
    • DEFAULT_RESTART_ABORT is now DEFAULT_MESSAGE_RESTART_ABORT
    • DEFAULT_WORLD_BACKUP_STARTED is now DEFAULT_MESSAGE_WORLD_BACKUP_STARTED
    • DEFAULT_WORLD_BACKUP_FINISHED is now DEFAULT_MESSAGE_WORLD_BACKUP_FINISHED
    • DEFAULT_COMPLETE_BACKUP_STARTED is now DEFAULT_MESSAGE_COMPLETE_BACKUP_STARTED
    • DEFAULT_COMPLETE_BACKUP_FINISHED is now DEFAULT_MESSAGE_COMPLETE_BACKUP_STARTED
  • Those same name changes also effect server.properties files:
    • msm-server-user is now msm-username
    • msm-log is now msm-log-path
    • msm-properties is now msm-properties-path
    • msm-whitelist is now msm-whitelist-path
    • msm-banned-players is now msm-banned-players-path
    • msm-banned-ips is now msm-banned-ips-path
    • msm-ops is now msm-ops-path
    • msm-stop-message is now msm-message-stop
    • msm-stop-abort is now msm-message-stop-abort
    • msm-restart-message is now msm-message-restart
    • msm-restart-abort is now msm-message-restart-abort
    • msm-world-backup-started is now msm-message-world-backup-started
    • msm-world-backup-finished is now msm-message-world-backup-finished
    • msm-complete-backup-started is now msm-message-complete-backup-started
    • msm-complete-backup-finished is now msm-message-complete-backup-finished
  • The config wiki page is now updated with all of these new setting names for reference.

0.5.2

  • Fixed issue #47 where toggling any world's ram status would alwqays effect the first world, alphabetically, instead.

0.5.1

  • Added help text line for msm <server> config command.

0.5.0

  • Added the msm <server> config <setting> <new-value> command. Thanks to merging pull request #46 from @cameroncros.
  • Fixed issue #44 where bash completion failed to work when accessing server conf information.

0.4.3

  • Creating a new server now automatically creates a worldstorage folder with a readme.txt inside.
  • Quotations may now be used to delimit server.properties msm settings.

0.4.2

  • Fixed the msm <server> jar <jar-group> <jar-name> command, which would state the <jar-name> was invalid, when it was not.

0.4.1

  • Fixed issue #37 where the msm stop command would hang. Thanks to merging pull request #38 from @escortkeel.
  • Fixed issue #39 where server jar symlinks were not created. Thanks to merging pull request #40 from @jives.

0.4.0

  • Added the <server> give <player> <item> [amount] [data] command. Closes #34. Thanks to @Vi3GameHkr for the suggestion.
  • Added the <server> xp <player> <amount> command.
  • Fixed the gamemode, cmd and cmdlog server commands again. They now accept multiple arguments as intented.

0.3.4

  • Fixed the gamemode, cmd and cmdlog server commands. They were not previously accessable.

0.3.3

  • Fixed [#33][#33], by not assuming there are three invisible characters at the end of every log line.
  • Fixed function names which were accidently converted to uppercase.

0.3.2

  • Removes an erroneous debug statement. Fixes #32

0.3.1

  • Prevented DEFAULT_SERVER_CONF from being a required setting.

0.3.0

  • Closes #22, by merging server.conf into server.properties.
  • Removed the DEFAULT_SERVER_CONF setting from /etc/msm.conf.

0.2.16

  • Improved the msm <server> worlds ram <world> command to insist the server is stopped.
  • Refactored global variables to be uppercase. This avoids name clashes.

0.2.15

  • Improved the removal of new line characters when reading Minecraft log files. Closes #19

0.2.14

  • Improved checks done before reading server files. Closes #20.

0.2.13

  • Fixed the msm <server> restart, msm <server> operator remove, msm <server> time set and msm <server> time add commands.

0.2.12

  • Fixed msm <server> stop command. Which would fail for server's not first in the list.

0.2.11

  • Improved substring approach, which failed on some systems.

0.2.10

  • Fixed issue #28. Which prevented the msm jargroup delete command working.
  • Fixed a typo in the msm version help text.

0.2.9

  • Fixed issue #23 which caused commands to fail registration on some systems.

0.2.8

  • Improved command registration to provided more accurate error messages if a command cannot be registered.
  • Improved Travis CI to only test the master branch.

0.2.7

  • Refactored commands such that they are now registered using a function, rather than one huge swith/case statement.

0.2.6

  • Added the "all" keyword which can be used to execute a command for all servers. Closes #16
  • Added Travis CI integration for per commit unit testing.
  • Improved command error messages to give specific command errors. Closes issue #10.
  • Fixed issue #15 which left a "tail" command process running after certain commands.

0.2.5

  • Added test.sh, a script which runs shunit2 unit tests.
  • Added test coverage for all msm server commands, except coverage involving running servers.
  • Added option to override the configuration file used by the MSM script by specifying its path in the MSM_CONF environment variable.
  • Added Explanatory exit codes for the MSM script (currently 0 and 64-73).
  • Improved server creation to not require the "minecraft" jar group to be present.
  • Fixed issue [#14][#14] which prevented world names including spaces.
  • Fixed a bug listing servers when there were none.
  • Fixed a bug where server names containing reserved names anywhere where considered invalid.

0.2.4

  • Fixes issue #11. Now running server's cannot be renamed, preventing not being able to stop a server renamed whilst running.

0.2.3

  • Fixed issues #12 and #13 thanks to @Jonek01, which prevented the first loaded server from having the correct path, and prevented the same for the first loaded world.

0.2.2

  • Added msm version command, to check your installation version.

0.2.1

  • Added msm <server> worlds on|off <world> command, which activates and deactives worlds. Inactive worlds don't get backed up, cannot be used by the server, but are included in complete server backups.
  • Added CHANGELOG.markdown.
  • Added error messages preventing script use when a required msm.conf settings is not specified.
  • Removed fallbacks for settigns not specified in msm.conf.

0.2.0

  • Added bash completion.
  • Altered project layout to feature directories for bash_completion, cron and init files. This is useful for dealing with three files all named msm.
  • Removed msm <server> worlds toram as an accessible command.
  • Fixed a bug preventing WORLD_STORAGE_PATH from being overriden by a server.
  • Fixed error in msm.conf

0.1.3

  • Added error output for the case when creating a symbolic link for a server's world it is found that a file already exists with that name.
  • Added msm <server> operator list command.
  • Added help output for the msm <server> jar command.
  • Improved world backups to be WorldEdit snapshot compatible.
  • Altered "complete server backups" to zip the directory instead of the contents.
  • Removed requiring a server to be running to list whitelisted and blacklisted (banned) players.
  • Fixed a bug preventing worlds from getting backed up.
  • Fixed a bug preventing actions performed upon server worlds.
  • Fixed a bug preventing all server worlds from being moved into or back to disk RAM.
  • Fixed a bug preventing server logs from being rolled correctly.
  • Fixed a bug preventing msm <server> connected from working.
  • Fixed a bug preventing msm <server> jar from working.

0.1.2

  • Added in-game messages, and correct pausing and resuming of Minecraft world saving around world backups.
  • Added "Backup took n seconds." message to world and complete backups.
  • Fixed a bug listing a server's worlds.
  • Fixed a bug when stopping all servers in parallel, where a server might not stop at the correct time.

0.1.1

  • Fixed a bug preventing world links from being created.
  • Fixed a bug where a server stopped as the result of a command would not always be made inactive.

0.1.0

  • Refactored and improved protype code.
  • Transitioned from managing a single to multiple servers.