About Big Wheel Game Stats
Big Wheel Game UI statistics. Store Big Wheel Games and Players statistics. Creates a HUD button when a player sits on a game chair.
Note: To make players avatars available, in the ImageLibrary config file you need to:
- set true in the "Avatars - Store player avatars";
- set API key in the "Steam API key (get one here https://steamcommunity.com/dev/apikey).".
Permissions:
- bigwheelstats.use - Provides access to use UI.
Default config file:
{ "ImageLibrary Counter Check": 5, "Big Wheel Game - Default name": "BIG WHEEL GAME", "Big Wheel Game - New best player announce effect prefab name": "assets/prefabs/misc/xmas/advent_calendar/effects/open_advent.prefab", "UI. Text - Font": "RobotoCondensed-Bold.ttf", "UI. Text - FadeIn": 1.0, "UI_HUD. Icon - Url": "https://i.imgur.com/HvoFS7p.png", "UI_HUD. Icon - Color": "0.5 0.5 0.5 0.5", "UI_HUD. Icon - AnchorMin": "0.8 0.025", "UI_HUD. Icon - AnchorMax": "0.825 0.07", "UI_Stats. MainBackground - Color": "0.1 0.1 0.1 0.95", "UI_Stats. Icons - BigWheel Url": "https://i.imgur.com/MhW63JV.png", "UI_Stats. Icons - 404 Url": "https://i.imgur.com/ke7jDDm.png", "UI_Stats. Icons - Exit Url": "https://i.imgur.com/O9m6yZF.png", "UI_Stats. Icons - Exit Color": "0.85 0.25 0.15 0.6", "UI_Stats. Icons - Exit AnchorMin": "0.8 0.025", "UI_Stats. Icons - Exit AnchorMax": "0.825 0.07", "UI_Stats. Panel - Background Color": "0.3 0.3 0.3 0.5", "UI_Stats. Panel - Main AnchorMin": "0.25 0.2", "UI_Stats. Panel - Main AnchorMax": "0.75 0.9", "UI_Stats. Panel_Column_Header - Font Size": 16, "UI_Stats. Panel_Column_Header - Color": "0.3 0.3 0.3 1", "UI_Stats. Panel_Column_Header - Active Color": "0.35 0.35 0.35 1", "UI_Stats. Panel_Column_Header - Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Column_Header - Font Active Color": "1 1 1 1", "UI_Stats. Panel_Column_Item - Font Size": 16, "UI_Stats. Panel_Column_Item - Color": "0.5 0.5 0.5 0.3", "UI_Stats. Panel_Column_Item - Even Color": "0.5 0.5 0.5 0.3", "UI_Stats. Panel_Column_Item - Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Column_Item - Font Active Color": "1 1 1 1", "UI_Stats. Panel_404 - Font Size": 20, "UI_Stats. Panel_404 - Icon Color": "0 0 0 0.5", "UI_Stats. Panel_404 - Font Color": "0.8 0.8 0.8 0.5", "UI_Stats. Panel_Menu - Font Size": 18, "UI_Stats. Panel_Menu_Buttons - Color": "0.5 0.5 0.5 0.4", "UI_Stats. Panel_Menu_Buttons - Active Color": "0.2 0.5 0.75 0.6", "UI_Stats. Panel_Menu_Buttons - Font Color": "0.8 0.8 0.8 0.5", "UI_Stats. Panel_Menu_Buttons - Font Active Color": "1 1 1 1", "UI_Stats. Panel_Mid_Personal_Top_Info - Font Size": 16, "UI_Stats. Panel_Mid_Personal_Top_Info - Font Color": "1 1 1 1", "UI_Stats. Panel_Mid_Personal_Top_Info_Nick - Online Color": "0.8 1 0.7 0.4", "UI_Stats. Panel_Mid_Personal_Top_Info_Nick - Offline Color": "1 0 0 0.4", "UI_Stats. Panel_Mid_Personal_Top_Card - Background Color": "0.5 0.5 0.5 0.4", "UI_Stats. Panel_Mid_Personal_Top_Card - Title Font Size": 12, "UI_Stats. Panel_Mid_Personal_Top_Card - Value Font Size": 16, "UI_Stats. Panel_Mid_Personal_Top_Card - Title Font Color": "0.5 0.5 0.5 1", "UI_Stats. Panel_Mid_Personal_Top_Card - Value Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Mid_Personal_Top_HitList - Win Color": "0.8 1 0.7 0.4", "UI_Stats. Panel_Mid_Personal_Top_HitList - Lose Color": "0.9 0 0.3 0.4", "UI_Stats. Panel_Mid_Players_ItemList_Item_Info - Name Font Size": 12, "UI_Stats. Panel_Mid_Players_ItemList_Item_Info - ID Font Size": 10, "UI_Stats. Panel_Mid_Players_ItemList_Item_Info - Name Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Mid_Players_ItemList_Item_Info - Name Font Active Color": "1 1 1 1", "UI_Stats. Panel_Mid_Players_ItemList_Item_Info - ID Font Color": "0.5 0.5 0.5 1", "UI_Stats. Panel_Mid_Players_ItemList_Item - Even Color": "0.5 0.5 0.5 0.3", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Info - Name Font Size": 12, "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Info - ID Font Size": 10, "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Info - Name Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Info - Name Font Active Color": "1 1 1 1", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Info - ID Font Color": "0.5 0.5 0.5 1", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Hit - Yellow Color": "0.75 0.75 0.25 0.4", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Hit - Green Color": "0.25 0.55 0.55 0.4", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Hit - Blue Color": "0.01 0.35 0.55 0.4", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Hit - Purple Color": "0.5 0.15 0.8 0.4", "UI_Stats. Panel_Mid_Wheels_ItemList_Item_Hit - Red Color": "0.7 0.3 0.35 0.4", "UI_Stats. Panel_Mid_Wheels_ItemList_Item - Even Color": "0.5 0.5 0.5 0.3", "UI_Stats. Panel_Mid_Wheel_Info - Font Size": 16, "UI_Stats. Panel_Mid_Wheel_Info - Color": "0.5 0.5 0.5 0.4", "UI_Stats. Panel_Mid_Wheel_Info - Font Color": "1 1 1 1", "UI_Stats. Panel_Mid_Wheel_Card - Background Color": "0.5 0.5 0.5 0.4", "UI_Stats. Panel_Mid_Wheel_Card - Title Font Size": 12, "UI_Stats. Panel_Mid_Wheel_Card - Value Font Size": 16, "UI_Stats. Panel_Mid_Wheel_Card - Title Font Color": "0.5 0.5 0.5 1", "UI_Stats. Panel_Mid_Wheel_Card - Value Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Mid_Wheel_HitList_Item - Font Size": 18, "UI_Stats. Panel_Mid_Wheel_HitList_Item - Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Footer - Font Size": 16, "UI_Stats. Panel_Footer - Color": "0.3 0.3 0.3 0.4", "UI_Stats. Panel_Footer - Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Footer_Buttons - Between Button Text": "...", "UI_Stats. Panel_Footer_Buttons - Color": "0.5 0.5 0.5 0.4", "UI_Stats. Panel_Footer_Buttons - Active Color": "0.2 0.5 0.75 0.6", "UI_Stats. Panel_Footer_Buttons - Font Color": "0.8 0.8 0.7 1", "UI_Stats. Panel_Footer_Buttons - Font Active Color": "1 1 1 1", "UI_Stats. Panel_Footer_Buttons_Custom - Command": "" }
[string]UI. Text - Font - Font for text. List of available fonts: https://umod.org/guides/rust/basic-concepts-of-gui#fonts.
[string]UI_HUD. Icon - Color - The HUD icon color. By default, CuiImageComponent is used. To use CuiRawImageComponent, set the value to "0 0 0 0".
[string]UI_Stats. Icons - Exit Color - The Exit icon color. By default, CuiImageComponent is used. To use CuiRawImageComponent, set the value to "0 0 0 0".
Localization:
EN: { "PanelMenuButtonsMy": "My stats", "PanelMenuButtonsAll": "Top players", "PanelMenuButtonsWheels": "Wheel list", "PanelHitYellow": "Yellow", "PanelHitGreen": "Green", "PanelHitBlue": "Blue", "PanelHitPurple": "Purple", "PanelHitRed": "Red", "PanelFooterCustomButton": "My button", "PanelMid404Player": "Player {0} not found", "PanelMid404PlayersList": "Players list is empty", "PanelMid404BigWheel": "BigWheel {0} not found", "PanelMid404BigWheelsList": "BigWheels list is empty", "PanelMidPersonalStatsTotalSpins": "Total spins", "PanelMidPersonalStatsWinSpins": "Win spins", "PanelMidPersonalStatsLoseSpins": "Lose spins", "PanelMidPersonalStatsScrapSpend": "Scrap spend", "PanelMidPersonalStatsScrapWin": "Scrap win", "PanelMidPersonalStatsScrapResult": "Scrap result", "PanelMidPersonalStatsScrapRecordBid": "Scrap record bid", "PanelMidPersonalStatsScrapLastBid": "Scrap last bid", "PanelMidPersonalStatsScrapLastWin": "Scrap last win", "PanelMidPersonalStatsHitListHeaderItem": "Item", "PanelMidPersonalStatsHitListHeaderHit": "Hit", "PanelMidPersonalStatsHitListHeaderBidAmount": "Bid amount", "PanelMidPersonalStatsHitListHeaderResultAmount": "Result", "PanelMidPlayersListHeaderPlayer": "Player", "PanelMidPlayersListHeaderTotal": "Total", "PanelMidPlayersListHeaderLoses": "Loses", "PanelMidPlayersListHeaderWins": "Wins", "PanelMidPlayersListHeaderRecordBid": "Record bid", "PanelMidPlayersListHeaderRecordWin": "Record win", "PanelMidPlayersListHeaderResult": "Result", "PanelMidWheelsListHeaderBigWheelGame": "Big wheel game", "PanelMidWheelsListHeaderTotalSpins": "Total spins", "PanelMidWheelsListHeaderCurrentSpins": "Spins after restart", "PanelMidWheelStatsBestPlayer": "Best player", "PanelMidWheelStatsDefaultBestPlayer": "Empty", "PanelMidWheelStatsCurrentSpins": "Spins after restart", "PanelMidWheelStatsTotalSpins": "Total spins", "PanelMidWheelStatsTotalYellow": "Yellow", "PanelMidWheelStatsTotalGreen": "Green", "PanelMidWheelStatsTotalBlue": "Blue", "PanelMidWheelStatsTotalPurple": "Purple", "PanelMidWheelStatsTotalRed": "Red" } RU: { "PanelMenuButtonsMy": "Моя статистика", "PanelMenuButtonsAll": "Топ игроков", "PanelMenuButtonsWheels": "Список игр", "PanelHitYellow": "Желтый", "PanelHitGreen": "Зеленый", "PanelHitBlue": "Синий", "PanelHitPurple": "Фиолетовый", "PanelHitRed": "Красный", "PanelFooterCustomButton": "Моя кнопка", "PanelMid404Player": "Игрок {0} не найден", "PanelMid404PlayersList": "Список игроков пуст", "PanelMid404BigWheel": "Игра {0} не найдена", "PanelMid404BigWheelsList": "Список игр пуст", "PanelMidPersonalStatsTotalSpins": "Всего ставок", "PanelMidPersonalStatsWinSpins": "Выигрышные ставки", "PanelMidPersonalStatsLoseSpins": "Проигрышные ставки", "PanelMidPersonalStatsScrapSpend": "Потрачено скрапа", "PanelMidPersonalStatsScrapWin": "Выиграно скрапа", "PanelMidPersonalStatsScrapResult": "Итог скрапа", "PanelMidPersonalStatsScrapRecordBid": "Рекордная ставка", "PanelMidPersonalStatsScrapLastBid": "Последняя ставка", "PanelMidPersonalStatsScrapLastWin": "Последний выигрыш", "PanelMidPersonalStatsHitListHeaderItem": "Предмет", "PanelMidPersonalStatsHitListHeaderHit": "Число", "PanelMidPersonalStatsHitListHeaderBidAmount": "Ставка", "PanelMidPersonalStatsHitListHeaderResultAmount": "Итог", "PanelMidPlayersListHeaderPlayer": "Игрок", "PanelMidPlayersListHeaderTotal": "Всего", "PanelMidPlayersListHeaderLoses": "Проигрышей", "PanelMidPlayersListHeaderWins": "Выигрышей", "PanelMidPlayersListHeaderRecordBid": "Рекордная ставка", "PanelMidPlayersListHeaderRecordWin": "Рекордный выигрыш", "PanelMidPlayersListHeaderResult": "Итог", "PanelMidWheelsListHeaderBigWheelGame": "Игра", "PanelMidWheelsListHeaderTotalSpins": "Всего вращений", "PanelMidWheelsListHeaderCurrentSpins": "Вращений после рестарта", "PanelMidWheelStatsBestPlayer": "Лучший игрок", "PanelMidWheelStatsDefaultBestPlayer": "Пусто", "PanelMidWheelStatsCurrentSpins": "Вращений после рестарта", "PanelMidWheelStatsTotalSpins": "Всего вращений", "PanelMidWheelStatsTotalYellow": "Желтый", "PanelMidWheelStatsTotalGreen": "Зеленый", "PanelMidWheelStatsTotalBlue": "Синий", "PanelMidWheelStatsTotalPurple": "Фиолетовый", "PanelMidWheelStatsTotalRed": "Красный" }
Commands:
- BWG_HUD_show - Shows HUD. Works only when player is sitting on the game chair. Permission "bigwheelstats.use" required.
- BWG_Stats_open - Opens UI panel. Works only when player is sitting on the game chair. Permission "bigwheelstats.use" required.