Player Details
Last updated
Was this helpful?
Last updated
Was this helpful?
Player details allow you to display custom information about players in the pause menu. This feature is highly customizable and can show various player statistics like money, bank balance, job information, or any other server-specific data.
Edit the PlayerDetails
section in the Customize.lua
file to adjust how you want to display player details.
icon
String
Icon filename (stored in resources/images/PlayerDetails
)
header
String
Display name/title for this detail
event
String
Function name in server/function.lua
to fetch the data
Important: The event name in PlayerDetails
must match the function name in server/function.lua
exactly.
Add the relevant function to the server/function.lua
file to define how to obtain player details on the server side.
Player
Object
Player object containing all player data
data
Object
Content of PlayerDetails
(icon, header, event)
You can display multiple player details by creating an array of detail objects:
Pro Tip: You can add as many player details as needed. Each will be displayed as a separate section in the pause menu.
Format: SVG (recommended) or PNG
Size: 24x24 pixels or larger
Location: resources/images/PlayerDetails/
Style: Simple, clean icons work best
money.svg
Cash/Money display
bank.svg
Bank balance
job.svg
Job information
level.svg
Player level
health.svg
Health status
After making all the adjustments, verify in-game that the information is displayed correctly.
Check Console: Look for any Lua errors
Verify Function Names: Ensure event names match function names
Test Data: Make sure the player data structure is correct
Icon Paths: Verify icon files exist in the correct directory