Ive changed up my code a little bit
I'm still getting an error but now its with the line where I check if the item has meta "if...
I'm trying to check if an item has specific lore and I'm having trouble doing so.
The error is as follows
Line 45 is this
I have an overall basic understanding of using an anvil with bukkit.
I want to make it so If I add two items you cant normally add together in an...
Im confused what you mean by "configuration section 'Users' inside your config"
My key is player.getUniqueId
So I need to load
Main.getPlugin(Main.class).getConfig().set("Users." + player.getUniqueId() + ".Balance", playerdust.get(player.getUniqueId()));...
UUID id = player.getUniqueId();
My hashmap 'playerdust' stores the balance of dust for each player. It then saves those values to the config.
Let's say my balance is 6 dust....
I commented out the line of code and I just deleted it and it fixed the problem
I'm unsure why it's sending, earlier I had the message get sent to the player to test something but once I removed that line of code when you do...
Yes its sent to the player in chat
Lets say I have a command that says the balance, how would I target the command senders ID in the config
Nevermind, I did some tinkering and came...
Separate names with a comma.