Filled No Enemies during Daytime.

Discussion in 'Plugin Requests' started by souperdudeman, Apr 22, 2020.

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

    souperdudeman

    Category: Mechanics
    Version: 1.15.2
    Name: Safety Daytime

    What I want: All enemy mobs that spawn at night will now burn when in sunlight. Burning damage from sunlight is greatly increased and will kill zombies and skeletons in 2 hits. Instead of burning, Creepers will explode when in contact with the sun. When creepers explode due to contact with the sun, they do no block damage nor do they damage surrounding mobs. This end result is that after night time elapses, one can safely be outside without worrying about hostile mobs from the previous night.

    Commands: no commands needed
    Permissions: no permissions needed
    When I'd Like it: If this comes my way, I will be a happy dude.
     
    Last edited: Apr 22, 2020
  2. Offline

    xR34P3Rx

    i can probably do this. Although I'm a bit concerned about the creepers exploding as it can cause lag and burning enemies to get rid of them is kind of inefficient. If burning enemies is just for aesthetics then that's fine i guess.
     
    souperdudeman likes this.
  3. Offline

    souperdudeman

    I think you're right.. Do you think that instead of burning enemies and exploding creepers, you would be able to just instantly kill all monsters on contact with daylight? Also, if a monster is killed this way, they will drop no items or experience. Also also, would you be able to add a particle effect to monsters that die this way such as a puff of smoke?
     
  4. Offline

    CraftCreeper6

    @souperdudeman
    What about mobs that aren't directly in sunlight? Such as ones that are stood under blocks preventing the light from reaching them?
     
    souperdudeman likes this.
  5. Offline

    souperdudeman

    I would like only the mobs that are in direct sunlight to be subject to this plugin. If an enemy is under a tree when day comes, I would like them only to poof away when they walk into direct sunlight. So if a creeper is under a tree during the day, it wont be poofed until a player in survival walks near it, causing the creeper to chase the player and come out from under the tree. When the creeper crosses into the sunlight, it will be killed with no drops, no experience, and a puff of smoke. Also, thank you so much for helping and clarifying! I think your questions have morphed this idea into one that I like even more!
     
    CraftCreeper6 likes this.
  6. Offline

    xR34P3Rx

    @souperdudeman
    I have some free time right now, I'll see if i can come up with something. Doesn't sound too hard and should be pretty simple.
     
    souperdudeman likes this.
  7. Offline

    Stellrow

    Solved,gonna edit with spigot link soon(~10min)
    Edit:
    Spigot link
     
    Last edited: Apr 26, 2020
    souperdudeman likes this.
  8. Offline

    souperdudeman

    Working!
    Problem: phantoms are not killed in daylight
    Question: would it be possible to add a smoke particle effect when an enemy is killed by this plugin?
    Question 2: would it be possible to have the death animation and sound play when enemies are killed by this plugin?
    Question 3: Would it be possible to to decrease the amount of time between checks for enemy mobs that are in sunlight? - currently it takes a bit for enemies to register as being in light and die.
     
  9. Offline

    Stellrow

    I will update it later,1.i think you are better off making a new request and il take care of that
    2.yes,it just might get bit annoying but il make a config option
    3.I can add another config option as well,atm its every 5sec as the plugin its quite intensive by itself,won't be a problem with ~10players but higher were talking about checking hundreds of entities...
     
    souperdudeman likes this.
Thread Status:
Not open for further replies.

Share This Page