Updating GenisysPro - GenisysPro/GenisysPro GitHub Wiki

Updating GenisysPro

  1. If GenisysPro is still running on your server, use /stop to stop it. If you are running loop, press Ctrl+C to escape the loop.
  2. Download a new version of GenisysPro PHAR file, and replace the old GenisysPro.phar on your server.
  3. Run the start script. Your server will run the new GenisysPro build.

Updating genisys.yml

If any new setting has been added to genisys.yml, you will see the following message during start-up:

[Server thread/NOTICE]: Your genisys.yml needs update
[Server thread/NOTICE]: Current Version: 27   Latest Version: 28

To update genisys.yml, please follow these steps:

  1. If GenisysPro is still running on your server, use /stop to stop it. If you are running loop, press Ctrl+C to escape the loop.
  2. If you want to migrate your settings, rename or move your existing genisys.yml, or delete genisys.yml if you want to have a fresh start.
  3. Run the start script. If you want to migrate your settings, do not start running loop yet. A new version of genisys.yml will be put in your GenisysPro installation folder automatically.

Migrating your settings

  1. Compare your old genisys.yml with the new one, copy and paste new settings to your old genisys.yml, then bump the version of your old genisys.yml by editing:
config:
 version: 28
  1. Change the new settings if you want.
  2. Stop your server using /stop command.
  3. Delete the new genisys.yml, rename or move your old genisys.yml back to the original state.
  4. Run the start script. Your server will run with your previous configurations and new settings.