Thread: Module files and tags
-
November 20th, 2022, 08:08 #1
Module files and tags
From what I understand if I create a module with the db.xml file inside then it is intended for the master, while if it
contains the client.xml file it is intended for the players.
Is it possible to create a module with both files or do I have to generate two separate modules?
Second question: I'm not clear what the category tag is for. Can you help me?
-
November 20th, 2022, 08:58 #2
No, you can't create a module with both a db and a client. And you are correct client.xml is for player modules (and default to such meaning they default to being shared); and db is for the GM.
See here for details of the categories to use https://fantasygroundsunity.atlassia...les+-+Overview
The category is a description of what the module is; Adventure, Core Rules, Supplement etc.If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
November 20th, 2022, 09:55 #3
Ty Zaccheus.
Is the category for descriptive purposes only? I see it being used in some modules and it's placed inside other tags.
I tried to look in the guide, but I'm not clear what it takes to put it inside a tag. What's involved in putting it there?
-
November 20th, 2022, 16:08 #4
Category is used in two places. Which one are you referring to? Category in definition.xml or category in client.xml/db.xml?
Category in definition.xml is the heading that the module will be listed under (when activated) in the left side of the Modules window - "Adventures", "Core Rules", etc.. As described here: https://fantasygroundsunity.atlassia...iew#Categories
Category in client.xml/db.xml determines if the data is listed in the campaign data lists with a group name different from the name of the module.Last edited by Trenloe; November 20th, 2022 at 16:11.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
November 20th, 2022, 17:27 #5
Category in client.xml/db.xml
For example in a module I find this:Code:<tables> <category name="D&D Basic Rules - DM" baseicon="2" decalicon="1"> <tab_ringofresistance> or <imagedata> <category name="D&D Basic Rules - DM" baseicon="2" decalicon="1"> <img_banner_jpg>
Code:<name>DD Basic Rules - DM</name> ... <displayname>D&D Basic Rules - DM</displayname>
-
November 20th, 2022, 18:00 #6
This determines the Group name the data will be displayed within. If there is no category then the default group name will be used = the module name.
https://fantasygroundsunity.atlassia...ies+...#Groups
Refer to here: https://fantasygroundsunity.atlassia...File-Structure
Name = the base module name that will be used for identifying data records - e.g. item.id-0001@<module name>
Display Name = the name that will be displayed to the user in FG.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks