tabarra / txAdmin

The official FiveM server management platform used by over 23k servers!
https://txadmin.gg/
MIT License
811 stars 548 forks source link

[FEATURE]: Editable restart alert message #1009

Closed ChickenDipper1 closed 2 hours ago

ChickenDipper1 commented 2 hours ago

Scope

In-Game Menu

Feature Description

It would be a nice feature to be able to edit the server restart message. I know we can disable it and use the event to trigger our own but when trying to keep things simple and use TX as much as possible this would be a great addition/modification.

Use Case

Enter a custom server restart message using TX

Proposed Solution

Allow restart message to be editable without modifying TX code.

Additional Info

No response

tabarra commented 2 hours ago

If all you wanna do is change text instead of behavior, I recommend you setting up a custom locale file:
https://github.com/tabarra/txAdmin/blob/master/docs/translation.md#custom-locales

ChickenDipper1 commented 2 hours ago

Damm you are fast! I will do just that. Perfect, thanks very much :)