Alright, I'll see what I come up with. Final edit: Solved thanks to @sebcio98 & @Zombie_Striker. Spoonfeed: yourDouble = ((double) ((int)...
I don't understand what you're getting at. As far as I know integers don't accept values like 0.xx?
Perhaps you misunderstood this entire thread, it's used for a money withdrawal system. I need it to support cents, not just display them. It needs...
Unfortunately, that's not what I was looking for. Say the user has exactly $6 in their economy, the user withdraws $5.001, the economy will...
It's used for withdrawal purposes (e.g money withdrawals). Thank you, I'll give that a shot now.
I'm trying to make a boolean that checks whether or not a value has more than two place values. public Boolean isValidDecimal(final double...
I solved the issue by using two separate methods using some version utilities.
Did you even read the post?
I'm trying to remove the item the player is interacting with, however, every time I try to I run into a wall. Everything I've tried:...
Update your servers Java version.
Try this? Material.matchMaterial(string);
Change your event handler to something like: @EventHandler(ignoreCancelled = true)
He could try a little something like: if (args[0].equalsIgnoreCase("set") && s.hasPermission("minecraft.time.set")) { // blah } else {...
Just use & symbols and use ChatColor.translateAlternateColorCodes(). If that's not an option try changing your file encoding to something that...
You'll need to use the item's display name and JSON for it to be hoverable text.
I believe all of the animations of the player model(s) are handled client side. (Feel free to correct me if I'm wrong)
You're checking if the item isn't null in all the wrong places. Try something like this instead: @EventHandler public void...
Since he's making an airdrop/envoy plugin I feel like using ItemStack's directly would get very messy very fast as there's normally several (at...
Isn't that basically what I said? :P He could also just use colons and split at them and use the value after the split as metadata.
As for the block location(s), make a local variable, initialize it as the block you want the location of, then use #getLocation().
Separate names with a comma.