You're missing something :) here: public BardClass(KitMap instance) { plugin = instance; }
@gban Can you please show the code (all)
Haha did not even notice I has a semicolon there,
Yeah, I was just checking the itemmeta [spoiler] However, I tested, and it still does not open a new inventory
I've done that. And it doesn't seem to work, I post the code, and I ask if it is right.
Mhm, true. Here's what I've done so far, not sure if it'll work, but worth a shot. (This should be right?) @EventHandler public void...
I wasn't planning on copying or pasting, it's annoying, and like you said, doesn't help me.
I am trying to make a custom shop plugin, everything works except, it's not letting me open a second inventory when clicking on certain items in...
in your bardclass class do; KitMap plugin; public BardClass(KitMap instance) { plugin = instance; }
@gban to get the config from another class, you need to do like so Set the main class as a plugin. set plugin as an instance. example:...
(Enchantment.PROTECTION_ENVIRONMENTAL, 2); For the 2, you need to get the int from the config. EDIT: Done by getting config, and then getting...
@Zombie_Striker Another attempt @EventHandler public void onJoin(PlayerJoinEvent e) { ScoreboardManager sm =...
@Zombie_Striker Something like this? @EventHandler public void onJoin(PlayerJoinEvent e) { ScoreboardManager sm =...
You'd need to make an InventoryClickEvent Check the material clicked If the material that you want is clicked- if (blam.getType() ==...
I made a scoreboard to display health under a player's name. It works 100% however, when a player leaves, and comes back, the player can no longer...
Separate names with a comma.