this plugin has an issue, the loot key cards CAN open monument doors. also would be nice if we can use telekinesis plugin to move and save their location instead of suffering otherwise.
Key Crates
$5.99
Sold by: SinKohKey Crates – Add crates to Bandit/Outpost or ANY custom location. Populate world loot with loot keys and allow your players to find keys and open the crates for configurable rewards.
- Description
- Reviews (2)
- Version History
- Discussions (3)
- Setup
- Product Enquiry
Description
Description
The Key Crates plugin introduces a captivating gameplay feature centered around locked loot crates and colored keys. Players must gather these keys to access the valuable rewards hidden within the crates. Each key color corresponds to a unique crate type, offering different levels of rarity and rewards
Keys
The keys spawn in world loot containers listed in the config. Each container has a probability field that can be customized to set the probabilities for each key type to spawn in the container. Normal cards CANNOT be used at the loot crates and loot keys cannot be used in monuments. Upon collection 10 Green loot keys they will be upgraded to one Blue key. The same for Blue to Red
Loot Crates
The three loot crates all have their own configurable reward lists that even allows you to specify skinID and names to allow custom rewards to be given when the key is claimed. Each item added must be given a probability %. This will determine how likely a player is to receive the item.
Admin Commands
There are a few admin commands:
/addcustomloc – This will allow you to set the coords for a custom set of crates to spawn at. You MAY need to alter the coords to best fit your needs in the config. Just stand where you want them to spawn, face the way you want the readers to face, and run the command. Within 5 seconds a set of crates will spawn and be ready for use.
/gk – This will give you, the admin, one of each key. This can be used for testing rewards and handing out randomly.
/givekey <color> – This is a console command. It can be used to give keys through shops, rewards, or anything that allows commands as a reward.
/givekey <player> <color> <qty> – This admin command allows you to give a specific color and quantity of key to a specific player.
Monument Spawning
The three loot crates will spawn in default positions. These can be changed by altering the config position and rotation values for the crates at a specific monument OR by using the /addcustomloc command mentioned above.
Example Config:
{
"Custom Crate Location": [
{
"enabled": true,
"pos": {
"x": -1785.229,
"y": 3.521712,
"z": 1480.33313
},
"rot": {
"x": 0.0,
"y": 150.63768,
"z": 0.0
}
}
],
"Crates that Keys will spawn in": [
{
"crateName": "heli_crate",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 0,
"rKeyChance": 5
},
{
"crateName": "bradley_crate",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 0,
"rKeyChance": 5
},
{
"crateName": "codelockedhackablecrate_oilrig",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 0,
"rKeyChance": 5
},
{
"crateName": "codelockedhackablecrate",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 0,
"rKeyChance": 5
},
{
"crateName": "wagon_crate_normal_2",
"enabled": true,
"gKeyChance": 5,
"bKeyChance": 1,
"rKeyChance": 0
},
{
"crateName": "wagon_crate_normal",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 5,
"rKeyChance": 0
},
{
"crateName": "crate_tools",
"enabled": true,
"gKeyChance": 5,
"bKeyChance": 1,
"rKeyChance": 0
},
{
"crateName": "crate_underwater_advanced",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 5,
"rKeyChance": 0
},
{
"crateName": "crate_normal_2",
"enabled": true,
"gKeyChance": 5,
"bKeyChance": 1,
"rKeyChance": 0
},
{
"crateName": "crate_normal",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 5,
"rKeyChance": 0
},
{
"crateName": "supply_drop",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 0,
"rKeyChance": 5
},
{
"crateName": "crate_elite",
"enabled": true,
"gKeyChance": 0,
"bKeyChance": 5,
"rKeyChance": 0
}
],
"Green Loot Rewards": [
{
"itemShortname": "wood",
"skin": 0,
"itemName": "",
"minQuantity": 500,
"maxQuantity": 500,
"probability": 100
},
{
"itemShortname": "stones",
"skin": 0,
"itemName": "",
"minQuantity": 500,
"maxQuantity": 500,
"probability": 100
},
{
"itemShortname": "lowgradefuel",
"skin": 0,
"itemName": "",
"minQuantity": 250,
"maxQuantity": 250,
"probability": 100
},
{
"itemShortname": "metal.fragments",
"skin": 0,
"itemName": "",
"minQuantity": 250,
"maxQuantity": 250,
"probability": 100
},
{
"itemShortname": "metal.refined",
"skin": 0,
"itemName": "",
"minQuantity": 50,
"maxQuantity": 50,
"probability": 100
},
{
"itemShortname": "scrap",
"skin": 0,
"itemName": "",
"minQuantity": 100,
"maxQuantity": 100,
"probability": 100
},
{
"itemShortname": "ammo.pistol",
"skin": 0,
"itemName": "",
"minQuantity": 50,
"maxQuantity": 50,
"probability": 100
},
{
"itemShortname": "wood",
"skin": 0,
"itemName": "",
"minQuantity": 500,
"maxQuantity": 500,
"probability": 100
},
{
"itemShortname": "stones",
"skin": 0,
"itemName": "",
"minQuantity": 500,
"maxQuantity": 500,
"probability": 100
},
{
"itemShortname": "lowgradefuel",
"skin": 0,
"itemName": "",
"minQuantity": 250,
"maxQuantity": 250,
"probability": 100
},
{
"itemShortname": "metal.fragments",
"skin": 0,
"itemName": "",
"minQuantity": 250,
"maxQuantity": 250,
"probability": 100
},
{
"itemShortname": "metal.refined",
"skin": 0,
"itemName": "",
"minQuantity": 50,
"maxQuantity": 50,
"probability": 100
},
{
"itemShortname": "scrap",
"skin": 0,
"itemName": "",
"minQuantity": 100,
"maxQuantity": 100,
"probability": 100
},
{
"itemShortname": "ammo.pistol",
"skin": 0,
"itemName": "",
"minQuantity": 50,
"maxQuantity": 50,
"probability": 100
}
],
"Give Green rewards through commands?": true,
"Green Command (use %steamid% where player ID would be)": [
{
"Command": "givekey %steamid% blue",
"Command Chat Message": "",
"Enabled": true
}
],
"Blue Loot Rewards": [
{
"itemShortname": "rifle.ak",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "explosive.satchel",
"skin": 0,
"itemName": "",
"minQuantity": 2,
"maxQuantity": 2,
"probability": 100
},
{
"itemShortname": "largebackpack",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "grenade.f1",
"skin": 0,
"itemName": "",
"minQuantity": 10,
"maxQuantity": 10,
"probability": 100
},
{
"itemShortname": "rifle.lr300",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "metal.facemask",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "metal.plate.torso",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "electric.generator.small",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "black.raspberries",
"skin": 0,
"itemName": "",
"minQuantity": 10,
"maxQuantity": 10,
"probability": 100
},
{
"itemShortname": "rifle.ak",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "explosive.satchel",
"skin": 0,
"itemName": "",
"minQuantity": 2,
"maxQuantity": 2,
"probability": 100
},
{
"itemShortname": "grenade.f1",
"skin": 0,
"itemName": "",
"minQuantity": 10,
"maxQuantity": 10,
"probability": 100
},
{
"itemShortname": "rifle.lr300",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "metal.facemask",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "metal.plate.torso",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "electric.generator.small",
"skin": 0,
"itemName": "",
"minQuantity": 1,
"maxQuantity": 1,
"probability": 100
},
{
"itemShortname": "black.raspberries",
"skin": 0,
"itemName": "",
"minQuantity": 10,
"maxQuantity": 10,
"probability": 100
}
],
"Give Blue rewards through commands?": false,
"Blue Command (use %steamid% where player ID would be)": [
{
"Command": "givekey %steamid% red",
"Command Chat Message": "",
"Enabled": true
}
],
"Red Loot Rewards": [],
"Give Red rewards through commands?": true,
"Red Command (use %steamid% where player ID would be)": [
{
"Command": "sr add %steamid% 3",
"Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 RP</color> from the Red Key Crate!</color>",
"Enabled": true
},
{
"Command": "opl %steamid%",
"Command Chat Message": "<color=white>%steamid%</color> <color=red> received a <color=white>RP Rocket Launcher</color> from the Red Key Crate!</color>",
"Enabled": true
},
{
"Command": "inventory.giveto %steamid% supply.signal 3",
"Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 Supply Signals</color> from the Red Key Crate!</color>",
"Enabled": true
},
{
"Command": "recycler.give %steamid%",
"Command Chat Message": "<color=white>%steamid%</color> <color=red> received a <color=white>Recycler</color> from the Red Key Crate!</color>",
"Enabled": true
},
{
"Command": "inventory.giveto %steamid% blood 3",
"Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 Blood</color> from the Red Key Crate!</color>",
"Enabled": true
},
{
"Command": "addrolls %steamid% free 3",
"Command Chat Message": "<color=white>%steamid%</color> <color=red> received <color=white>3 Free Rerolls for today</color> from the Red Key Crate!</color>",
"Enabled": true
}
],
"Broadcast when Red Key used?": true,
"Monument Info": [
{
"name": "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab",
"enabled": false,
"pos": {
"x": 9.0,
"y": 2.8,
"z": 0.7
},
"rot": {
"x": 0.0,
"y": -90.0,
"z": 0.0
}
},
{
"name": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
"enabled": false,
"pos": {
"x": -24.1,
"y": 0.2,
"z": 12.1
},
"rot": {
"x": 0.0,
"y": 90.0,
"z": 0.0
}
}
]
}
Reviews (2)
2 reviews for Key Crates
Only logged in customers who have purchased this product may leave a review.
Version History
- Added Corrected issues caused by FP update
- Added --Performance improvements --Updated auto stacking and upgrading features to fix exploit with infinite cards being generated --Added spam guard to prevent players with a lot of red keys from spamming broadcast in chat by swiping fast. --Add Lang file
- Added Key Processing Overhaul. Reconfiguring card reader handling and updated state on swipe.
- Added Hotfixes for performance and reader processing
- Added Keys are now stackable and will auto upgrade when you collect 10 of them.
- Added --MAJOR plugin overhaul. Updated to fix performance and functionality.
- Added -Added command /customloc for admins to create custom spawn locations for the crates. This will store the position you are standing in to the config to allow you to fine tune the crates locations
Discussions (3)
3 thoughts on "Key Crates"
Leave a reply
-
-
additionally the card loses durability like normal, AND normal cards cannot swipe the crates thankfully, BUT can put them on a timeout [it swipes like it worked in opening a door and now refuses to work otherwise]
-
also can we get an option to allow multiple rewards? currently we can only get 1 item per card
-
-
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Etéreo (verified owner) –
Can u add to drop the key cards on NPCs?
Etéreo (verified owner) –
And If u can see what happen with the plugin sometimes doesn´t work. I only have this plugin, and no load, only when I put it again, only sometimes.