How amiroim/ycity.top works
Ycity.top combines a React site, a backend communication layer, and a Minecraft plugin. The main user flow is login or registration through the site, command submission to the backend, and plugin-side execution; account changes use the same command path. Server status is fetched separately from an external status service. The README documents backend authentication, account management, and database communication, but backend routes and storage implementation are not present in the supplied tree, so those details are represented only at the documented subsystem level.
Main entry points: App.jsx Route application · commandToServer.jsx Command client · landingItems.jsx Landing content · Signup.jsx Registration
Components 21
Web experience
- Route application
web/FrontEnd/src/App.jsx - Navigation menu
web/FrontEnd/src/components/menu.jsx - Landing content
web/FrontEnd/src/components/landingItems.jsx - Community links
web/FrontEnd/src/components/links.jsx - Status page
web/FrontEnd/src/pages/Status.jsx - Status polling
web/FrontEnd/src/hooks/useServerStatus.jsx
Account operations
- Login
web/FrontEnd/src/pages/Login.jsx - Registration
web/FrontEnd/src/pages/Signup.jsx - Account page
web/FrontEnd/src/pages/Account.jsx - Password changes
web/FrontEnd/src/pages/changePassword.jsx - Account deletion
web/FrontEnd/src/pages/DeleteAccount.jsx - Logout
web/FrontEnd/src/pages/Logout.jsx
Backend services
- Command client
web/FrontEnd/src/hooks/commandToServer.jsx - Response mapping
web/FrontEnd/src/types/Codes.jsx - Backend API
web/BackEnd/serverws.js
Minecraft integration
- Realtime plugin API
Plugin/RealtimeAPI.java - Command output capture
Plugin/CustomCommandSender.java
Other components
- Website visitor
- Status provider
- Application database
- Minecraft server
Connections 24
- Website visitor → Route application: uses
README.md - Route application → Navigation menu: renders
web/FrontEnd/src/App.jsx - Route application → Landing content: routes to
web/FrontEnd/src/App.jsx - Route application → Status page: routes to
web/FrontEnd/src/App.jsx - Route application → Login: routes to
web/FrontEnd/src/App.jsx - Route application → Registration: routes to
web/FrontEnd/src/App.jsx - Route application → Account page: routes to
web/FrontEnd/src/App.jsx - Route application → Password changes: routes to
web/FrontEnd/src/App.jsx - Route application → Account deletion: routes to
web/FrontEnd/src/App.jsx - Route application → Logout: routes to
web/FrontEnd/src/App.jsx - Landing content → Community links: renders
web/FrontEnd/src/components/landingItems.jsx - Landing content → Status polling: polls via
web/FrontEnd/src/components/landingItems.jsx - Status page → Status polling: reads status
web/FrontEnd/src/pages/Status.jsx - Status polling → Status provider: fetches status
web/FrontEnd/src/hooks/useServerStatus.jsx - Login → Command client: submits command
web/FrontEnd/src/pages/Login.jsx - Registration → Command client: submits command
web/FrontEnd/src/pages/Signup.jsx - Account deletion → Command client: submits command
web/FrontEnd/src/pages/DeleteAccount.jsx - Registration → Response mapping: maps response
web/FrontEnd/src/pages/Signup.jsx - Account deletion → Response mapping: maps response
web/FrontEnd/src/pages/DeleteAccount.jsx - Command client → Backend API: posts command
web/FrontEnd/src/hooks/commandToServer.jsx - Backend API → Application database: communicates with
README.md - Backend API → Realtime plugin API: relays commands
README.md - Realtime plugin API → Minecraft server: integrates with
README.md - Realtime plugin API → Command output capture: uses
Plugin/RealtimeAPI.java