0x89A
Automatically fuels lights using fuel from the tool cupboard's inventory

Supported Games
GameServerKingsGameServerKings

Auto Fuel simply lets fuel that is placed in tool cupboard inventories be shared around to active fuel sources.

Simply put fuel in a tool cupboard's inventory where that item is within its radius and any powered fuel sources (lights, furnaces, etc.) will automatically take their required fuel item/resource (if it exists) from the tool cupboard's inventory when needed. Keep in mind what type of fuel each fuel source requires and make sure to keep the tool cupboard stocked!

Permissions

  • autofuel.use => Allows player to be affected by this plugin.

Configuration

{
  "Allowed Entities": [
    "bbq.deployed",
    "campfire",
    "ceilinglight.deployed",
    "fireplace.deployed",
    "furnace",
    "furnace.large",
    "jackolantern.angry",
    "jackolantern.happy",
    "lantern.deployed",
    "refinery_small_deployed",
    "searchlight.deployed",
    "skull_fire_pit",
    "tunalight.deployed",
    "fogmachine",
    "snowmachine",
    "chineselantern.deployed",
    "hobobarrel.deployed", 
    "small_fuel_generator.deployed" 
  ],
  "Check entity owner for permission": false,
  "Anyone on tool cupboard has permission": true
}

Credits

  • rising_ace, for the original idea via reddit
  • Retributive Law, for helping with the testing (of 1.* versions)
  • redBDGR, original author of the 1.* versions of this plugin.

MIT License


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.