Activity Rewards

VAULT+ RUST PLUGIN Activity Rewards 0.1.8

Upgrade or register to download
Official page:

About Activity Rewards​



Plugin rewarding players for their in-game activity.

P.S. Don't forget to assign the permission to players, otherwise rewards won't be granted.


  • o.grant group default activityrewards.default


Features.png



  • The ability to receive rewards for a prefix or suffix in the username;
  • The ability to receive rewards for gathering resources;
  • The ability to receive rewards for:
    • killing players and NPCs;
    • destroying barrels, road signs and dead logs;
  • The ability to receive rewards for the researching blueprints;
  • The ability to receive rewards for the first opening of loot crates;
  • The ability to receive rewards for collecting resources;
  • The ability to receive rewards for planting plants;
  • The ability to receive rewards for catching fishes;
  • The ability to receive rewards for the first daily visit to monuments;
  • The ability to grant permissions for the duration of a player's stay inside monuments;
  • The ability to reward with in-game items;
  • The ability to set reward multiplier for each permission;
  • The ability to add a night reward multiplier on top of the base multiplier;
  • The ability to use AdvancedStatus to display a status bar with highly flexible settings.


DefaultConfigFile.png



Code:
{
"List of language keys for creating language files": [
"en"
],
"Is it worth using the AdvancedStatus plugin?": true,
"Advanced Status display method: 0 - single bar, 1 - single cumulative bar, 2 - new bar for each": 2,
"Is it worth enabling the Gather Rewards?": true,
"Is it worth enabling the Kill Rewards?": true,
"Is it worth enabling the Research Rewards?": true,
"Is it worth enabling the Loot Open Rewards?": true,
"Is it worth enabling the Pickup Rewards?": true,
"Is it worth enabling the Planting Rewards?": true,
"Is it worth enabling the Fishing Rewards?": true,
"Is it worth enabling the Monument Rewards?": true,
"A prefix or suffix required in the player's nickname to receive the permission reward. An empty string disables the reward": "#RealPVE",
"List of permissions granted when the player's nickname contains the required prefix or suffix": [
"kits.loyalty"
],
"List of reward multipliers for each permission": {
"activityrewards.default": 1.0,
"realpve.default": 1.0,
"realpve.vip": 1.1
},
"Night bonus multiplier. Will be added to the base reward multiplier. A value of 0 disables this": 0.1,
"The list of economy plugins for rewards": {
"Economics": {
"Is it worth enabling the plugin for rewards?": true,
"Reward Type: true - int, false - double": false,
"Language key for the text": "MsgEconomics",
"API method name for deposit": "Deposit",
"API method name for withdraw": "Withdraw",
"BarSettings": {
"Order": 40,
"Height": 26,
"Main_Color(Hex or RGBA)": "#84AB49",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/k8jq7yY.png",
"Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#B9D134",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#DAEBAD",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#DAEBAD",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
},
"ServerRewards": {
"Is it worth enabling the plugin for rewards?": true,
"Reward Type: true - int, false - double": true,
"Language key for the text": "MsgServerRewards",
"API method name for deposit": "AddPoints",
"API method name for withdraw": "TakePoints",
"BarSettings": {
"Order": 40,
"Height": 26,
"Main_Color(Hex or RGBA)": "#84AB49",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/k8jq7yY.png",
"Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#B9D134",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#DAEBAD",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#DAEBAD",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
},
"BankSystem": {
"Is it worth enabling the plugin for rewards?": true,
"Reward Type: true - int, false - double": true,
"Language key for the text": "MsgBankSystem",
"API method name for deposit": "Deposit",
"API method name for withdraw": "Withdraw",
"BarSettings": {
"Order": 40,
"Height": 26,
"Main_Color(Hex or RGBA)": "#84AB49",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/k8jq7yY.png",
"Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#B9D134",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#DAEBAD",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#DAEBAD",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
},
"IQEconomic": {
"Is it worth enabling the plugin for rewards?": true,
"Reward Type: true - int, false - double": true,
"Language key for the text": "MsgIQEconomic",
"API method name for deposit": "API_SET_BALANCE",
"API method name for withdraw": "API_REMOVE_BALANCE",
"BarSettings": {
"Order": 40,
"Height": 26,
"Main_Color(Hex or RGBA)": "#84AB49",
"Main_Transparency": 0.8,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/k8jq7yY.png",
"Image_Local(Leave empty to use Image_Url)": "ActivityRewards_Default",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#B9D134",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#DAEBAD",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#DAEBAD",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75"
}
}
},
"LastClearDay": 9,
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 8
}
}


Setting up rewards for each action occurs in the respective files within this folder *SERVER*\oxide\data\ActivityRewards


  • PluginInt for: BankSystem and ServerRewards;
  • PluginDouble for: Economics.


You can also set the reward to 0 to disable the reward.


Code:
"fish.smallshark": {
"PluginInt": 50,
"PluginDouble": 5.0,
"ItemsList": [
{
"ShortName": "scrap",
"Amount": 10,
"SkinId": 0
}
]
}


Localization.png



Code:
EN:
{
"MsgEconomics": "Bonus",
"MsgServerRewards": "Bonus",
"MsgBankSystem": "Bonus",
"MsgIQEconomic": "Bonus"
}
RU:
{
"MsgEconomics": "Бонус",
"MsgServerRewards": "Бонус",
"MsgBankSystem": "Бонус",
"MsgIQEconomic": "Бонус"
}

Back
Top