#Discord Player Stats

1 messages · Page 1 of 1 (latest)

pearl saffron
#

Discord player Stats is a simple Discord Webhook that allows players to track long term, multiple sessions Kills and Deaths Data.
More features and leaderboards to come!

Simply Create a new webhook in your Discord and paste the link in the Webhook.config file, Located in PlayerStatsList folder.
remove this section when pasting the link //discord.com/api/webhooks/

mod id- 660E2AC4BCB009E6

dire frost
#

SCRIPT : PlayerStatTracker: SendLeaderboard called SCRIPT : PlayerStatTracker: Sorting 1 players SCRIPT : PlayerStatTracker: Sending leaderboard to Discord SCRIPT : PlayerStatTracker: Saved stats to file

You should see this when it's setup right!

frail arch
#

love how it looks is it a intended feature for the players who leave the servers names to stay on the list?

strange blaze
#

SCRIPT : PlayerStatTracker: SendLeaderboard called
SCRIPT : PlayerStatTracker: Sorting 1 players
SCRIPT : PlayerStatTracker: Sending leaderboard to Discord
SCRIPT : PlayerStatTracker: Saved stats to file
BACKEND (E): [RestApi] ID:[18] TYPE:[UNKNOWN] Error Code:400 - Bad Request, apiCode="", uid="", message=""
SCRIPT (E): DPL: /!/!/!/!/! DPL_DiscordChannelId is empty
SCRIPT (E): Virtual Machine Exception

Not sure what I did wrong

frail arch
strange blaze
#

I removed that. No idea if the channel i created the webhook then moved it to another channel maybe caused it or not

#

Do I need a bot or something to get it to show in the discord channel?

patent geyser
#

This is awesome for my many, many, stat obsese buddies

patent geyser
#

the webhook should be

https:bunchofnumbers/bunchofletters

right?

patent geyser
dire frost
#

Change the webhook URL.

#

Remove the http:// part etc..

patent geyser
#

it should look like this?

14036734526254636352/2BzZVGy5UD8IBTrikXBG5AneoigaergaregnlEuRDw4XvGvhNnJr9AJmhKf50OurbvAq

patent geyser
pearl saffron
wintry siren
#

Wish it had a more mobile-friendly view.

raven nexus
#

Hey m8. Got a problem getting this mod to work. Did the initial setup, removed the "https://discord.com/api/webhooks/" from the url and it worked for like 5 minutes, then it disappeared an i got the following error shown in the image since. Got any ideas? Preciate your work 😁

#

This is my Webhook config:

patent geyser
#

That error is from #1134676934647881829 which you left the channel ID blank

Also if you decided to put discord player stats and discord player list into one channel then don't

raven nexus
#

Dont have this mod on my server and these lines need to be from the same place, because of the timings. when nothing is going on, this error gets spammed

pearl saffron
pearl saffron
#

FYI to everyone

Killfeed is now a option as well

raven nexus
#

I have fixed my problem and after testing i can report a bug. Users with quotation marks in their names breaks the request to the discord webhook. We have a player quotation marks in his name. After removing them from the stats file, it worked again. This also explains why it worked for like 5 minutes, because he was not on the server. But after joining, it broke. Is it possible to fix it?

pearl saffron
pearl saffron
#

I updated a couple things…

Now have supplies and bases seized channels (create new webhooks for these)

So player data will be reset but the old file is still in the backend so delete it or transfer info to new folder. (while server is stopped)

Changed the file from playerstatstracker.config.json to playerstats.json

Holding all player data.

  • Kills
  • Deaths
  • Teamkills
  • Suicides
  • Objectives taken(base or relay capture)
  • Supplies delivered(per-transaction delivery)
  • Supply points(points earned from delivery)
  • Timeplayed(showing total time in server)
crimson vale
#

Someone give him the chance to do something like this

smoky pine
#

is it possible that your mod prevents the "base capture" notification and status from showing up in-game?! i have the feeling that the notifications are bugged since using your mod..sometimes a few people can see the capture status but most of us don't see it at all

patent geyser
#

Whoa I never thought that there are others having these problem as well

smoky pine
#

now after disabling the mod everyone can see the capture notifications and the status...has to be this mod. thats so unfortunate as everyone on the server loves it

wintry siren
#

How do you configure:

10:07:08.525 SCRIPT    (W): ---DPST CONFIGURATIONS ---
10:07:08.525 SCRIPT    (W): DPST ACTIVE: 
10:07:08.525 SCRIPT    (W): Chat - Show All Chat Channels: false
10:07:08.526 SCRIPT    (W): Rank - Number Of Players To Start/End Game: 1
10:07:08.527 SCRIPT    (W): Rank - Table Update Time In Minutes: 5
10:07:08.528 SCRIPT    (W): Rank - Number Of Players In Table: 25
10:07:08.528 SCRIPT    (W): Rank - Number Of Players In Final Table: 5
10:07:08.528 SCRIPT    (W): Commands - !kills Command Enabled: true
10:07:08.528 SCRIPT    (W): Server - Auto Restart When Match Ends: false
10:07:08.528 SCRIPT    (W): -----------------------------
pearl saffron
#

I’ll look into this. But I was having problems myself with that status bar before I made this mod.

smoky pine
pearl saffron
#

if you could confirm the curent updated version is working ... meaning the status the discords connects may not all fire

pearl saffron
#

The chat to discord was the issue! So i removed it for now, till i fix it.
That being said the most up to date version should have no status bar flicker.

twin seal
#

Everything was working fine. Now it just displays the players in server on the channel name as it does. The bot is not posting anything at all. Checked its permissions all fine. Even given it every permission and still won’t post the details.

pearl saffron
twin seal
midnight surge
#

What a cool concept! Will absolutely be looking to run this mod on our server.

Forgive me if this has been asked before, but can this run alongside Discord Player List, or is it an either or situation?

Thanks!

smoky pine
smoky pine
#

i have the issue that i am running the mod on our public server and our testserver..both same config and all but one of the servers doesnt get the score list message to discord. i didnt change anything in the discord channel or the server itself and i have no idea what i can try to fix it..i deleted and reinstalled the mod completely on the affected server but it still doesnt send the list. on the other server it works just fine...do you have any idea what i can do to solve this??

#

i might have to add that i didnt delete the playerstats file when i reinstalled the mod on the server

pearl saffron
#

Known issue at the moment
I need to fix the time aspect as when players disconnect it still keeps adding time played as if they were in the server still

smoky pine
#

Its the main overall stats

#

In the console it says its sending the message but theres no message in discord

#

Really strange as our testserver works just fine..may the playercount in the statsfile play a role?

Thats the only difference..testserver has like 10 people tracked and the public one 130+

pearl saffron
#

Double check all settings and links from discord bot to webhooks entered correctly
lmk

smoky pine
#

so the webhook and everything is ok, just like it was when it still worked. i'll be home in a few hours and then i'll test if it works when i delete everything from the mod before reinstalling..statsfiles and all

smoky pine
eternal relic
#

@jaunty lance

waxen venture
#

Hey i have problems that mod is not sending anything to the discord?

Done what it was saying removing some of it but still nothing

This goes for killfeed, Stats, Status,Chat

pearl saffron
#

@smoky pine @waxen venture
ill look at the mod on my end, but on my discord everything's hummin along

pearl saffron
waxen venture
#

I mange to her status and stats working but not the kill feed and chat

smoky pine
#

Just started my testserver and for that server its still working without any issues.it send the discord message with the list right away

The public server has the topscorelist of the whole last month,with people having 10000 kills and more and i dont want to lose it..but i guess thats the only way to make it work again

smoky pine
#

i deleted only the stats file and now it works..so maybe it really has to do with the number of players on the list..i didnt change anything on the list manually and all of a sudden it stopped working. maybe tracked player count exceeded 120 at this point. i'll try to delete some players so i get less than 120 players on the list

smoky pine
#

this didnt work..

pearl saffron
#

Well it should still hold the data of more players bur only send the top120 to discord.

smoky pine
#

yes and it seems to work if there's no interruption like an update..but if there's an off-time it seems to struggle to send the list to discord again, if there are too many players on it

#

it was sending the list with 120+ players with no issues before we had a downtime of a few minutes..then it stopped sending the list when the server was back up

waxen venture
#

i only have problems with the chat not working

smoky pine
#

but that was always the case with the mod..at least for me

pearl saffron
paper jewel
#

@cerulean pebble

smoky pine
#

really weird..since i had to delete the top list the mod was running fine but today it started again..mod tracks the kills but doesnt post the scorelist to discord. i deleted the statsfile again and it instantly started sending the list to discord.

#

maybe some symbol in a name of a tracked player or something that causes this? its really strange

raven nexus
smoky pine
smoky pine
#

i tried deleting names that i suspected from the list but that didnt help..i have the feeling that changing something in the statsfile corrupts it so i cant really test which name or symbol could be the cause..."ö" maybe..its posting again after i deleted the statsfile but there are also no names with special symbols so far....can i edit the statsfile in a way that its still getting send to discord afterwards?? or should it be like that anyways??

raven nexus
pearl saffron
pearl saffron
#

Updated the mod!
Full details in my mod updates discord channel

tough briar
#

hmm, everyone is showing up fine except for me Player_418e12

pearl saffron
charred panther
#

Is there a way to know the stats only on my particular server?

I still want to contribute to the global database, I just want users to be able to know both their “local” and “global” stats

smoky pine
charred panther
charred panther
#

We're having this issue

near yacht
charred panther
smoky pine
#

I am still pretty sure that the number of players getting tracked or the number of characters in the stats file has something to do with the toplist not beeing posted..my list all of a sudden stopped to get posted again..with a fresh list it works

pearl saffron
smoky pine
#

Cant tell now as i dont have the old list saved..i'll report when it happens again

smoky pine
#

heyy....here we are again^^

#

discord message of the toplist stopped again today...i've been able to capture the number of players that are on the list right now..it's 124. so maybe it stops sending at 120 or something around that number

pearl saffron
#

New version will include a DPST-Bot for discord and will receive data from arma and playes use /link to connect discord user to a arma player/Gamertag
/stats options match, overall are per server and global for all servers that use the mod!
/leaderboard again with the same option above match overall and global
Admins use /setup to link discord to a arma server using a serverid set in the arma mods config file
admins also use /setuplivefeed in a channel and the bot will take over that channel make it read only for server status and live players in server

cant name all details as of now

charred panther
#

If you could add one feature it would be incredible for us: one way to setup an automatic wipe of the global leaderboard. Say daily, weekly, monthly...

pearl saffron
#

Hello, hope you’ve all enjoyed using the Discord Player Stats mod.
It’s been great seeing the community use it, but the time has come to officially retire it.
The old system relied on webhooks and a pretty complicated setup process, and it’s no longer being updated.
My new mod, ArmaStatsBot_Mod, fully replaces it with a cleaner, higher‑quality system that handles everything automatically — including slash commands for stats, leaderboards, and more.
Because of this transition, this thread will be locked by the Arma Discord admins after I post this. The original mod will remain available for anyone who still wants to look at it, but work has fully moved to the new system.
Thanks to everyone who supported the original mod — the new one is a big step forward, and I hope you enjoy it even more.

@wanton abyss