Sign in to follow this  
Hyperod

MAM Stats

Recommended Posts

Hello All,

Does anyone know how to show a players stats upon entering the server when using Manu Admin Mod (MAM)?  I know you can see them at any time by entering !stats but I would like them to automatically show when joining as part of the welcome message.

Share this post


Link to post
Share on other sites

Same as b3 for the most part.

statsstring = "^2Kills: ^7<KILLS> ^2DEATHS: ^7<DEATHS> ^2K/D: ^7<KPD> ^2ONLINE TIME: ^7<ONLINETIME> min ^2K/M: ^7<KPM> ^2HEADSHOTS: ^7<HEADSHOTS> ^2TEAMKILLS: ^7<TEAMKILLS>"

Edited by Hyperod

Share this post


Link to post
Share on other sites

This is fairly easy to code into B3, however where are we reading this stats from? Since you want it on connect, the stats has to be stored prior to the client connection.

Share this post


Link to post
Share on other sites

They are stored on an sqlite database created by MAM upon original startup many years ago.  🙂    As you have seen, I have my admin software, both b3 and MAM, on a separate Windows server.

Edited by Hyperod

Share this post


Link to post
Share on other sites

Isnt there a mysql plugin for cod4x? maybe you can use it to get the stats from Mam/b3 database and print your own welcome message in gsc

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this