====== Community Made Mini-Games ======
**Important: Community Made Mini-Games are all community built commands and are **NOT** Officially Supported by Deepbot.**\\
**Important: Community Made Mini-Games do have VIP Only Custom Command Variables in them.**\\
**Important: If commands that require an API are spammed more then 40 times per minute the api may blacklist you for 24 hours!**\\
**Newest Updates** 13th September 2020\\
**Best Version** 0.12.0.7
**Note:** Make sure to follow the setup steps under each mini-game, otherwise the mini-game may not work. If you have any trouble setting up the mini-games, be sure to contact the user that made the mini-game.
**Guide on Importing Commands:** **[[import_and_export_commands|How to Import Commands]]**
* **[[custom_mini-games#Coin Flip| Coin Flip]]**
* **[[custom_mini-games#Defuse the Bomb|Defuse the Bomb]]**
* **[[custom_mini-games#Double or Nothing|Double or Nothing]]**
* **[[custom_mini-games#Fight|Fight]]**
* **[[custom_mini-games#Gamble|Gamble]]**
* **[[custom_mini-games#Hydrate|Hydrate]]**
* **[[custom_mini-games#Jenga|Jenga]]**
* **[[custom_mini-games#Lottery|Lottery]]**
* **[[custom_mini-games#Slots|Slots]]**
* **[[custom_mini-games#Steal|Steal]]**
* **[[custom_mini-games#Trial|Trial]]**
----
=== Coin Flip ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
The command below allows users to flip a coin.
== Setup ==
*1. Create one Folder inside your Deepbot Folder **->** Custom Logs Folder named "CoinFlip"
*2. Create a second folder inside the "CoinFlip" folder named "Cooldown"
*3. Create a text file inside the "Cooldown" folder named "limit"
*4. Put the number of seconds you want for the cool down in the "limit" text file.
== Command ==
* !heads or !tails [amount] - Initial Command for users. Users chooses between heads or tails along with an amount of points to risk. Example: !heads 10
**Update (5th November 2016):** Fixed the amount you win or lose to be the same as you bet.\\
**Update (9th November 2016):** Fixed to tell users to put the amount after the command.\\
**Update (1st January 2018):** Removed the number check api to use *@isnumber@*.\\
[[https://api.chandler-gaming.com/bot/commands/coinflip.txt|Download Json]]
----
=== Defuse the Bomb ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
Below is a custom mini-game that was built by LordNazo but I have changed it to make it a bit more advance and has a per user cool down on it.
== Setup ==
*1. Create one Folder inside your Deepbot Folder **->** Custom Logs Folder named "Defuse"
*2. Create a text file inside the "Defuse" folder named "limit"
*3. Put the number of seconds you want for the cool down in the "limit" text file.
== Command ==
* !defuse - Initial Command for users. Users can choose red, white or yellow wire. Example: !defuse red
**Update (20th October 2016):** Fixed the api being used so its not always lose.\\
**Update (1st January 2018):** Removed the number check api to use *@isnumber@*.\\
[[https://api.chandler-gaming.com/bot/commands/defuse.txt|Download Json]]
----
=== Double or Nothing ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
The command below gives users a chance to double their points or lose them all! The code supplied has a 25% chance to lose and 75% chance to win!
== Command ==
* !don - Initial Command for users. Example: !don
**Update (1st January 2018):** Removed the number check api to use *@isnumber@*.\\
[[https://api.chandler-gaming.com/bot/commands/don.txt|Download Json]]
----
=== Fight ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
**Version:** 1.0.6\\
== Setup ==
*1. Run the !fightinstall Cmd to make the folders and text files required for this minigame. Location custom logs\Fight.
*2. Put the number of seconds you want for the cool down in the "limit" text file.
*3. Put the a number in the "max" text file for the Max win/lose amount.
*4. Put the a number in the "min" text file for the min win/lose amount.
*5. In both weapon files you put a list if weapons to fight with. one per line
== Command ==
* !fight - Initial Command for users. Example: !fight ExpertsOnline
* !updatefight - Initial Command for streamer this will change the Min Max amounts. Example: !updatefight 100 10000
**Update (3rd March 2017):** Added a custom per user cooldown!\\
**Update (26th April 2020):** Added update checker, added new install cmd, added min max bet files, removed cooldown api and updated to new @datetime@[#] for cooldown output.\\
**Update (22nd July 2020):** Fixed the !fight all to not work, can now do !fight @name and can't fight yourself\\
**Update (5th September 2020):** Making use of the new per user cooldown built into the bot V0.11.5.38 required!\\
**Update (13th September 2020):** Added Overlay for streaming program. URL http://chandler-gaming.com/PHP/fight/Fight.html Width=600 Hight=160 If you need you can make the width bigger to fit larger names. Text will always be centred.\\
[[https://api.chandler-gaming.com/bot/commands/fight.txt|Download Json]]
----
=== Gamble ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
**Version:** 1.0.5\\
== Setup ==
*1. Run the !gambleinstall Cmd to make the folders and text files required for this minigame. Location custom logs\Gamble.
*2. Put the number of seconds you want for the cool down in the "limit" text file.
*3. Put the max bet amount you want in the BetLimit text file.
== Command ==
* !gamble - Initial Command for users. Users can gamble their points. Example: !gamble 1000 (Default Maximum Point Limit: 1000)
**Update History:**\\
**Update (4th January 2017):** Fixed error with number check to escape non numbers.\\
**Update (11th February 2017):** Fixed command not remove double when they gamble.\\
**Update (27th February 2017):** Fixed command to take the points on lose and not just saying it is.\\
**Update (1st January 2018):** Removed the number check api to use *@isnumber@*.\\
**Update (3rd August 2019):** Added Update checker, added new install cmd, added max bet limit text file and cmd.\\
**Update (16th Marth 2022):** You can now do !gamble ALL just make sure to set limit file to "all"\\
[[https://api.chandler-gaming.com/bot/commands/gamble.txt|Download Json]]
----
=== Hydrate ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
The command below is a fun command to tell the streamer to drink something.
**Note**: Every time a user runs the command, it will cost them 50 points. It will reward them if they "hydrate" successfully.
== Command ==
* !hydrate - Initial Command for users.
[[https://api.chandler-gaming.com/bot/commands/hydrate.txt|Download Json]]
----
=== Jenga ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
**Version:** 1.0.1\\
The command below is a fun command to try and not knock over the jenga tower.
== Setup ==
* 1. Run the !installjenga Cmd to make the folders and text files required for this minigame. Location custom logs\Jenga.
* 2. Put the amount you want people to win and lose in the wincost.txt & lostcost.txt files in the Jenga folder.
== Command ==
* !jenga - Initial Command for users.
* !jengastats - Check your stats with this command - you can check other users stats by added their name after the command Eg !jengastats ianchandler1990
[[https://api.chandler-gaming.com/bot/commands/jenga.txt|Download Json]]
----
=== Lottery ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
**Version:** 1.0.1\\
== Setup ==
*1. Run the !Lotteryinstall Cmd to make the folders and text files required for this minigame. Location custom logs\Lottery.
*2. Put the number of seconds you want for the cool down in the "limit" text file.
== Command ==
* !lottery - Initial Command for users. Users chooses a number between 1-50. Example: !lottery 10
**Update History:**\\
**Update (19th January 2017):** Fixed Ian Chandler version to not allow any of the numbers to match.\\
**Update (1st January 2018):** Removed the number check api to use *@isnumber@*.\\
**Update (4th August 2019):** Added Update checker, added new install cmd, added max bet limit text file and cmd.\\
[[http://api.chandler-gaming.com/bot/commands/lottery.txt|Download Json]]
----
=== Slots ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]**\\
**Version:** 1.0.1\\
The command below is for a slots that gives 3 icons then gives points on how many are matching!
**Important**: Icons may not work if twitch removes them so if that happens please let me know!
== Setup ==
*1. Run the !slotsinstall Cmd to make the folders and text files required for this minigame. Location custom logs\SlotsAdvance.
*2. Put the number of seconds you want for the cool down in the "limit" text file.
*3. Put the max bet amount you want in the BetLimit text file.
*4. If you want to setup custom emotes, you will need to edit the text files in SlotsAdvance\emotes
*A. Inside each text file put a list of emotes you want. **Note**: Each Emote should be on a new line of the text file.
=== Command ===
* !slots - Initial Command for users.
**Update History:**\\
**Update (4th August 2019):** Added Update checker, added new install cmd, added max bet limit text file and cmd.\\
**Update (3rd September 2019):** Fixed Point cost of cmd.\\
[[https://api.chandler-gaming.com/bot/commands/slotsadvance.txt|Download Json]]
=== Bolt-On ===
Additional functionality that can be added to the slots command can be found below.\\
Please note: If the original command receives an update and you import this into Deepbot, you will have to re-import the commands below as they, by their very nature, will not function
**Name:** Starting Jackpot On Win\\
**Creator:** Koning_Pendragon\\
**Description:** Instead of the jackpot being reset to 0 on a jackpot, this will instead make the jackpot be 100 x amount of successful runs since last reset\\
**Link:** TO EDIT
----
=== Steal ===
----
Credits: RepentGamingTV\\
This mini-game allows users to steal from a random user in the stream. (Note: It can target yourself.)
== Setup ==
*1. Create one Folder inside your Deepbot Folder **->** Custom Logs Folder named "Steal"
*2. Create a text file inside the "Steal" folder named "limit"
*3. Put the number of seconds you want for the cool down in the "limit" text file.
== Command ==
* !steal - Initial Command for users.
**Update (12th October 2016):** Fixed command spelling error.\\
**Update (15th October 2016):** Fixed bug where it didn't display the amount stolen from someone correctly.\\
**Update (21th October 2016):** Fixed a few of the commands to allow it for you to chose the text for when it trades points from one user to the other. also meaning less commands\\
**Update (19th December 2016):** Fixed so you can't steal if you don't have enough currency.\\
[[https://api.chandler-gaming.com/bot/commands/steal.txt|Download Json]]
----
=== Trial ===
----
Credits: **[[https://www.twitch.tv/ianchandler1990|Ian Chandler]]** idea by KittyChaos\\
The command below is a game at which you put a user or random user on a trial, and everyone in stream can vote if they are innocent or guilty. The command can only be ran by the Streamer or a Mod.
**Note**: The user who is on trial will win points, lose points, or timed out depending on if they are found innocent or guilty.
== Setup ==
*1. Create one Folder inside your Deepbot Folder **->** Custom Logs Folder named "Trial"
*2. Create one Folder inside the "Trial" folder named "game".
== Command ==
* !trial - Initial Command for users. Example: !trial ExpertsOnline or !trial (Without a name, it will do a random user in the stream)
[[https://api.chandler-gaming.com/bot/commands/trial.txt|Download Json]]
----