Kurrasch Systems Info Hud
Kurrasch Systems Info Hud
Info HUD for QBCore Framework :information_source:
License
This resource is licensed under the terms of the MIT License.
Dependencies
qb-core: Core framework
qb-multicharacter: For character selection
qb-banking: For bank account information (optional, if bank information is required)
Features
Displays server name
Shows player ID
Displays cash and bank balances
Shows job information
Lists player accounts
Installation
Manual
Download the Script
Download the Kurrasch-Systems-Info-Hud script and place it in the [qb] directory of your resources.
Add to Server Configuration
Add the following lines to your server.cfg:
plaintext
Copy code
ensure Kurrasch-Systems-Info-Hud
Files
Client-Side Script (client/client.lua)
Handles events related to player data updates.
Requests the server to provide updated information after character selection.
Server-Side Script (server/server.lua)
Gathers player data (cash, bank, job, accounts) and sends it to the client upon request.
HTML (html/index.html) (change Server Name Here)
Defines the structure of the UI, including placeholders for server name, player ID, cash, bank balance, job, and accounts.
CSS (html/styles.css) (change Back Ground & Server Image Must Be a URL)
Styles the UI elements and includes a background image (Your_custom_URL For the image)
and the server logo.
JavaScript (html/scripts.js)
Updates the UI dynamically with data received from the server.
Usage
The HUD will display relevant player information once the player selects a character and enters the game.
The UI updates every 50 seconds to reflect the latest player data.
Screenshots
Include screenshots of the UI here
Commands
None required: The HUD operates automatically based on player data and events.
Updates
Added player ID display to the HUD.
Contribution
Feel free to fork the repository, submit pull requests, or create issues for any bugs or feature requests.
Kurrasch Systems Info HUD - README 📜Welcome to the Kurrasch Systems Info HUD! This README will guide you through the process of setting up the HUD and ensuring all necessary URLs are correctly referenced in the styles.css and index.html files. Please follow the steps below carefully.Requirements 🔧QBCore FrameworkLegacy Fuel SystemInternet Connection (for hosting CSS and image files)Installation Steps 📦Download the HUD Files ⬇️Ensure you have downloaded the latest version of the Kurrasch Systems Info HUD.Unzip the Files 🗂️Extract the contents of the zip file to your preferred location.Edit the styles.css File 🖌️Open the styles.css file with your preferred code editor.Locate the sections where URLs are referenced.Replace the placeholder --put your url here-- with your actual URL. Ensure that you use a URL or hyperlink; local file references are not supported.
🌐cssCopy code/* Example */ background-image: url('https://your-url-here.com/image.png'); Edit the index.html File 📝Open the index.html file with your preferred code editor.Locate the sections where URLs are referenced.Replace the placeholder --put your url here-- with your actual URL. Ensure that you use a URL or hyperlink; local file references are not supported.
🌐htmlCopy code<!-- Example --> <link rel="stylesheet" href="https://your-url-here.com/styles.css"> Upload Your Files to a Web Server 🌐Host your CSS and image files on a web server or a hosting service. Ensure that these files are publicly accessible.Configure and Start the HUD 🚀Place the HUD files into your QBCore resource folder.Start the resource through your server configuration.Enjoy Your New HUD 🎉Start your server and enjoy the newly configured Kurrasch Systems Info HUD!For any issues or further customization, please refer to the support documentation or contact us directly. Happy gaming! 🎮Kurrasch SystemsInnovating Your Gaming Experience