No Fuel Requirements

Allows you to choose which deployables do not use fuel

Total Downloads: 6,430 - First Release: Jun 26, 2015 - Last Update: Dec 16, 2017

5/5, 13 likes
  1. Rak

    Rak

    It is correct, i corrected my own post.
     
  2. i have it all set to false for no fuel and i have tried it with 1 fuel, nothing is working :?
     
  3. You want to set all to True, for them to use no fuel :)
     
  4. Code:
    {
      "AffectedTypes": {
        "Campfires": false,
        "CandleHat": true,
        "CeilingLight": true,
        "Furnace": false,
        "Lanterns": true,
        "LargeFurnace": false,
        "MinersHat": true,
        "OilRefinery": false,
        "Quarry": false,
        "TunaLight": true
      },
      "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",
        "TunaLight": "nofuelrequirements.tunalight"
      },
      "UsePermissions": false
    }
    This config, latest version, still doesnt work, tuna lights ran out of the 5 fuel in them.
    I also noticed the light staying at 5 fuel, giving the illusion it's not using any, then all 5 disappeared at once and it went out.

    There another plugin that interferes or something?

    Here's my plugin list:

    Code:
     01 "Rust I R C" (1.0.0) by Unnamed (0.08s)
    02 "Rust:IO for Oxide" (2.10.0) by playrust.io / dcode (36.97s)
    03 "Sign Manager" (1.0.4) by InSaNe8472 (0.43s)
    04 "Alias System" (2.1.0) by LaserHydra (0.00s)
    05 "AutoDoors" (3.1.2) by Wulf/lukespragg (0.05s)
    06 "Automatic Build Grades" (0.0.7) by AlexALX (0.29s)
    07 "AutoPurge" (1.5.0) by Fujikura/Norn (2.52s)
    08 "Auto Reset Targets" (1.0.0) by Dyceman/Dan (6.47s)
    09 "Backpacks" (2.0.4) by LaserHydra (0.15s)
    10 "Better Chat" (4.2.12) by LaserHydra (0.27s)
    11 "BetterLoot" (2.11.6) by Fujikura/dcode (23.47s)
    12 "Build" (1.1.7) by Reneb & NoGrod (8.52s)
    13 "Building Grades" (0.3.7) by bawNg / Nogrod (0.00s)
    14 "BuildingWrapper" (0.1.3) by ignignokt84 (0.00s)
    15 "Clans" (1.7.2) by playrust.io / dcode (0.03s)
    16 "ComponentBlocker" (0.1.0) by Calytic (1.32s)
    17 "ConstructionConfig" (1.0.8) by Nogrod (0.03s)
    18 "Copy Paste" (3.0.19) by Reneb (0.00s)
    19 "Crafting Controller" (2.4.5) by Mughisi (0.16s)
    20 "CupboardRadius" (1.2.0) by playrust.io / dcode (0.68s)
    21 "Death Notes" (5.2.9) by LaserHydra (6.09s)
    22 "EasyVote" (1.2.6) by Exel80 (0.01s)
    23 "EmptyLowFPS" (0.0.3) by Dezito (0.12s)
    24 "EnhancedBanSystem" (5.0.9) by Reneb (0.08s)
    25 "Enhanced Hammer" (0.5.0) by Visagalis (0.13s)
    26 "Entity Owner" (3.1.1) by rustservers.io (0.01s)
    27 "FancyDrop" (2.6.3) by Fujikura (1.52s)
    28 "FriendlyFire" (1.6.0) by playrust.io / dcode (5.22s)
    29 "Friends" (2.1.3) by Nogrod (0.00s)
    30 "Gathering Manager" (2.2.3) by Mughisi (0.02s)
    31 "Give" (2.1.5) by Reneb (0.01s)
    32 "Godmode" (3.2.1) by Wulf/lukespragg (5.68s)
    33 "HeliControl" (1.1.7) by Shady (3.53s)
    34 "ImageLibrary" (1.6.0) by Absolut (0.07s)
    35 "InfoPanel" (0.9.3) by Ghosst (7.13s)
    36 "Admin Inventory Cleaner" (1.2.0) by TheDoc - Uprising Servers (0.00s)
    37 "Kits" (3.1.14) by Reneb (18.57s)
    38 "MagazinBoost" (1.5.1) by Fujikura (0.22s)
    39 "MagicCraft" (0.2.5) by Norn (0.28s)
    40 "NeverWear" (0.1.4) by k1lly0u (0.07s)
    41 "NoDurability" (2.0.0) by Wulf/lukespragg (0.02s)
    42 "Notifier" (3.0.8) by SkinN (0.51s)
    43 "NTeleportation" (1.0.18) by Nogrod (6.58s)
    44 "Ping" (1.7.0) by Wulf/lukespragg (0.01s)
    45 "PlayerDatabase" (1.5.4) by Reneb (0.01s)
    46 "PlayerInformations" (1.2.7) by Reneb (0.01s)
    47 "PrivateMessage" (2.0.2) by Nogrod (0.00s)
    48 "ProtocolKickInfo" (1.0.3) by Fujikura (0.00s)
    49 "QuickSmelt" (1.3.0) by Wulf/lukespragg (0.83s)
    50 "QuickSort" (1.0.2) by Wulf/lukespragg (0.91s)
    51 "Random Warps" (1.1.2) by LaserHydra (0.02s)
    52 "RemoverTool" (4.0.11) by Reneb (0.09s)
    53 "SaveFix" (1.0.0) by Nogrod (59.89s)
    54 "ServerInfo" (0.5.1) by Fujikura/baton (0.18s)
    55 "SharedDoors" (0.6.0) by dbteku (0.05s)
    56 "Sign Artist" (0.3.2) by Bombardir (0.01s)
    57 "SleeperAnimalProtection" (0.2.1) by Fujikura (3.97s)
    58 "Stack Size Controller" (1.9.0) by Waizujin (0.00s)
    59 "Timed Execute" (0.2.0) by PaiN (2.19s)
    60 "TimeOfDay" (2.2.1) by Fujikura (0.00s)
    61 "Trade" (1.0.9) by Calytic (0.22s)
    62 "TwigsDecay" (2.0.2) by Nogrod (9.03s)
    63 "UniversalUI" (2.1.3) by Absolut (0.18s)
    64 "Vanish" (0.3.5) by Wulf/lukespragg (5.99s)
    65 "WellFed" (1.1.5) by ColonBlow (0.00s)
    66 "ZoneManager" (2.4.10) by Reneb / Nogrod (12.00s)
    67 "NoFuelRequirements" (1.3.2) by k1lly0u (0.09s)
     
  5. It's because you are using quick smelt, and it modifying the lights fuel consumption.
    Add this:
    Code:
                if (oven.ShortPrefabName == "tunalight.deployed" | oven.ShortPrefabName == "ceilinglight.deployed" | oven.ShortPrefabName == "lantern.deployed") return;
    Under this:
    Code:
            void OnConsumeFuel(BaseOven oven, Item fuel, ItemModBurnable burnable)
            {
                // Check if furnance is usable
                if (oven == null) return;
    in QuickSmelt.cs

    QuickSmelt has been updated, but it works totally differently then before, and may not be suitable for your server in its current state if your running a high gather rate.
     
  6. I think I have found a bug with the quarry option only. I am using the permission system to grant some people access to no fuel tuna lanterns, etc. The the permission setting is 'true' but no players have the permission 'nofuelrequirements.quarry'. However, as mentioned the quarry was able to run without consuming fuel. I turned off Quarry in AffectedTypes and reloaded the plugin and the quarries required fuel again, as expected.

    I then double-checked by turning on Quarry in AffectedTypes and ensuring no one had permissions for 'nofuelrequirements.quarry' which no player did and reloaded the plugin. I then turned on a quarry and it ran fine without consuming fuel again.

    It seems the plugin is ignoring the permissions check on nofuelrequirements.quarry.

    I checked every other permission and it seems to work correctly.
     
  7. I changed this, but it still uses fuel :-/ I'm using the 'old' QuikSmelt, so this should be working right?
     
  8. Thanks Dubz, that did it. :)
     
  9. Works for me
     
  10. I also have lights without unlimited fuel and I HAVE THE OLD QuickSmelt mod for this reason you describe that I first discovered when trying to use NightLantern and this mod together.

    Here is my config:
    Code:
    {
      "AffectedTypes": {
        "Campfires": true,
        "CandleHat": true,
        "CeilingLight": true,
        "Furnace": false,
        "Lanterns": true,
        "LargeFurnace": false,
        "MinersHat": true,
        "OilRefinery": false,
        "Quarry": false,
        "TunaLight": true
      },
      "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",
        "TunaLight": "nofuelrequirements.tunalight"
      },
      "UsePermissions": false
    }
    and here is my current mod list (it is trimmed down because of the restarts I am experiencing):
    Capture.JPG

    OH Yeah and since I have trouble getting NightLantern to work due to restarts I am not using it BUT when I had the newest version of it in the above combination, it did turn lights on and off without fuel consumption.
     
  11. Im getting this line in RCON, can somebody explain what is causing this?

    (09:34:11) | Failed to call hook 'OnConsumeFuel' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)

    Thanks alot
     
  12. You're using quick smelt look a few posts back for some code you will need to add to the OLD version for it to stop using fuel.
     
  13. Im getting this line in RCON, would you be able to explain what is causing this? I don't have quick smelt currently

    (09:34:11) | Failed to call hook 'OnConsumeFuel' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)

    Thanks alot
     
  14. Any fix for the above issue??
     
  15. Post your configs
     
  16. From my server boot log.

    'NoFuelRequirements v1.3.2' is using deprecated hook 'OnConsumableUse', which will stop working on Saturday, 01 April 2017. Please ask the author to update to 'OnItemUse'
     
  17. same here :) but plenty of time
     
  18. Wulf

    Wulf Community Admin

    Wulf updated No Fuel Requirements with a new update entry:

    1.3.3

     
  19. I did a second test on quarrys and the permission check is definitely broken. If you enable someone with the permission to use no fuel in their quarrys, then remove the permission, they are still able to run their quarrys without fuel. The other permissions seem to work fine (expect for pump jacks, but that may or may not be related to the oilcrate plugin I'm using.)
     
  20. LOVE THIS MOD!!