I'm giving you the code so please take in consideration how I'm doing this. // Gets the configuration section path of "Drinks"...
A list is like this: MyList: - listItemOne - listItemTwo - listItemThree so, what you're trying to get is not a list. If you'd like me to go...
I'm currently working with a minigame plugin, and it has custom item meta for the items. I am adding the feature of picking up items, such as...
Oh yes, I didn't think about that. So you'll have to set it each time you use the replaceAll() method :P
Your problem could be that you need to use event.setMessage(String); First, grab the string, set your replacements, then call...
JavaSource I don't mean to be rude, but you may be way over your head as this is your first plugin (I know I was). If you don't really understand...
You don't need to check for if the event is/isn't cancelled. This will heavily be affected by other plugins.
JavaSource when you stated, that you started coding 4 days ago, if you mean that literally just started learning, you might want to learn more...
The class itself was not found. Try re-exporting.
Ok thanks, ;P
I've been looking on how to cancel the compass teleportation when left/right clicking, but all I ever turn up with is the CompassNavigation...
I have created a function in which the display name for a scoreboard objective will scroll in a loop. Okay, well that's done, but now there's one...
Does the display name of the golden apple equal any capitalization variation of Candy? That is literally my last guess (for now).
Errors/StackTraces will generally tell you at the top of the error or somewhere in the middle where the error is. Here, it's line 2: Cannot find...
I think I found your issue. You make an if statement checking if it's a golden apple that was consumed, but you don't put anything inside of it....
My apologies, that part just flew right over my head.
I'm using a PlayerCommandPreprocessEvent for handling some commands, and to make a custom message for if the command isn't found (or if they have...
Are you changing any of your code at all? Take in part as they have said, the 2nd parameter represents the server ticks. 20 equals one second. So...
I use this all the time. Just a simple check: @EventHandler public void onEntityDamage(EntityDamageEvent e) { if (e.getEntity() instanceof...
Check it how you want it to. if it's NOT running, then cancel the event.
Separate names with a comma.