PDA

View Full Version : [Request] Make "sm plugins" load plugins in abc order?


karasu
06-23-2016, 00:27
Its a pain looking through my plugins when they are not organized in anyway when I type sm plugins ingame, I tried to use the search function for this forum but it seems buggy and its not searching so I just will make this thread. Does anyone know of a plugin that does this?

stoneyschillhouse
06-23-2016, 04:29
I would also be interested too

shavit
06-23-2016, 04:36
http://i.imgur.com/aegwEvG.png

https://bugs.alliedmods.net/

Mitchell
06-23-2016, 08:59
They load in alphanumeric order (by filename) when you first start the server, however if you reload any plugin then it will show at the bottom of the list. You can request a plugin that will list out the plugins by DISPLAY NAME in alphanumeric order.

friagram
06-23-2016, 15:37
Better to design plugins to always work than try to set their order like so.

However, i think it would be a good idea for SM devs to add a priority system into core callbacks so plugins can request to be first or last.. or even a pre, current, or post sequence.. similar to sql threading.

Powerlord
06-23-2016, 20:46
They load in alphanumeric order (by filename) when you first start the server, however if you reload any plugin then it will show at the bottom of the list. You can request a plugin that will list out the plugins by DISPLAY NAME in alphanumeric order.

Yes and no. Plugins that have required dependencies seem to push themselves onto the end of the load list.

Haven't looked into SM itself to see how that works.

Side note: Extensions don't do this, so if your extension has required dependencies, you must implement some of the optional methods if you don't want your extension crashing because one of its dependencies isn't loaded or unloaded before it did.