Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Migration from the Free Version

kangarko edited this page Oct 13, 2017 · 4 revisions

Upgrading from the free version is totally possible. It is highly advised to make a backup of the entire ChatControl/ folder.

  1. settings.yml and chat.yml cannot be updated automatically. Those files will be renamed to old_settings.yml and old_chat.yml file. You will not loose any data.
  2. Your variables needs to be edited manually, because the old syntax (%variable%) has been changed to ({variable}) back in v6.7.0. See below.

Migration Guide using Notepad++

Migration Guide Image

  1. RED: Open the file with your variables. Press CTRL + F to open the 'Find and Replace' window. Open the 'Replace' section.
  2. ORANGE: Adjust the settings in the window exactly as they appear on the picture above.
  3. YELLOW: Write the following into the fields:

'Find what' field:

(%(\w+))

'Replace with' field:

{$2}

  1. GREEN: Hit the 'Replace' button (make sure you see if the change has been correct!) and repeat until all variables are replaced.

  2. Repeat on every file in ChatControl folder (settings.yml, handlers.yml, chat.yml, files in the 'rules/' folder and variables/javascript.txt file). This is the most safe way to upgrade your variables, and it should take less then 5 minutes. If you are having custom localization you'll also need to upgrade your variables in 'localization/' folder.