@MineStein public void savePlayerConf() { try { getPlayerConf().save(this.file); } catch (Exception e) {...
@timtower public void createPlayerDef() { if (this.file.length() <= 0L) { this.config.set("Muted", false);...
So I am using this: public String getReason() { return this.config.getString("MuteReason"); } and in my player yml file it says...
@ArsenArsen Alright, thanks! :)
Hey, I am trying to code a /tempmute <player> <time> plugin, here is what i have so far: public void mutePlayer(Player p, String reason, int...
So I am making a bukkit plugin, and I decided to use this lib: https://bukkit.org/threads/npclib-create-fake-players-1-7-9-till-1-8-3.340234/ I...
@au2001 What do you mean? Sorry I just woke up i'm a bit rusty Never mind guys, I fixed it thanks to all your help :) End code: ItemStack...
@Zombie_Striker package chargedpvp.hardcore.economy.commands; import org.bukkit.ChatColor; import org.bukkit.Material; import...
@SuperSniper Yes I know but my whole plugin is Material based so I can't change. I tried: ItemStack matCheck = new ItemStack(material);...
So I made a gold based economy where you can sell things on the market and they are removed from your inventory. However, if you rename the item...
So, I am using this code: public static List<Player> who() { Collection<? extends Player> players = server.getOnlinePlayers();...
I want to make it so when they mine a spawner, it drops a spawner. I know how to do that but how can I get the exact type, so when they place it,...
@DSH105 Any examples? I'm not sure of the certain methods of its body and movement
So I did this command: @Override public boolean onCommand(CommandSender sender, Command cmd, String str, String[] args) {...
@Funergy They're not
how to work it with enderdragons?
Getting this error: [22:27:04 INFO]: [Heroes] Enabling Heroes v1.0 [22:27:05 WARN]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:...
@Techcable even with your new pom, gives me same class not found error, can't you make something we can put in to our plugins source in ide? I...
@Techcable Dude can you give me a working pom.xml for this?? please??
@hopstar The line is NPCRegistry registry = NPCLib. getNPCRegistry("TacoRegistry", this); but the stack trace says NoClassFound NPE, I want to...
Separate names with a comma.