YiC200333 / XConomy

An economy plugin that supports data synchronization between multiple servers
GNU General Public License v3.0
92 stars 32 forks source link

add %xconomy_top_hide% + dynamic eco #115

Closed xuandattnvn1995 closed 7 months ago

xuandattnvn1995 commented 10 months ago

add %xconomy_top_hide% = true/false balancetop display => %xconomy_top_hide% = false balancetop hide => %xconomy_top_hide% = true This helps me create a gui so players can hide/show their information on the top. thank you!

add dynamic eco. %xconomy_dynamic% %xconomy_dynamic_formatted% image When the player receives money from sources (mob/ah/shop...) the message +xxx money will appear for 2 seconds. config.yml: dynamic-eco: display-time: 2 format: &e(+{amount})

YiC200333 commented 10 months ago

These papi can ignore hidden player

%xconomy_topplayer#% indicate the player name of the ranking # %xconomy_topbalance#% indicate the player balance of ranking # %xconomy_top_balancevalue#% indicate the player balance value of ranking #

YiC200333 commented 10 months ago

dynamic eco can not be implemented through PAPI

xuandattnvn1995 commented 10 months ago

These papi can ignore hidden player

%xconomy_topplayer#% indicate the player name of the ranking # %xconomy_topbalance#% indicate the player balance of ranking # %xconomy_top_balancevalue#% indicate the player balance value of ranking #

I mean you create papi %xconomy_top_hide% for hide top if hiden =1 %xconomy_top_hide% = true hiden = 0 %xconomy_top_hide% = false image

I should be able to create the installation gui. If the player doesn't want them to appear on top, they will click and the console will execute the command if %xconomy_top_hide% = true <=> hiden=1, use /balancetop display [name] if %xconomy_top_hide% = false <=> hiden=0, use /balancetop hide [name] image image

xuandattnvn1995 commented 10 months ago

https://youtu.be/Er0FdicHeWw deluxe menu: image

YiC200333 commented 9 months ago

2.25.7 version added %xconomy_top_hidden%

xuandattnvn1995 commented 9 months ago

image error: The database hidden = 1 but /papi parse LXD_VN %xconomy_top_hidden% = 0

YiC200333 commented 8 months ago

2.25.8 version is fixed, try it https://github.com/YiC200333/XConomy/releases/tag/2.25.8