About Balance Bar
The plugin displays the player's balance in the status bar. Depends on BankSystem/ServerRewards/Economics and AdvancedStatus plugins.
P.S. I've asked the author of the ServerRewards plugin to add a new hook called OnPointsUpdated to track points updates. Until they decide to add the new hook, if you want point updates, you'll need to manually add 2 lines to the ServerRewards plugin.
On lines 1822 and 1847, you need to add the code(below) before "return true;"
Interface.CallHook("OnPointsUpdated", ID, playerRP[ID]);
- The ability to always display the player's balance, or only when they are in a safe zone or building privilege zone;
- The ability to display all or part of the bars simultaneously;
- The ability to customize the bar for each plugin;
- The ability to specify the currency symbol;
- The ability to specify the display side of the currency symbol;
- The ability to specify the order of the bar;
- The ability to change the height of the bar;
- The abillity to customize the color and transparency of the background;
- The ability to set a material for the background;
- The ability to switch between CuiRawImageComponent and CuiImageComponent for the image;
- The ability to get images from the local folder(*SERVER*\oxide\data\AdvancedStatus\Images);
- The abillity to set own image and customize the color and transparency of the image;
- The abillity to set sprite instead of the image;
- The ability to customize the color, size and font of the text.
{
"List of displayed plugins": [
"BankSystem",
"ServerRewards",
"Economics"
],
"Display the balance only when players are in the safe zone or have building privilege?": true,
"List of status bar settings for each plugin": [
{
"BarID": "BalanceBar_BankSystem",
"Order": 20,
"Height": 26,
"Main_Color": "#6375B3",
"Main_Transparency": 0.8,
"Main_Material": "",
"Image_Url": "https://i.imgur.com/jKeUqSD.png",
"Image_Local(Leave empty to use Image_Url)": "BalanceBar_BankSystem",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color": "#A1DBE6",
"Image_Transparency": 1.0,
"Text_Key": "MsgBankSystem",
"Text_Size": 12,
"Text_Color": "#FFFFFF",
"Text_Font": "RobotoCondensed-Bold.ttf",
"SubText_Format": "${0}",
"SubText_Size": 12,
"SubText_Color": "#FFFFFF",
"SubText_Font": "RobotoCondensed-Bold.ttf"
},
{
"BarID": "BalanceBar_ServerRewards",
"Order": 20,
"Height": 26,
"Main_Color": "#6375B3",
"Main_Transparency": 0.8,
"Main_Material": "",
"Image_Url": "https://i.imgur.com/jKeUqSD.png",
"Image_Local(Leave empty to use Image_Url)": "BalanceBar_ServerRewards",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color": "#A1DBE6",
"Image_Transparency": 1.0,
"Text_Key": "MsgServerRewards",
"Text_Size": 12,
"Text_Color": "#FFFFFF",
"Text_Font": "RobotoCondensed-Bold.ttf",
"SubText_Format": "{0}RP",
"SubText_Size": 12,
"SubText_Color": "#FFFFFF",
"SubText_Font": "RobotoCondensed-Bold.ttf"
},
{
"BarID": "BalanceBar_Economics",
"Order": 20,
"Height": 26,
"Main_Color": "#6375B3",
"Main_Transparency": 0.8,
"Main_Material": "",
"Image_Url": "https://i.imgur.com/jKeUqSD.png",
"Image_Local(Leave empty to use Image_Url)": "BalanceBar_Economics",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color": "#A1DBE6",
"Image_Transparency": 1.0,
"Text_Key": "MsgEconomics",
"Text_Size": 12,
"Text_Color": "#FFFFFF",
"Text_Font": "RobotoCondensed-Bold.ttf",
"SubText_Format": "${0}",
"SubText_Size": 12,
"SubText_Color": "#FFFFFF",
"SubText_Font": "RobotoCondensed-Bold.ttf"
}
],
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 5
}
}
EN:
{
"MsgBankSystem": "Balance",
"MsgServerRewards": "Points",
"MsgEconomics": "Balance"
}
RU:
{
"MsgBankSystem": "Баланс",
"MsgServerRewards": "Очки",
"MsgEconomics": "Баланс"
}