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 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 abillity to set own image and customize the color of the image;
- The abillity to set sprite instead of the image;
- The ability to specify custom text. Additionally, customization options for the color, size, and font of the text.
{
"ImageLibrary Counter Check": 5,
"Which currency symbol will be used?": "$",
"On which side should the currency symbol be displayed? True - after the balance(right), false - before the balance(left)": true,
"Is it worth displaying the balance only when players in the safe zone or building privilege?": true,
"Status. Bar - Height": 26,
"Status. Bar - Order": 10,
"Status. Background - Color": "#6375B3",
"Status. Background - Transparency": 0.8,
"Status. Background - Material(empty to disable)": "",
"Status. Image - URL": "https://i.imgur.com/jKeUqSD.png",
"Status. Image - Sprite(empty to use image from URL)": "",
"Status. Image - Is raw image": false,
"Status. Image - Color": "#A1DBE6",
"Status. Text - Size": 12,
"Status. Text - Color": "#FFFFFF",
"Status. Text - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Status. SubText - Size": 12,
"Status. SubText - Color": "#FFFFFF",
"Status. SubText - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 3
}
}
EN:
{
"MsgText": "Balance"
}
RU:
{
"MsgText": "Баланс"
}