View Full Version : Block a extension loading from ruleset?
celestian
July 19th, 2021, 16:58
Is it possible to block a ruleset from loading an extension? I'm merging a extension into a ruleset and I want to make sure that the "extension" version of it cannot be loaded on top and cause issues. Is this possible?
Moon Wizard
July 19th, 2021, 17:23
No, there is no mechanism to block extensions.
Regards,
JPG
MeAndUnique
July 20th, 2021, 02:52
You should be able to detect it on desktop initialization and display a warning though
Moon Wizard
July 20th, 2021, 06:20
Good idea. You could add a big warning in the chat window that they should unload the extension from the ruleset code. The ruleset and extensions should be loaded and identifiable during global script initialization and onDesktopInit event.
JPG
celestian
July 20th, 2021, 06:22
Good idea. You could add a big warning in the chat window that they should unload the extension from the ruleset code. The ruleset and extensions should be loaded and identifiable during global script initialization and onDesktopInit event.
JPG
I'm good, I was hoping there was an API for it so I'd not have to write the functionality. I don't think it'll be that big of a issue but figured I'd check before I called it done.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.