About XMenu
XMenu - beautiful menu for your server.
Quote-> In the code you can switch the plugin language - LanguageEnglish = true <-
- Optimization of the interface for different monitor resolutions.
- There is a lang ru/en/uk/es.
- Sound effects when interacting with the menu.
- Refresh the information in the menu [ Refresh only the open menu ].
- Customize menu colors.
- Customize menu buttons.
- Shift menu for active missions.
- Information display [ Online | Sleepers | Joins | Time ].
- Display of events [ Airplane, Helicopter, Ship, Chinook, Tank ].
- Displaying information of other plugins [ For example: balance of the in-game store or economy ].
- Dropdown menu with additional buttons.
- The ability to completely remove the menu/logo from the screen on command.
- The ability to display player coordinates/grid.
-> Overview - YouTube <-
Permissions
xmenu.usecmd - access to the use of a command that removes the menu/logo from the screen.
Commands
/uimenu on/off - completely remove the menu/logo from the screen.
Menu mirror reflection. [ Upper right corner of the screen ]
Config: ---------------------------------- "Settings logo": { "Link to the logo image": "https://i.ibb.co/DKnnQw0/Hh7W3hz.png", "Logo color": "1 1 1 1", "Logo material": "assets/icons/greyout.mat", "Logo - AnchorMin": "1 1", "Logo - AnchorMax": "1 1", "Logo - OffsetMin": "-80 -78", "Logo - OffsetMax": "-10 -8", "Move logo - OffsetMin": "-80 -178", "Move logo - OffsetMax": "-10 -108" }, "Settings menu": { "Menu color": "1 0.27 0 0.5", "Menu material": "assets/icons/greyout.mat", "Button color": "0.217 0.221 0.209 0.75", "Button text color": "1 1 1 1", "Side line color": "1 1 1 1", "Button text size": 9, "Close the menu after pressing one of the buttons": false, "Move the menu/logo when the mission is active": false, "Menu - AnchorMin": "1 1", "Menu - AnchorMax": "1 1", "Menu - OffsetMin": "-400 -72.5", "Menu - OffsetMax": "-45 -12.5", "Move menu - OffsetMin": "-400 -172.5", "Move menu - OffsetMax": "-45 -112.5", "Plugin info - AnchorMin": "1 1", "Plugin info - AnchorMax": "1 1", "Plugin info - OffsetMin": "-445 -60", "Plugin info - OffsetMax": "-357.5 0", "Events - AnchorMin": "0 1", "Events - AnchorMax": "0 1", "Events - OffsetMin": "112.25 -90", "Events - OffsetMax": "242.75 -62.5", "Coordinates - AnchorMin": "1 0", "Coordinates - AnchorMax": "1 0", "Coordinates - OffsetMin": "-355 -29.5", "Coordinates - OffsetMax": "-244.75 -2", "Grid - AnchorMin": "1 0", "Grid - AnchorMax": "1 0", "Grid - OffsetMin": "-110.5 -29.5", "Grid - OffsetMax": "-83 -2" }, Plugin code: ---------------------------------- 676 - AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-42.5 -55", OffsetMax = "-40 -5" 682 - AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-325 -55", OffsetMax = "-322.5 -5" 694 - AnchorMin = "0.5 0.5", AnchorMax = "0.5 0.5", OffsetMin = $"{offset - 5} -25", OffsetMax = $"{offset + 47} -10" 715 - AnchorMin = "0.5 0.5", AnchorMax = "0.5 0.5", OffsetMin = $"-170 {offset - 14.25}", OffsetMax = $"-155 {offset + 0.75}" 728 - AnchorMin = "0.5 0.5", AnchorMax = "0.5 0.5", OffsetMin = $"-170 {offset - 14.25}", OffsetMax = $"-155 {offset + 0.75}" 803 - AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-318 -40", OffsetMax = "-47.5 -5"
Example of setting information for other plugins.
"Configuring information for other plugins. [ Hooks with parameter type - player(BasePlayer) | userID(ulong) ]": [ { "Plugin name": "XShop", "Method name(API)": "API_GetBalance", "Hook parameter type - [ player | userID ]": "player" }, { "Plugin name": "XLevels", "Method name(API)": "API_GetLevel", "Hook parameter type - [ player | userID ]": "player" }, { "Plugin name": "IQEconomic", "Method name(API)": "API_GET_BALANCE", "Hook parameter type - [ player | userID ]": "userID" }, { "Plugin name": "Economics", "Method name(API)": "Balance", "Hook parameter type - [ player | userID ]": "userID" }, { "Plugin name": "ServerRewards", "Method name(API)": "CheckPoints", "Hook parameter type - [ player | userID ]": "userID" } ]
Config
{
"General settings": {
"Open menu after connection": false,
"Display information of other plugins": false,
"Show events": true,
"Show grid": true,
"Show coordinates": true,
"Update menu [ Only the open menu is updated ]": false,
"Update information of other plugins [ Updates only when the menu is open ]": false,
"Open menu refresh interval": 12.5,
"Fake online from the plugin - [ Default - 0 | IQFakeActive - 1 | FGS - 2] - ( Displayed only in the panel and nowhere else )": 0,
"Time format - [ HH:mm - 24:00 | hh:mm tt - 12:00 ]": "HH:mm"
},
"Settings logo": {
"Link to the logo image": "https://i.ibb.co/DKnnQw0/Hh7W3hz.png",
"Logo color": "1 1 1 1",
"Logo material": "assets/icons/greyout.mat",
"Logo - AnchorMin": "0 1",
"Logo - AnchorMax": "0 1",
"Logo - OffsetMin": "10 -78",
"Logo - OffsetMax": "80 -8",
"Move logo - OffsetMin": "10 -178",
"Move logo - OffsetMax": "80 -108"
},
"Settings menu": {
"Menu color": "1 0.27 0 0.5",
"Menu material": "assets/icons/greyout.mat",
"Button color": "0.217 0.221 0.209 0.75",
"Button text color": "1 1 1 1",
"Side line color": "1 1 1 1",
"Button text size": 9,
"Close the menu after pressing one of the buttons": false,
"Move the menu/logo when the mission is active": false,
"Menu - AnchorMin": "0 1",
"Menu - AnchorMax": "0 1",
"Menu - OffsetMin": "45 -72.5",
"Menu - OffsetMax": "400 -12.5",
"Move menu - OffsetMin": "45 -172.5",
"Move menu - OffsetMax": "400 -112.5",
"Plugin info - AnchorMin": "0 1",
"Plugin info - AnchorMax": "0 1",
"Plugin info - OffsetMin": "357.5 -60",
"Plugin info - OffsetMax": "445 0",
"Events - AnchorMin": "0 1",
"Events - AnchorMax": "0 1",
"Events - OffsetMin": "112.25 -90",
"Events - OffsetMax": "242.75 -62.5",
"Coordinates - AnchorMin": "0 0",
"Coordinates - AnchorMax": "0 0",
"Coordinates - OffsetMin": "244.75 -29.5",
"Coordinates - OffsetMax": "355 -2",
"Grid - AnchorMin": "0 0",
"Grid - AnchorMax": "0 0",
"Grid - OffsetMin": "83 -29.5",
"Grid - OffsetMax": "110.5 -2"
},
"Settings buttons [ Key_text | Command ] - [ Text setting in oxide/lang ]": {
"REWARD": "chat.say /reward",
"CALENDAR": "chat.say /calendar",
"SHOP": "chat.say /s",
"CRAFT": "chat.say /craft",
"INFO": "chat.say /info"
},
"Dropdown buttons - [ Key_text | Command ] - [ Text setting in oxide/lang ]": {
"KIT_VIP": "chat.say /kit vip",
"KIT_PREM": "chat.say /kit premium",
"KIT_ELITE": "chat.say /kit elite",
"KIT_GOLD": "chat.say /kit gold",
"LEVEL": "chat.say /level"
},
"Settings additional buttons": [
{
"Command": "store",
"Link to image from internet": "",
"Link to icon from the game": "assets/icons/open.png"
},
{
"Command": "chat.say /s",
"Link to image from internet": "https://i.ibb.co/ykDPJ4B/GRZseo8.png",
"Link to icon from the game": "assets/icons/community_servers.png"
},
{
"Command": "chat.say /stats",
"Link to image from internet": "",
"Link to icon from the game": "assets/icons/market.png"
}
],
"Settings events": {
"Event menu color": "1 0.27 0 0.5",
"Event menu material": "assets/icons/greyout.mat",
"Event icons background color": "0.217 0.221 0.209 0.75",
"Setting up event icons": {
"CargoPlane": {
"Link to event image": "https://i.ibb.co/m6Fvdn1/01.png",
"Active event color": "1 0.5 0.5 1",
"Inactive event color": "1 1 1 1"
},
"BaseHelicopter": {
"Link to event image": "https://i.ibb.co/Sf0w95T/03.png",
"Active event color": "1 0.5 1 1",
"Inactive event color": "1 1 1 1"
},
"CargoShip": {
"Link to event image": "https://i.ibb.co/LvRq2X3/02.png",
"Active event color": "0.5 0.5 1 1",
"Inactive event color": "1 1 1 1"
},
"CH47Helicopter": {
"Link to event image": "https://i.ibb.co/DCcp6Td/04.png",
"Active event color": "0.5 1 1 1",
"Inactive event color": "1 1 1 1"
},
"BradleyAPC": {
"Link to event image": "https://i.ibb.co/5L6qYR4/05.png",
"Active event color": "1 1 0.5 1",
"Inactive event color": "1 1 1 1"
}
}
},
"Configuring information for other plugins. [ Hooks with parameter type - player(BasePlayer) | userID(ulong) ]": [
{
"Plugin name": "XShop",
"Method name(API)": "API_GetBalance",
"Hook parameter type - [ player | userID ]": "player"
},
{
"Plugin name": "XLevels",
"Method name(API)": "API_GetLevel",
"Hook parameter type - [ player | userID ]": "player"
}
]
}
