import React from 'react'; import { useServerActions } from '../../../hooks/useServerActions'; import './NoPluginsMessage.css'; export const NoPluginsMessage: React.FC = () => { const { serverPath, scanComplete, isScanning } = useServerActions(); if (isScanning) { return (

Scanning for plugins...

This might take a moment, please wait.

); } if (!serverPath) { return (
📁

No Server Selected

Please select a Minecraft server directory to get started.

); } if (scanComplete && !isScanning) { return (
🔍

No Plugins Found

We couldn't find any plugins in the selected server directory.

Make sure you've selected a valid Minecraft server with plugins installed.

); } // Default message if we're in an intermediate state return (
🧩

Ready to Scan

Click "Scan for Plugins" to discover plugins in your server.

); }; export default NoPluginsMessage;