Shop Rewards & Stats

Shop Rewards & Stats 1.2

No permission to download
Rewards players for activities using Shop points. This plugin also add stats and leaderboard. Currently, only player kills, deaths and dino kills are counted.

Configuration:
JSON:
{
  "DinoRewards":{
    "Enabled":true,
    "GiveUnclaimPoints":false, // Give points for killing unclaimed dinos or not
    "Dinos":[
      {
        "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Dodo/Dodo_Character_BP.Dodo_Character_BP'",
        "Award":[ // Award may depends on dino level
          {
            "MinLevel":1,
            "MaxLevel":20,
            "Points":1 // Player will receive 1 point if dino level is between [1;20]
          },
          {
            "MinLevel":21,
            "MaxLevel":50,
            "Points":5 // Player will receive 5 points if dino level is between [21;50]
          }
        ]
      },
      {
        "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Rex/Rex_Character_BP.Rex_Character_BP'",
        "Award":[
          {
            "MinLevel":1,
            "MaxLevel":50,
            "Points":10
          },
          {
            "MinLevel":51,
            "MaxLevel":80,
            "Points":20
          },
          {
            "MinLevel":81,
            "MaxLevel":120,
            "Points":30
          }
        ]
      }
    ]
  },
  "PlayerRewards":{
    "Enabled":true,
    "ReceivePoints":20, //  Amount of points that killer will receive.
    "AdditionalPointsPercent":2, // The killer may also receive additional points from the amount the victim has. This value is added to the previous one. Currently, it's set to additional 2% from the victim's points amount.
    "LosePointsPercent":80 // Amount of points that the killed player will loose in percentage. This amount is calculated from the amount the killer will receive.
    "NegativePoints":false, // If set to 'false', players points count won't go negative
    "MessageType":"notification", // 'notification' or 'chat'
    "NotificationDisplayTime":10.0,
    "NotificationScale":1.3
  },
  "Stats":{
    "DisplayTime":15.0,
    "TextSize":1.3
  },
  "Messages":{
    "Sender":"ShopRewards",
    "LostPoints":"You have lost {} points",
    "MyStats":"Player kills count: {0}\nDeaths count: {1}\nWild dino kills count: {2}\nTamed dino kills count: {3}",
    "StatsFormat":"{0}) {1} {2} {3}\n",
    "StatsFormatPlayer":"Format: Name Player kills Deaths count\n{0}",
    "StatsFormatDino":"Format: Name Tamed dino kills Wild dino kills\n{0}",
    "StatsUsage":"Usage: /stats dino or /stats player",
    "MyStatsCmd":"/mystats",
    "ShowLeaderboardCmd":"/stats"
  }
}

The formula for PlayerRewards looks like so:
  1. Amount of points that the killer will receive is: PointsForKiller = ReceivePoints + VictimPointsAmount * AdditionalPointsPercent / 100
  2. Amount of points that the killed player will loose is: PointsForKiller * LosePointsPercent / 100
Example config by Bobby_moore: Config.

Chat Commands:
  • /mystats - Shows player's stats.
  • /stats <Type> - Shows leaderboard. Type can be 'player' or 'dino'.
Console commands:
  • ShopRewards.Reload - Reloads config
Dependencies:
Author
Michidu
Downloads
616
First release
Last update
Rating
5.00 star(s) 7 ratings

More resources from Michidu

Latest updates

  1. 1.2

    Fixed crash related to the latest Ark update
  2. 1.1

    Added option to prevent receiving points from killing an unclaimed dino Added ability to choose...

Latest reviews

Can we share the database? If 2 or more servers point to the one database, they will share
very good plugin! how do i use premium points tho?
This is awesome. Cant wait to implement.
Works great thank you!!!
Working great!
Again amazing work !
Amazing can't wait for the Leaderboard! :D
Top