Killer0561

Server ready - console log write

Recommended Posts

Hello guys,

I am looking for a possibility, if the Rage MP server has been completely started up, that I then get a message in the console such as:

*Server ready.*

Is that possible?

greetings, Killer0561 (Sascha)

Edited by Killer0561

Share this post


Link to post
Share on other sites

I have tried this, but no console message was displayed (server side, script):

mp.events.add('packagesLoaded', () =>
{
  console.log('Loaded all resources successfully');
});

any idea?

greetings, Killer0561 (Sascha)

Edited by Killer0561

Share this post


Link to post
Share on other sites
7 hours ago, Killer0561 said:

I have tried this, but no console message was displayed (server side, script):

mp.events.add('packagesLoaded', () =>
{
  console.log('Loaded all resources successfully');
});

any idea?

greetings, Killer0561 (Sascha)

That's because packagesLoaded event isn't in the current version of RAGE:MP, it's in the next update.

  • Like 1

Share this post


Link to post
Share on other sites

Ah ok, thanks for the quick reply. When is the next update coming? Because I need one line for the AMP program, which confirms that the server has been fully loaded.

Source: https://github.com/CubeCoders/AMP/wiki/Configuring-the-'Generic'-AMP-module

AppReadyRegex A regex that if matched, will change the server state from 'Starting' to 'Running'

greetings, Killer0561 (Sascha)

Edited by Killer0561

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.