Add Potion Effect to Class/Item

Discussion in 'Plugin Requests' started by ThePureAnarchy, Jul 30, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    ThePureAnarchy

    Hey People of Bukkit, Im in search of a Plugin that could add option effects (eg. Strength) to certain ranks. I am aware of an outdated 1.6 plugin that does that as well as some plugins that add effects to armour sets, but as I said one plugin is outdated and one adds them to armour sets which doesn't really work out with how my server is setup. If anyone has some spare time, I would be very grateful if you could create such a plugin. What I had in mind is giving special permission nodes that once added to that rank gave that effect. But I would also want a possibility of disabling those effects.
    Many Thanks
    -Anarchy
     
  2. Offline

    plobnob

    @ThePureAnarchy
    I could do this for you. Is it ok if players who are op, have the * permission or the plugin.* permission are discluded from being given potion effects? Otherwise, if I do it by permission, anyone in them categories will constantly have every single potion effect in the game, which may not go down to well, being blind, nauseated, poisoned and withered all the time.

    Plob.
     
  3. Offline

    ThePureAnarchy

    No problem, I'm fine with OPed members not having the potion effects.
    Thanks a lot for doing this for me. It is greatly appreciated.
    -Anarchy
     
  4. Offline

    plobnob

    @ThePureAnarchy

    Done: https://www.dropbox.com/s/m54w7rgcy5i91gy/ClassEffects.jar?dl=0

    Commands:
    • /ce reload - Reloads the config file for the plugin.
    Permissions:
    • ce.reload - Gives permission to use /ce reload.
    Config:
    The config contains a brief summary inside. Each potion effect will be automatically added to the config. Each of these potions has two things you can change:
    • Level: Change the level at which the potion effect is applied. If this is set to 0, the potion effect will be disabled.
    • Permission: Change the permission a player needs to gain the potion effect. Set to "ANY" to give everyone the potion effect.
    As I mentioned before, if a player has: op status, the * permission, or the ClassEffects.* permission, they will not get any potion effects. The only exception to this is when a permission is set to "ANY" in the config file.

    Hope it works fine for you, feel free to inbox me or tag me if you have any bugs or want anything changed!

    Plob.
     
  5. Offline

    ThePureAnarchy

    Thanks, this is greatly appreciated. Very cool, just tested it, works very well.
    -Anarchy

    @plobnob
    Hey, just had a question,
    whats the permission node for the potion effects, and do all the effects have the same name and is there a health boost effect that increases the amount of hearts you have, since its not a potion effect I was just wondering.
    Thanks,
    -Anarchy
     
    Last edited by a moderator: Jul 31, 2015
Thread Status:
Not open for further replies.

Share This Page