poggit-orphanage / BasicHUD

GNU General Public License v2.0
0 stars 3 forks source link

How use config? #1

Closed llronaldoll closed 6 years ago

llronaldoll commented 6 years ago

version: 1.0.6-3 '# ticks': How often to refresh the popup ticks: 10 '# format': Display format

format: lv3: '{GREEN}{BasicHUD} {YELLOW}Lv3 {WHITE}{world} ({x},{y},{z}) {bearing} {RED}EUR:{money} Pts:{score}' lv2: '{GREEN}{BasicHUD} {GREEN}Lv2 {WHITE}{world} ({x},{y},{z}) {bearing} {RED}EUR:{money} Pts:{score}' lv1: '{GREEN}{BasicHUD} {BLUE}Lv1 {WHITE}{world} ({x},{y},{z}) {bearing} {RED}EUR:{money} Pts:{score}' lv0: '{GREEN}{BasicHUD} {GRAY}Lv0 {WHITE}{world} ({x},{y},{z}) {bearing} {RED}EUR:{money} Pts:{score}'

does not work doesnt my money, i have EconomyAPI

Awzaw commented 6 years ago

Sorry for the delay - to display money you need to rename vars-example.php to vars.php and place it in the plugins directory: here's the relevant instructions from the original readme:

You can add more variables by creating a vars.php in the plugin directory. For your convenience, there is vars-example.php available that you can use as a starting point. Copy this file to vars.php.

The example vars.php will create a {score} and {money} variable if you have the relevant plugins.