Sign in to follow this  
JustOlaf

i have couple of questions

Recommended Posts

First, sry for the spam in the forum, i'am just a new member and getting troubles with the server and looking for help, thanks for the helpers!

I've seen loot's of plugins with steps like that 

Add require('.*****'); in root index.js

And i cant understand what they taking about... i'am just a new with all this thematic and getting questions:)

 

How do i give myself a admin on my server with this plugin -

 

Or if there is loot of better plugins please let me know.

Thanks for the helping!

Share this post


Link to post
Share on other sites
vor 31 Minuten schrieb JustOlaf:

Add require('.*****'); in root index.js

It means you should add the "plugin" to your client_packages index.js like this:

index36jwp.png

These index file tells the client to load the files, events etc.



 

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, XCRON said:

It means you should add the "plugin" to your client_packages index.js like this:

index36jwp.png

These index file tells the client to load the files, events etc.



 

i need to stack them all in one file of index.js?

Share this post


Link to post
Share on other sites

yes, the index.js is required, and there you can define your packages.

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, XCRON said:

yes, the index.js is required, and there you can define your packages.

Ok, thanks!

  • Like 1

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.