Creeper Alert is a plugin that alerts a player when he/she has been targeted by a creeper. (Only if the player has the proper permissions of course.)
The way it alerts you is by sending a message to the player (Modifiable in the config), and playing a sound that is alerting (Pitch and volume are adjustable in the config).
It also alerts with a different message and seperatly adjustable sound. (See config)
You may adjust the distance at which the plugin deems close using the config.
Config
Warn.Proximity - Distance the plugin considers close to the creeper.
Chat.Alert.Regular - The message you will recieve if a creeper targets you and is not within proximity.
Chat.Alert.Near - The message you will recieve if a creeper targets you and is within proximity.
Audio.Regular.Volume - The volume to play sound at if a creeper is not within proximity.
Audio.Regular.Pitch - The pitch of the sound if a creeper is not within proximity. (Lower is deeper and vice versa)
Audio.Near.Volume - The volume to play sound at if a creeper is within proximity.
Audio.Near.Pitch - The pitch of the sound if a creeper is within proximity.
Permissions
creeperalert.warn - Only permission, lets player take advantage of plugin.
If the player is OP it also works.
Other
If you have any suggestions or comments please let me know. If you know a sound that would work better please let me know as the current one bugs me.
Exacto23, I decompiled your plugin and implemented the first of my feature enhancement suggestions below for my own use. I implemented a timeout and found I could keep it as low as 1 second as long as I refreshed the timestamp on each subsequent qualifying EntityTargetEvent. Creepers now only make a single alarm sound even when they are near the threshold of where they notice you. I'd be happy to share with you what I did if you'd like to include it in this mod... just PM me if you'd like my modified source.
I love this, thanks so much for making it!!!! It works great with 1.7.
Previously, I had to keep mob griefing off because all the pits that creeper explosions made were an eyesore. However, this makes it easier to avoid creepers which allows me to keep mob griefing on. I would have this a long time ago if I had known about it, but only by doing very specific google searches looking for such a plugin did I find it. I bet this plugin would be used by many more if they knew about it.
Two additional features would be nice, but not essential. First, I actually don't mind the anvil falling sound it uses, but I do find it mildly annoying when a creeper is on the threshold of noticing you and the sound activates 4-8 times repeatably within a few seconds. The optimal behavior to me would be to make the noise at most once every 3 seconds for a given creeper, but to allow multiple creepers to still warn multiple times. This would probably involve adding a cooldown tag to the creeper, but might be kind of hard because not only would the cooldown be specific to the creeper, it might also need to be specific to the player. It would still be worth adding it as a feature if you didn't want to go to the effort of making it per creeper and instead use a player-only cool down, but in that case I'd make it optional, and something you could configure in the plugin config.
The second feature might be to have an optional maximum height for which the plugin is active. Personally, I'd like to have the creeper warning on the surface, but automatically disable somewhere around y=40ish, so when exploring deep caves/mines you need to be more on-guard for creepers than on the surface.
-
View User Profile
-
Send Message
Posted May 19, 2014is it suppose to spam the messages and the beeps like that?
-
View User Profile
-
Send Message
Posted Feb 5, 2014Exacto23, I decompiled your plugin and implemented the first of my feature enhancement suggestions below for my own use. I implemented a timeout and found I could keep it as low as 1 second as long as I refreshed the timestamp on each subsequent qualifying EntityTargetEvent. Creepers now only make a single alarm sound even when they are near the threshold of where they notice you. I'd be happy to share with you what I did if you'd like to include it in this mod... just PM me if you'd like my modified source.
Thanks!
-
View User Profile
-
Send Message
Posted Feb 1, 2014I love this, thanks so much for making it!!!! It works great with 1.7.
Previously, I had to keep mob griefing off because all the pits that creeper explosions made were an eyesore. However, this makes it easier to avoid creepers which allows me to keep mob griefing on. I would have this a long time ago if I had known about it, but only by doing very specific google searches looking for such a plugin did I find it. I bet this plugin would be used by many more if they knew about it.
Two additional features would be nice, but not essential. First, I actually don't mind the anvil falling sound it uses, but I do find it mildly annoying when a creeper is on the threshold of noticing you and the sound activates 4-8 times repeatably within a few seconds. The optimal behavior to me would be to make the noise at most once every 3 seconds for a given creeper, but to allow multiple creepers to still warn multiple times. This would probably involve adding a cooldown tag to the creeper, but might be kind of hard because not only would the cooldown be specific to the creeper, it might also need to be specific to the player. It would still be worth adding it as a feature if you didn't want to go to the effort of making it per creeper and instead use a player-only cool down, but in that case I'd make it optional, and something you could configure in the plugin config.
The second feature might be to have an optional maximum height for which the plugin is active. Personally, I'd like to have the creeper warning on the surface, but automatically disable somewhere around y=40ish, so when exploring deep caves/mines you need to be more on-guard for creepers than on the surface.
Anyway, thanks again!