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 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.
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!
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
To fix that, change the EventHandler priority to HIGH/HIGHEST, and ignoreCancelled eg: Code:java @EventHandler(priority = EventPriority.HIGHEST, ignoredCancelled = true)public void //Yada Yada
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.
Code: @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) That's what i got, and its still not working :/
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
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?
Just setting the priority wont do anything, i have a tutorial on this... http://forums.bukkit.org/threads/tu...uard-in-your-plugin-using-it-in-events.64779/
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! Re-wrote a lot of the code to help clean it up
Lol? Anyway, ---------------------------------------------------------------------------------- Finished WorldGuard Support! Finished Console Logging ---------------------------------------------------------------------------------- Get it on GitHub! (I really need help on this one, no idea ) Add Config w/ Config
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
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