Tiered Electricity

Tiered Electricity 1.2.5

About Tiered Electricity​


Tiered Electricity allows players with permission to be granted increased power output and other properties from all available electricity power source entities in the game:
  • Small Battery
  • Medium Battery
  • Large Battery
  • Solar Panels
  • Wind Turbines
  • Fuel Generators
  • Test Generators
Simply grant permissions to players and all their electric power sources will inherit the property of that Tier immediately, as set in the config.

Works excellently with any Shop/Reward Shop that can issue commands and/or permissions.

There are 3 basic Tiers which will probably suit most people, but server owners can create as many tiers as they like by cloning an existing tier in the config and editing to suit, the number of tiers is infinite!

Quantum Batteries:

There is also an option to enable Quantum Batteries for players with permission. All batteries owned/placed by a player with this permission will have infinite power!

NOTE: Tier order in the config is IMPORTANT. The lowest tier must be at the top of the list in the config, with the highest tier at the bottom. If you don't do this, f players are in more than one group with multiple permissions for this plugin, the values may be undesirable!

PERMISSIONS DO NOT STACK.

Permissions:

  • tieredelectricity.admin (needed for the reload command)
  • tieredelectricity.tier1
  • tieredelectricity.tier2
  • tieredelectricity.tier3
  • etc
(Permissions will be set for each tier you create and will be named after the tier name in the config.)

Commands (prefix with / for use in chat):
  • tereload <batteries|solar|turbine|fuelgen|testgen|all>
Note: Reloading can cause heavy load, depending on how many IOEntities are on the map, high pop will obviously be higher load. You can mitigate this by only reloading the config you need to if you have made changes, without reloading the whole plugin or all types.
Config is very easy with clear instructions and Rust default values available, but very customisable.

Default Config:

C#:
{
  "Plugin Options": {
    "Chat Prefix": "<color=orange>[TieredElectricity] </color>",
    "Use Chat Prefix": true,
    "Reset Power Sources to Default Values On Plugin Unload": true,
    "Quantum Battery Recharge Time (Seconds)": 5.0
  },
  "Electrical Tiers (IMPORTANT: Position Tiers in Order From Lowest to Highest)": {
    "Tier Settings": {
      "Tier 1": {
        "Permission suffix for this tier": "tier1",
        "Small Battery": {
          "Maximum Power Output (Vanilla: 10)": 15,
          "Initial Charge (Vanilla: 1200 rW Seconds)": 1800,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 9000 rW Seconds)": 13500
        },
        "Medium Battery": {
          "Maximum Power Output (Vanilla: 50)": 75,
          "Initial Charge (Vanilla: 6000 rW Seconds)": 9000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 540000 rW Seconds)": 810000
        },
        "Large Battery": {
          "Maximum Power Output (Vanilla: 100)": 150,
          "Initial Charge (Vanilla: 12000 rW Seconds)": 18000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 1440000 rW Seconds)": 2160000
        },
        "Wind Turbine": {
          "Maximum Power Output (Vanilla: 150)": 225
        },
        "Solar Panel": {
          "Maximum Power Output (Vanilla: 20)": 30
        },
        "Small Generator": {
          "Maximum Power Output (Vanilla: 40)": 60,
          "Fuel Per Second  (Vanilla: 0.69444)": 0.69444
        },
        "Test Generator": {
          "Maximum Power Per Output (Vanilla: 100)": 150.0
        }
      },
      "Tier 2": {
        "Permission suffix for this tier": "tier2",
        "Small Battery": {
          "Maximum Power Output (Vanilla: 10)": 20,
          "Initial Charge (Vanilla: 1200 rW Seconds)": 2400,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 9000 rW Seconds)": 18000
        },
        "Medium Battery": {
          "Maximum Power Output (Vanilla: 50)": 100,
          "Initial Charge (Vanilla: 6000 rW Seconds)": 12000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 540000 rW Seconds)": 1080000
        },
        "Large Battery": {
          "Maximum Power Output (Vanilla: 100)": 200,
          "Initial Charge (Vanilla: 12000 rW Seconds)": 24000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 1440000 rW Seconds)": 2880000
        },
        "Wind Turbine": {
          "Maximum Power Output (Vanilla: 150)": 300
        },
        "Solar Panel": {
          "Maximum Power Output (Vanilla: 20)": 40
        },
        "Small Generator": {
          "Maximum Power Output (Vanilla: 40)": 80,
          "Fuel Per Second  (Vanilla: 0.69444)": 0.69444
        },
        "Test Generator": {
          "Maximum Power Per Output (Vanilla: 100)": 200.0
        }
      },
      "Tier 3": {
        "Permission suffix for this tier": "tier3",
        "Small Battery": {
          "Maximum Power Output (Vanilla: 10)": 25,
          "Initial Charge (Vanilla: 1200 rW Seconds)": 3000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 9000 rW Seconds)": 22500
        },
        "Medium Battery": {
          "Maximum Power Output (Vanilla: 50)": 125,
          "Initial Charge (Vanilla: 6000 rW Seconds)": 15000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 540000 rW Seconds)": 1350000
        },
        "Large Battery": {
          "Maximum Power Output (Vanilla: 100)": 250,
          "Initial Charge (Vanilla: 12000 rW Seconds)": 30000,
          "Charging Efficiency Ratio (Vanilla: 0.8)": 0.8,
          "Inbound Energy Ratio (Energy requested for charging = This value * MaxOutput. Vanilla: 4)": 4.0,
          "Maximum Capacity (Vanilla: 1440000 rW Seconds)": 3600000
        },
        "Wind Turbine": {
          "Maximum Power Output (Vanilla: 150)": 375
        },
        "Solar Panel": {
          "Maximum Power Output (Vanilla: 20)": 50
        },
        "Small Generator": {
          "Maximum Power Output (Vanilla: 40)": 100,
          "Fuel Per Second  (Vanilla: 0.69444)": 0.69444
        },
        "Test Generator": {
          "Maximum Power Per Output (Vanilla: 100)": 250.0
        }
      }
    }
  },
  "Version": {
    "Major": 1,
    "Minor": 2,
    "Patch": 1
  }
}

Information

Author
ZEODE
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest Release v1.2.5

Released
Jan 24, 2024 at 11:05 PM
Rating
0.00 star(s) 0 ratings


More resources from ZEODE

  • Heli Signals
    Heli Signals
    Call different difficulty Patrol Helicopters to your location with custom supply signals.
  • Horse Lock
    Horse Lock
    Lock ridable horses to players to prevent unauthorised use.
  • Bradley Drops
    Bradley Drops
    Allows players with permission to call a Bradley APC to their location with a custom Supply Signal,
  • Fish Loot
    Fish Loot
    Adds a chance to get custom items when fishing and gutting Sharks.

Tiered Electricity by ZEODE
© chaoscode.io Apr 20, 2023