Custom Pages
Last updated
Was this helpful?
Last updated
Was this helpful?
Custom pages allow you to create interactive buttons that link to specific features or events in your server. These pages can be used for shops, VIP areas, weapon stores, or any custom functionality you want to provide to your players.
You can define custom pages by editing the CustomPage
section in the Customize.lua
file.
color
String
Hex color code for the button text
text
String
Label displayed on the button
background
String
Background image filename (stored in resources/images/CustomPage
)
event
String
Client-side event name to trigger when clicked
Important: Background images must be placed in the resources/images/CustomPage
directory.
To make these buttons interactive, you need to add a client-side event. For example, if you want the GAME SHOP button to open the game shop interface, you should define an event in your client-side script.
Pro Tip: Event names must match exactly between your configuration and your client-side event handlers!
The color
attribute allows you to define how each button looks, enabling visual differentiation between custom pages. Choose colors that fit well with your overall design for better user experience.
Background images can be customized to visually represent the purpose of each button:
Use shopping-related imagery for Game Shop
Use car imagery for VIP Cars
Use weapon imagery for Weapon Shop
Image Dimensions: 200x100 pixelsFormat: PNG with transparency supportQuality: High resolution for crisp display
After making changes, ensure to test each button in the game to verify that:
β The correct event is triggered β Visuals are displayed as expected β Colors and images render properly β All interactive elements work smoothly