Allows players to choose which deployables do not use fuel

Supported Games
GameServerKingsGameServerKings

This plugin allows you to set whether various objects should consume fuel or not. This can also be permission based, so the if the owner of said object has the required permission no fuel will be used.

It requires that one single item is added as fuel, it won't ever use it however. How this works is, whenever it goes to consume fuel, it adds 1 fuel before it takes a single fuel away. This doesn't cause duping because it's so fast, but this was the cleanest easiest way to make things infinite fuel while still making burnable items like charcoal.

Permissions

  • Campfires - nofuelrequirements.campfire
  • CandleHat - nofuelrequirements.candlehat
  • CeilingLight - nofuelrequirements.ceilinglight
  • Furnace - nofuelrequirements.furnace
  • Lanterns - nofuelrequirements.lantern
  • LargeFurnace - nofuelrequirements.largefurnace
  • MinersHat - nofuelrequirements.minershat
  • OilRefinery - nofuelrequirements.oilrefinery
  • Quarry - nofuelrequirements.quarry
  • Searchlight - nofuelrequirements.searchlight
  • TunaLight - nofuelrequirements.tunalight
  • FogMachine - nofuelrequirements.fogmachine
  • SnowMachine - nofuelrequirements.snowmachine
  • CursedCauldren - nofuelrequirements.cursedcauldren

Configuration

{
  "Entities that ignore fuel consumption": {
    "Campfire": true,
    "CandleHat": true,
    "CeilingLight": true,
    "Firepit": true,
    "Fireplace": true,
    "Furnace": true,
    "Lanterns": true,
    "LargeFurnace": true,
    "MinersHat": true,
    "OilRefinery": true,
    "Quarry": true,
    "TunaLight": true,
    "Searchlight": true,
    "FogMachine": true,
    "SnowMachine": true,
    "CursedCauldren": true
  },
  "Require permission to ignore fuel consumption": false,
  "Version": {
    "Major": 1,
    "Minor": 3,
    "Patch": 6
  }
}

MIT License


Copyright (c) 2020 k1lly0u


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.