Documentation
Tournaments
A tournament can be created using the Create a tournament button in the profile drop down menu.

Choose the game to begin with, and then fill in the tournament creation form with all the relevant details.

Additional info on the fields:
- Tournament title – Name your tournament
- Tournament description – This field can be used to give some basic tournament information.
- Time/date – Set start time, date and timezone. Both 24h and am/pm formats are supported. Time and date formats can be set in wp-admin > settings > general settings.
- Location – Set where tournaments will be held. Examples: City, Gaming centre, Website, IP address. Whatever you need.
- Tournament Format – Type of tournament which will be used. Default type which comes with Current Gaming Functionality is Knockout. Our premium plugin gives you 3 more tournament types: Ladder, League and Round Robin. More on tournament types.
- Number of participants – This is the maximum number of participants in the tournament. Minimum number of participants required to join to have brackets generated is 3.
- Tournament type – Form of tournament which will be used. Default type which comes with theme is Knockout. Our premium plugin gives you 3 more tournament types: Ladder, Round Robin with Knockout. More on tournament types.
- Location – Set where tournaments will be held. Examples: City, Gaming centre, Website, IP address. Whatever you need.
- Platform – Set which device your tournament will. Be played on e.g. Playstation 4, Xbox One, PC etc
- Participants – Who will be able to join, users or teams?
- Game format – How many rounds will be played per match. Choose one of 5 formats, from best of 1 (single round) to best of 5 (5 rounds per map).
- Game frequency – This is a time between matches. You can set it from 15 minutes up to one match per month.
- Tournament frequency – How often will this tournament occur? Will it be daily, weekly, monthly or yearly one? Use your cron command for recreating tournament. If you want to have one time tournament, just leave this setting as it is.
- Maps – Choose which map will be played on the tournament. Maps can be set under wp-admin > TeamWars > Games > Maps
If the game has only one map, it will be used as the default one. In case there are more maps, you will be able to choose. - Prizes – Set your prizes if there are some. You can have 1st place, 2nd place etc
- Regulations – Additional tournament regulations and information. You can add more fields to provide as much details as you need to your users.
Note: The premium tournaments button will only be usable if you have purchased the premium tournaments plugin.
You are ready to publish the tournament and wait for teams/users to Join.
The following image is an example. Please note that tournament images you see are determined by the selected game:

Gaming Theme comes with Knockout tournaments as the theme default
Tournament types
Gaming Theme currently has 4 supported tournament types: Knockout, Ladder, Round Robin + Knockout and League. Knockout is included in theme itself, while others are part of our premium plugin. As soon as tournament start time occurs, brackets are generated. You need at least 3 participants to generate brackets.
Knockout – standard tournament
The simpliest tournament type. Winner of a match goes to the next round. Tournament is over when last pair of participants play their match.
League – premium tournament
As soon as tournament starts, table and match schedules will be generated. Participant will have two matches against every other participant (home and away). Win gives 3 points, Draw gives 1 points, Defeat gives no points. Once everyone finish their matches, theme will declare a winner by total earned points.
Round Robin + Knockout – premium tournament
This tournament type is combination of League and Knockout tournaments. First we have a league part, and once we finish it, theme generate playoff brackets in form of knockout. The number of participants in knockout phase depends on tournament participants number.
Ladder – premium tournament
Ladder are unique as they don’t have a pre-determined end point. The tournament ends when the tournament creator presses the STOP button. The goal of a ladder is to get to the top by challenging participants above you, and defending yourself from those beneath you. The challenge range can be defined in theme options > tournaments > ladder challenges. If its set to 2 (default) it means that you can challenge up to 2 positions above you, and get challenged by those 2 positions below. If Position 5 challenges Position 3 and wins, they switch positions. In case Position 3 wins, they stay in same positions. There are also charges for challenge and decline. Each time you challenge someone, you lose one challenge charge. Also if you decline someones challenge, you lose one decline charge. You get new set of charges every 24h, and they are not cumulative. If a player doesn’t have any decline charges left, but he gets challenged, if he doesn’t accept the challenge within the specific time period, the theme will consider that as a forfeit, and he will switch places with the challenger.
Pay to Join
This plugin enables you to create a tournaments which can’t be entered without paying fee. Create any type of tournament as explained and you can switch its state to premium by pressing this button:

Blocks with premium status will have this info on the top:

Same thing will be available in tournament page:

Next thing what you need to do is connecting tournament with some WooCommerce product. In order to make one, you need to visit wp-admin > products > add new. Once new product page is displayed, enter Product name (for example Tournament title), and start editing Product data:

More info about Product data here:
- Product data – You need to select Pay To Join.
- Regular price ($) – This is price of a product.
- Sale price ($) – This is price of a product on a sale. This one is not required, but you can schedule discounts for New Year, Black Friday or similar events.
- Tournament ID – Fill this field only in case you are making this product for single tournament. Tournament ID can be found in wp-admin > TeamWars > Tournaments. Hover over tournament and you will see its ID in this link:

- For example, ID for Smite World Championship 2016 is 2302.
- Game ID – If you want to make a product for accessing all tournaments which play the same game, you can enter this Game ID. Game ID can be found in the similar way as tournament ID. Go to wp-admin > TeamWars > Games, and hover over tournament and you will see its ID in this link:
For example, ID for Smite game is 7. - Expire days – After how many days will premium expire. Works only with Membership and Game ID fields.
IMPORTANT : This is not stackable. If you purchase today a product which expires in 10 days, and tomorrow you purchase it again, you won’t get 20 days. You will get 10 days since last purchase. - Membership – Check this Join any tournament box to enable users who purchase this product to join all premium tournaments.
Assign premium to specific user:
In case you want to set some user as premium for free (like some reward or similar), you can go to wp-admin > Users > Edit user > Find following checkbox > Save changes::

As you can see, you can set one or more tournaments where he will have access.
Team Wars
Team Wars is the most unique feature of the Current Gaming Functionality theme. It lets your users register on your website, create and manage teams and their members, and, most importantly, challenge other teams!
The website admin (you) has to do some setup before your users can use every feature of Team Wars. Follow the guide below to setup your Current Gaming Functionality website for Team Wars!
- Install BuddyPress WordPress plugin by going to Appearance -> Install Plugins section of your WordPress admin panel.
- Setup BuddyPress with the following components:

- Create pages with the ‘All teams’ and ‘All matches’ page templates (page creation guide) and include them in your menu
- Optional: install bbPress WordPress plugin if you want to have a forum functionality on your website. Forums will be integrated into user profiles – when viewing a user profile your users will be able to see forum topics created by the user. Head on to Forums section to learn more.
- Create Team Wars games and maps:
- Games and maps can be managed in Team Wars section of your WordPress admin panel.
- Only the website admin (you) has privileges to create games and maps so you have to set them up before your users can add games to their team profiles and your users teams can challenge each other in these games.
- Games can be created by going to Team Wars -> Games -> Add New section in your admin panel.
- Once you create a game, go back to Team Wars -> Games, and under the game that you’ve just created – select the Maps links. From here you can choose Add New to add new map.

Once this initial setup is done, your users will be able to enjoy all features that Current Gaming Functionality has to offer!
From now on, the rest of this guide will focus entirely on the frontend of your website, unless noted.
Creating teams
A team can be created using the Create a team button in the profile drop down menu. Each user can create any number of teams, and can be a member to any number of teams created by others.

To create a team, you are required to fill in some basic information using the Team Creation form.
- Team Name –The name of your team that will be displayed to other users
- Team Games – The games you want your team to be able to participate in
- About Section – A section to write a brief description about your team
- Team Logo/Banner – You can upload an image to use on your team’s profiles
- Platforms – Which devices (PlayStation 4, PC etc) your team will play on
- Team Location – The country your team is based in
- Team Language – The primary language your team uses for communication e.g English, French, German etc
- Socials – Any social media links for your team you want to include for either promotional or communication purposes

Becoming a member of another team
Every user has a possibility to become a member of another team. To do that, visit another team’s page and click the Request to join button.
Once the request is sent, the team’s admin will see your request on his team’s ‘Members’ page. Team admin can then accept or refuse the request.

Team administrators
Team admins can designate other team users for administrator role. This can be done from the team’s ‘Members’ tab.

Keep in mind that only one user (the original team creator) can be a Super Admin of the team. Only Super Admins can manage team’s page and settings.
Matches
Challenging other teams for a match!
Each team can challenge any other team (that plays the same game) for a match. To do that, a member of one team has to visit another team’s page and click the Challenge *team name button. Once the challenge has been sent, it will appear in another team’s Matches tab, where that team’s user can either accept or refuse the challenge.

Once the challenge has been accepted, the match will appear in both teams’ Matches tab.
Once the match expires, users of a team that took part in that match will be able to input the score for that match. The score has to be accepted by the opposing team – only then it will be displayed for everyone to see.
Reporting / Flagging matches
Every user can report / flag a match. This can be done by clicking the flag icon in the top-left corner of a match page.

Reported matches will only visible to the website administrator, in the WordPress backend. They will be marked in the Reported column in Team Wars -> Matches section of WP admin panel.

Website admin will then have a choice to lock the match:


For example, ID for Smite game is 7.
