Live
Brad Copp published AmelieEM$Ø updated Welcome to the Jungle Eventbadgyver updated HalloweenZEODE updated Personal MarketplaceRazor updated UFO Invasion Bossbadgyver published Christmas GiftsDeutscherRitterPlatz reacted 🔥 to GolemsTombRaider reacted ❤️ to WarstriderxNullPointer95 updated Permission Manager + Timed PermissionKap reacted 🔥 to GolemsKap reacted ❤️ to WarstriderMbesailor followed @RazorMbesailor reviewed UFO Invasion Bossbadgyver updated CHRONUSbadgyver updated Redemptionbadgyver updated UMBRELLAbadgyver updated The Last Siegebadgyver updated Npc Bandsbadgyver updated HalloweenKhaled published Upgrade TreeMbesailor reviewed GolemsTrapBox updated Trap Deploy PlusRazor updated Boss ScorpionMarc Wilson reviewed WarstriderMarc Wilson reacted ❤️ to WarstriderLiam started Suggestion for library Brad Copp updated WarstriderEM$Ø updated Welcome to the Jungle EventEM$Ø updated Satellite Strike EventGrandMeister reacted 🔥 to Warstrider
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
Pine Hosting
Pine Hosting

Trusted hosting partner. Affordable game servers with solid support and panels.

Visit site ↗
$5.00
Not currently for saleThe creator has paused new purchases of this listing. Anyone who already owns it keeps their downloads.
Views729
Downloads3
Purchases1
Rating★ 0.0
Version1.68
PlatformRust
CategoryPlugins
CompatibleOxide
Size22 KB
PublishedFeb 28, 2022
UpdatedNov 6, 2026
✓ Reviewed for safety and integrity