DICE PACKS BUNDLE
  1. #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.

  2. #2
    No, there is no mechanism to block extensions.

    Regards,
    JPG

  3. #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

  4. #4
    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

  5. #5
    Quote Originally Posted by Moon Wizard View Post
    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.
    ---
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in