kamildanak / EnderPay

Minecraft mod that adds economy to forge servers.
https://minecraft.curseforge.com/projects/enderpay
GNU General Public License v2.0
7 stars 10 forks source link

Option to disable truncate #16

Open ExDomino opened 6 years ago

ExDomino commented 6 years ago

Hello, we would like, on our server, an option to disable the truncate of amounts in player wallet and especialy in banknotes which have not a "/balance" command to see the exact amount. Impossible for our players to use banknotes as money notes because amount inside them are not clearly visible for big amounts.

Especialy in Vendor blocks that if the banknote or cash is set to a big amount, players cannot see the exact amount. Example if the cost is set to 123 456 credits, players just see 123k credits and don't see the 456 credits. We really need an option to untruncate amounts because we use ProjectE and the economy always use big amounts.

ExDomino commented 6 years ago

Can you give that bug a high priority please? I can make a mod to make the compatibility with ProjectE as my wish, but I cannot do anything about the truncate in your mod for big amounts. I mean I could create a command to see how many money is stored in the card that a player has in hand, but for the card cost of a vendin block, that is really harder to fix.

kamildanak commented 6 years ago

Fixed by following two commits: https://github.com/kamildanak/EnderPay/commit/cbaadcba1984d04ae0983053a0e43ef28412c854 and https://github.com/kamildanak/VendingBlock/commit/e6240f6760a42b842550a22ded70404106c9298e. Values of banknotes will no longer be truncated by default, when player isSneaking (shift) values in VendingBlock HUD will not be truncated. Option to disable truncating in Player wallet HUD will be added soon.