Corrected.
I already have these systems on my own plugin. I'd be interested in putting together a team, as I'm kind of bored since I wrote most of it in a...
TheIronKill To slow down the rate at which my players could hit mobs in my RPG server, I created a HashMap that holds their UUID and the...
if(p.hasPermission("weapon.damage") { if(p.getItemInHand() != null) { if(p.getItemInHand().getType() == Material.IRON_SWORD) {...
unrealdesign Can't say for sure, as I've never tried it. I just used the strings for a custom enchantments plugin at one time.
For future reference, using toString() on items doesn't always return their Material name. For instance, SHOVEL returns as SPADE.
MCForger or this, if it works.
krazytraynz How many entities are we talking about?
Use a scheduler to eject them after 5 ticks, or so.
Icyrelic <Edit by Moderator: Redacted bit url>
Stacktrace?
That's only one inventory that you're constantly editing. Try creating a new instance each time and populating them when needed. public...
Sounds like you have the ideas.
Stacktrace? Any other info?
ZodiacTheories 1: When you create the class, you only create one int with the same number that persists throughout the plugin's life. You get two...
register events in onEnable() this.getServer().getPluginManager().registerEvents(etc, etc);
You import the plugins(Essentials & GriefPrevention). Use PlayerCommandPreprocessEvent, check if they have permissions to sethome.
CheifKeef check to make sure the block isn't null. Use p.addPotionEffect(new PotionEffect(PotionEffectType.CONFUSION, 1200, 4, false));
@TheWolfBadge Just switch it over to use UUID. It's what Bukkit is going to now.
MCMatters How are we supposed to know? You have given us absolutely Integer.toString(0); to work with. Bad joke, I know.
Separate names with a comma.