-
Notifications
You must be signed in to change notification settings - Fork 8
Migration from the Free Version
Upgrading from the free version is totally possible. It is highly advised to make a backup of the entire ChatControl/ folder.
- 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.
- Your variables needs to be edited manually, because the old syntax (%variable%) has been changed to ({variable}) back in v6.7.0. See below.
- RED: Open the file with your variables. Press CTRL + F to open the 'Find and Replace' window. Open the 'Replace' section.
- ORANGE: Adjust the settings in the window exactly as they appear on the picture above.
- YELLOW: Write the following into the fields:
'Find what' field:
(%(\w+))
'Replace with' field:
{$2}
-
GREEN: Hit the 'Replace' button (make sure you see if the change has been correct!) and repeat until all variables are replaced.
-
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.
© MineAcademy | Code Unique Minecraft Plugins & Servers In 20 Days
About
Free version
Basics
Understanding
- Channels
- Formatting
- Rules / Filters
- Handlers
- Groups
- JSON
- Discord
- Toggle ignoring swears
- Variables
- JavaScript Variables
Tweaking
Solving Issues
Miscellaneous