I need absolutely the fastest help possible I’m running my server right now. So please help a guy out
Changing Max Cash And Ammount of an Item To 2147M
Player class.
2147m is default and is also the highest value for an int in java.
Here’s an idea. Make a shop where your players buy a key for 50k, 100k, etc. Then put a chest nearby and when they need money have them open a chest with the key in their inventory and the make it give them the same amount of money they bought it for.
Brillient. I know.
[quote=“rnc505, post:4, topic:252950”]Here’s an idea. Make a shop where your players buy a key for 50k, 100k, etc. Then put a chest nearby and when they need money have them open a chest with the key in their inventory and the make it give them the same amount of money they bought it for.
Brillient. I know.[/quote]
He wants to know how to change the maximum amount of an item.
ohh… i thought it was max cash… my bad…
search player.java: “maxitem” or “maxitemamount”
and replace the value (both if unsure) with 2147483647 (this is the absolute max in java) the deafult should be 999,999,999 or 2,000,000,000 (no comas)