Menu Appearance
Every menu comes with vMenu’s own look: soft dark glass you can see the game through, gently rounded corners, and the pale blue highlight the speedometer and street name display already use. If that does not suit your server, you can hand every menu a different skin with one line in your server.cfg.
A skin changes the colours, the corners, the shadow, the text font and the picture across the top of every menu. It does not move anything around or change what is in the menus.
The four skins
Section titled “The four skins”| Value | What it looks like |
|---|---|
default |
vMenu’s own style, matching its on screen displays. Soft dark glass, gently rounded, pale blue highlight. This is what you get if you do nothing. |
dark |
A solid, almost black panel with a bright blue highlight, matching vMenu’s text input box and its ticks overlay. Use it if the glass is too busy over your scenery. |
cartoon |
Bright and friendly, the same look as this documentation site. Cream paper rows and big rounded corners, with the title bar, the highlighted row and the description box in near black so they stand out against it. |
gta |
The plain Grand Theft Auto V pause menu style, drawn by MenuAPI with no skin at all. This is what older versions of vMenu looked like. |
Pick one with:
setr vMenu.Enhanced.MenuAppearance.Skin "cartoon"ensure vMenu.EnhancedThe name is not case sensitive. dark also answers to vmenu-dark and vmenudark, default also answers to vmenu, and gta also answers to none and vanilla. Type a name vMenu does not know and you get default, plus one line in the client console telling you what you typed.
More skins than these four
Section titled “More skins than these four”vMenu’s four skins are not the end of it. Any resource on your server can hand vMenu a theme of its own, a CSS file that stays in that resource, and vMenu then treats it exactly like the four above. The Skin setting accepts its name, and it is offered to your players the same way.
The simplest way to make a custom theme is to use Custom Themes plugin.
You drop a stylesheet in a folder, name it in a JSON file and restart the resource, with nothing to build and no code to write.
Copying a theme into vMenu’s own ui/themes folder does not work, so don’t do that, also every vMenu update overwrites that folder.
If you want your players to choose their own look rather than forcing the server style, the Theme Picker plugin adds a menu for it.
Writing one of these yourself is a single event, described on the plugin development page.
The banner title
Section titled “The banner title”Three more settings control the title written across the picture at the top of each menu. These work with every skin.
| Setting | Default | What it does |
|---|---|---|
vMenu.Enhanced.MenuAppearance.TitleAlignment |
left |
Where the title sits on the banner. Use left, center or right. |
vMenu.Enhanced.MenuAppearance.TitleFont |
chaletcomprimecologne |
Which font the title is written in. |
vMenu.Enhanced.MenuAppearance.HeaderGlare |
true |
The soft moving glow that drifts across the banner as the player turns the camera, the same one GTA Online has behind its pause menu title. Set it to false for a still banner. |
The fonts you can choose from are chaletlondon, housescript, monospace, chaletcomprimecologne and pricedown, which is the font from the Grand Theft Auto logo. A plain number works too, for a font another resource has added to the game itself.
setr vMenu.Enhanced.MenuAppearance.Skin "dark"setr vMenu.Enhanced.MenuAppearance.TitleAlignment "center"setr vMenu.Enhanced.MenuAppearance.TitleFont "pricedown"setr vMenu.Enhanced.MenuAppearance.HeaderGlare "false"Like the skin, all three apply straight away.
