Jump to content

Js Resource


Recommended Posts

Hi everyone!

I have a custom.js on my server-files/bridge/resources/custom folder.

My meta.xml look like this:


 <info name="custom" type="script" />
 <script src="custom.js" />

My custom.js:


But i cant see the console.log in my console after exectue the file server.exe.

My console returns:

[N] Starting network... - OK: (IPv4-only) at
(node:12532) ExperimentalWarning: The ESM module loader is experimental.
[M] Announcing into master server...
Loading packages
Initializing bridge (
This is not a published, standalone application and we are unable to locate the .NET Core SDK.  Please make sure that it is installed; see http://microsoft.com/net/core for more details.
Initializing Bootstrapper.dll (
-> SERVER STARTED AT 17/01/2019 15:03:56
ACLEnabled: True
Loaded 451 entries from vehicleData.json
Loading resources..
-> Starting custom resource..
custom: loading scripts.. found 1 script(s)
-> Resource custom started!
-> Starting admin resource..
admin: loading scripts.. found 1 script(s)
[M] Connected to master list.
admin: compiling scripts..
admin: instantiating Main.AdminScript..
admin: loading server events.. found 2 server event(s)
admin: loaded 2 server events(s)
admin: loading commands.. found 9 command(s)
admin: loaded 9 commands(s)
-> Resource admin started!
-> Starting welcomemessages resource..
welcomemessages: loading scripts.. found 1 script(s)
welcomemessages: compiling scripts..
welcomemessages: instantiating WelcomeMessages..
welcomemessages: loading server events.. found 2 server event(s)
welcomemessages: loaded 2 server events(s)
-> Resource welcomemessages started!
Started! Waiting for connections..
[P] Plugin bridge.dll loaded!
Started HTTP server at 22006 port.


Any ideas?


Link to comment
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.
  • Create New...