ilestis / kanka-dnd5e-monster
An attribute template for D&D 5th edition monsters
Installs: 2 910
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 12
Open Issues: 0
Requires
- illuminate/support: ^8.0|^9.0|^10.0|^11.0|^12.0
README
Deprecated This plugin is no longer maintained nor bundled in the Kanka application. If you want a 5e monster sheet, please use the marketplace.
Kanka D&D 5e Monster
This package is an extension for kanka.io, to add a community attribute template for D&D 5th edition monsters.
Configruation
Add the following line to config/attribute-templates.php
return [ 'dnd5emonster' => Kanka\Dnd5eMonster\Template::class ];
And publish the assets with the following command.
php artisan vendor:publish --tag=dnd5emonster --force
You are now ready to go.
Creating your own plugin
To create a community attribute template for Kanka, follow the following steps.
- Clone this repository on Github.
- Edit the
src/AttributeTemplateServiceProvider.php
file to reflect your attribute template's name. - Edit the
resources/views/template.blade.php
file to define how the page will be rendered. - Edit the
resources/sass/template.scss
file to define how the page will be styled. To compile the .scss file to .css:npm install
npm run prod
- Rename the
publishable/config/dnd5emonster.php
to your package's unique name and edit the attributes. - Edit
publishable/lang/en/template.php
to configure the texts for your template. - Edit the
composer.json
and prepare your package for gibhub and packagist