Gives players extra rp/eco/items for looting barrels ,crates and Hacking
Supported Games
works with
Barrel Points enables players to gain reward points and/or in-game money from destroying any type of barrels on the map. The amount of points and custom permission groups can be set in the configuration file.
Updating to version 3.0.0 will require you to delete old cfg and language files
Dependencies
- QueuedPopups (optional)
features
- When destroying barrels or looting crates u get any amount of RP,Eco or items
- Set the amount of units you want to use and the itemshortname if you use items(scrap/blood/sticks) or anything you would like to use as item rewards (can be multiple).
- Reward items can be custom items (item,custom name, skinid,amount) in the list
- Can reward multiples including rp,eco and the whole list of items.
- Skips item rewards when not set in the profile.
- Permission profiles can be added
- Support for the QueuedPopups plugin (priority over the chat messages when installed).
Permissions
Permissions wil be added depended on the profiles you have
barrelpoints.default-- Player will receive the normal count of points/items when they kill a barrel or loot a cratebarrelpoints.vip-- Player will receive the vip count of points/items when they kill a barrel or loot a crate
"barrelpoints.default": { // example
"Priority": 0, // example
"Economics Money": 2.0,
"ServerRewards Points": 2,
"Items": []
},
"barrelpoints.vip": { // 2nd profile
"Priority": 1,// increment to prioritise this to handout rewards
"Economics Money": 5.0,
"ServerRewards Points": 5,
"Items": []
},
"anotherplugin.reward": { // 3rd profile (for any other permission
"Priority": 3, // increment to prioritise this to handout rewards in this case higher priority
"Economics Money": 5.0,
"ServerRewards Points": 5,
"Items": []
},
Configuration
{
"Debug": true,
"Reset Barrel Count On Death": true,
"Send Notification Message": true,
"Give Reward Every X triggers": 3,
"Give Rewards For Barrels": true,
"Give Rewards For Crates": true,
"Max Reward Distance": 3.0,
"Reward Integrations": {
"Use Economics": true,
"Use ServerRewards": false
},
"Notification Settings": {
"Use QueuedPopups": true,
"QueuedPopups Icon Type": 1,
"QueuedPopups Icon Data": "assets/icons/loot.png",
"QueuedPopups Background Color": "0.2 0.2 0.2 0.85",
"QueuedPopups Text Color": "1 1 1 1",
"QueuedPopups Icon Color": "1 1 1 1",
"QueuedPopups Height": 40.0,
"QueuedPopups Font Size": 14,
"QueuedPopups Duration": 6.0
},
"Permission Rewards": {
"barrelpoints.default": {
"Priority": 0,
"Economics Money": 2.0,
"ServerRewards Points": 2,
"Items": [
{
"Item Shortname": "scrap",
"Item Name": "",
"Skin ID": 0,
"Amount": 1
},
{
"Item Shortname": "glue",
"Item Name": "Bone Powder",
"Skin ID": 3531160322,
"Amount": 1
}
]
},
"barrelpoints.vip": {
"Priority": 1,
"Economics Money": 5.0,
"ServerRewards Points": 5,
"Items": [
{
"Item Shortname": "scrap",
"Item Name": "",
"Skin ID": 0,
"Amount": 3
},
{
"Item Shortname": "glue",
"Item Name": "Bone Powder",
"Skin ID": 3531160322,
"Amount": 3
}
]
}
}
}
Localization
{
"Reward Header": "Rewards received:",
"Reward Economy": "${0}",
"Reward RP": "{0} RP",
"Reward Item": "{0}x {1}"
}
API
When a player gets rewarded.
void OnBarrelPointsHandout(BasePlayer player)
{
Puts($"{player.displayName} received BarrelPoints rewards.");
}
Returning the current triggercounts for target player.
int BarrelPointsCount(BasePlayer player)
[PluginReference] Plugin BarrelPoints;
void Example(BasePlayer player)
{
if (BarrelPoints == null) return;
int count = (int)BarrelPoints.Call("BarrelPointsCount", player);
Puts($"Player barrel progress: {count}");
}
Credits
- Scriptzyy, the original author of this plugin
- redBDGR the previous maintainer
This plugin is unlicensed and the original author reserves all rights to it.
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

