Difference between revisions of "Extensions:Rewardable Raffle Tickets"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page with "{{subst:Extension Page}}")
Tag: 2017 source edit
 
Tag: 2017 source edit
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Rewardable Raffle Tickets|desc=Enables rewarding of raffle tickets via prompts and boxes.|auth=Mercury|status=Testing|github={{Github|user=itinerare|branch=rewardable-raffle-tickets}}|migration=no|package=no}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
 +
This builds upon [[Extensions:Stacked Inventories]]! Not only is much credit due there, it also bears mention that the changes made there are necessarily included in this extension. However, most of the inner workings are present in base Lorekeeper, so it would not be difficult to convert back if desired.
 +
 +
Enables selection of raffle tickets as a rewardable type for prompts and boxes. Technically speaking, most of the internal mechanisms were already in place; this has just made them available for use.
 
== Installation ==
 
== Installation ==
 
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
 
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
 +
Pull the branch. If you already have [[Extensions:Stacked Inventories]] or another extension that uses it, you do not need to migrate. If you do not, run <pre>php artisan migrate</pre>
 
== Configuration ==
 
== Configuration ==
 
<!-- Is any configuration necessary? Describe it here! -->
 
<!-- Is any configuration necessary? Describe it here! -->
 +
None necessary.
 
== Usage ==
 
== Usage ==
 
<!-- Is there anything users should know about using your extension? -->
 
<!-- Is there anything users should know about using your extension? -->
 +
When editing a prompt or box tag, select a raffle to award tickets for. Note that by default, only raffles that have not been rolled yet and are active can be selected. This does disable rewarding of tickets for a rolled raffle, and deselects from prompts, but does not fully automatically update. It is recommended to have prompts close and cease distribution of ticket "boxes" before rolling the raffle they award tickets for.
 
== Troubleshooting ==
 
== Troubleshooting ==
 
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 +
Find me in the Lorekeeper discord!
 
== 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 12:53, 12 August 2020

Rewardable Raffle Tickets
Description Enables rewarding of raffle tickets via prompts and boxes.
Author(s) Mercury
Status Testing
Github rewardable-raffle-tickets
LK Version Unspecified






This builds upon Extensions:Stacked Inventories! Not only is much credit due there, it also bears mention that the changes made there are necessarily included in this extension. However, most of the inner workings are present in base Lorekeeper, so it would not be difficult to convert back if desired.

Enables selection of raffle tickets as a rewardable type for prompts and boxes. Technically speaking, most of the internal mechanisms were already in place; this has just made them available for use.

Installation

Pull the branch. If you already have Extensions:Stacked Inventories or another extension that uses it, you do not need to migrate. If you do not, run

php artisan migrate

Configuration

None necessary.

Usage

When editing a prompt or box tag, select a raffle to award tickets for. Note that by default, only raffles that have not been rolled yet and are active can be selected. This does disable rewarding of tickets for a rolled raffle, and deselects from prompts, but does not fully automatically update. It is recommended to have prompts close and cease distribution of ticket "boxes" before rolling the raffle they award tickets for.

Troubleshooting

Find me in the Lorekeeper discord!

See Also