PhantomBot Entertainment


#1

PhantomBot has an array of games that can be used. Here you’ll find a run-down of how to enable them, and how to use them.

The contents of this article includes configuration. Note that you can add cooldowns, command costs, permissions and more to all of these commands.
All the configuration can also be done without any commands with the built-in panel. {alert alert-info}


Slot Machine:

Slot Machine is a command which you can use to gamble points to have a chance of winning more points.

file

Enabling / Disabling

Enable

To enable Slot Machine, use the following command or enable it in the panel:

!module enable ./games/slotMachine.js

Disable

To disable Slot Machine, use the following command or enable it in the panel:

!module disable ./games/slotMachine.js

Usage

Basic Usage

!slot amount_of_points

Configuration

!slot [option] required_input

Options
  • rewards [prize 1] [prize 2] [prize 3] [prize 4] [prize 5] - Set Reward Values
  • emotes [emote 1] [emote 2] [emote 3] [emote 4] [emote 5] - Set Emotes Used in the slots

Kill:

The kill command offers a fun interaction to kill a person in chat, or yourself.

file

Enabling / Disabling

Enable

To enable Kill, use the following command or enable it in the panel:

!module enable ./games/killCommand.js

Disable

To disable Kill, use the following command or enable it in the panel:

!module disable ./games/killCommand.js

Usage

!kill [person_in_chat]

Configuration

!jailtimeouttime [seconds] - Adds a timeout when someone gets caught. Set to 0 to turn off.


Russian Roulette:

The Russian Roulette command is a small game where you either live, or die and get a temporary timeout.

file

Enabling / Disabling

Enable

To enable Russian Roulette, use the following command or enable it in the panel:

!module enable ./games/roulette.js

Disable

To disable Russian Roulette, use the following command or enable it in the panel:

!module disable ./games/roulette.js

Usage

!roulette

Configuration

!roulettetimeouttime [seconds] - Set time out time when a user dies.


Roll:

The roll command rolls two dice and gives you points if you roll doubles.

file

Enabling / Disabling

Enable

To enable Roll, use the following command or enable it in the panel:

!module enable ./games/roll.js

Disable

To disable Roll, use the following command or enable it in the panel:

!module disable ./games/roll.js

Usage

!roll

Configuration

!roll rewards [double 1] [double 2] [double 3] [double 4] [double 5] [double 6] - Set rewards for each set of doubles.


Random:

The random commands shows a random message each time.

file

Enabling / Disabling

Enable

To enable Random, use the following command or enable it in the panel:

!module enable ./games/random.js

Disable

To disable Random, use the following command or enable it in the panel:

!module disable ./games/random.js

Usage

!random


Magic 8-Ball:

Ask the magic 8-ball a question, and it will answer with it’s wise words.

file

Enabling / Disabling

Enable

To enable magic 8-ball, use the following command or enable it in the panel:

!module enable ./games/8ball.js

Disable

To disable magic 8-ball, use the following command or enable it in the panel:

!module disable ./games/8ball.js

Usage

!8ball [question]


Adventures:

Adventures are a bankheist equivalent. Bet some points and have a chance to win more back.

file

Enabling / Disabling

Enable

To enable adventures, use the following command or enable it in the panel:

!module enable ./games/adventureSystem.js

Disable

To disable adventures, use the following command or enable it in the panel:

!module disable ./games/adventureSystem.js

Usage

  • !adventure [points] - Normal usage of the adventures
  • !adventure top5 - Announce the top 5 adventurers in the chat (most points gained)

Configuration

!adventure set [option] <input>

Options
  • jointime [seconds] - Set the join time.
  • cooldown [seconds] - Set the cool down
  • gainpercent [value] - Set the gain percent
  • minbet [points] - Set the minimum bet
  • maxbet [points] - Set the maximum bet

Gamble:

Gamble some points with a chance to earn points. All you need to do is get close to a number!

file

Enabling / Disabling

Enable

To enable gambling, use the following command or enable it in the panel:

!module enable ./games/gambling.js

Disable

To disable gambling, use the following command or enable it in the panel:

!module disable ./games/gambling.js

Usage

!gamble [points]

Configuration

  • !gamblesetmax [points] - Set the maximum bet
  • !gamblesetmin [points] - Set the maximum bet
  • !gamblesetwinningrange [number_between_0_and_100] - Set the winning range.
  • !gamblesetgainpercent [value] - Set the gain percent on win.

Betting:

With betting you can enable users to bet on a certain outcome, and earn / lose points in the process.

Enabling / Disabling

Enable

To enable betting, use the following command or enable it in the panel:

!module enable ./systems/betSystem.js

Disable

To disable betting, use the following command or enable it in the panel:

!module disable ./systems/betSystem.js

Usage

Basic Usage

  • !bet [points] [option] - Bet on something when a bet has been opened.
  • !bet open ["title"] ["option1, option2, option3"] [minimum bet] [maximum bet] [close timer] - Open a bet with options. Only letters allowed, no numbers.
  • !bet close ["winning option"] - Finish the bet,

Configuration

  • !bet setminimum [points] - Set minimum bet.
  • !bet setmaximum [points] - Set maximum bet.