PlayerStats

PlayerStats v.2.0


what does it do?
It has the following features:

  • displays your ping
  • displays your screen resolution
  • displays your entity coordinations
  • displays your connection (true, false)
  • displays how many players are on your server
  • displays if you’re banned on rockstar games / social club or not
  • displays if you’re driving or on foot
  • displays currently pressing button
  • displays your current ID
  • displays your steam name and pc identification
  • displays your location (if enabled)
  • autoban for gta “crackers” (enable / disable config) (does not work because it is a BOOL)
  • kicks rockstar / social club banned players (enable / disable config)
  • auto update check (enable / disable)
  • Config for debug menu position

Because I needed very long for all functions I made a little copyright symbol with my name into the debug menu. If you really wants to, you can simply delete this function.

here is a pic of the whole debug menu (gets opend with F10)
outdated…

what is this needed to?

This is something like a debug menu. Pretty funny but true it actually looks a little bit like the debug menu of Minecraft :joy:

here a little screen of Minecraft

It should help the server owner (what it actually does) for fixing bugs on his own resources, or for getting needed values to use in your resource AND it is a little help for your players. If the game is freezed or something like that, they could make a screen and send it to you.
On that way you your players can help you to optimize things.
example: the players game freezed. now he sends a screenshot. In the screenshot is the following listed:

Last Ping: 324
Screen Resolution: 1280 x 720
position ‘x’: 2890.23315444
position ‘y’: 4390.23435212
position ‘z’: 50.3451803122
Connected: false
legal or pirate: legal
bann status: you are banned on Rockstar games or Social Club.
means of movement: on feet
currently pressing: letter A
Player ID: 2
Player Name: BadConnectionGuy, System Identification: COMPUTER-321FG4HT
Zone Name: Los Santos International Airport

In this screenshot we can see that the ping is over 300 and that he is NOT anymore connected, what you can see in line 6.

So in this case he is timed out, so nothing special but for example if everything is fine and the game only freezed when he pressed F10, then the server owner knows that he has setted up something wrong in PlayerStats. (because the debug menu opens with F10…)

another function of it is to keep banned players on Rockstar Games or Social Club and “crackers” away from your server. (enable / disable- able)

known Bugs:

  • the text becomes thicker when reopening the menu to often
  • if the menu has been opened too many times, the performance of the PC will be affected while the menu is open.
  • if a non-existing language has been selected, the screen may start flashing when opened
  • texts may not be loaded while the debug menu is open (tested with vMenu)
  • players who are banned online on GTA can not be kicked if they have not spawned on the server yet.

here the link to the github resource:

how to install
I made a wiki for it on GitHub, So please check it up here :mascot:

You want to be the first to test the resource? at Real-RP (Real-RP) · GitHub
can you check if I have a new project created on.

Do you have a new idea to improve PlayerStats? Please post it below and let me know, I will try to incorporate your improvement

Update 2.0

Update 2.0

  • changed the keys to Gta native keys
  • fixed autoupdate checksystem
  • added a polish version, thanks to @Cyfer
  • replaced the “duplicity” function with a playerscount function

thanks for giving so much feedback! hamburgers goes out!
:hamburger: :hamburger: :hamburger:

:+1:

finished reading? take a :hamburger:

5 Likes

but
https://images.illusivetea.me/4K21C2.png

um uff well, that’s embarrassing :joy:

Relying on key tables:
https://github.com/JHodgson1/playerstats/blob/master/client/main.lua#L1-L11

Please don’t.

1 Like

why not? this helps many people that does not want to google what number is needed for a certain button. So I don’t understand why a keys table is bad?

Because if a user changes a keybind, or something of the sort, the name wont match up to their actual key. Hence why Text that just says Press E to do something is worse than using Press ~INPUT_CONTEXT~ to do something as one will adapt to the key change, one wont.

hmm right, I change that.

Polish version :stuck_out_tongue:

elseif Config.lang == ‘pl’ then
U_ = {}

U_.titleping = “Ping:”
U_.resolution = “Rozdzielczosc:”
U_.position = “Pozycja”
U_.connected = “Polaczono: ~g~Tak~s~”
U_.disconnected = “Polaczono: ~r~Nie~s~”
U_.legal = “Legalnosc gry: ~g~Oryginal :>~s~”
U_.illegal = “Legalnosc gry: ~r~Ups jestes Piratem ARRR!~s~”
U_.banned = “Status GTAOnline: Masz ~r~Bana~s~.”
U_.not_banned = “Status GTAOnline: g~Nie~s~ masz Bana :>”
U_.in_vehicle = “~y~Pojazd~s~”
U_.out_of_vehicle = “~y~Na nogach~s~”
U_.pressing = “Klikasz: ~y~”
U_.titleID = “ID: ~b~”
U_.PlayerName = “Nazwa Gracza: ~b~”
U_.System = “~s~, Twoj Sprzet: ~b~”
U_.zone_name = “Strefa: ~o~”
U_.attemption = “~r~Uwaga! ~b~Nie uzywaj za czesto tej opcji, moze to zmniejszyc ilosc twoich FPS’ow!~s~”

1 Like

Why doe? I can play FiveM if I’m on a banned Rockstar account.

Why doe? I can’t play FiveM if I am a :pirate_flag:

It does not kicks you if you haven’ enabled it in the config. And I’m not banned on rockstar games, so I couldn’t really test it.

Update 2.0

  • changed the keys to Gta native keys
  • fixed autoupdate checksystem
  • added a polish version, thanks to @Cyfer
  • replaced the “duplicity” function with a playerscount function

thanks for giving so much feedback! hamburgers goes out!
:hamburger: :hamburger: :hamburger:

:+1:

good release!

1 Like

Thanks :slight_smile: