Trying to register a new system
Hey everyone, I am new to Foundry system development. I am working with the boilerplate system and have the folder properly updated and placed my /Data/systems/ folder. However, when I launch Foundry VTT, I do not see this system registered to the Game Systems tab to begin testing. How do I ensure I properly connect this and set it up so I can begin development and test along the way?
Thank you!
J
JoaquinP•126d ago
Does it tell you any error in the console?
A
arbron•126d ago
Make sure your system's
id
defined in the system.json
matches exactly with the name of the folderN
Nezzeraj•126d ago
And it needs to be all lowercase
F
Forien•126d ago
It doesn't (or at least to, it didn't used to)
N
Nezzeraj•126d ago
Oh my mistake then
F
Forien•126d ago
https://foundryvtt.com/article/system-development/
This article explains a lot, including how the manifest should look like
Introduction to System Development | Foundry Virtual Tabletop
The official website and community for Foundry Virtual Tabletop.
Z
Zhell•126d ago
Very much recommended to use only a-z and 0-9 and hyphens. (And preferably not even hyphens.)
F
Forien•126d ago
while I agree that only using lowercase is recommended (since various OS treat case sensitivity in file names differently), is there any real reason to avoid hyphens?
Z
Zhell•126d ago
Convenience when using your own system/module id.
GS
GM Shyann•126d ago
@Jeff "Arbron" Hitchcock So it does match, which is why I find it weird it hasn't registered to Foundry. The folder is "wands-and-wizards", which matches the ID in system.json. If this helps in your deduction, the boilerplate system's folder is also located under /Data/systems/, and it is not showing up in the Foundry application, either.
Thank you for providing that, but I had already reviewed that documentation last night before finding this Discord to post here.
LTL
Leo The League Lion•126d ago
@GM Shyann gave LeaguePoints™ to @Forien (#225 • 3)
F
Forien•126d ago
I would go back to this message https://discord.com/channels/732325252788387980/1193778645974646866/1193780093013733416
Check if there are any errors in Setup/Console
F
Forien•126d ago
errors can also be here
GS
GM Shyann•126d ago
Okay, strange, its giving me the following error. But this does exist in the files, so what exactly is it wanting me to do? Is there a place it need to be linked?
F
Forien•126d ago
can you show the part of manifest with
esmodules
?GS
GM Shyann•126d ago
From system.json
F
Forien•126d ago
looks good... and the screen you showed is inside your foundry data, right? or your project that is separate? 🤔
GS
GM Shyann•126d ago
The console error I shared is from inside the Foundry application itself, yes.
F
Forien•126d ago
I meant this screen. Is this folder structure you see in
FoundryData/Data/systems/wandsandwizards/
? or is it your project? If it's your project, can you make sure your mjs
file is in the FoundryData as well?GS
GM Shyann•126d ago
It is both. It is my project, but I am developing it inside my /Data/systems folder in Foundry.
Full path to the project folder is "C:\Users\hello\AppData\Local\FoundryVTT\Data\systems\wandsandwizards"
F
Forien•126d ago
ok, so weird... and
C:\Users\hello\AppData\Local\FoundryVTT\Data\systems\wandsandwizards\module\wandsandwizards.mjs
I guess is valid path to file as well...
and error shows up through Foundry restarts as well I assume?
I genuinely have no clue now 🤔GS
GM Shyann•126d ago
Yeah, its where my D&D 5e system lives that does show up in the application so I'm unsure as well. I also did several resets hoping that was all that was needed with nothing new happening.
Yeah, I know its weird. I do have quite a bit of experience in dev (my full time job), but I am totally stumped by this 😓
@Forien Success! Instead of restarting just the application, tried one last hail mary and reset my whole computer. Upon launch Foundry this time, the new system was in there! Thank you for your assistance with troubleshooting. I was going a lil crazy for a sec lol
LTL
Leo The League Lion•126d ago
@GM Shyann gave LeaguePoints™ to @Forien (#207 • 4)
F
Forien•126d ago
whole system? something must've really go wrong there lol
but good it works now!
Want results from more Discord servers?
More PostsMinimise Document using PrototypeQuick question, I've got no idea what I'm doing so please excuse my ineptitude.
Say I have a documenNew to System Development but have done minor module developmentI am trying to see if there is a complete working model of a system that I could use a base to undercalculating range/distanceI am trying to calculate the distance between two tokens to make sure they are in range of one anothPartial RerollI am looking for a way to partially "reroll" a roll.
Quick example: Player rolls 2d6 (a 2 and a 5) atiered status effectsIf I have a status effect that can come from an ability, for example, burning comes from an ability Importing an npm package into a foundry systemimport minimist from 'minimist';
That line alone when included in my module's hook file is resultin(Paid) System Dev AssistanceHello, I am developing a new game and would like to build my own game system in foundry vtt. I'm nothow to handle items and effects?I've been working on a system for a game that needs a concept that seems like it might be a good fitAdvice on the general programming model a system should followI'm brand new to foundry dev and I want to make sure I am gaining the correct understanding of the eAdvice for compendium data in a custom systemHello, i'm new here!
I was wondering if I could get a little direction for storing data about my gaDialog Box Auto-Closing Upon Opening 2nd TimeI've been appending custom functionality to the simple worldbuilding system. At this time, I'm tryinActor collisionImplementing the homebrew knockback feature. It's almost working but how do I test if two actor tokeActor attributes update on player's sideI can't fathom how to make changes to actor attributes on player's side. According to documentation Sort itemsHello, I am searching for where is stored the data about "items" order, as I
would like to order thNewby accepting advice on the Foundry API and Module DevelopmentHeya,im very new to Module development for foundry and im suuuuper rusty in the codding department bHow do I create/modify embedded document types?Let's say I want Items to also have Items embeddedHow do I specify an Array in my template.json?I want schema checking for elements inside of an undefined-length array in my template.json, how do Is is possible to create/change Foundry's document types?For instance, removing "Actor" and "Item" and adding new ones.ERROR: actors is not a valid embedded Document within the Token DocumentHi guys! New here, just purchased the software.
Could we get any help on this elusive error? It's wHow to trigger "hotbarDrop" with element that are not "Item" ?Hello, I would like to know if it is possible to trigger "hotbarDrop" with element that are not "It