U
/u/Civil_Row2185
Guest
Basically, I have a custom economy going currently on my modded smp (I'm a lone dev/owner) and I'm having trouble making the adapting prices not round up to a whole number. I have kubejs and here's the plugin mod although it is a bit of a hidden gem (https://www.curseforge.com/minecraft/mc-mods/plugin-stlye-shop) Any help would be infinitely appreciated!
Description of the economy I've been making:
[link] [comments]
Continue reading...
Description of the economy I've been making:
Players can get coins from quests/player shops
Coins can get converted into a physical bank card with an npc at spawn for convenience
Bank card's balance is secretly on an invisible scoreboard
Players can then use bank cards to buy from the admin shop (basic plugin style shop) while it secretly takes it from the scoreboard
Plugin style shop mod adapts orices based on supply and demand
Where I'm going crazy trying to get it to understand decimals and show that as the live price instead of it rounding to the nearest whole number
[link] [comments]
Continue reading...