So I know how to do args etc, but right now I have this basic chunk of code: List<String> list =...
Without editing your current plugin, the easiest thing would be to add a limit to how often a player can use /g. I'll try to throw something together.
Actually PlayerPreLoginEvent is deprecated, AsyncPlayerPreLoginEvent should be used in it's place.
Eh, this code should work. With a few minutes of work you could turn it into a full fledge whitelist plugin, but yeah.. @EventHandler public void...
I'm sure there is a plugin that can do this, but do you mean remove items by ID or something more specific?
What's a color shuffle?
Well, if your even uses a block, entity, location, etc you should be able to grab the world. Then just do a check. if...
That error is from something else. You need to remove this code. @EventHandler public void onArrowDamage(ProjectileHitEvent e) { final UUID uuid =...
Don't use ProjectileHilt, use this. @EventHandler public void onEntityDamageByEntity(EntityDamageByEntityEvent event) { if (event.getDamager()...
Hmm, if there is any way you could get the arrow itemstack right before it was shot. You could then set the metadata.
Add some debug lines. ( System.out.Println("test"); ) Check if the text is displayed in console.
Pretty self-explanatory, if you still have trouble PM me. @EventHandler public void onEntityDamageByEntity(EntityDamageByEntityEvent event) {...
How efficient would this be with a say... 250gb world?
You may want to use the factions API to make sure the faction exists.
An EntityEffect is the best. It just plays the damage animation.
Separate names with a comma.