The title says it all; I'm trying to code a plugin that counts the number of ores and blocks total mined by the player in the past thirty minutes....
@Machine Maker Let me double-check to make sure I understand everything. Let's say I want to have two subcommands called "/chat reload" that...
@Machine Maker It's the broadcast line... Bukkit.broadcastMessage(). Either I'm missing something obvious or I changed the code...
@Machine Maker Ah okay I see, I switched the method out and it worked just fine! Thanks! On another note, is there a reason why this produces an...
@Machine Maker Alright. The first class is the main class. private ProtocolManager manager; @Overridepublic void onEnable() { manager =...
@Machine Maker I'm still getting the unhandled exception error, any idea why that's occurring?
Sorry if this is kind of a noob-ish question, but I was messing around with the animation packet the other day. More specifically, I added a...
@Kars Can you elaborate? Do I add extra arguments after the setExecutor()?
@KarimAKL I ended up trying a different way altogether, by removing the for-each loop in openGUI() and having the plugin automatically add the...
@KarimAKL No, it doesn't work. I'm getting a NPE on the method invContainsPlayer. Here's the code in my manager class public class...
@X1machinemaker1X But isn't that only an available method in InventoryClickEvent? If so, doesn't InventoryClickEvent only trigger when the player...
@darthteddy1 @KarimAKL I can't update the inventory though... Maybe you guys misunderstood my question, so let me re-explain. I have a class,...
@KarimAKL No, not yet. I believe I have the update-inventory part working, but whenever the player returns home (hypothetically speaking), the...
@KarimAKL @X1machinemaker1X Ooohh I get it... calling .getContents() returns the whole inventory. Since not all of the inventory is filled up, the...
@KarimAKL It should though... in the actual openGUI method, I have a line inside the list of Users that sets the Display name of the head:...
Separate names with a comma.