Configuration

This section will help you understand how to configure your TCG using Stack—code-free from your TCG’s basic needs.

When you go to the Settings > Configuration page of your Stack admin, you will see five (5) tabs of different configurations: General, File Paths, Cards, Rewards and Others. You will notice that some of the fields were already filled by default. I will try my best to explain the empty fields one tab at a time.

General

  1. TCG Discord/Twitter – If your TCG has a Discord server or Twitter account, you can add them on these fields. Do keep in mind to only add the invitation code or username of these social media accounts; no need to include the complete URL. A placeholder is added to give you a guide on what to put on these fields.
  2. TCG Registration – By default, it is set to Close. Make sure to only set this to open when your TCG is ready for prejoin. DO NOT open a TCG’s registration if you still have a lot of things to fix on your TCG.
  3. TCG Currencies – This is where you’re going to put your currencies. If you have more than one currency, separate the files with a comma followed by a space. Take note on the arrangement of your currencies since your game rewards and other services will rely on this arrangement.
    If I have two currencies—special (e.g. diamonds) and normal (e.g. coins), I will arrange them as diamond.png, coin.png respectively. This way, when I define a game rewards currencies, I will write the values as 0 | 20—which can be simply read as 0 diamond and 20 coins.
  4. TCG Placeholder Title/Text – Since your auto update will be running in cron jobs, this is where you’ll define your update’s title and simple text if you’ll be unable to post an actual update by the time your cron job ran. Kindly take note that the auto update’s job is to only list down newly approved members, new masteries, level ups, deck releases and such for that week’s update. It will not automatically type your actual update if you had done something like you’ll be hosting an event and the likes.

File Paths

  1. Cards URL – This will be the complete URL of your cards directory. The cards folder is already placed under the /images folder, so your cards URL should look like this:
    If you have your TCG on a domain: http://yourdomain.com/images/cards/If you have your TCG on a subdomain: http://tcg.yourdomain.com/images/cards/
  2. Images URL – This will be the complete URL of your general images directory, so your images URL should look like this:
    If you have your TCG on a domain: http://yourdomain.com/images/If you have your TCG on a subdomain: http://tcg.yourdomain.com/images/

Cards

  1. File Type – Define the general file type of your images (e.g. gif, png, jpg). If you have an animated version of your cards (e.g. normal decks are static in PNG format and special decks are animated in GIF format), there is no need to define it on this field.
  2. Card Size – This is where you’ll define the width and height of your card template in pixels. Please take note that this is only for the cards and not for the mastery or level badges. You also don’t need to add the px value (e.g. 100 instead of 100px).
  3. Link Button Size – This is going to be the general size of your link buttons—width and height in pixels—which is what you’ll be using and/or requiring for your affiliates. This is actually an optional field for now, so you can have as many link button sizes as you need.

Rewards

Pro-tip! How to write values for multiple currencies? Simple! Just separate the numerical values with a space and a vertical slash (e.g. 0 | 10 | 5 | 3). Do keep in mind the correct arrangement of the currencies' image files from the General Settings.

  1. Starter Pack – There are four (4) fields under the starter pack rewards. The first two are the rewards to define how many cards from collecting deck and random cards to be given away upon joining. The other two are for your player’s starter pack bonus to define how many additional random cards and currencies to be given away when you approve their membership.
  2. Deck Masteries & Level Ups – Both of these rewards section have three fields and these are the number of choice cards and random cards, and the amount of currencies that they will receive when they submit a deck mastery and/or level up forms.
  3. Remaining Rewards – Which are the trading, special masteries (for event and member card masteries), daily login, deck donation and deck making. All of them have only two fields for their respective rewards—random cards and currencies.

    The rewards for the deck donation works only for 1 reward tier. So if your donations have different rewards tier (e.g. 2 random for puzzle decks and 5 random for special decks), you will have to make a work-around for it. The multiple deck donation rewards is currently under development and will be added some time in the future releases.


Others

The fields under this configuration tab is pretty much self-explanatory and you will still need to configure them according to how you wish to setup your TCG. Please take note that if you wish to enable the chatbox and the featured member, you will have to install these plugins first (if they aren’t installed by default) which you’ll find on the Settings > Plugins menu.