Filled NoYTorches

Discussion in 'Plugin Requests' started by madtomic, Oct 27, 2015.

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

    madtomic

    Suggested name: NoYTorches

    What I want:

    Players can't use torches near diamond level. No torches placement under y=30 (configurable value)

    TorchesMaxHeight: 30

    ADDED
    Play Sound:
    A lava fizz when a torch's placement has been blocked.
    Torch Fizzing: true

    Torch placement block is for the entire world not just y=30.


    Players may not attach torches to loose materials like dirt(all type), grass, gravel, sand(all type) and leaves(all type). (configurable items would be nice)

    RestrictedMaterials:
    - DIRT
    - GRASS
    - GRAVEL
    - SAND
    - LEAVES

    Player get a message about restrictions.

    NoTorchesPlacement: "&4It's too soft there to fasten a torch." (configurable message)

    NoTorchesHere: "&4There's not enough air flow down here for permanent flames. Use another method to light your way." (configurable message)

    Requirements:

    Build against 1.7.10

    Players torch placement are blocked and torch are returned.

    No permissions or command needed but if you like you can add a bypass for OP and a reload. noytorches.bypass or noytorches.reload

    When I'd like it by: when you have time to code this!

    Thanks,
    madtomic
     
    Last edited: Oct 27, 2015
  2. Offline

    RoboticPlayer

    @madtomic I like the idea, I might make it if nobody else does, but I am also working on a larger project so I might not have time. This request is still open. Other devs, feel free to make this.
     
  3. Offline

    madtomic

    @henderry2019

    Ok, I do hope someone will be able to make this if not, I hope you could.
     
  4. Offline

    PresentingTulip

    I'll give this a shot.
     
  5. Offline

    RoboticPlayer

    @madtomic Actually, I will not make this plugin. I do not build against 1.7 builds, as I do not have access to them. Also, there is no reason for devs to build against spigot unless absolutely nesecary. Spigot servers can still use Bukkit plugins. However, if someone builds a plugin on Spigot and uses even one Spigot-exclusive method (Spigot is just Bukkit with a little bit of add-ons), Bukkit servers will not be able to use that plugin. So just remember, no need to build on Spigot!

    Note for anyone who might develop this plugin: Remember, build on JDK 1.7 :) Many players still use it!
     
  6. Offline

    madtomic

    @henderry2019

    I think I meant for bukkit. I will correct this now. Thanks for point it out. I should just simply said 1.7.10
     
  7. Offline

    madtomic

    Anyone want to take a crack at this?
     
  8. Offline

    teej107

    I'll do it.
     
  9. Offline

    madtomic

    Ok, let me know when you have something for testing.
     
  10. Offline

    teej107

    @madtomic Finished the plugin. You can download it here once the file gets approved. File is approved
     
    Last edited: Oct 31, 2015
  11. Offline

    madtomic

    Awesome! I will let you know when I get some testing done.

    @teej107

    Can you cancel the event like you did the not enough air for too soft to fasten a torch? I think it will work better to simply cancel the event then make torch pop and drop. Littering! =D

    Also, a bug where if you place a row of torches. The last one before the new placed it will be deleted. I think it's within 4x4 block radius. If you place further out it will stay dropped. Weird! =D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 1, 2015
  12. Offline

    teej107

    I'll provide an option to either cancel the event or to drop the torch.
     
  13. Offline

    madtomic

    That would work too. Thanks!
     
  14. Offline

    teej107

    Sent in an update. It hasn't been approved yet at the time of posting this.
     
  15. Offline

    madtomic

    Wow! I can't wait! I'm sure it will work better. Thanks again! =)
     
Thread Status:
Not open for further replies.

Share This Page