DayZ
41 个评价
Intenz-Leaderboard
   
奖励
收藏
已收藏
取消收藏
Type: Mod
文件大小
发表于
更新日期
2.014 MB
2019 年 6 月 2 日 上午 2:27
2021 年 9 月 9 日 下午 1:33
9 项改动说明 ( 查看 )

订阅以下载
Intenz-Leaderboard

描述
IntenZ Leaderboard

A mod for extracting the most relevant player stats in to json-files.
Example: https://dayzintenz.com/dayz/leaderboard

Intenz Leaderboard will extract data in to a JSON-file individually for each player. The data will be formated in a way that is easy to handle.
The mod is mainly created for developers that needs to access ingame-data when creating a leaderboard/dashboard webpage/discord bot. You are alone responsible for getting the json data in to your prefered database.

You are not allowed to unpack, repack or modify this mod without my permissions.

Instructions
Create a folder in your servers profile folder and name it Leaderboard. a json file for each player will be generated automatically as they login to the server. How you use the data is up to you. I would suggest that you add the data to a db each restart and dispose the files after the data is added. Good luck! If you have any questions I suggest you take them in our Discord https://discord.gg/g5RxE8h

Stats will contain:
On current alive character you will find data such as:
¤ Kills - a array of kills with data for each kill (this only contains kills for the current alive character)
¤ Animals killed - a list of animals killed.
¤ name - name of player
¤ A count property for each death source (for example death to zombie count)
¤ Amount of zombies killed
¤ Time survived
¤ Distance travelled
¤ longest shot

On each kill you will find data such as:
¤ The victim - its id and the time it had survived.
¤ Timestamp
¤ Position - vector for where on the map the kill took place
¤ weapon used

each dead generation will be saved to deaths-list with necessary data such as:
¤ Distance traveled
¤ Killers SteamID
¤ Weapon used by killer
¤ Cause of death (zombie, natural cause, playerkill, animalkill)
¤ kills - a list of kills for this generation with data for each kill
¤ list of animals killed
¤ longest hit on player
¤ zombiekills
¤ time survived
¤ Timestampprovided

If you are not interested in generation and kills objects and only want the total then you will have to iterrate through deaths and sum up the stats together with current alive characters stats.

open source solutions:
Discord-bot from Capps: https://github.com/Capps0611/DayZ-Player-Leaderboard-Bot
热门讨论 查看全部(1)
1
2020 年 2 月 11 日 上午 9:05
Servers running this amazing mod!
BeeDub
65 条留言
ClagZ 10 月 7 日 下午 12:37 
Actually i think I was misunderstanding what it was doing while players were active, apologies. The Zombie Kills stats seem very high, unless they pull from data held against the player on the server, rather than simply collating them in the file?
ClagZ 10 月 7 日 上午 11:37 
{
"deaths": [
{
"animalsKilled": [],
"kills": [],
"longestShot": 0,
"timeSurvived": 2560,
"zKillCount": 0,
"distTrav": 34192,
"timeStamp": "2025-10-7 17:43:7",
"posDeath": "8445.36,177.385,12004.3",
"killer": "natural cause",
"weapon": ""
},
"kills": [],
"animalsKilled": [],
"name": "Bengt-G*ran",
"lastTimeSeen": "2025-10-7 18:21:8",
"deathsToZCount": 0,
"deathsToNaturalCauseCount": 3,
"deathsToPlayerCount": 0,
"deathsToAnimalCount": 0,
"suicideCount": 0,
"longestShot": 0,
"zKilled": 0,
"timeSurvived": 0,
"distTrav": 0
}

I don't think this is building the json files correctly for players?
Loukroz 2024 年 2 月 14 日 上午 5:22 
Hello Sir I would like to use your mod on my server. Am I able to Repack the mod, will provide a link to your mod. Thanks in advance. ?
Terror-East ☠ 2023 年 3 月 7 日 上午 8:00 
ha ok it's why, thanks for your feedback !
QuickZ  [作者] 2023 年 3 月 4 日 上午 7:46 
only data that should come back is these ones from alive character.
¤ Time survived
¤ Distance travelled
¤ longest shot
¤ zombiekills
Since Dayz stores those.
Different kinds of kills n deaths are written live.
Terror-East ☠ 2023 年 3 月 1 日 上午 4:14 
I love your mod <3 !!
Working well , even with KillReward for me ;)

But how can we reset all players stats ?
when i delete all file in directory , it came back with old data .
cotobotik 2023 年 1 月 9 日 上午 12:09 
Discord bot doesn't work for me. Has anyone launched it?
UK Hyper 2023 年 1 月 6 日 上午 4:35 
hi there can i repack thanks
Mr.Shadow 2022 年 10 月 17 日 上午 1:52 
What keybinding is to toggle it?
Back2Basics 2022 年 9 月 22 日 上午 8:08 
Hello Sir I would like to use your mod on my server. Am I able to Repack the mod, will provide a link to your mod. Thanks in advance.