Updated Writing Properties (markdown)

HojouFotytu 2019-03-25 22:07:56 +09:00
parent 170c72687c
commit 898285894c
1 changed files with 1 additions and 2 deletions

@ -4,8 +4,7 @@ This page is here to explain how to setup your settings correctly to overwrite t
In general you have two options to specify settings for Profit Trailer to get used by PT Magic. You can have a single set of PAIRS/DCA/INDICATORS settings in your default folder, and specify individual changes in your global settings, OR you can have a differet set of settings files for EVERY global setting. You can also use a combination of these two approaches. In general you have two options to specify settings for Profit Trailer to get used by PT Magic. You can have a single set of PAIRS/DCA/INDICATORS settings in your default folder, and specify individual changes in your global settings, OR you can have a differet set of settings files for EVERY global setting. You can also use a combination of these two approaches.
## 1. Using a preset file ## 1. Using a preset file
By using a preset file, you are able to load a complete file when a global setting is true (for example PAIRS.PROPERTIES) and apply them to your Profit Trailer settings. By using a preset file, you are able to load a complete file when a global setting is true (for example PAIRS.PROPERTIES) and apply them to your Profit Trailer settings. However, if you specify a settings files it MUST be located in a folder "_presets/SETTINGNAME/" to be found by PTMagic. The name of the folder must EXACTLY match the name of the global setting. If there is no matching folder and file, you will get an error and PTM will stop giving you an error: **Loading XXX.properties failed for setting GLOBALSETTINGNAME: The remote server returned an error: (404) Not Found.**
The file has to be located in the folder "_presets/SETTINGNAME/" to be found by PTMagic. The name of the folder must EXACTLY match the name of the global setting.
**Example:** **Example:**
`"SettingName": GlobalSetting1 {` `"SettingName": GlobalSetting1 {`