[EDIT/FUN] FirePlacer V1.1 [1.2.5-R1]

Discussion in 'Inactive/Unsupported Plugins' started by stuntguy3000, Apr 27, 2012.

  1. Offline

    stuntguy3000

    [​IMG]

    FirePlacer - The Solution To Placing Fire!
    Version: v1.1

    FirePlacer is an alternative to lighting blocks simply without the worry of having potential griefers place fire all over the place.
    If you've got flint and steel blocked in your server, This is an easy alternative to give a user or group the permission node which then allows them to right click on a block and set fire to it.

    Features:
    • Place fire by using the command /fire and right clicking a block!
    • No config! - Copy FirePlacer.jar into your plugins folder and reload, simple as that!
    • On-Screen Instructions when /fire is used!
    Commands:
    • /fire: Click On A Block To Set It A Light!
    Permissions:
    • fireplacer.place: Allow a player to use the command /fire
    Click here to download FirePlacer!
    Source Code: Coming soon! (As soon as i can figure how to get it on GitHub xD)

    Changelog:

    Version 1.1
    • General code cleaning :)
    Version 1.0
    • Initial Release
    To-Do List
    • Stop a player from placing fire if they are holding a block (Read issue below)
    • Add WorldGuard Support (Region wise)
    Known Bugs/Issues
    • When placing fire, if you are holding a block the block will be placed over the fire.
    • Overrides WorldGuard
    • Buggy w/ mcmmo
    Support me and my plugins :)
    [​IMG]
    Even if you donate $1, it still means a lot to me and will continue to motivate and support me :)
    ------------
    This is my FIRST Plugin release, so sorry if i did something wrong in the process :)

    Reserved...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
    g0dlike97 likes this.
  2. Offline

    g0dlike97

    Great plugin. Comes in super handy!
    +1

    To your "To-Do List", How about making a feature where one can type /fire u (or anything really) which will allow them to right click as many blocks and set it on fire and then /fire u again to disable. If that makes sense?
    Great work, stuntguy! :)
     
  3. Offline

    stuntguy3000

    Haha, i was actually going to implement that feature but thought not to, i mean who really needs a lot of fire placed?

    Thinking about it :)
     
  4. Offline

    CRAZYxMUNK3Y

    To fix that, change the EventHandler priority to HIGH/HIGHEST, and ignoreCancelled

    eg:
    Code:java
    1.  
    2. @EventHandler(priority = EventPriority.HIGHEST, ignoredCancelled = true)
    3. public void //Yada Yada
    4.  
     
  5. Offline

    stuntguy3000

    Nope, can still place fire in restricted areas :/
     
  6. Offline

    CRAZYxMUNK3Y

    Putting it on HIGHEST (As WorldGuard has is set to HIGH, or default) should have fixed it, you can read about plugin priorities here if you want.
     
  7. Offline

    stuntguy3000

    Code:
    @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
    That's what i got, and its still not working :/
     
  8. Offline

    CRAZYxMUNK3Y

    I don't know then, you could try LOWEST, if that doesn't work, try Plugin Development Forum.
     
  9. Offline

    stuntguy3000

    Sloooooooooowww Reply, Anyway
    No its not working...

    I feel that it simply overrides worldguard... because worldguard doesn't register the event (that it needs to check for a region) See the player is typing a command, then right clicking - not making any block changes. The plugin makes the block change, not the player...

    But i has a idea :)
     
  10. Offline

    g0dlike97

    Suggestion 1 - By typing /fire, You are given an item that is basically useless which enables it on that item and that item ONLY and then allowing you to right click a block with it.

    Suggestion 2 - Hooking mcmmo into it which when you type /fire, It will automatically do /mcability and let you right click the block then once you set it a light, It re-activates /mcability by itself.

    If that makes sense?
     
  11. Offline

    stuntguy3000

    :)
    Thanks for the tutorial, its actually helped me implement worldguard :)

    -SOON TO BE RELEASED V2 UPDATE INFO-
    • WorldGuard Support!
    • Now logs on console when a player placed fire, and if they were denied access etc.
    • POSSIBLE Auto update system! :eek:
    • Re-wrote a lot of the code to help clean it up :)
     
  12. Offline

    C0nsole

    Smart.
     
  13. Offline

    stuntguy3000

    Lol?

    Anyway,
    ----------------------------------------------------------------------------------
    • Finished WorldGuard Support!
    • Finished Console Logging
    ----------------------------------------------------------------------------------
    • Get it on GitHub! (I really need help on this one, no idea :eek:)
    • Add Config w/ Config
     
  14. Offline

    C0nsole

    What I mean't is that I think it is a cool idea :p
     
  15. Offline

    stuntguy3000

  16. np ;)
     
  17. Offline

    stuntguy3000

    UPDATE:
    • To be added: Config which allows a "blacklist" of blocks which fire can be placed on
    • Users can only /fire IF their current hand is empty ;)
     
  18. Offline

    C0nsole

    /me is looking forward to it!
     
  19. Offline

    stuntguy3000

    :)

    I have been alerted the download link doesn't work :/
    When i finish 2.0 i will update the download link :)

    ---------------------------------------------------------------------------------
    From now on, all the previous builds were dev and this is the real 1.0 :)
     
  20. Offline

    stuntguy3000

    Sorry to say this but i have discontinued FirePlacer until further notice (if ever...)
     
  21. Offline

    md_5

    [1.2.5-R4.0] please
     

Share This Page