-
July 19th, 2021, 16:58 #1
Block a extension loading from ruleset?
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?
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
July 19th, 2021, 17:23 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
No, there is no mechanism to block extensions.
Regards,
JPG
-
July 20th, 2021, 02:52 #3
You should be able to detect it on desktop initialization and display a warning though
My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
-
July 20th, 2021, 06:20 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
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
-
July 20th, 2021, 06:22 #5---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks