

Balance Bar
$3.99
Sold by: IIIaKaThe plugin displays the player’s balance in the status bar. Depends on AdvancedStatus plugin.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
The plugin displays the player’s balance in the status bar. Depends on AdvancedStatus plugin.
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 1840 and 1865, you need to add the code(below) before “return true;”
Interface.CallHook("OnPointsUpdated", ID, playerRP[ID]);
- The ability to add and modify any economic plugins;
- The ability to automatically generate code for balance update hooks;
- The ability to automatically generate language files for different languages(filled in English);
- The ability to display the status bar to everyone or only based on permissions;
- The ability to display the status bar always or only in safe zones and building privileges;
- The ability to display the status bar via a command for a short period if permanent display is disabled;
- The ability to display the status bar when the balance is non-zero;
- 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 display text if the balance exceeds a specified value(useful for very large balances);
- 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*oxidedataAdvancedStatusImages);
- The abillity to set own image and customize the color, transparency and outline of the image;
- The abillity to set sprite instead of the image;
- The ability to customize the color, size, font and outline of the text.
- balancebar.use – Grants the right to display the status bar if display is enabled only for permissions.
{
"Chat command": "balances",
"Time in seconds during which the status bar will be displayed after entering the command": 5.0,
"Is it worth generating update hooks? 0 - disabled, 1 - one-time activation, 2 - always enabled": 1,
"Is it worth displaying the status bar only when players are in the safe zone or have building privilege?": true,
"Is it worth displaying the status bar at a 0 balance?": true,
"Is it worth displaying the status bar without permission?": true,
"Value after which text will be displayed instead of balance": 1000000000.0,
"List of language keys for creating language files(excluding ru)": [
"en"
],
"The list of economy plugins for displaying the balance bar. Note: When adding or changing hooks, don't forget to enable hook generation": {
"Economics": {
"Is it worth enabling the plugin for display?": true,
"Language key for the main text": "MsgEconomics",
"Balance format": "${0}",
"Language key for the subtext when the balance is high": "MsgEconomicsOverLimit",
"API method for retrieving the balance": "Balance",
"Hook that triggers on balance update": "OnEconomicsBalanceUpdated",
"List of argument types in the hook in order": [
"string",
"double"
],
"BarSettings": {
"Order": 20,
"Height": 26,
"Main_Color(Hex or RGBA)": "#6375B3",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/jKeUqSD.png",
"Image_Local(Leave empty to use Image_Url)": "BalanceBar_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#A1DBE6",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#FFFFFF",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#FFFFFF",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
},
"ServerRewards": {
"Is it worth enabling the plugin for display?": true,
"Language key for the main text": "MsgServerRewards",
"Balance format": "{0} RP",
"Language key for the subtext when the balance is high": "MsgServerRewardsOverLimit",
"API method for retrieving the balance": "CheckPoints",
"Hook that triggers on balance update": "OnPointsUpdated",
"List of argument types in the hook in order": [
"ulong",
"int"
],
"BarSettings": {
"Order": 20,
"Height": 26,
"Main_Color(Hex or RGBA)": "#6375B3",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/jKeUqSD.png",
"Image_Local(Leave empty to use Image_Url)": "BalanceBar_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#A1DBE6",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#FFFFFF",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#FFFFFF",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
},
"BankSystem": {
"Is it worth enabling the plugin for display?": true,
"Language key for the main text": "MsgBankSystem",
"Balance format": "${0}",
"Language key for the subtext when the balance is high": "MsgBankSystemOverLimit",
"API method for retrieving the balance": "Balance",
"Hook that triggers on balance update": "OnBalanceChanged",
"List of argument types in the hook in order": [
"ulong",
"int"
],
"BarSettings": {
"Order": 20,
"Height": 26,
"Main_Color(Hex or RGBA)": "#6375B3",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/jKeUqSD.png",
"Image_Local(Leave empty to use Image_Url)": "BalanceBar_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#A1DBE6",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#FFFFFF",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#FFFFFF",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
}
},
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 7
}
}
EN:
{
"MsgBankSystem": "Balance",
"MsgBankSystemOverLimit": "> $1kkk",
"MsgServerRewards": "Points",
"MsgServerRewardsOverLimit": "> 1kkk RP",
"MsgEconomics": "Balance",
"MsgEconomicsOverLimit": "> $1kkk"
}
RU:
{
"MsgBankSystem": "Баланс",
"MsgBankSystemOverLimit": "> $1 млрд",
"MsgServerRewards": "Очки",
"MsgServerRewardsOverLimit": "> 1 млрд RP",
"MsgEconomics": "Баланс",
"MsgEconomicsOverLimit": "> $1 млрд"
}
- balances – Displays available status bars for a short period if permanent bar display is disabled.
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Removed Removed direct dependency on the presence of economic plugins;
- Added Added the ability to integrate any other economy plugin;
- Added Added the ability to automatically add hooks for balance updates;
- Added Added the ability to specify a list of language keys in the config to create a language file, filled in English;
- Added Added the ability to display the status bar only if the permission is granted;
- Added Added the ability to display the status bar when the balance is not equal to zero;
- Added Added the '/balances' command to display the status bars for a short period outside safe zones and building privileges if constant display is disabled.
- Added Initial release
Discussions (0)
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.