AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   What paths does Sourcemod load plugins from? (https://forums.alliedmods.net/showthread.php?t=309047)

popey456963 07-11-2018 16:55

What paths does Sourcemod load plugins from?
 
As far as I can tell, SM loads all plugins (where a plugin is defined as a file with the .smx extension) from

- ~/mod/addons/sourcemod/plugins

And doesn't load plugins from

- ~/mod/addons/sourcemod/plugins/disabled

But some plugins also create folders within plugins, for instance, this is loaded:

- ~/mod/addons/sourcemod/plugins/ttt

I'm wondering if there are any restrictions? Can I organise my mods into a proper folder structure that goes multiple levels down? E.g.

- ~/mod/addons/sourcemod/plugins/xyz/skills/player/night_vision.smx

Is it purely the "disabled" folder which is ignored?

asherkin 07-11-2018 18:05

Re: What paths does Sourcemod load plugins from?
 
All .smx files recursively under plugins/ that aren't under disabled/ or optional/ subfolders.
  • plugins/test.smx
  • plugins/disabled/test.smx
  • plugins/thing/test.smx
  • plugins/thing/disabled/test.smx
  • plugins/disabled/thing/text.smx


All times are GMT -4. The time now is 22:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.