Ive changed up my code a little bit [SPOILER] 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 [SPOILER] Line 45 is this if...
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(); if (!playerdust.containsKey(id)) { playerdust.put(id, 0); } int...
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...
I want to call a string from my config.yml but its a child of two other parents Users: USER1: Balance: 1 If I wanted to call the balance...
Do you have any good examples of this that I can look at and learn from
Could you possibly go more in deapth
Would this be done like public void getBalance(player) { //code }
I have a plugin where I've created an item called "Dust" when you right-click the dust it gets added to a balance. Currently, My problem is that...
I have a plugin where so far I can do "/getdust" to get a "Magic Dust" which atm is just a glowstone dust with NBT data. When you right click the...
Thanks!
Thanks this is really helpful could you link some YouTube Tutorials
Separate names with a comma.