1
Java Plugin Development Help
Hello there, I've been working on my first plugin, and and simple as it seems, I can't process how to get this to work.
The whole idea is that once a player runs a command (Adding permissions later) it will rain snow balls and be cleared (I didn't add the cleared part, seems easy enough) but I'm stomped. Also, when I get that working I would need to loop it correct (Implying that is the only way to run a set of commands over and over)?
Note: Of course that's not the whole source-file, but to the contrary the statement that's giving me issues.
World.dropItem(player, Material.SNOW_BALL); The whole idea is that once a player runs a command (Adding permissions later) it will rain snow balls and be cleared (I didn't add the cleared part, seems easy enough) but I'm stomped. Also, when I get that working I would need to loop it correct (Implying that is the only way to run a set of commands over and over)?
Note: Of course that's not the whole source-file, but to the contrary the statement that's giving me issues.
3
I don't think your using the correct method. You need to get the players location and get maybe 10-20 blocks above him, and then spawn the snow balls out over maybe a 10 by 10 square.
Thank you for a reply! Could you perhaps give a skeleton of what this would look like? Thanks.
Bump
