mspeedie
Rewards players for activity, looting, killing and farming with in game money

Supported Games

An easy to use all in one solution to giving players cash rewards for various in game activities. Reward only upon completion of harvesting or empting loot container.

Permission

  • rustrewards.vip -- Allows player to use the VIP multipliers

There are now optional permissions (off by default). If you set Permissions_Enabled to true you need to set these for players or they will not get a reward:

  • rustrewards.harvest
  • rustrewards.kill
  • rustrewards.open
  • rustrewards.pickup
  • rustrewards.activity
  • rustrewards.welcome

Chat Commands

  • /rrm -- Toggle the message about earn currency for a player. It is not case sensitive.

There are five sub-settings:

  1. H - Havest
  2. K- Kill
  3. O - Open
  4. P - Pickup and
  5. A - Activity

The second parameter is on or off.

Some examples:

to turn on kill messages: /rrm K On

to turn off harvest message: /rrm H Off

Player can select what messages they want to see. You can set the default value with Player Default Settings in the configuration. By default they seem them all, but most will turn them off over time as it can get a bit much over time.

Configuration

Default configuration:

{
  "groupsettings": {
    "groupmultipliers": {
      "vip": 1.5,
      "default": 1.0
    }
  },
  "multipliers": {
    "40mm_grenade_buckshot": 1,
    "40mm_grenade_he": 1,
    "assaultrifle": 1,
    "axe_salvaged": 1,
    "beancangrenade": 1,
    "boltactionrifle": 1,
    "boneclub": 1.5,
    "boneknife": 1.5,
    "butcherknife": 1,
    "candycaneclub": 1.5,
    "chainsaw": 1,
    "combatknife": 1,
    "compoundbow": 1.25,
    "crossbow": 1.25,
    "customsmg": 1,
    "distance_100": 2,
    "distance_200": 2.5,
    "distance_300": 3,
    "distance_400": 3.5,
    "distance_50": 1.5,
    "doublebarrelshotgun": 1,
    "dynamicdistance": 0.01,
    "eokapistol": 1.25,
    "f1grenade": 1,
    "flamethrower": 1,
    "flashlight": 1,
    "hammer_salvaged": 1,
    "handmadefishingrod": 2,
    "happyhourmultiplier": 2,
    "hatchet": 1,
    "huntingbow": 1.5,
    "icepick_salvaged": 1,
    "jackhammer": 1,
    "l96rifle": 1,
    "longsword": 1.5,
    "lr300": 1,
    "m249": 1,
    "m39": 1,
    "m92pistol": 1,
    "mace": 1.5,
    "machete": 1.5,
    "mp5a4": 1,
    "multiplegrenadelauncher": 1,
    "nailgun": 1.25,
    "pickaxe": 1,
    "pitchfork": 1,
    "pumpshotgun": 1,
    "pythonrevolver": 1,
    "revolver": 1,
    "rock": 1,
    "rocket": 1,
    "rocketlauncher": 1,
    "salvagedcleaver": 1,
    "salvagedsword": 1.5,
    "satchelcharge": 1,
    "semiautomaticpistol": 1,
    "semiautomaticrifle": 1,
    "sickle": 1,
    "snowball": 2,
    "spas12shotgun": 1,
    "stone_pickaxe": 1,
    "stonehatchet": 1,
    "stonespear": 1.25,
    "thompson": 1,
    "timedexplosivecharge": 1,
    "torch": 1,
    "vipmultiplier": 2,
    "waterpipeshotgun": 1,
    "woodenspear": 1.75
  },
  "rates": {
    "activityreward": 15,
    "autoturret": 10,
    "balloon": 3,
    "bandit_guard": 1,
    "barrel": 2,
    "bear": 7,
    "boar": 3,
    "boat": 1,
    "bones": 1,
    "bradley": 50,
    "cactus": 1,
    "chicken": 1,
    "chinook": 50,
    "corn": 1,
    "crate": 2,
    "foodbox": 1,
    "giftbox": 1,
    "heavyscientist": 8,
    "helicopter": 75,
    "hemp": 1,
    "horse": 2,
    "minecart": 2,
    "minicopter": 75,
    "murderer": 6,
    "mushrooms": 2,
    "npckill": 8,
    "ore": 2,
    "player": 10,
    "pumpkin": 1,
    "rhib": 1,
    "ridablehorse": 2,
    "sam": 5,
    "scarecrow": 8,
    "scientist": 8,
    "scientist_peacekeeper": 1,
    "scrapcopter": 75,
    "stag": 2,
    "stones": 1,
    "suicide": -10,
    "sulfur": 1,
    "supplycrate": 5,
    "trap": 2,
    "welcomemoney": 50,
    "wolf": 8,
    "wood": 1
  },
  "settings": {
    "ActivityReward_Enabled": "true",
    "ActivityReward_Minutes": 15,
    "DistanceMultiplier_Enabled": "true",
    "Do_Advanced_VIP": "false",
    "DoLogging": "true",
    "DynamicDistanceMultiplier_Enabled": "false",
    "GUI Announcment Banner Colour": "Blue",
    "GUI Announcment Text Colour": "Yellow",
    "HappyHour_BeginHour": 17,
    "HappyHour_Enabled": "true",
    "HappyHour_EndHour": 21,
    "HarvestReward_Enabled": "true",
    "KillReward_Enabled": "true",
    "Mid String": "</color><color=#FFFFFF>",
    "NPCReward_Enabled": "true",
    "OpenReward_Enabled": "true",
    "Permissions_Enabled": "false",
    "PickupReward_Enabled": "true",
    "Player Default Settings": "hkopa",
    "Post String": "</color>",
    "Pre String": "<color=#CCBB00>",
    "PrintInConsole": "false",
    "ShowcurrencySymbol": "true",
    "Simpler_ActivityReward_Enabled": "true",
    "TakeMoneyfromVictim": "false",
    "UseClansPlugin": "true",
    "UseEconomicsPlugin": "false",
    "UseFriendsPlugin": "true",
    "UseGUIAnnouncementsPlugin": "false",
    "UseScrap": "false",
    "UseServerRewardsPlugin": "false",
    "VIPMultiplier_Enabled": "false",
    "WeaponMultiplier_Enabled": "true",
    "WelcomeMoney_Enabled": "true"
  }
}

Stored Data

This plugin stores data in the data/RustRewards.json file to keep track of welcome money given to players. This file should not be deleted in most cases unless you want players to be given welcome money again when they connect after a wipe.

The plugin can also store zone modifiers. These are on top of other multipliers, so you you could have zones with increased of decreased rewards. This is store in /data/RustRewards-Zones.json Here is a sample, it contains one line per zone id and multipler:{"65251237": 1.5}

Rewards players for in game activities:

  • Looting boxes (till empty)
  • Breaking Barrels
  • Killing
  • Harvesting resources (completely)
  • Activity (with configurable time and amount)
  • First time on the server

There are multiplers for:

  • VIP
  • Weapon Type (for kills)
  • Distance (for kills)
  • Happy Hour (optional)

There are multiplers base on Group:These are at the top of the config file. Note it will pick the group with the highest multiplier the the player is a member of.

Here is an example from my server:"groupsettings": {"groupmultipliers": {"vip": 1.5,"mentor": 1.2,"esteemed": 1.15,"regular": 1.1,"default": 1.0}},

I would recommend turning off VIPMultiplier_Enabled if you use Do_Advanced_VIP to simplify set up.

If more than one multiplier is enabled, the total multiplier will be the product of all multipliers, which is then multiplied times the normal reward. There are also individual rates for each activity.

You can configure:

  • Currency code true/false
  • Logging true/false
  • Console messages true/false
  • Distance multipler true/false
  • Activity Reward true/false
  • Simpler Activity Reward true/false to work around vote day, skip night etc.)
  • Take money from vicitm (PvP) true/false (does not work with scrap)
  • Use Clans (to prevent exploits) true/false
  • Use Friends (to prevent exploits) true/false
  • VIP multiplier true/false
  • Do Advanced VIP true/false (which requires setting group multipliers)
  • Weapons multiplier true/false
  • Welcome money true/false
  • Reward for killing NPC true/false
  • Player Default Settings any combination of lowercase h k o p.
  • Use Scrap, Server Rewards or Use Economics (set only one to true)

There are two different distance multipliers, one with fixed milestones: DistanceMultiplier_Enabled and one based on actual distance: DynamicDistanceMultiplier_Enabled.

The milestone one used the values in:

  • distance_50 (for >= 50 and < 100)
  • distance_100 (for > =100 and < 200)
  • distance_200 (for >= 200 and < 300)
  • distance_300 (for >= 300 and < 400)
  • distance_400 (for >= 400)Distance less than 50 get no multiplier.

The Dynamic Distance uses the dynamicdistance multipler in the formula: 1 (distance * dynamicdistance)If the dynamicdistance multiplier is 0.01 and the distance is 100m then the resulting multipler is 1 (100 * 0.01) = 2. For 200m it is 3, 500m it is 6, etc. It can add up quickly so you will most likely want a very small multiplier. To encourage close up combat you can set the dynamicdistance multipler to a negative number. This can result in a negative reward if the multipler is large.

Note we support negative rewards. Please be mindful of potential exploits by players. There is always one clever player looking for an angle to maximize their rewards. If the amount is negative and the multipler is negative we now make the multipler postive to avoid the double negative exploit.

Friends and Clans

If the respective options are enabled from config, the plugin checks if the victim is a 'Friend' or is in the same 'Clan' of the killer, if so, no reward is given to the killer. This was made to avoid friends abusing and killing each other. This can also be avoided by enabling the TakeMoneyFromVictim which takes money from victim and gives it to their killer.

Credits

  • Big thank you to Tarek, the original author of Rewards and the main inspiration for this plugin
  • Scriptzyy and redBDGR for the Barrel Points, another inspiration
  • Mr. Bubbles, CanopySheep, and Wulf for the Gather Rewards plugin, yet another inspiration

    All rights reserved by those that contributed to this plugin.


    Download

    4.9K downloads
    144 watchers

    rewardsfuneconomyserver rewards