Social Integration

Overview
Configure social media links, server online player count, and time format settings. This section allows you to connect your community through social media links and display real-time server information to enhance player engagement.
1. Configuring Social Media Links and Server Settings
In Customize.lua
, you can configure social media links and server settings:
Use24HourFormat = false, -- true: 24-hour format, false: 12-hour format
ServerMaxOnline = 1200, -- Maximum number of players that can be online
Socials = { -- min: 0 - max: 3
{ icon = 'youtube.svg', link = 'https://www.youtube.com/@UZStoree' },
{ icon = 'discord.svg', link = 'https://discord.gg/uzstore' },
{ icon = 'store.svg', link = 'https://uzstore.tebex.io/' }
}
Configuration Parameters
Use24HourFormat
Boolean
true
for 24-hour format, false
for 12-hour format
ServerMaxOnline
Number
Maximum number of players allowed on the server
Socials
Array
List of social media links (0-3 items)
Social Media Object Structure
icon
String
Icon filename (stored in resources/images/Socials
)
link
String
URL to open when the social media button is clicked
Limits: You can add a minimum of 0 and maximum of 3 social media links.
2. Time Format Configuration
24-Hour Format Example
Use24HourFormat = true -- Display: 14:30, 09:15, 23:45
12-Hour Format Example
Use24HourFormat = false -- Display: 2:30 PM, 9:15 AM, 11:45 PM
Format: HH:MMExamples:
09:30 (9:30 AM)
14:15 (2:15 PM)
23:45 (11:45 PM)
00:00 (Midnight)
3. Server Online Player Settings
Maximum Online Players
Set the ServerMaxOnline
value to match your server's actual player limit. This helps players understand the server capacity and current load.
ServerMaxOnline = 1200 -- Supports up to 1200 players
Display Examples
The player count will be displayed as:
Current/Maximum: "45/1200 Players Online"
Percentage: Automatically calculated based on current vs maximum
Tip: Set ServerMaxOnline
to your actual server limit for accurate capacity display.
4. Social Media Configuration
Icon Requirements
Format: SVG (recommended) or PNG
Size: 32x32 pixels minimum
Location:
resources/images/Socials/
Style: Simple, recognizable social media icons
Available Default Icons
youtube.svg
YouTube
Video content, tutorials
discord.svg
Discord
Community chat, support
store.svg
Store
Server shop, donations
twitter.svg
Twitter/X
News, updates
instagram.svg
Screenshots, community
website.svg
Website
Official server website
Example Configurations
Socials = {
{ icon = 'discord.svg', link = 'https://discord.gg/yourserver' },
{ icon = 'youtube.svg', link = 'https://youtube.com/@yourchannel' },
{ icon = 'store.svg', link = 'https://yourstore.tebex.io/' }
}
5. Testing Your Configuration
After making all the adjustments, verify in-game that the information is displayed correctly.
Testing Checklist
✅ Time Format: Check if time displays in correct format ✅ Player Count: Verify current/max players show accurately ✅ Social Links: Test each social media button opens correct URL ✅ Icons: Confirm all icons display properly ✅ Responsive Design: Check layout works on different resolutions
Troubleshooting Common Issues
Icons not showing
Check file paths and ensure icons exist in resources/images/Socials/
Links not working
Verify URLs are complete with https://
Time format wrong
Double-check Use24HourFormat
boolean value
Player count incorrect
Ensure ServerMaxOnline
matches server settings
Related Pages
Player DetailsLast updated
Was this helpful?