- i added support for Cobblemon GTS (only v2.4.1 is working)
- i added separators to the balance so that it no longer looks ugly, now from 10000 it shows 10.000
New Colo Format!
Overview
This update introduces a custom text parser that supports various formatting tags, gradients, colors, click and hover events, and vanilla-style codes. You can combine tags or nest them for powerful text displays.
Features & Examples
-
Bold, Italic, Underline, Strikethrough, Obfuscated
<b>Bold text</b>
<i>Italic text</i>
<u>Underlined text</u>
<strike>Strikethrough text</strike>
<obf>Obfuscated text</obf>
-
Hex Colors
<#FF0000>This text is red</#>
<#00FF00>This text is green</#>
-
Gradient
<gradient:#FF0000:#FFFF00:#00FF00>Hello Gradient!</gradient>
- You can use multiple hex colors separated by “:” (e.g.
#FF0000:#0000FF:#00FF00
). - The parser will blend colors across the text.
-
Click Events
<click:run_command:'/say Hello'>Click to run a command</click>
<click:suggest_command:'/help'>Click to suggest a command in chat</click>
<click:open_url:'https://example.com'>Click to open a website</click>
<click:copy_to_clipboard:'Copied!'>Click to copy text</click>
- Note:
run_command
is executed as if the player typed it in chat, so it requires permissions.
-
Hover Events
<hover:show_text:'Hover message here'>Hover over me</hover>
-
Links
<link:https://google.com>Click to open Google</link>
- Equivalent to a
click:open_url
event.
-
Reset
<reset>
or<r>
resets any formatting to default.
-
Vanilla Formatting Codes
- Use
&
followed by a code (e.g.&a
,&l
,&r
):&l
= bold&o
= italic&n
= underline&m
= strikethrough&k
= obfuscated&r
= reset&0
-&f
= color codes
- Use
🔥New Changes
- added support for auto arguments to commands
- added a way to disable "/beco pay" for certain types of coins in the config.
"transfer": true/false
- added a way to disable "/beco withdraw" for certain types of coins in the config.
"withdraw": true/false
- added support for new types of color format such as:
Gradient
<gradient:#FF0000,#00FF00,#0000FF>Text</gradient>
Links
<link:https://example.com>Link Click Here</link>
Hex Colors
<#FFA500>Text
Data Save Changes
- From now on you can save data from players using databases How would it be:
- MySQL
- MongoDB (in progress)
- PostgreSQL
- Sqlite
EX For:
- MySQL/MongoDB/PostgreSQL
"localSave": true,
"databaseSave": false,
"database": {
"type": "mysql", // here you set which type of database to use the plugin!
"host": "localhost",
"port": 3306,
"databaseName": "economy",
"username": "root",
"password": "password"
}
EX For:
- Sqlite
"localSave": true,
"databaseSave": false,
"database": {
"type": "Sqlite",
"host": null,
"port": null,
"databaseName": "economy.db",
"username": null,
"password": null
}
🔥New Commands
/beco balance <player> Allows admins and authorized users to view another player’s balance. Ideal for monitoring and managing player economies.
/beco top Displays a leaderboard of top player balances, complete with player heads and customizable lore, showing player names, balances, and online status.
🛠️ Placeholder API Integration
BlanketEconomy now includes a range of placeholders for integration with other plugins, providing dynamic balance, currency, and player information. Here’s a complete list of available placeholders:
%blanketeconomy:player_name%
Displays the player’s name.
%blanketeconomy:uuid%
Displays the player’s UUID.
%blanketeconomy:balance_<currencyType>%
Shows the balance of the player in the specified currency.
%blanketeconomy:primary_currency%
Displays the server’s primary currency type.
%blanketeconomy:currency_symbol_<currencyType>%
Shows the symbol for a specified currency.
%blanketeconomy:total_balance%
Displays the total balance of the player across all currencies.
%blanketeconomy:last_transaction%
Shows the amount of the last transaction made by the player.
%blanketeconomy:online_players%
Displays the current number of online players.
%blanketeconomy:max_players%
Shows the maximum player count for the server.
Additionally, for each custom currency configured on your server (e.g., "Gold Coin" or "Cobble Coin"), there are specific placeholders available:
%blanketeconomy:<currencyName>_balance%
Displays the player’s balance in the specified currency.
%blanketeconomy:<currencyName>_symbol%
Shows the symbol of the specified currency.
%blanketeconomy:<currencyName>_name%
Displays the name of the specified currency.
Replace <currencyType> and <currencyName> with the specific currency or formatted name as configured in your setup.
⚙️ New Permissions
To control access to these features, we’ve added new permissions:
- Allows players to view their own balance with the /beco balance command.
blanketeconomy.balance
- Allows players to view other players' balances with the /beco balance <player> command.
blanketeconomy.balance.others
- Grants access to view the top balances with the /beco top command.
blanketeconomy.top
- I fixed the problem with the material item from the currency, which did not take the material that was set in the config
- I fixed the problem with the material item from the currency, which did not take the material that was set in the config
- Make Compatible with 1.21.2 and 1.21.3
The mod has been updated to version 1.4 from now on there will be updates only for 1.21/1.21.1/etc..
- remove Minimesage Format (will be added in the future)
- added Minecraft Color Format "&x"
- fixed issue with commands on non-hybrid fabric servers no works. (.. Minimesage) There is a small bug with loading the file the first time you install the mod, you just have to restart the server after it gives you the error that it did not find the config. It will be solved in the next update!!
- I added a new color format to make more customization to the currency and messages!
- Format: MiniMessage
- I fixed the problem with getBalance that was in a continuous loop!
- We have fixed the problem with the primary currency in which if the amount of the primary currency is taken, that balance is not updated!
- new! custom commands list
- new! set primary econommy
- new! add new API functions
- new! /beco balance is show all the economy in list format
- new! add symbol
The add/remove commands can now also be used from the console or executed by other mods or plugins!
I fix the colors and change the color system!