Rust-Cases / SkinCases

Required: ImageLibrary from umod.
This plugin is very performance intensive and may lag on slower pc's.
A Warning: This plugin works as intended.. I will try my best to keep it working as i am not the original creator. Was passed down by Hogan when he left codexive.org
Main features of plugin:
• Real animation when case is opening (same with CS:GO)
• Virtual inventory for saving items, that player got from case
• You can add in case items/commands (for VIPs, e.t.c.)
• Different rarities with different colors
• Possible to sell case through your donation store
• Economics / Server Rewards support
Config
{
"Case settings": {
"List of available cases": [
{
"Display name": "Tools case",
"ImageURL": "https://i.ibb.co/123456/TOOLS.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 2000,
"Maximum amount": 4000,
"ShortName": "wood",
"SkinID": 5591258594,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": "https://i.ibb.co/123456/image-Name.png"
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 2000,
"Maximum amount": 4000,
"ShortName": "stones",
"SkinID": 554584458,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": "https://i.ibb.co/123456/Do1lEDz.png"
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 500,
"Maximum amount": 1000,
"ShortName": "leather",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 500,
"Maximum amount": 1000,
"ShortName": "cloth",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 150,
"Maximum amount": 500,
"ShortName": "lowgradefuel",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 1000,
"Maximum amount": 2000,
"ShortName": "metal.fragments",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 50,
"Maximum amount": 150,
"ShortName": "metal.refined",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 500,
"Maximum amount": 2000,
"ShortName": "sulfur",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 500,
"Maximum amount": 1000,
"ShortName": "gunpowder",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 500,
"Maximum amount": 2000,
"ShortName": "hq.metal.ore",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
},
{
"Display name": "Component case",
"ImageURL": "https://i.ibb.co/123456/COMPONENTS.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 30,
"Maximum amount": 40,
"ShortName": "metalblade",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 20,
"Maximum amount": 30,
"ShortName": "sewingkit",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 10,
"Maximum amount": 15,
"ShortName": "roadsigns",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 10,
"Maximum amount": 20,
"ShortName": "metalpipe",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 15,
"Maximum amount": 25,
"ShortName": "gears",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 2,
"Maximum amount": 8,
"ShortName": "smgbody",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 15,
"Maximum amount": 25,
"ShortName": "metalspring",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 1,
"Maximum amount": 6,
"ShortName": "semibody",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 10,
"Maximum amount": 15,
"ShortName": "techparts",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 10,
"Maximum amount": 15,
"ShortName": "riflebody",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
},
{
"Display name": "Resource case",
"ImageURL": "https://i.ibb.co/123456/RESOURCE.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 10000,
"Maximum amount": 20000,
"ShortName": "wood",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 10000,
"Maximum amount": 20000,
"ShortName": "stones",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 1000,
"Maximum amount": 1500,
"ShortName": "leather",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 500,
"Maximum amount": 1000,
"ShortName": "cloth",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 450,
"Maximum amount": 900,
"ShortName": "lowgradefuel",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 10000,
"Maximum amount": 15000,
"ShortName": "metal.fragments",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 400,
"Maximum amount": 800,
"ShortName": "metal.refined",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 3000,
"Maximum amount": 6000,
"ShortName": "sulfur",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 1500,
"Maximum amount": 3000,
"ShortName": "gunpowder",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "explosive.timed",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
},
{
"Display name": "Weapons case",
"ImageURL": "https://i.ibb.co/123456/WEAPONS.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "pistol.semiauto",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "pistol.python",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "pistol.m92",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "smg.2",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.m39",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "smg.thompson",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.semiauto",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.lr300",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.bolt",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.ak",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
},
{
"Display name": "Mystery case",
"ImageURL": "https://i.ibb.co/123456/MYSTERY.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 2,
"Maximum amount": 10,
"ShortName": "explosive.timed",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 4,
"Maximum amount": 12,
"ShortName": "ammo.rocket.basic",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "lmg.m249",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 2000,
"Maximum amount": 8000,
"ShortName": "gunpowder",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.l96",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 3,
"Maximum amount": 6,
"ShortName": "supply.signal",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 10,
"Maximum amount": 25,
"ShortName": "explosive.satchel",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 100,
"Maximum amount": 500,
"ShortName": "ammo.rifle.explosive",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 2,
"Maximum amount": 5,
"ShortName": "grenade.f1",
"SkinID": 1630356878,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "fuse",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
},
{
"Display name": "Explosion case",
"ImageURL": "https://i.ibb.co/123456/EXPLOSIVES.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "grenade.beancan",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 4,
"Maximum amount": 10,
"ShortName": "explosive.timed",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 2,
"Maximum amount": 12,
"ShortName": "ammo.rocket.basic",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "lmg.m249",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 2000,
"Maximum amount": 8000,
"ShortName": "gunpowder",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 1,
"Maximum amount": 1,
"ShortName": "rifle.l96",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 3,
"Maximum amount": 6,
"ShortName": "supply.signal",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 10,
"Maximum amount": 25,
"ShortName": "explosive.satchel",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 300,
"Maximum amount": 1000,
"ShortName": "ammo.rifle.explosive",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 2,
"Maximum amount": 8,
"ShortName": "grenade.f1",
"SkinID": 1630356878,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
},
{
"Display name": "Food case",
"ImageURL": "https://i.ibb.co/123456/FOOD.png",
"Price for buy (if Economics/Server Rewards installed)": 0,
"Possible items": [
{
"Rarity type (0/1/2/3)": 0,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "seed.green.berry",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "seed.potato",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 3,
"Minimal amount": 5,
"Maximum amount": 12,
"ShortName": "bearmeat.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "chicken.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "deermeat.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "fish.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 1,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "horsemeat.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "meat.pork.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "wolfmeat.cooked",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
},
{
"Rarity type (0/1/2/3)": 2,
"Minimal amount": 5,
"Maximum amount": 10,
"ShortName": "corn",
"SkinID": 0,
"Amount": 0,
"External command (%STEAMID% support)": "",
"Image URL (64x64 png!!!)": null
}
]
]
},
"Other settings": {
"Allow to open few cases at one time (if yes, you will have interface glitch (but user will like it))": false
}
}Interface screenshots and demonstration:
Main interface when player use /case command, here player can find all available case (his, or case that he can buy)
Commands:
Chat Commands:
/case - open interface with cases
Console Commands:
caseinfo - show amount of closed cases of users that are online now
allcase <userId> <amount> - give all case to player with setted amount
case <userId> "<caseName>" <amount> - give setted case to setted player, with setted amount
caseall "<caseName>" <amount> - give setted case with setted amount to all connected players

Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.
Visit site ↗