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.
Listen to BlockPlaceEvent (I believe) then add those blocks to a List. After those 60 seconds get all the blocks from the list and remove them.
Spawn in a spider. Then, grab the LivingEntity of the spider. You should have .setPassenger() method in there. Just spawn in a skeleton and set...
I would commend storing the question that the player(s) are on then checking what the next question would be...
PersonalMOTD is great, but if you wanted to make your own version here is how. First create the Map where we will be storing the data: ( This...
I would love to do this too! Also codename_B how did you the rainbow particles on TnT Wizards?
Separate names with a comma.