New developer and need some basic help

After much tinkering and following multiple tutorials I still can't get my system to show a custom sheet. All the tutorials I have come across are out of date or incomplete, so I'm sure I'm missing something basic. If anyone knows a good tutorial that shows how to build a system from scratch that would be great. Short of that, just looking for what is required to get a custom sheet to show up in a new system. Just the bare minimum will help at this stage since I'm just trying to figure out how things are linked and talk to each other and it seems that has changed over the versions.
9 Replies
CussaMitre
CussaMitre•3d ago
Did you checked the boilerplate system and the tutorial that it goes with that one? https://github.com/hodpub/boilerplate/tree/v13 This is a PR branch for the v13. And it has this tutorial, that although it is a little bit outdated, it is still a very good point of start: https://foundryvtt.wiki/en/development/guides/SD-tutorial
GitHub
GitHub - hodpub/boilerplate at v13
Boilerplate system for FoundryVTT to use as a starting point for your own system's development. Follow along with the [accompanying tutorial](https://foundryvtt.wiki/en/development/guides/S...
Demonic Leprechaun
Demonic LeprechaunOP•3d ago
That is one that I've been picking through. Since it isn't from scratch it doesn't seem to explain certain things (or I could be missing it). Part of wanting something that is actually from scratch is so I can see how everything is connect. Though, I am rereading through it now to see if I can see what I'm missing in it. Also, looking through the dnd5e system files, though that only really helps when I have at least an idea of what I'm looking for.
CussaMitre
CussaMitre•3d ago
So, I don't think any system is going from really the scratch. Most systems are using the Boilerplate or a similar version of it to make things connected. Of course you could basically create the only required bits (the JS file that is the entry point of the system) and start from there. But I don't think that doing that would bring you a lot of value. The most common approach is to use something and build upon that, and looking to other system whenever you want to do something that is beyond the tutorial.
Demonic Leprechaun
Demonic LeprechaunOP•3d ago
Different styles. I'll keep trying to figure it out.
CussaMitre
CussaMitre•3d ago
If you have specfic questions, I am sure that most people would be happy to share some knowledge 🙂
Demonic Leprechaun
Demonic LeprechaunOP•3d ago
As I put in the original post, after following several tutorials I can't get a custom sheet (actor or item) to show up in place of the default. So I'm trying to figure out what I missed.
CussaMitre
CussaMitre•3d ago
Did you follow the process to unregister the default sheet and register the one from your system?
// Register sheet application classes
Actors.unregisterSheet('core', ActorSheet);
Actors.registerSheet('boilerplate', BoilerplateActorSheet, {
makeDefault: true,
label: 'BOILERPLATE.SheetLabels.Actor',
});
Items.unregisterSheet('core', ItemSheet);
Items.registerSheet('boilerplate', BoilerplateItemSheet, {
makeDefault: true,
label: 'BOILERPLATE.SheetLabels.Item',
});
// Register sheet application classes
Actors.unregisterSheet('core', ActorSheet);
Actors.registerSheet('boilerplate', BoilerplateActorSheet, {
makeDefault: true,
label: 'BOILERPLATE.SheetLabels.Actor',
});
Items.unregisterSheet('core', ItemSheet);
Items.registerSheet('boilerplate', BoilerplateItemSheet, {
makeDefault: true,
label: 'BOILERPLATE.SheetLabels.Item',
});
(getting the example from Boilerplate, but should be easily associated with yours)
Demonic Leprechaun
Demonic LeprechaunOP•3d ago
Yep. I'd post the code, but I'm in the middle of rewriting it. Since I was pulling information from multiple locations that where all on different versions when they made the tutorial I'm making sure the issue was a mix of new and old code.
Demonic Leprechaun
Demonic LeprechaunOP•2d ago
Still not seeing my sheets when I load up the system. I do see character as an option under actor and all the options for items, but the sheet is just the default picture and name one. sending system.json, the main javascript file, and one of the item sheets. Let me know if you need anything else.

Did you find this page helpful?