Live
Sphinkter reviewed Compost HelperSphinkter reviewed Better JackhammerSphinkter reviewed Extraction LooterCalvinRF reacted 👍 to Rage Cheating DetectionCalvinRF published Rage Cheating DetectionKhaled updated Recycler StationMayonnaiseScc published Porta-Potty / OuthouseSnaplatack reacted 😮 to Electric VehiclesRickySpanish updated PurgeFXFlecksel updated Rust Valley GPArox followed @WizlaVoodooLights updated MyTimedEventsVoodooLights published MyTimedEventsbadgyver updated The Day After TomorrowBrad Copp reacted 🚀 to Silent Shadows - Grimwood HollowTheGamingChurch published Silent Shadows - Haunted MansionTheGamingChurch published Silent Shadows - Haunted CemeteryTheGamingChurch published Silent Shadows - Quagknocker's Haunted AbodeTheGamingChurch published Silent Shadows - Grimwood HollowTheGamingChurch published Silent Shadows - Halloween Fair Safe ZoneJeffGoldblume followed @bigtexryderJeffGoldblume reacted 😮 to Radio StudioWrecks updated Skybase (Community Center)RickySpanish updated Escape RoomRickySpanish reacted 🔥 to LootFloatEM$Ø updated rPhonebadgyver updated Extractiondrifter reacted ❤️ to OverWatch HUD UIWrecks published OverWatch HUD UIWrecks updated Beast Master - (Aura & Effect Update)
Browse/Rust/Plugins/Stash2Pump

Stash2Pump

Rrazorfishsl★ 0.0 (0)v1.68Oxide
Stash2Pump
Allows Water Pump to be placed via Stash with variable resource requirment
Description

About

Allows the user to place water pump where a stash can be placed.
If this is too limiting there is a companion plugin available that allows
a wooden box to place a stash (Box2Stash)

commands

mpump gives resource requirement to user for this location

Features

  • Been used on public server since 2020, code is stable & fast.
  • Calculates distance to water depending on location & varied resource req.
  • Can use only static resources if needed.
  • can randomize fresh/salt water, based on %
  • Uses "Stash" resource to place pump, where pump cannot normally be placed.
  • Can be extended to place in caves other areas, by usage of Box2Stash plugin.
  • self optimize location files based on pumps being removed.

Permission

HcWaterPumpAnywhere.usempumpcmd : user can use command
HcWaterPumpAnywhere.makepump : Plugin enabled for user

Configuration
Items needed to make the pump, upto 6 items (stash limit)
Quantity is dependent on any stacker/rust limits

Calculation
DistanceCovered: distance covered by that many items per M
QuantityPerDistance: is the number of items to cover above Measure distance.

Therefore if you set :
QuantityPerDistance=2
DistanceCovered= 1

Waterdistance/DistanceCovered*QuantityPerDistance

the water is 2M under the map, that means the user is asked for (2/1)*2
or 4 of that item.

//Resourcesfixed = true : Plugin will always assume water is 1m under map
//Resourcesfixed = false : Plugin will calculate based on water pos
//waterPure = true : Produces pure water, but can be overridden by "waterRandom = true" & a %
//waterPure = false : Produces ONLY salt water from land based pumps not near rivers, ignores waterRandom
//waterRandom = false : The pump will only produce water based on "waterPure" flag
//waterRandom = true : If the waterPure=true, there is a chance to produce salt water
//waterRandom% = 0.00-1.00 : Chance waterRandom produces salt water (45%=0.45)
//adminAlwaysEnabled = true : Plugin always enabled for any >level 1 user
//adminAlwaysEnabled = false : Treats admin as normal player, usage must be set via group/user

{
  "pmitemContainer": {
    "Items": [
      {
           "ItemShortName": "waterpump",
        "QuantityPerDistance": 1,
        "DistanceCovered-M": 9999
      },
      {
           "ItemShortName": "metalpipe",
        "QuantityPerDistance": 1,
        "DistanceCovered-M": 3
      },
      {
           "ItemShortName": "pickaxe",
        "QuantityPerDistance": 1,
        "DistanceCovered-M": 4
      }
    ]
  },
  "AlwaysEnabled4Admin": true,
  "Resourcesfixed": false,
  "waterPure": true,
  "waterRandom": false,
  "optimizePumpTags": false,
  "waterRandom%": 0.5,
  "Version": {
    "Major": 1,
    "Minor": 6,
    "Patch": 8
  }
}
Sponsored
RCONtrol
RCONtrol

Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.

Visit site ↗
$6.00
Views633
Downloads2
Purchases0
Rating★ 0.0
Version1.68
PlatformRust
CategoryPlugins
CompatibleOxide
Size22 KB
PublishedFeb 28, 2022
UpdatedMar 30, 2022
✓ Reviewed for safety and integrity