Filled AreaEffect

Discussion in 'Plugin Requests' started by BlockHeads36, Nov 26, 2016.

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

    BlockHeads36

    Plugin category: Mechanic

    Minecraft version: Minecraft [1.10.2]

    Suggested name: AreaEffect

    What I want: When a player steps into the area [Set with worldedit] the player receives certain potion effects.

    Ideas for commands and their permissions:
    bizarre.staff
    - /areaeffect create <name>
    - /areaeffect addeffect <effect> <area>
    - /areaeffect cleareffects <area>
    - /areaeffect remove <area>

    When I'd like it by: Whenever
     
  2. Offline

    Kwright02

    Would you be ok with it if it used worldGuard in additon to world edit?
     
  3. Offline

    oceantheskatr

    Finished, permission for effects to take place: areaeffect.effects
    World and region names are case sensitive, edited in config.yml. Default examples may be removed, and serve only as a template. This plugin should take the highest priority region's effects.

    https://www.dropbox.com/s/p4nvuz20azds5t6/AreaEffect-v1.0.0.jar?dl=1

    EDIT: @Kwright02 Sorry! I opened this request, saw it, and started working on it. When I posted my plugin it updated the thread and I saw that you posted.
     
  4. Offline

    BlockHeads36

  5. Offline

    Kwright02



    it's alright, it turns out I wasn't going to have time to do it anyway.
     
  6. Offline

    oceantheskatr

    @BlockHeads36 It's configurable in the config.yml, do you need the commands added or is this fine?

    I should've noted, this requires WorldEdit and WorldGuard, and it relies on WorldGuard's regions.
     
  7. Offline

    BlockHeads36

    Ohhh okay


    Edit: Still having troubles, it would be nice to have the commands, just to make it easier
    also, this might be the problem, does it support giving the player Nausea? (I did put it in full caps)
     
    Last edited: Nov 27, 2016
  8. Offline

    oceantheskatr

    It supports all potion effects. It's possible that the name for the effect is something else. I could be wrong but I believe it's CONFUSION.

    Here's a list of all the possible options:
    SPEED
    SLOW
    FAST_DIGGING
    SLOW_DIGGING
    INCREASE_DAMAGE
    HEAL
    HARM
    JUMP
    CONFUSION
    REGENERATION
    DAMAGE_RESISTANCE
    FIRE_RESISTANCE
    WATER_BREATHING
    INVISIBILITY
    BLINDNESS
    NIGHT_VISION
    HUNGER
    WEAKNESS
    POISON
    WITHER
    HEALTH_BOOST
    ABSORPTION
    SATURATION
    GLOWING
    LEVITATION
    LUCK
    UNLUCK
     
    Last edited: Nov 27, 2016
  9. Offline

    htmlman1

  10. Offline

    oceantheskatr

    @htmlman1 Edited already ;) Though yes, I guess I could've just linked the javadoc.

    EDIT: Adding commands.

    EDIT: Updated to version 1.1.0! Commands have been added.

    @BlockHeads36
    Use /areaeffect help to see command usage. (You can use /ae as a shortcut for /areaeffect) I didn't add /ae create as you make the region with WorldGuard anyway. Command arguments have been altered a bit for convenience. Permission to use /ae is areaeffect.cmd. If anything isn't working correctly I'll try my best to fix it.

    Link to updated download: https://www.dropbox.com/s/cduluwk563rgef4/AreaEffect-v1.1.0.jar?dl=1
     
    Last edited: Nov 27, 2016
  11. Offline

    BlockHeads36

    @oceantheskatr The nausea resets (After the 3 seconds) the nausea effect restarts, not sure if this problem can be fixed
     
  12. Offline

    oceantheskatr

    Not without removing all potion effects when a player leaves a region, but what you could do is change the recurrence and duration to something like 30 so that it'll only do it every 30 seconds which is much better.
     
  13. Offline

    BlockHeads36

    But then player have to stand there for 30 seconds for them to get the effect
     
  14. Offline

    oceantheskatr

    Last edited: Nov 28, 2016
  15. Offline

    BlockHeads36

Thread Status:
Not open for further replies.

Share This Page