Difference between revisions of "Extensions:Awards"
m (Tgi moved page Extension:Awards to Extensions:Awards: Oops I dun hecked it) |
(Added all the info in!) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
This extension creates a separate "Awards" system for Lorekeeper based off the existing items/inventory system. Awards are stored in the "Award Case" and also displayed on user profiles. | This extension creates a separate "Awards" system for Lorekeeper based off the existing items/inventory system. Awards are stored in the "Award Case" and also displayed on user profiles. | ||
− | + | This extension builds off of the existing code from [[Extensions:Stacked Inventories]], [[Extensions:Submission Addons]], and [[Extensions:Item Entry Expansion]]. (Though these extensions are not required for the awards extension to run.) | |
+ | |||
+ | {{Extensioninfobox|title=Awards|desc=Adds an "Awards" System to base LK|auth=Tgi|status=Testing (Character Awards WIP)|github={{Github|user=tjgallaha|branch=Awards_System}}|migration=yes|package=no}}<br />Adds several tables to the DB for awards, and implements the ability to admin-ranks to add + grant awards, as well as granting awards from claims and prompts. | ||
==Installation== | ==Installation== | ||
− | <! | + | Pull the branch and run <code>php artisan migrate</code>! |
+ | |||
==Configuration== | ==Configuration== | ||
<!-- Is any configuration necessary? Describe it here! --> | <!-- Is any configuration necessary? Describe it here! --> | ||
+ | None required. | ||
+ | |||
+ | Optional: if you'd like to change the names of your awards to something else (i.e. trophies, medals, etc) you can change the way it's listed in the following blades: | ||
+ | <code>resources/views/world/--> award_categories.blade.php, award_page.blade.php, awards.blade.php, index.blade.php</code> | ||
+ | <code>resources/views/user --> _sidebar.blade.php, awardcase.blade.php, profile.blade.php, award_logs.blade.php</code> | ||
+ | <code>resources/views/home --> _sidebar.blade.php, awardcase.blade.php </code> | ||
==Usage== | ==Usage== | ||
<!-- Is there anything users should know about using your extension? --> | <!-- Is there anything users should know about using your extension? --> | ||
==Troubleshooting== | ==Troubleshooting== | ||
− | < | + | After pulling, you may run into a bunch of conflicts. If anything seems broken, go into your files and check for <code><<<<<< HEAD</code>. Git adds these in when there's conflicts or additions to existing files, and they can cause stuff to break. Remove them, save, and push, and everything should work great. |
+ | |||
+ | There may be some stray code from [[Extensions:Submission Addons]] as well. Let TGI know on discord if you run into any issues! | ||
==See Also== | ==See Also== | ||
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. --> | <!-- Any relevant other pages. You may consider linking to related extensions, for instance. --> |
Revision as of 07:13, 26 August 2020
This extension creates a separate "Awards" system for Lorekeeper based off the existing items/inventory system. Awards are stored in the "Award Case" and also displayed on user profiles.
This extension builds off of the existing code from Extensions:Stacked Inventories, Extensions:Submission Addons, and Extensions:Item Entry Expansion. (Though these extensions are not required for the awards extension to run.)
Description | Adds an "Awards" System to base LK |
---|---|
Author(s) | Tgi |
Status | Testing (Character Awards WIP) |
Github | Awards_System |
LK Version | Unspecified |
Contains a Migration | |
Adds several tables to the DB for awards, and implements the ability to admin-ranks to add + grant awards, as well as granting awards from claims and prompts.
Installation
Pull the branch and run php artisan migrate
!
Configuration
None required.
Optional: if you'd like to change the names of your awards to something else (i.e. trophies, medals, etc) you can change the way it's listed in the following blades:
resources/views/world/--> award_categories.blade.php, award_page.blade.php, awards.blade.php, index.blade.php
resources/views/user --> _sidebar.blade.php, awardcase.blade.php, profile.blade.php, award_logs.blade.php
resources/views/home --> _sidebar.blade.php, awardcase.blade.php
Usage
Troubleshooting
After pulling, you may run into a bunch of conflicts. If anything seems broken, go into your files and check for <<<<<< HEAD
. Git adds these in when there's conflicts or additions to existing files, and they can cause stuff to break. Remove them, save, and push, and everything should work great.
There may be some stray code from Extensions:Submission Addons as well. Let TGI know on discord if you run into any issues!