Search the Community
Showing results for tags 'stack'.
-
Version 1.5.20
1,279 downloads
New plugin for changing item stacks and their multipliers in containers with convenient customization right in the game Commands stacks - open an UI stacks sethandstack [stack size] - set the stack size for the item in hand stacks setstack [short name] [stack size] - set the stack size for the item Permissions stacks.admin - using a plugin Config { "Commands": [ "stacks" ], "Work with Notify?": true, "Changing multiplies in containers using a hammer": false, "Default Multiplier for new containers": 1.0 } Containers Data { "assets/bundled/prefabs/static/bbq.static.prefab": { "Image": "https://i.imgur.com/L28375p.png", "Multiplier": 1.0 }, "assets/bundled/prefabs/static/hobobarrel_static.prefab": { "Image": "https://i.imgur.com/v8sDTaP.png", "Multiplier": 1.0 }, "assets/bundled/prefabs/static/recycler_static.prefab": { "Image": "https://i.imgur.com/V1smQYs.png", "Multiplier": 1.0 }, "assets/bundled/prefabs/static/repairbench_static.prefab": { "Image": "https://i.imgur.com/8qV6Z10.png", "Multiplier": 1.0 } ... Items Data [ { "ShortName": "hat.wolf", "Name": "Wolf Headdress", "Default Stack Size": 10, "Custom Stack Size": 0 }, { "ShortName": "fogmachine", "Name": "Fogger-3000", "Default Stack Size": 2, "Custom Stack Size": 0 }, { "ShortName": "strobelight", "Name": "Strobe Light", "Default Stack Size": 1, "Custom Stack Size": 0 }, { "ShortName": "kayak", "Name": "Kayak", "Default Stack Size": 1, "Custom Stack Size": 0 }, { "ShortName": "minihelicopter.repair", "Name": "MC repair", "Default Stack Size": 1, "Custom Stack Size": 0 }, { "ShortName": "scraptransportheli.repair", "Name": "ScrapTransportHeliRepair", "Default Stack Size": 1, "Custom Stack Size": 0 }, ...$19.95- 65 comments
- 9 reviews
-
- 6
-
- #stacks
- #chest stacks
- (and 9 more)
-
Version 1.0.10
400 downloads
The ObjectStacks plugin enables players to stack specific objects in Rust, maximizing space efficiency and creating organized storage areas. The plugin is easy to configure and supports a wide range of objects, with settings that can be adjusted directly in the configuration file. Features: Flexible Configuration: Easily add objects in the config file and define a Y-offset and specific permissions for each object. Advanced Stacking Options: Set maximum stacking limits based on user permissions (e.g., standard users vs. VIPs). Contextual Stacking: Stacking is only allowed in areas with building privileges, supporting game balance and preventing overuse. Automatic Permission Registration: Permissions for each configurable object are automatically registered. Supported Objects: electric_battery_rechargable_medium electric_battery_rechargable_small electric_furnace electric_generator_small coffin_storage box_wooden_large box_wooden composter Permissions: The plugin uses a dynamic permission system that allows specific actions (such as stacking) to be permitted or denied for different user groups. Example of a permission: objectstacks.storage_barrel_b.use - Allows stacking of storage barrel type B for regular users. objectstacks.storage_barrel_b.vip - Allows stacking of storage barrel type B for VIP users. Configurability: Administrators can easily add or edit objects and their settings in the configuration file. This includes setting Y-offsets and assigning permissions for each object. { "Can stack only in Building Privileged zones?": true, "Blacklisted Skins": [ 123, 1223 ], "Permissions & their amount of stacked furnaces allowed": { "objectstacks.box_wooden.use": 2, "objectstacks.box_wooden.vip": 4, "objectstacks.box_wooden_large.use": 2, "objectstacks.box_wooden_large.vip": 4, "objectstacks.coffin_storage.use": 2, "objectstacks.coffin_storage.vip": 4, "objectstacks.composter.use": 2, "objectstacks.composter.vip": 4, "objectstacks.electric_battery_rechargable_large.use": 2, "objectstacks.electric_battery_rechargable_large.vip": 4, "objectstacks.electric_battery_rechargable_medium.use": 2, "objectstacks.electric_battery_rechargable_medium.vip": 4, "objectstacks.electric_battery_rechargable_small.use": 2, "objectstacks.electric_battery_rechargable_small.vip": 4, "objectstacks.electric_furnace.use": 2, "objectstacks.electric_furnace.vip": 4, "objectstacks.electric_generator_small.use": 2, "objectstacks.electric_generator_small.vip": 4, "objectstacks.storage_barrel_b.use": 2, "objectstacks.storage_barrel_b.vip": 4, "objectstacks.storage_barrel_c.use": 2, "objectstacks.storage_barrel_c.vip": 4 }, "Objects and offsets": { "assets/prefabs/deployable/composter/composter.prefab": { "YOffset": 1.5, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "composter" }, "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab": { "YOffset": 0.7, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "box_wooden_large" }, "assets/prefabs/deployable/playerioents/batteries/large/large.rechargable.battery.deployed.prefab": { "YOffset": 1.7, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "electric_battery_rechargable_large" }, "assets/prefabs/deployable/playerioents/batteries/medium/medium.rechargable.battery.deployed.prefab": { "YOffset": 1.3, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "electric_battery_rechargable_medium" }, "assets/prefabs/deployable/playerioents/batteries/smallrechargablebattery.deployed.prefab": { "YOffset": 0.34, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "electric_battery_rechargable_small" }, "assets/prefabs/deployable/playerioents/electricfurnace/electricfurnace.deployed.prefab": { "YOffset": 1.15, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "electric_furnace" }, "assets/prefabs/deployable/playerioents/generators/generator.small.prefab": { "YOffset": 0.7, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "electric_generator_small" }, "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab": { "YOffset": 0.55, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "box_wooden" }, "assets/prefabs/misc/decor_dlc/storagebarrel/storage_barrel_b.prefab": { "YOffset": 1.2, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "storage_barrel_b" }, "assets/prefabs/misc/decor_dlc/storagebarrel/storage_barrel_c.prefab": { "YOffset": 0.9, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "storage_barrel_c" }, "assets/prefabs/misc/halloween/coffin/coffinstorage.prefab": { "YOffset": 0.6, "Shortname for permissions (objectstacks.THISNAME.[use/vip/etc.])": "coffin_storage" } } }$21.95 -
Version 1.0.4
33 downloads
Terminal is an indispensable item that will allow players to manage the resources of the house in one place! Just as importantly, it is not just a conditional button on the screen or something similar, but a complete new item that is placed in the house, which gives a nice user experience to any player that likes interaction. Its multifunctionality will allow the player to use it for a variety of purposes, from simple resource management to building a terminal-only resource factory. Interested? Then let's get to the details. Examples of uses: Getting remote access to resources, the ability to take resources from several storages at once, as well as put them in them. The ability to use the terminal as one big chest thanks to the cells of different levels, available import and export pipes will allow to realize the delivery of resources to the production tools Building a plant powered by terminal alone Many other clever uses, like a chest in the buffer of the house connected to the terminal. Combining uses Features: Similar type items are displayed combined in one slot, where you can see the total quantity and take the required quantity. Two modes of operation: wireless and cellular. Full-featured new placeable item Works with industrial pipes Ability to create different cells (by standard there are 4 levels) Cells have their own stack size just for them. Intelligent movement that will not allow you to store more items in the boxes than allowed The terminal has a convenient search for items in the user's language, not only in English Demo Video: Installation instructions Installing dependencies CustomEntities. Go to Github, click Clone -> Download ZIP, then transfer CustomEntities.cs to the folder with plugins. CustomItemDefinitions. Go here, download and install in the plugins folder. Download purchased this plugin and install it in the plugins folder the same way. Done Quick Start: Prompt commands: give terminal give storage_cell.level1 give storageadaptor.wireless Place terminal, put the cell in the cell storage, install the adapter on the chest, enjoy. More about items: [Terminal] Terminal is a placeable item, with the ability to be placed both outside and in the house, serves for convenient management of all resources in the house. It has a certain amount of health (default 500), as well as the ability to pick up with a loss of strength. It has 2 modes of operation, wireless and cell, can work with industrial, by means of pipes to import and export items from cells. The server owner can decide where to get this item from, it has its own short name and can be used in all plugins, the best option is to craft it. The shortname of the item - terminal Command to give: give terminal How to pick up a terminal? For this we must have authorization in the cabinet. Holding a mallet in your hand, point at the part of the terminal where the inscription Authorize appears, press the R button and select Turn. How to switch modes of operation? It is possible to do this by pressing the switch on the left side of the laptop, it looks like this: What is needed to work in wireless mode? To start working you need the item “Wireless Storage Adapter”, this item is part of the plugin. Can be obtained by any method of the server owner's choice. The short name of the item - storageadapter.wireless. Command to give out: give storageadapter.wireless Next, install the wireless storage adapter on the storage item you need. Such as: chests, furnaces, refineries, etc. Next, select the wireless mode on the terminal by pressing the switch. After entering the laptop, it will display all the items that are connected to the adapter in the range of the wireless mode of the terminal (customizable). What is needed to work in the cell mode? The first thing you need are the cells themselves, they can be obtained in any way the server owner chooses. The short name of the item - storage_cell.{name from the config, by default it is level1-4} Command to give out: give storage_cell.level1 Cells should be put in the terminal cell storage, it looks like this: It is recommended to put any kind of lock on the cell storage, otherwise they can be stolen! Next, select the cell mode on the terminal by pressing the switch. After entering the laptop, where you can now see what is in the cells, how many slots are available and you can put things there. [Wireless Storage Adaptor] Used for the wireless mode of the terminal. Installed on all storage items for which a regular storage adapter is available. Does not require additional connection. The server owner can decide where to get this item from, it has its own short name and can be used in all plugins, the best option is to craft it. The short name of the item - storageadapter.wireless. Command to give out: give storageadapter.wireless [Storage Cells] Cells hold items, have a certain number of slots and a maximum stack in each slot. These are special slots and only in them items can be stacked to their maximum. The maximum stack works on the principle of 1 type - 1 slot. That is, if the maximum stack is 5000 and the player puts there 10 new machine guns, they will occupy 1 slot and such can be put another 4990, if he puts a slightly broken machine gun, it will take another slot and will store the same machine guns. This is how it works with all items. Another example; a level 1 cell has a maximum stack of 5000 and 8 slots, and if you store only sulfur in it, you can eventually store 40000 sulfur in it. Higher level cells have more stacks and slots. Don't worry, the configured max stack won't be knocked down, items will unstack when they are laid down and taken out of the cell. The server owner can decide where to get this item from, it has its own short name and can be used in all plugins, the best option is to craft it. The short name of the item - storage_cell.{name from the config, by default it is level1-4} Command to give out: give storage_cell.level1$40.00 -
Version 1.2.0
33 downloads
About plugin The plugin allows you to conveniently change the stacks of items through the use of a graphical interface Chat Commands (can be changed in config) /stacks - opens the main menu /sethandstack - change item's stack you are holding in your hands Console Commands jstacks.setstack [item shortname] [new stack] - set stack size for item. Example: jstacks.setstack ammo.rifle 256 jstacks.restore - reset all stacks to default values (be careful: there is no confirmation) Permissions jstacks.use - using the plugin Features Changing stacks for the entire category by pressing two buttons Multiple choice option for quick stack change Config { "Can admins use command": true, "Command to open the menu": "stacks", "Command to set stack size of an item in your hands": "sethandstack", "Default icons for categories (in-game only)": { "Ammunition": "assets/icons/ammunition.png", "Attire": "assets/icons/community_servers.png", "Component": "assets/icons/open.png", "Construction": "assets/icons/construction.png", "Electrical": "assets/icons/electric.png", "Food": "assets/icons/food_cooked.png", "Fun": "assets/icons/fun_alt.png", "Items": "assets/icons/extinguish.png", "Medical": "assets/icons/medical.png", "Misc": "assets/icons/menu_dots.png", "Resources": "assets/icons/community_servers.png", "Tool": "assets/icons/tools.png", "Traps": "assets/icons/traps.png", "Weapon": "assets/icons/weapon.png" } }$2.99- 1 review
-
- #stacks
- #stack size
-
(and 8 more)
Tagged with:
-
Version 2.6.7
8,740 downloads
This plugin will seamlessly handle all of the ugly side effects and glitches. Thanks to Stack-modifier's feature additions, it makes it feel just like Rusts default behavior, but better! Features Has a GUI Editor Patches Industrial Conveyor stack issues! Blocks Player movements while using GUI Editor Including Keybinds! This plugin has 2 commands and no Lang file Supports stacking of liquids Supports Stacking of Fuel Containers (hats, tools, etc.) Supports Stacking of Guns Supports Weapon Attachments Supports Stacking of Skins Works with SkinBox plugins Supports Stacking of Custom Items Supports Stacking of Custom Items with Custom Display Names Supports Stacking of Key Cards without losing the stack when swiping Supports Stacking Candy Cane Club without losing the stack while lick Support for modified presents for unwrapping The largest possible value in C# is 2,147,483,647 Which means anything over this stack-size will break the plugin Limits wearable clothing items to stack sizes of 1! ( on the player wear container only ) Limits weapon attachments to stack sizes of 1! ( On the weapon its self! so you can have bigger stacks! ) Known Conflicts RoadBradley & HeliSignals Are doing item creations wrong and setting the item.name field as vanilla item display names thus breaking stack support. ( don't set a vanilla display name only set them if its custom names as the fix ) Davids Shop UI ( recently changed how his default data files are createdfor items ) ( you need to generate a new Items.json file and re-do custom items / pricing inside it to fix stack bugs with old data files ) Magic Coin uses some of the same hooks set up config in it correctly to not conflict Custom Skin Stack Fix not needed this handles it properly Stack Size Controller cannot have 2 of the same plugins basically Extra Loot causes a stacking bug when a reboot occurs with skinned items preventing old skinned items from stacking with new skinned items IndustrialCustomSkinsFix not needed stack-modifier has the same patch in it. IQAlcoholFarm by BadMandarin/Mercury is not supported & will cause stack bugs / problems ( could be supported with an author update, but current version is not supported ) ItemPerks by imthenewguy Causes stack bugs/problems just by having this plugin on your server due to harmony patching done inside it + repair logic is bugged. Item creation is also not handled properly resulting in duplication issues with Conveyor movements nothing can be done about that. ( plugin requires a full rewrite for proper support & repairs. ) Plugins that do not handle Item Creation Correctly: ( Which break stacks ) Custom Item Drops by Machine ( Always sets the vanilla display name when its supposed to be null for vanilla items ) XP System by fastburst ( Always sets the vanilla display name when its supposed to be null for vanilla items ) Copy Paste ( Items created by copy paste its self will not stack since item creation is not handled properly ) This list will be constantly updated as devs fix their code accordingly & new ones are discovered to be flawed. Getting Started - Click Either Link to play video Video One Video Two Permissions stackmodifier.admin - Allows players access to the UI Editor. Chat Commands /stackmodifier -- Opens Editor UI, Must enable config option "Enable UI Editor": true /stackmodifier.reset ( is also console cmd ) -- Requires stackmodifier.admin perm ( resets stack-sizes ) /resetvenders -- Requires being an admin, only resets facepunches messed-up vendors, not all /stackmodifiercolor <inputpanel|inputtext|text|transparent> <color> <alpha|ex, 0.98> Example /stackmodifiercolor inputpanel #207086 0.25 UI Editor Commands set 8 -- Inside a categories Search Bar, type set and a value and it will apply it to the whole category, reset -- Inside a categories Search Bar type reset hit the enter key or click out of the field and it resets it. multiply -- Inside a categorie use the Search Bar & type multiply and a value and it will apply it to the whole category. if you reset or set, re-click the Category Tab to refresh it before making more changes! Otherwise you will have to do your first edit twice for it to start working again UI Editor Without Images? * At the top of the config you will see the following setting set to true save and reload. "Disable Images for UI Editor": false, < Disables images and allows full use Having Problems? * Warning this plugin is not compatible with custom-skins-stacks-fix plugin since this already handles everything. * If you already have a plugin that modifies the rust stack sizes you will first need to remove that plugin. * Then you simply load Stack Modifier onto your server open the config and start editing the Modified values to your new stack-size amounts! * When you are done simply save and reload the plugin! ( oxide. reload StackModifier ) * Alternatively you can utilize the built-in UI Editor and not ever need to touch the config! * Admins - Auth level 2 will always be ignored. * This plugin is not compatible with BetterVanish, I only support Vanish from umod. How to revert to vanilla? * Run the reset command while having the stackmodifier.admin perm or Unload Stack Modifier, delete the config, and restart your server. * It will reset the config back to vanilla settings allowing you to start over. API Hooks Interface.CallHook("OnStackSizeUpdated"); //called after the plugin updates the stack sizes on server reboots & when reloading the plugin. //It's also still called right after the UI editor is closed from modifying. //Inside the oxide hook I use called OnItemAddedToContainer theirs a hook of mine, if called mine will not touch it or fix the stacks. if (Interface.CallHook("OnIgnoreStackSize", player, item) != null) return; ## Configuration { "Disable Weapon Attachment stack fix (Unsubscribes from both OnWeaponModChange & CanMoveItem)": false, "Disable Wearable Clothes fix (Unsubscribes from OnItemAddedToContainer)": false, "Disable Ammo/Fuel duplication fix (Recommended false)": false, "Disable Candy Cane Club Lick fix & unwrap fix (Unsubscribes from OnItemAction)": false, "Disable OnCardSwipe fix (Unsubscribes from OnCardSwipe)": false, "Enable VendingMachine Ammo Fix (Recommended)": true, "Enable UI Editor": true, "Disable Images / Toggles off Images for UI Editor": false, "Sets editor command": "stackmodifier", "Sets reset command for both console & chat": "stackmodifier.reset", "Sets editor color command": "stackmodifiercolor", "Sets Default Category to open": "All", "Stack Modifier UI Title": "Stack Modifier Editor ◝(⁰▿⁰)◜", "UI - Stack Size Label": "Default Stacks", "UI - Set Stack Label": "Set Stacks", "UI - Search Bar Label": "Search", "UI - Back Button Text": "◀", "UI - Forward Button Text": "▶", "UI - Close Label": "✖", "Colors": { "InputPanel": { "Hex": "#0E0E10", "Rgb": "0.0549019607843137 0.0549019607843137 0.0627450980392157 0.98" }, "InputText": { "Hex": "#FFE24B", "Rgb": "1 0.886274509803922 0.294117647058824 0.15" }, "TextColor": { "Hex": "#FFFFFF", "Rgb": "1 1 1 1" }, "Transparency": { "Hex": "#", "Rgb": "0 0 0 0.95" } }, "Category Stack Multipliers": { "Attire": 1, "Misc": 1, "Items": 1, "Ammunition": 1, "Construction": 1, "Component": 1, "Traps": 1, "Electrical": 1, "Fun": 1, "Food": 1, "Resources": 1, "Tool": 1, "Weapon": 1, "Medical": 1 }, "Stack Categories": { "Attire": { "hat.wolf": { "DisplayName": "Wolf Headdress", "Modified": 10 }, "horse.shoes.basic": { "DisplayName": "Basic Horse Shoes", "Modified": 10 } }, "Misc": { "fogmachine": { "DisplayName": "Fogger-3000", "Modified": 10 }, "sickle": { "DisplayName": "Sickle", "Modified": 10 } }, "Items": { "kayak": { "DisplayName": "Kayak", "Modified": 10 }, "map": { "DisplayName": "Paper Map", "Modified": 10 } }, "Ammunition": { "ammo.grenadelauncher.buckshot": { "DisplayName": "40mm Shotgun Round", "Modified": 20 }, "ammo.rocket.sam": { "DisplayName": "SAM Ammo", "Modified": 10 } }, "Construction": { "door.double.hinged.metal": { "DisplayName": "Sheet Metal Double Door", "Modified": 10 }, "building.planner": { "DisplayName": "Building Plan", "Modified": 10 } }, "Component": { "bleach": { "DisplayName": "Bleach", "Modified": 2 }, "vehicle.module": { "DisplayName": "Generic vehicle module", "Modified": 10 } }, "Traps": { "trap.bear": { "DisplayName": "Snap Trap", "Modified": 30 }, "samsite": { "DisplayName": "SAM Site", "Modified": 10 } }, "Electrical": { "ceilinglight": { "DisplayName": "Ceiling Light", "Modified": 10 }, "wiretool": { "DisplayName": "Wire Tool", "Modified": 100 } }, "Fun": { "firework.boomer.blue": { "DisplayName": "Blue Boomer", "Modified": 200 }, "telephone": { "DisplayName": "Telephone", "Modified": 10 } }, "Food": { "apple": { "DisplayName": "Apple", "Modified": 100 }, "woodtea.pure": { "DisplayName": "Pure Wood Tea", "Modified": 100 } }, "Resources": { "skull.human": { "DisplayName": "Human Skull", "Modified": 10 }, "wood": { "DisplayName": "Wood", "Modified": 10 } }, "Tool": { "tool.instant_camera": { "DisplayName": "Instant Camera", "Modified": 10 }, "bucket.water": { "DisplayName": "Water Bucket", "Modified": 10 } }, "Weapon": { "gun.water": { "DisplayName": "Water Gun", "Modified": 10 }, "spear.wooden": { "DisplayName": "Wooden Spear", "Modified": 10 } }, "Medical": { "blood": { "DisplayName": "Blood", "Modified": 100 }, "bandage": { "DisplayName": "Bandage", "Modified": 30 } } } }$24.99- 165 comments
- 16 reviews
-
- 19
-
- #stacks
- #rust stacks
- (and 16 more)
-
Version 2.1.4
9,530 downloads
Say goodbye to configuration and data files. This plugin lets yo edit the loot of (almost) every lootable object directly over a custom UI. It also includes a graphical stack size editor thus making it ideal for anyone who is not familiar with editing config files. Do not use in combination with any other stack size controller or loot plugin. Features: User friendly GUI - no need to edit config files Loot configuration for every prefab in the game Stack size controller supports individual stack sizes for every prefab Support for custom items Support for third party plugins Fully backwards compatible with version 1.x.x Default config included for every prefab Configuration for Smelting Speed, Recycler Speed and Efficiency Supply Drop configuration Supported prefabs: Crates, Barrels NPCs Trees, Ores, Animal corpses Excavator, Quarries Christmas Presents, Eggs, Loot Bags Collectables like Hemp, Corn, etc. Additional Configuration: Smelting Speed Supply Drop Recycler Speed / Efficiency Commands: loottable - Open the Loottable UI loottable reload - Manually refresh loot Permission: loottable.edit - Required to use the Loottable UI Required Dependencies (Oxide only): Image Library: https://umod.org/plugins/image-library Translations: This plugin fully supports translation. Out of the box only english is included. For item names to be translated, the plugin https://umod.org/plugins/rust-translation-api is required. English translations are located in /oxide/lang/en/Loottable.json For Developers: Loot Api: Developers can use the Loot Api to register loot profiles for custom NPCs or other plugin related loot. It is highly recommended to use one of the provided wrappers to access the api. Both wrappers offer the same functionality. Non-static (with documentation): https://gist.github.com/TheKiiiing/53a37e8bbb48d8a24c8e8b21b9da37ac Static (with documentation): https://gist.github.com/TheKiiiing/77ee60fa5d23934fd138fde58a2b147f Loot Api Example: // This example uses the non-static version of the Loot Api private LoottableApi loottableApi; void OnServerInitialized() { loottableApi = new LoottableApi(this); timer.In(5f, () => { loottableApi.ClearPresets(); loottableApi.CreatePresetCategory("Crates"); loottableApi.CreatePreset("c_locked", "Locked Crate", "crate_hackable"); loottableApi.CreatePreset("c_elite", "Elite Crate", "crate_elite"); loottableApi.CreatePreset("c_military", "Military Crate", "crate_military"); loottableApi.CreatePreset("c_normal", "Normal Crate", "crate_normal"); loottableApi.CreatePresetCategory("NPCs"); loottableApi.CreatePreset(true, "npc_cargo", "Cargo Ship NPC", "npc_militunnel"); loottableApi.CreatePreset(true, "npc_control", "Control Center NPC", "npc_militunnel"); }); } void SpawnNpc() { // Spawn NPC here ScientistNPC npc; // Assign a loot preset to the NPC loottableApi.AssignPreset(scientist, "npc_control"); } void SpawnCrate() { // Spawn crate here LootContainer crate; // Assign a preset to the crate if (loottableApi.AssignPreset(container, "c_locked")) { // The container has been filled with loot return; } else { // The container is not handled by Loottable // Default loot logic goes here } } The resulting configuration page would look like this: Custom Items API: Developers can use the Custom Items Api to add a custom item to the Loottable item list. If an item is marked as persistent it will remain in the custom item list until it is removed by ClearCustomItems. All non-persistent items will be removed after the plugin that registered them has been unloaded. (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, bool persistent) //(v1.0.27 or higher) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName, bool persistent) //(v1.0.27 or higher) (void) ClearCustomItems(Plugin plugin) //(v1.0.27 or higher) Hooks: (object) OnContainerPopulate(LootContainer container) This hook is called every time a loot container is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that crate. (object) OnCorpsePopulate(LootableCorpse corpse) This hook is called every time an npc corpse is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that corpse. (object) OnCustomAirdrop(SupplySignal signal) This hook is called every time a custom supply drop is about to be delivered. Returning a non-null value will cancel the custom supply drop. Outdated documentation for Version 1: New with version 1.0.27: Custom Items can now be created and edited directly in the GUI. They can be created from any existing item and modified in the Item Select menu You can now create and load backups of your configuration. Commands (F1 or Server Console): loottable.backup load <name> - Load backup with the given name from the backups folder (will wipe your current configuration) loottable.backup create <name> - Create backup of everything with the given name Backups will be created in the data/Loottable/backups folder. To load a backup, the backup file needs to be present in that folder. When creating backups in the in-game console, the permission loottable.debug is required. IMPORTANT: DO NOT LOAD BACKUPS FORM SOURCES YOU DO NOT TRUST, they might cause harm to your server New with version 1.0.16: Custom Items: Now you can add custom items used by other plugins directly to your loot table. Other plugins can can register these items using the api (documentation below). Screenshots: Overview of crates and their current loot table Stacksize Editor Commands: loottable - Open the editor loottable refresh - Manually refresh crate loot loottable flags - List available flags (explained below) loottable flags <name> <1|0> - Enable / disable a certain flag loottable reload_vanilla_profiles - Manually re-download vanilla loot profiles (only for debuging) Permission: loottable.edit - Required to use the editor Flags: There are flags to disable some limits in the editor. Only enable these flags if you really need to as they might cause unexpected behavior of the editor. There are currently 3 flags available: Debug If enabled, the Debug flag provides more detailed information about errors and other actions in the editor. Don't enable this flag unless you want your console full of spam. UnlockGatherMultiplier allows you to use gahter multipliers less than one and higher than 1000. Note that multipliers less than one might lead to unexpected results in some cases. DisableItemLimit Probably the safest flag to use is DisableItemLimit as it simply lets you set stack sizes and every other item amount in the editor as high as 2,147,483,647 which is the biggest possible value of a 32-bit integer. UnlockFurnaceMultiplier lets you use any value as the furnace speed multiplier. Don't enable this flag unless you know what you are doing, since the default value range from 0.1 to 100 should cover most use cases and larger values might impact server performance. UnlockItemMultiplier unlocks the multiplier when multiplying a loot table. DisableStackingHooks will disable all stacking related hooks. Enable if you encounter problems when stacking items. RefreshLootOnExit controls if all crates get refreshed after closing the editor or when reloading the plugin. Enable this only for testing, there might be an increase in entities. Refer to the Commands section for more information about enableing flags. Vanilla Configurations: Since version 1.0.7 there are vanilla loot profiles available for most crates and NPCs. These profiles can be loaded using the "Load default loot table" button at the top center of the editor. DISCLAIMER: The vanilla loot profiles in the editor might not exactly match the vanilla loot distribution of the game as it uses a completely different loot distribution system than Rust. These profiles rather serve as a reference point for custom loot profiles. Important for Carbon users: In order for this plugin to work with carbon, Harmony references need to be enabled. This can be done with the following command: c.harmonyreference 1 Required Dependencies (Oxide only): Image Library: https://umod.org/plugins/image-library Custom Items API: Add a custom item to the item list. If an item is marked as persistent it will remain in the custom item list until it is removed by ClearCustomItems. All non-persistent items will be removed after the plugin that registered them has been unloaded. (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, bool persistent) //(v1.0.27 or higher) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName, bool persistent) //(v1.0.27 or higher) (void) ClearCustomItems(Plugin plugin) //(v1.0.27 or higher) Example: Its recommended to delay the call a little bit to make sure Loottable is loaded private void Init() { timer.In(1f, () => { Loottable?.Call("AddCustomItem", this, -946369541, 2664651800, "High Quality Fuel"); }); } Hooks: (object) OnContainerPopulate(LootContainer container) This hook is called every time a loot container is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that crate. (object) OnCorpsePopulate(LootableCorpse corpse) This hook is called every time an npc corpse is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that corpse. (object) OnCustomAirdrop(SupplySignal signal) This hook is called every time a custom supply drop is about to be delivered. Returning a non-null value will cancel the custom supply drop.$40.00- 929 comments
- 27 reviews
-
- 13
-
- #loot
- #customloot
- (and 13 more)
-
Version 1.4.1
3,127 downloads
Chest Stacks is a Rust plugin that allows players to stack chests on top of each other! Configuration: { "Building privilege required": true, "Blacklisted Skins": [ 2618923347 ], "Permissions & their amount of stacked chests lmits": { "cheststacks.use": { "Chest type limits": { "SmallBox": 3, "LargeBox": 5 } }, "cheststacks.vip": { "Chest type limits": { "SmallBox": 5, "LargeBox": 10 } } } } Language: { "MaxStackAmount": "You are trying to stack more than {0} boxes!", "OnlyStackSameType": "You can only stack the same type of chests!", "CeilingBlock": "A ceiling is blocking you from stacking this chest!", "BuildingBlock": "You need to be Building Privileged in order to stack chests!" } Permissions: cheststacks.use (Always grant this permission for usage, grant additional permissions for different maximum stack amounts) In order to stack the chests you have to press RIGHT CLICK while looking at the placed chest and being near it! Supports: Small Boxes, Large Boxes$10.00- 62 comments
- 11 reviews
-
- 9
-
- #rust
- #rust plugin
- (and 9 more)
-
Version 1.0.5
195 downloads
Configuration: { "Only stack furnaces in Building Privileged zones": true, "Permissions & their amount of stacked furnaces allowed": { "furnacestacks.use": 2, "furnacestacks.vip": 4 } } Language: { "MaxStackAmount": "You are trying to stack more than {0} furnaces!", "OnlyStackFurnaces": "You can only stack electric furnaces!", "CeilingBlock": "A ceiling is blocking you from stacking this furnace!", "BuildingBlock": "You need to be Building Privileged in order to stack furnaces!" } Permissions: furnacestacks.use (Always grant this permission for usage, grant additional permissions for different maximum stack amounts) In order to stack the furnaces you have to press RIGHT CLICK while looking at the placed furnace and being near it! Bugs & Questions: If you've found any bugs, have any questions/suggestions please let me know in the support section!$10.00 -
Version 2024.5.2.1658
120 downloads
SAVE 10% WHEN BUYING THE BUNDLE SAVE 10% WHEN BUYING THE BUNDLE This high performance patch will allow to set custom item stacks based on: Item name Item category Blacklist items (useful when using the categories) This is a standalone Harmony patch, Oxide installation is optional. Copy the Oxidation.StackManager.dll file into your HarmonyMods folder and restart your server. At the first server start after installing the patch a new configuration file Oxidation.StackManager.X.json will be created at the HarmonyMods folder. What is Harmony ? Harmony is a library for patching .NET code during runtime, it directly manipulates game code (CIL) without any additional abstraction layer such as Oxide. The direct patching of the game's byte code allows more performant modding as developers no longer need to rely on third party code, events or hooks to build custom functionality.$4.99- 4 comments
- 2 reviews
-
- #harmony
- #oxidation
- (and 8 more)
-
-
- 4 comments
-
- 1
-
- #inventory
- #pve
- (and 7 more)