-
Posts
51 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by mattffhh
-
Changed Status from Work in Progress to Closed
-
Hey, The problem should now be resolved, thanks for your patience and help. 🙂 Kind regards, mattffhh
-
Changed Status from Pending to Work in Progress Changed Fixed In to Next Version
-
Hey, It appears this is a bug on Oxide servers. I will get a fix out ASAP. Carbon servers should work fine. Kind regards, mattffhh
-
Changed Status from Work in Progress to Closed
-
Changed Fixed In to Next Version
-
Additionally if you only want to display grid information on the broadcast message: "Broadcast message": "<color=#FF9900>[LuckyCrate]</color> A Lucky Crate has spawned in grid {grid}!",
-
Hey, I managed to recreate the issue and it will be fixed in the next version. It should be available soon. Kind regards, mattffhh
-
Changed Status from Pending to Work in Progress
-
Hey, Can you provide me with an in game screenshot of the chat, your current config values and Lucky Crates version and I will take a look. Kind regards, mattffhh
-
- 13 comments
-
- #lucky
- #lucky crates
-
(and 20 more)
Tagged with:
-
Thanks, Here I changed the "Max number of slots in a container" to 5. This will make sure there is 5 slots in the Lucky Crate for items to spawn. Let me explain each config setting in detail. { "Log player looting to file": true, "Destroy Lucky Crate on looting": true, "Max number of slots in a container": 5, "Always fill all cointainer slots": true, "Prevent duplicate items": false, "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}!", "Number of Lucky Crates to spawn": 5, "Duration of the Lucky Crate in seconds": 300, "Lucky Crate spawn frequency in seconds": 1800, "Lucky Crate spawn attempts": 10, "Enable map marker": true, "Map marker duration in seconds": 300, "Check Lucky Crates to destroy interval in seconds": 60 } "Log player looting to file" This setting when enabled, creates a file in your server data folder called "LootLog.json". Here you will see every interaction between your players and the lucky crates. "Destroy Lucky Crate on looting" This setting when enabled destroys the Lucky Crate instantly after looting it, ignoring the specified duration. "Max number of slots in a container" This number will be the container size of the Lucky Crate. For example with 5 it will look something like this in terms of container slots. "Always fill all container slots" This config when enabled will make sure each Lucky Crate is always full of items. Note: If "prevent duplicate items" is enabled, and the loot table is smaller than the number of slots specified in "Max number of slots in a container", this will result in empty slots. "Prevent duplicate items" This setting when enabled prevent same items from appearing in the Lucky Crate at the same time. "Container type to use" Choose between box.wooden.large (large box) or woodbox_deployed (small box). "Large Box skin id" The skinid for the large box, change this if you want another skin. "Small Box skin id" The skinid for the small box, change this if you want another skin. "Debug mode" This config when enabled will display additional information in your console, for debugging. "Broadcast Lucky Crates spawn to all players" This config when enabled will send a message to all players of the spawning of a Lucky Crate. "Broadcast message" The message of the broadcast. "Number of Lucky Crates to spawn" This number is the total amount of Lucky Crates to spawn at a given time. If this is set to 5, there will spawn 5 Lucky Crates at a time. "Duration of the Lucky Crate" This number is how long each Lucky Crate will last in the world, before being destroyed. "Lucky Crate spawn frequency in seconds" This number is how often the Lucky Crates will attempt to spawn. "Lucky Crate spawn attempts" This number is how many spawn attempts each Lucky Crate will try before failing. "Enable map marker" This config allows you to display a map marker on the Lucky Crates spawn location to attract more world pvp. "Map marker duration in seconds" This number is how long each marker should exist before being removed. "Check Lucky Crates to destroy interval in seconds" How often the system will check to destroy empty Lucky Crates, used if "Destroy Lucky Crate on looting" is disabled or the Crate has not been looted yet, and the crate duration runs out. Loot table used: { "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 } ] } If there is anything else that is unclear, make a support ticket. As well as there are more info on the Lucky Crate page description. Kind regards, mattffhh
- 13 comments
-
- #lucky
- #lucky crates
-
(and 20 more)
Tagged with:
-
- 13 comments
-
- #lucky
- #lucky crates
-
(and 20 more)
Tagged with:
-
Hey, By default, the items will be randomly generated based on their weights. Higher weights mean a higher probability of getting that item. If you need more slots in the Lucky Crate, change the config "Max number of slots in a container." Then it will automatically fill the Lucky Crate up to the number you have specified. Note: If the "Always Fill All Slots" setting is not enabled, the loot will be generated up to the container slots value, meaning some slots may remain empty depending on the random selection.
- 13 comments
-
- #lucky
- #lucky crates
-
(and 20 more)
Tagged with:
-
Hey, thanks for the suggestion. This is something that I'm working on, and should be in the next update!
-
Haha, yeah, with the current terrain check, this kind of thing happens sometimes. Just a heads-up—I’ve seen the Lucky Crate spawn under some of the new hills too. I’ll be improving the logic to avoid these weird terrain issues in the future. Duplication is kind of working, but I’m holding off on releasing it until I fix a few bugs. For now, you’ll have to use some ladders to reach that one, lol. And thanks for the positive feedback! If there's anything else, feel free to let me know. Kind regards, mattffhh
-
Changed Status from Work in Progress to Closed
-
Hey! After some testing on Carbon I discovered some flaws with the current implementation of the duplication checks. This setting will not be implemented in the upcoming update. However the always fill all container slots system is fully working on both Oxide and Carbon. I have additionally added a test command to make it easier to configure Lucky Crate. The command is /lc and requires permission: 'luckycrates.admin'. Lastly I've added a Lucky Crate text to the map markers. Previously said "shop" I will be pushing the update in the next minutes. Check the update patch info for more information 🙂 Kind regards, 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
73 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
- 1 review
-
- 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