[ESX] byK3's CITYHALL - Namechange, Social Money, Marriage, Playtime Tracker + Rewards, Stats, Leaderboard & Exports - v2 COMING SOON

:tada: [RELEASE] Cityhall Script for FiveM :tada:

Hello, FiveM community! I’m excited to introduce the Cityhall Script for ESX. This script aims to enhance the roleplay experience by introducing various city hall-related functionalities.

:construction: Current Version: 1.0.4 :construction:

Please be aware that this script is currently in its BETA phase. While extensive testing has been done, there might be some bugs or issues that were overlooked.

:star2: Features:

  • :pencil2: Namechange Office: Seamlessly change your in-game name and embrace a new identity.

  • :dollar: Social Money System:

    • Boost your roleplay experience with social money for eligible players.
    • Tailor which jobs can access this feature.
    • A simple reward system, especially beneficial for unemployed members.
  • :hourglass_flowing_sand: Playtime Tracker: Stay informed about your total time spent on the server.

  • :bar_chart: Stats Function: Dive deep into your statistics! From playtime to job details, get a comprehensive overview of your in-game journey.

  • :handshake: Marriage System: Elevate your roleplay with in-game relationships!

    • :ring: Get Married: Find your in-game soulmate and celebrate your union.
    • :broken_heart: Divorce: Not every story has a happy ending. We’ve got the paperwork ready.
    • :scroll: Marriage Details: Curious about your marriage date or your spouse’s name? Check out the Registry Office menu.
  • :trophy: Leaderboard:

    • Compete and see where you stand! From the richest players to those with the most playtime, kills, or deaths - see how you compare with the best!
  • :tada: Playtime Rewards:

    • :hourglass_flowing_sand: Reward by Playtime: Honor players for the time they invest in the game.
    • :shopping: Unlimited Customization: Craft unlimited rewards in the Config. Set playtime milestones and decide whether it’s cash, an item, or a weapon.
    • :electric_plug: Toggle On/Off : Not a fan? Easily disable this feature right from the Config.
  • :new: Exports for Enhanced Integration :

    • Access key player statistics like Deaths, Kills, KD_Ratio, and Playtime in other scripts.
    • Utilize these exports to create dynamic, stats-based gameplay elements in your server.

:date: Upcoming Features:

  • Vehicle Finder: A Menulist of all yours vehicle with model name, plate and information if its parked in garage or not. Able to track your vehicles when not parked.

:handshake: Support & Feedback:

Your feedback is invaluable! If you encounter any issues, bugs, or have suggestions for improvements, please don’t hesitate to share. You can contact me on Discord at byK3.

For those with ideas, wishes, or interested in contributing to the project, please reach out. Let’s make this script the best it can be, together!

:inbox_tray: Download:

Link to the GitHub repository

17 Likes

any possibility you can do qbcore as well? :pray:

3 Likes

Patch Notes - [12.10.2023 - 03:00 CET]

:loudspeaker: Announcement

  • A big thank you to everyone who took the time to rigorously test the script. We appreciate your feedback and are diligently working on further improvements and expansions to the project.

:hammer_and_wrench: Updates & Fixes

  • Playtime Tracker: The Playtime Tracker has been revamped and fixed. Additionally, the code has been optimized by removing unnecessary parts.
  • Social Money Timer: The timer for the Social Money System has been fixed.
  • Code Optimization: The entire code has been revised to make it more readable and efficient.
  • Callbacks & Functions: Several callbacks and functions have been refined for better performance and stability.
  • NPC Updates: The NPC is now visible and interactive. Moreover, you can now add multiple NPCs in the Config and assign them custom coordinates. Important: Please replace your current Config to benefit from the new features!
  • Stats Menu: The Stats Menu has been adjusted. Job display is now done via ESX instead of the database.

We hope these updates enhance your gaming experience. As always, we look forward to your feedback and suggestions for future updates!

1 Like

Hey there!

I haven’t delved into QBcore just yet. If time permits, I’ll definitely consider it. However, for now, the other features are taking precedence. It would be fantastic if someone from the community could create a QBCore version in the meantime. That would be perfect!

Thanks for your understanding and suggestion!

1 Like

wow what a great release, thank you for releasing this script for free to the community.

2 Likes

dope feature to add, paycheck collection? instead of salary being paid to an account.
Make civs head to city hall to collect check.

I got snippets if needed!

EDIT: Guessing this the social money thing, maybe i mis understood.

Cheers

1 Like

Nice Script! A suggestion, maybe the integration of target?

1 Like

:loudspeaker: Cityhall Update Changelog

:classical_building: Cityhall Enhancements

  • :tada: The Registry Office is now available within Cityhall!
  • :ring: Players can now tie the knot with each other.
  • :broken_heart: Divorce is now an option for those looking to part ways.
  • :scroll: Access marriage details including information about your spouse and the date of marriage directly from the Registry Office menu.

:bar_chart: Stats Update

  • :chart_with_upwards_trend: Player stats have been expanded!
  • :couple_with_heart: Your spouse’s name has been added to the stats for a more comprehensive overview.

Stay tuned for more updates and improvements!

:inbox_tray: Download:

Link to the GitHub repository

1 Like

You mean ox_target?

You can use social Money also as paycheck

Thank you for this kind words! <3

Yes ox_target

1 Like

more photos or a video would be nice !

1 Like

:loudspeaker: Cityhall Update Changelog

:small_blue_diamond: New Features:

  • Kills & Deaths Tracking: Kills and deaths are now stored in the users database.
  • KD Calculation: The Kill-Death ratio (KD) is now automatically calculated and stored.

:small_blue_diamond: Enhancements:

  • Extended Player Statistics: The statistics menu has been expanded to include:
    • Kills
    • Deaths
    • Kill-Death Ratio (KD)
    • Number of Vehicles owned by the player.

:inbox_tray: Download:

Link to the GitHub repository

1 Like

I hope to create an SQL file for beginners like us to import directly

1 Like

You don’t have to import SQL.
The script does everything independently as soon as you start it.
Every time it is started, the script checks whether the SQL exists; if not, it is simply recreated. Dead easy

any preview?

1 Like

Not yet, its a ESX-Default menu
Plug & play - just enter coords and you should be ready.
Feel free to test! <3

Any chance for a future feature where there is world stats for richest players (Top 5/10) Where it shows the top X richest players Bank account wise? Anyways great work so far!

2 Likes

Very useful thank you works great

1 Like