Just had the same problem. I enabled custom items and inventories on one of my maps and gold got capped at 10K. Hope this will be 100% fixed when the 41.30 update drops at the end of this month, I can’t update my map until then since players have millions of gold saved up. RIP.