Suggested Name: Mining Gas What I want: A plugin that makes mining ores a tad more... Interesting. When you break an ore block (while in survival mode), some potion particles may show up where the block was, and the player would recieve a potion effect. Thus symbolizing that you hit a gas pocket while mining. The potion effect varies from poison, to blindness, to regeneration. (List below). The plugin would generate a config file, that would let you change the percentage that the potion effect would occur, or disable it fully by making the percentage 0%. Here is the potions and default percentage: Poison 1: 5 Poison 2: 5 Slow 1: 8 Blindness 1: 10 Fatigue 1: 4 Haste 1: 3 Regeneration 1: 5 Harm 1: 5 Time: 30 seconds (The time will affect all the potion effects, except harm, for obvious reasons) If you are developing this, and want to change any of these values, feel free! Permissions: mgas.reload Commands: /mgas reload Reloads the plugin, and checks and implements changes made in the config Thanks for taking the time to read this!
Do you want 1 effect per block break to appear on the player, or more than one effect at a time? Do you want a player with a certain permission to be immune to the effects? The only objective to be completed is the duration of the effect - each different PotionEffectType's createEffect method seems to interpret the duration differently. Plugin complete. .JAR: https://dl.dropboxusercontent.com/u/11962432/Code/MiningGas.jar Code: https://github.com/Celeo/MiningGas Configuration: Example: https://github.com/Celeo/MiningGas/blob/master/config.yml The plugin searches for values from here (must be completely lowercase) The effect settings are [effect name, all lowercase]:[percentage to get] Commands: /mininggas (perm: server OP or 'mgas.reload') EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Wow! Very fast reply! Thanks! Celeo I just looked at the plugin.yml, and the description says it allows snowballs to do damage... Did you add that to the plugin? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Celeo Would you like to see my request? I think you are talented enough to do even one of my things on Criminal Craft.