Plugin not loaded automatically?

All other Source.Python topics and issues.
Reeley
Junior Member
Posts: 5
Joined: Sun Mar 04, 2018 4:44 pm

Plugin not loaded automatically?

Postby Reeley » Sun Mar 04, 2018 9:01 pm

After getting Source.Python to work im trying out the Getting started tutorial.

I created a folder test in the plugins folder and a file test.py. When starting the server nothing happens. My plugin only gets loaded when i enter the command sp plugin load test.

Are plugins not automatically loaded when starting a server?
User avatar
Ayuto
Project Leader
Posts: 1830
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Plugin not loaded automatically?

Postby Ayuto » Sun Mar 04, 2018 9:04 pm

Yes, plugins are not loaded automatically. If you want them to load automatically, you need to put the "sp plugin load ..." statements into your autoexec.cfg.
Reeley
Junior Member
Posts: 5
Joined: Sun Mar 04, 2018 4:44 pm

Re: Plugin not loaded automatically?

Postby Reeley » Sun Mar 04, 2018 9:08 pm

Hmm ok thanks, maybe this should be added to the get started page
User avatar
Ayuto
Project Leader
Posts: 1830
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Plugin not loaded automatically?

Postby Ayuto » Sun Mar 04, 2018 9:10 pm

Yes, good point. Thanks!

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests