-
Posts
58 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by mattffhh
-
Hey, I believe the config is now working. However I'm gonna run some more tests on carbon, before publishing the update I have been testing on Oxide so far, and this is the results. I've added two more config options: "Always fill all cointainer slots": true, "Prevent duplicate items": true, In this image I have both options set to true. Based on the logic, all unique items will be added, and a fallback system ensures every lucky crate is filled to the max when "Always fill all container slots" is set to true. To fix the issue shown in the image, make sure the loot table is large enough or set "Prevent duplicate items" to false. With a config like this: "Always fill all cointainer slots": true, "Prevent duplicate items": false, The loot will look something like this. With both values set to false, the Lucky Crate will look something like this. "Always fill all cointainer slots": false, "Prevent duplicate items": false, Finally with only "Prevent duplicate items": false" it will make sure to only add one of each item. "Always fill all cointainer slots": false, "Prevent duplicate items": true, Keep in mind as long as the option "Always fill all cointainer slots": false, Every item that appear will be based off the weight, and making it a chance. The loot table used in the testing: { "LootTable": [ { "ItemName": "rifle.ak", "Weight": 1, "Amount": 1 }, { "ItemName": "weapon.mod.holosight", "Weight": 5, "Amount": 1 }, { "ItemName": "ammo.pistol", "Weight": 50, "Amount": 10 }, { "ItemName": "scrap", "Weight": 75, "Amount": 100 }, { "ItemName": "metal.fragments", "Weight": 50, "Amount": 250 }, { "ItemName": "supply.signal", "Weight": 3, "Amount": 1 }, { "ItemName": "wood", "Weight": 100, "Amount": 500 }, { "ItemName": "high.quality.metal", "Weight": 15, "Amount": 50 }, { "ItemName": "rifle.bolt", "Weight": 2, "Amount": 1 }, { "ItemName": "explosive.timed", "Weight": 1, "Amount": 1 }, { "ItemName": "weapon.mod.silencer", "Weight": 10, "Amount": 1 }, { "ItemName": "leather", "Weight": 50, "Amount": 100 }, { "ItemName": "sulfur.ore", "Weight": 75, "Amount": 300 }, { "ItemName": "grenade.f1", "Weight": 8, "Amount": 5 }, { "ItemName": "smg.2", "Weight": 4, "Amount": 1 }, { "ItemName": "metal.ore", "Weight": 60, "Amount": 200 }, { "ItemName": "rifle.lr300", "Weight": 2, "Amount": 1 }, { "ItemName": "pistol.m92", "Weight": 6, "Amount": 1 }, { "ItemName": "cloth", "Weight": 100, "Amount": 500 }, { "ItemName": "stone", "Weight": 90, "Amount": 1000 }, { "ItemName": "rifle.l96", "Weight": 1, "Amount": 1 }, { "ItemName": "metal.pipe", "Weight": 25, "Amount": 4 }, { "ItemName": "syringe.medical", "Weight": 30, "Amount": 2 } ] } Hope this is understandable, and I'll give you an final update when the update is live Kind regards, mattffhh
-
Changed Status from Pending to Work in Progress Changed Fixed In to Next Version
-
Hey again @ALiEN JiM I’m working on adding that "always fill all slots" config option for you. Once it's on, every slot will be filled with items from the loot table. If you decide to keep it off, the number of items will still be randomized based on their weights. I'm hoping to have this wrapped up later today, and I'll let you know as soon as it's done!
-
Changed Status from Pending to Closed Changed Fixed In to 1.0.1
-
Hey @ALiEN JiM I just wanted to apologize for the issue with LuckyCrates. Turns out I accidently removed an important using statement in the first version, which caused the error you ran into. My bad! I have tested the new version on both Carbon and Oxide and this is now fixed in the latest version and everything should work as intended. My apologies again, and thanks for your patience. If there is anything else you need, I'm happy to help!
-
Version 1.1.7
87 downloads
Add a whole new level of excitement to your Rust server with Lucky Crates! This customizable loot crate plugin randomly spawns crates around the map, giving players a shot at discovering unique items and valuable loot. Whether you're aiming for thrilling high-stakes loot runs or just want to drop some fun surprises, Lucky Crates is designed to fit seamlessly into your server. With easy-to-tweak settings, you have full control over how often the crates spawn, what kind of loot they contain, and how long they stick around. You can even set it up so the whole server gets notified when a crate spawns, turning it into a server-wide event that gets everyone racing for the prize. Lucky Crates not only reward players with valuable loot but also create hot spots for potential PvP encounters, making every crate spawn a thrilling event. Want to make it easier for players to find the crates? No problem—just enable map markers! Whether your server is all about intense PvP action or focuses more on community-driven PvE, Lucky Crates will keep things fresh and fun for your players. Config: The configuration is fully customizable to fit your preferences and performance needs. Please note that these values have been tested on a 1000x1000 'small' map, so be sure to adjust them as needed for different map sizes. Log player looting to file - Logs Lucky Crate's loot interaction to file for admins. Destroy Lucky Crate on looting - Instantly destroy the Lucky Crate after it has been looted, or allow it to remain for the entire duration. Max number of slots in a container - The number of item slots available in each Lucky Crate. Always fill all container slots - This will always fill all container slots in the Lucky Crate. Prevent duplicate items - This will make sure each item is unique in the Lucky Crate. Note: this will override "always fill container slots", meaning it's best to use if you have a large loot table. If the loot table length is lower than the container size, it will result in empty slots. Container type to use - Choose whether to spawn Lucky Crate in large or small wooden boxes. Large box skin id - The skin ID for the large wooden box. By default, this uses a custom-made Lucky Crate skin. Small box skin id - The skin ID for the small wooden box. By default, this uses a custom-made Lucky Crate skin. Debug mode - Enables detailed feedback in the console for troubleshooting. Broadcast Lucky Crate spawn to all player - Sends a global message to all players when a Lucky Crate spawns. Broadcast message - This customizable global message uses placeholders: {x}, {y}, {z} for coordinates, {grid} for the grid location, {distance} for how far the player is from the Lucky Crate, and {direction} for the direction in compass terms. Total maximum number of Lucky Crates that can exist: Defines the overall maximum Lucky Crates allowed across the server. Set to -1 for unlimited. Number of Lucky Crates to spawn each interval - Controls how many Lucky Crates are spawned per spawn interval. Maximum number of Lucky Crates on the map at any given time: The maximum number of Lucky Crates that can exist simultaneously on the map. Duration of Lucky Crates in seconds - The lifespan of each Lucky Crate before it is automatically removed. Lucky Crate spawn frequency in seconds - How often the system will attempt to spawn new Lucky Crates. If a player loots a crate, this will trigger a new spawn attempt after one minute (up to the maximum number of crates allowed). Lucky Crate spawn attempts - The number of attempts the system will make to find a valid spawn location for each Lucky Crate. Enable map marker - Displays a map icon at the spawn location of each Lucky Crate to encourage PvP or help players find the crates. Map marker duration in seconds - The lifespan of the map marker. If "Destroy Lucky Crate on looting" is set to false, the marker can encourage PvP by keeping players aware of crate locations. Map marker name - The name of the map marker when you hover it / click on it. Check Lucky Crates to destroy interval in seconds - The interval at which the plugin checks to see if crates should be destroyed. Higher intervals can improve performance, but the interval should not exceed the crate's lifespan. Default config: { "Log player looting to file": true, "Destroy Lucky Crate on looting": true, "Max number of slots in a container": 1, "Always fill all container slots": true, "Prevent duplicate items": true, "Container type to use": "box.wooden.large", "Large box skin id": 3346528269, "Small box skin id": 3346533967, "Debug mode": false, "Broadcast Lucky Crate spawn to all players": true, "Broadcast message": "<color=#FF9900>[LuckyCrate]</color> A Lucky Crate has spawned at {x}, {y}, {z} in grid {grid}, {distance}m away to the {direction}!", "Total maximum number of Lucky Crates that can exist": 50, "Number of Lucky Crates to spawn each interval": 1, "Maximum number of Lucky Crates on the map at any given time": 10, "Duration of the Lucky Crate in seconds": 300.0, "Lucky Crate spawn frequency in seconds": 60, "Lucky Crate spawn attempts": 10, "Maximum allowed slope angle for crate spawning": 45.0, "Enable map marker": true, "Show Lucky Crates items on the map marker": true, "Map marker duration in seconds": 300.0, "Map marker name": "Lucky Crates", "Check Lucky Crates to destroy interval in seconds": 60.0 } Loot table: You can keep the standard setup or use your imagination to add a wide variety of items that fit your server's theme. Whether it's high-tier weapons, rare resources, or fun and quirky surprises, the choice is yours! Add more items to make every Lucky Crate spawn feel unique and rewarding for players. The weight system determines the likelihood of each item appearing in a Lucky Crate. Items with higher weights are more likely to spawn compared to items with lower weights. For example, if an item has a weight of 50 and another item has a weight of 1, the item with weight 50 is much more likely to appear. This allows you to control the rarity of specific items, creating a balanced and engaging loot experience for your players. { "LootTable": [ { "ItemName": "rifle.ak", "Weight": 1, "AmountMin": 1, "AmountMax": 1 }, { "ItemName": "weapon.mod.holosight", "Weight": 5, "AmountMin": 1, "AmountMax": 1 }, { "ItemName": "ammo.pistol", "Weight": 50, "AmountMin": 10, "AmountMax": 10 }, { "ItemName": "scrap", "Weight": 75, "AmountMin": 50, "AmountMax": 100 }, { "ItemName": "metal.fragments", "Weight": 50, "AmountMin": 200, "AmountMax": 250 }, { "ItemName": "supply.signal", "Weight": 3, "AmountMin": 1, "AmountMax": 1 }, { "ItemName": "wood", "Weight": 100, "AmountMin": 500, "AmountMax": 500 }, { "ItemName": "metal.refined", "Weight": 15, "AmountMin": 50, "AmountMax": 100 }, { "ItemName": "rifle.bolt", "Weight": 2, "AmountMin": 1, "AmountMax": 1 }, { "ItemName": "explosive.timed", "Weight": 1, "AmountMin": 1, "AmountMax": 1 }, { "ItemName": "weapon.mod.silencer", "Weight": 10, "AmountMin": 1, "AmountMax": 1 }, { "ItemName": "leather", "Weight": 50, "AmountMin": 100, "AmountMax": 100 }, { "ItemName": "sulfur.ore", "Weight": 75, "AmountMin": 200, "AmountMax": 300 } ] } The logging format: Each time a player loots a Lucky Crate, the plugin logs the event in a file, making it easy for admins to track interactions. Here’s an example of what the log file might look like: [ "Matt looted a Lucky Crate at (1262.12, 10.45, 522.40) on 10/11/2024 03:40:00", "Matt looted a Lucky Crate at (782.73, 8.85, 1693.96) on 10/11/2024 03:40:14", "Matt looted a Lucky Crate at (754.21, 22.18, 79.26) on 10/11/2024 03:53:53", "Matt looted a Lucky Crate at (314.68, 48.28, -224.63) on 10/11/2024 03:54:06", "Matt looted a Lucky Crate at (-1121.76, 11.11, -240.14) on 10/11/2024 03:57:48", "Matt looted a Lucky Crate at (-475.64, 16.85, -208.04) on 10/11/2024 03:57:57", "Matt looted a Lucky Crate at (-236.99, 32.97, 349.00) on 10/11/2024 03:58:07" ] Hooks SpawnLuckyCrate This hook allows you to spawn a crate at any given location. It takes a Vector3 position and spawns a container at those coordinates. Server owners can use this to manage custom crate placement. [HookMethod("SpawnLuckyCrate")] private BaseEntity SpawnLuckyCrate(Vector3 position) { return SpawnContainer(position); } With Lucky Crates, server owners have a powerful tool to inject excitement and unpredictability into their world, keeping players engaged and eager for the next crate to appear.$7.99- 13 comments
- 2 reviews
-
- 1
-
-
- #lucky
- #lucky crates
-
(and 20 more)
Tagged with:
-
Version 1.0.1
2 downloads
Take your Rust base automation up a notch with Usable Droppers, a simple yet powerful plugin that turns regular containers into functional droppers. These droppers continuously drop items with full customization, making them perfect for automatic setups like furnace farms or creating seamless item-dispensing systems. Usable Droppers pairs perfectly with Usable Hoppers to create an efficient, hands-off system for managing your resources. Whether you're automating resource processing or need an easy way to drop items, Usable Droppers gives you the flexibility to control how and when items are dispensed. With a detailed configuration, you decide the drop interval, item types, and much more, making it easy to fit into any server setup. Chat commands: /ud - Shows available UsableDroppers commands. /udset - Sets the container you are looking at to a dropper. /udremove - Remove the dropper from the container you are looking at. /udlist - Display all droppers you own. /udsetmode <player|direction|random> - Sets the dropper mode to specify drop location of the items. Player mode will save the current player location and the dropper will start to drop items there. Direction drops items in a specific direction chosen by the player and random will drop items in a random sphere around the container. /udsetdirection <forward|backward|left|right|up|down> - Specify the direction if chosen direction mode. /udrange - Display the drop location and dropper range. Admin commands: /udclearall - Removes all droppers in the game. /udclearplayer <playername or steamid> - Remove a specific player's dropper. Permissions: Config: Allowed containers for droppers - Which containers are allowed to be turned into droppers. Available drop modes - Which drop mode the user's will be able to choose. Command cooldown - The cooldown between command usage (in seconds). Debug mode - Used for detailed feedback in console. Drop interval seconds - How often the dropper will attempt to drop items. Higher values will increase performance. Drop radius - Drop radius when the user has random drop mode selected Item types allowed - Which types of items that the dropper will drop. Max distance for commands - How close to the dropper/container you need to be to use commands. Max droppers per player - The number of droppers available to each player. Max items per tick - The number of item stacks the dropper will drop each tick. Max range for player mode - The maximum range of player mode, from the dropper to the player. If this is higher than max distance for commands then this will be ignored. Default config. { "Allowed container types for droppers": [ "woodbox_deployed", "box.wooden.large", "furnace", "storage_barrel_c", "storage_barrel_b" ], "Available drop modes": { "direction": true, "player": true, "random": true }, "Command cooldown": 0.0, "Debug mode": false, "Drop interval seconds": 5.0, "Drop radius": 2.0, "Item types allowed": { "ammunition": true, "attire": true, "blueprint": true, "component": true, "construction": true, "electrical": true, "food": true, "fun": true, "items": true, "medical": true, "misc": true, "resources": true, "tool": true, "traps": true, "weapon": true }, "Max distance for commands": 15.0, "Max droppers per player": 5, "Max items per drop": 3, "Max range for player mode": 15.0 }$7.99 -
Version 1.0.2
44 downloads
Take your Rust base automation to the next level with Usable Hoppers, the plugin that turns any containers into fully functional hoppers that automatically collect items from the ground within a configurable range. While Usable Hoppers is perfect for setting up an automated horse farm—where it gathers horse poop and deposits it into a composter—it’s versatile enough for other tasks too. Whether you're automating gathering dropped resources, or organizing loot from the battlefield, Usable Hoppers will save you time and effort. The plugin is designed to automate item collection directly from the ground, making resource management in your base smoother and more efficient. Usable on regular chests, furnaces, lootable crates and even airdrops. Fully customizable, you can control the pickup radius, item types, and collection frequency, giving you complete control over how it works in your base. Simplify your Rust gameplay and let Usable Hoppers do the heavy lifting! Chat commands: /uh - Shows available UsableHoppers commands. /uhset - Sets the container you are looking at to a hopper. /uhremove - Remove the hopper from the container you are looking at. /uhlist - Display all hoppers you own. /uhrange - Display the range of your hoppers. Admin commands: /uhclearall - Removes all hoppers in the game. /uhclearplayer <playername or steamid> - Removes a specific player's hopper. Permissions: Config: The config is easily configurable to your liking and performance requirements. Allowed containers for hoppers - Which containers allowed to be turned into hoppers. Command cooldown - The cooldown between command usage (in seconds). Debug mode - Used for detailed feedback in console. Hopper radius - The hopper pickup range, in a spherical dome. How often the hopper collects items - How often the hopper will attempt to pickup items in range. Higher values will increase performance Item types allowed - Which types of items that the hopper will pickup. Max hoppers per players - The number of hoppers available to each player. Max items per tick - The number of items the hopper will pickup at each tick. Default config. { "Allowed containers for hoppers": [ "woodbox_deployed", "box.wooden.large", "furnace", "storage_barrel_c", "storage_barrel_b" ], "Command cooldown": 0.0, "Debug mode": false, "Hopper radius": 3.0, "How often the hopper collects items": 10.0, "Item types allowed": { "ammunition": true, "attire": true, "blueprint": true, "component": true, "construction": true, "electrical": true, "food": true, "fun": true, "items": true, "medical": true, "misc": true, "resources": true, "tool": true, "traps": true, "weapon": true }, "Max hoppers per players": 5, "Max items per tick": 10 }Free