🆙 Enable or disable the radio

This commit is contained in:
duckietm
2026-05-28 15:52:29 +02:00
parent bade7e2623
commit 06b8fda1c9
2 changed files with 5 additions and 1 deletions
@@ -30,6 +30,9 @@
"pet.asset.url": "${asset.url}/pets/%libname%.nitro",
"generic.asset.url": "${asset.url}/generic/%libname%.nitro",
"badge.asset.url": "${image.library.url}album1584/%badgename%.gif",
"radio.url": "${gamedata.url}/radio-stations.json5?t=%timestamp%",
"soundboard.url": "${gamedata.url}/soundboard-sounds.json5?t=%timestamp%",
"radio_ui": false,
"furni.rotation.bounce.steps": 20,
"furni.rotation.bounce.height": 0.0625,
"enable.avatar.arrow": false,
+2 -1
View File
@@ -1,6 +1,7 @@
import { AddLinkEventTracker, GetCommunication, GetRoomSessionManager, HabboWebTools, ILinkEventTracker, RemoveLinkEventTracker, RoomSessionEvent } from '@nitrots/nitro-renderer';
import { AnimatePresence, motion } from 'framer-motion';
import { FC, useEffect, useState } from 'react';
import { GetConfigurationValue } from '../api';
import { useNitroEventReducer } from '../hooks';
import { AchievementsView } from './achievements/AchievementsView';
import { AvatarEditorView } from './avatar-editor';
@@ -183,7 +184,7 @@ export const MainView: FC<{}> = props =>
<RareValuesView />
<FortuneWheelView />
<SoundboardView />
<RadioView />
{ GetConfigurationValue<boolean>('radio_ui', true) && <RadioView /> }
<ExternalPluginLoader />
</>
);