[Release] Server Notifications [1.4]

is there a way of when the server is restarting and they want to join it says server is restarting please wait

2 Likes

This is a simple chat message. And I don’t plan to make it restart the server.

2 Likes

Ok cool mate,thanks its a nice script btw :wink:

2 Likes

It’s a nice release but instead of having it /svr 5 or 10 you should just make it /svr number

1 Like

Update 1.1

Change-log:

  • Added Permission system using Aces (See original post for Wiki link and instructions on how to set up the Ace Permissions)
  • Changed event names
  • Updated terms of use
2 Likes

Update 1.2

Change-log

  • Added new function that displays that the server is restarting on the server list when /svr now is ran.(picture below)

  • I also added a kick function that kicks a player on join if they connect after /svr now is ran. The system it uses is probably not the best but it works for now, I’ll keep working on the kick function in the mean time. But it works.

Capture

Download is in the original post as usual.

Pictures and information updated in the original post

3 Likes

nice. like it, so does the kick thing work or…?

1 Like

Read the above, it’s said twice.

3 Likes

oh ok thanks (20 characters?)

1 Like

I added this to my city, and have my self set as an admin per the wiki. I can use /svrlist and that prints in the chat, but i do not see any of the /svr 10,5,Now messages in the chat

Try with the message I sent in Discord…

2 Likes

Update coming out later today. I will involve

  • /a to display admin announcement, like below
  • Adding peacetime to this resource, taken from my AOP resource
  • Renaming this script…

http://faxes.zone/WhyIsRyanARetard/bm345o.png

Thanks to @dibzer for being an official community tester for me :stuck_out_tongue:

3 Likes

Update 1.3

  • Added Peacetime from my AOP script config available.
  • Added /a for admin announcements (image seen above)
  • Re coded the script to use Register Command
3 Likes

You’re easily becoming one of the best scriptwriter’s FiveM has seen. Keep up the work brother!

2 Likes

thanks :stuck_out_tongue:

3 Likes

I can agree with that statement.

2 Likes

Update 1.4

  • Added new command (/svrstart), Which starts at the 10 minute notification and counts down to the restart it self.
2 Likes

You might want to update the topic name.

1 Like

haha so true.

2 Likes

Any tips on how to incorporate this script with the start.bat ??

As I have my start.bat set to auto restarts every 6hrs :slight_smile: any tips?