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:
The formula for PlayerRewards looks like so:
Chat Commands:
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:
- Amount of points that the killer will receive is:
PointsForKiller = ReceivePoints + VictimPointsAmount * AdditionalPointsPercent / 100
- Amount of points that the killed player will loose is:
PointsForKiller * LosePointsPercent / 100
Chat Commands:
- /mystats - Shows player's stats.
- /stats <Type> - Shows leaderboard. Type can be 'player' or 'dino'.
- ShopRewards.Reload - Reloads config