A RPG bot, with a working inventory, market and economy, team setups and characters aswell. Each user has a server unique inventory and balance. Players may list items on a market for other users to buy. Users may create characters with teams from Pet in their storage box. Server administrators may add and give items to the server and its users. Pet boxes and server configurations.
Made by @henry#8966
- @wRadion#5043 https://github.com/wRadion
- @henry#8966 (Me) https://github.com/henry232323
- https://github.com/youqad
- https://github.com/Philip-Nicolas
- All bot icons used were made by @MOSE-FR#5388
- Also thanks to @Volgrim Evrazasvae#5252
- Characters Commands
- allchars
- character
- character alias
- character assume
- character create
- character delete
- character edit
- character remattr
- character removealias
- character unassume
- characters
- chareco
- chareco givemoney
- chareco pay
- chareco setbalance
- chareco takemoney
- charinv
- charinv craft
- charinv give
- charinv giveitem
- charinv takeitem
- charinv use
- Economy Commands
- Groups Commands
- guild
- guild create
- guild delete
- guild deposit
- guild deposititems
- guild give
- guild givemoney
- guild info
- guild invite
- guild join
- guild kick
- guild leave
- guild setdescription
- guild seticon
- guild setimage
- guild setmod
- guild take
- guild takemoney
- guild toggleopen
- guild transfer
- guild withdraw
- guild withdrawitems
- guilds
- Inventory Commands
- Mapping Commands
- Misc Commands
- Pets Commands
- Salary Commands
- Settings Commands
- Team Commands
- User Commands
Description: List all guild characters
Usage:
rp!
Description: Get info on a character. Example: rp!c Hank
Usage:
rp!<name>
Description: Create an alias for a character. Example: rp!c alias Tom Tom Hanks This will make the name Tom point to the name Tom Hanks
Usage:
rp!<alias_name> <character_name>
Description: Assume a character. You will send messages with this character's icon and name. Necessary for some character inventory and economy commands. Lasts one day
Usage:
rp!<name>
Description: Create a new character Example: Henry: rp!character create Bobby Hill RPGBot: Member "Hill" not found. If this is unexpected, please report this to the bot creator Henry: rp!character create "Bobby Hill" RPGBot: Describe the character (Relevant character sheet) (Say done when you're done describing) Henry: He's a little round, but he's a good boy Henry: done RPGBot: Any additional info? (Add a character image using the image keyword or use the icon keyword to give the character an icon. Formats use regular syntax e.g. image: http://example.com/image.jpg, hair_color: blond, nickname: Kevin (Separate keys with commas or newlines) Henry: Hair Color: Blonde Body Type: Round Father: Hank Hill image: https://i.ytimg.com/vi/mPCEODZSotE/maxresdefault.jpg icon: https://vignette.wikia.nocookie.net/kingofthehill/images/c/c7/Bobby.png/revision/latest?cb=20150524012917 RPGBot Character created!
Usage:
rp!<name> [user]
Description: Delete a character of the given name (you must be the owner or be a Bot Mod / Bot Admin)
Usage:
rp!<name>
Description: Edit a character Usage: rp!character edit John description John likes bananas! Valid values for the [item] (second argument): name: the character's name description: the description of the character level: an integer representing the character's level meta: used like the additional info section when creating; can be used to edit/remove all attributes Anything else will edit single attributes in the additional info section Bot Moderator or Bot Admin are required to edit other people's characters
Usage:
rp!<name> <attribute> <value>
Description: Delete a character attribute Usage: rp!character remattr John hair color
Usage:
rp!<name> <attribute>
Description: Remove an alias Example: rp!c removealias Tom Only character owners may remove the aliases of their characters.
Usage:
rp!<alias_name>
Description: Unassume a character
Usage:
rp!<character>
Description: List all your characters
Usage:
rp![user]
Description: Check your or another character's balance
Usage:
rp![name]
Description: Give the character's money (Moderators)
Usage:
rp!<amount> [names...]
Description: Pay another character money
Usage:
rp!<amount> <other>
Description: Set the balance of the given members to an amount
Usage:
rp!<amount> [names...]
Description: Take the character's money (Moderators)
Usage:
rp!<amount> [names...]
Description: Check your or another character's inventory. Example: rp!cinv Name or just rp!ci
Usage:
rp![name]
Description: Craft a recipe with a given name from the available server recipes; e.g. rp!craft 5 Apple Pie
Usage:
rp!<number> <name>
Description: Give items ({item}x{#}) to a character; ie: rp!ci give Name Pokeballx3
Usage:
rp!<other> [items...]
Description: Give an item to a character (Not out of your inventory) Example: rp!ci giveitem Banana 32 Char1 Char2 Char3
Usage:
rp!<item> <num> [names...]
Description: Remove an item from a character's inventory
Usage:
rp!<item> <num> [names...]
Description: Use an item. Example
rp!use Banana
orrp!use Banana 5
To make an item usable, you must put the keyused: <message>
when you are adding additional information for an item
Usage:
rp!<item> [number=1]
Description: Get the top 10 server balances
Usage:
rp!
Description: Deposit
amount
into the bank. Example: rp!bank deposit 500.3
Usage:
rp!<amount>
Description: Withdraw
amount
from the bank Example: rp!bank withdraw 499
Usage:
rp!<amount>
Description: Place a bid on the current bidding item in the channel.
rp!bid 5
Usage:
rp!
Description: Check your or another users balance. Example: rp!e @Henry#6174 Will not display others' balances if inventory hiding is enabled.
Usage:
rp![member]
Description: Give the member's money Example: rp!givemoney 5000 @Henry#6174 @JohnDoe#0001 Example: rp!givemoney 50 everyone (or @everyone) Requires Bot Moderator or Bot Admin
Usage:
rp!<amount> [members...]
Description: List the currently running lottos.
Usage:
rp!
Description: Cancel a lottery Example: rp!lotto cancel MyLotto Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: Enter the lottery with the given name. For example:
rp!lotto enter MyLotto
to join the lotto with the name MyLotto
Usage:
rp!<name>
Description: Create a new lotto, with jackpot payout lasting time in seconds. Requires Bot Moderator or Bot Admin For example:
rp!lotto create MyLotto 5000 3600
will create a new lotto called MyLotto (rp!lotto enter MyLotto to join), which has a jackpot of 5000 and lasts 1 hour (3600 seconds)
Usage:
rp!<name> <jackpot> <time>
Description: View the current market listings
Usage:
rp!
Description: Buy a listing from the player market. Example: rp!market buy CRP1I7 IDs for items can be found in rp!market
Usage:
rp!<id>
Description: Create a new market listing. The listing will return a unique identifier for the item. This is used to buy the item later. Example: rp!market list 500 12 Apple This will list 12 Apples from your inventory for $500
Usage:
rp!<cost> <amount> <item>
Description: Remove an item from the market
Usage:
rp!<id>
Description: Search the market for an item. Example: rp!market search Banana
Usage:
rp!<item>
Description: Pay another user money Example: rp!pay 500 @Henry#6174
Usage:
rp!<amount> <member>
Description: Set the balance of the given members to an amount Example: rp!setbalance 500 everyone Example: rp!setbalance 500 @Henry#6174 @JohnDoe#0001 Requires Bot Moderator or Bot Admin
Usage:
rp!<amount> [members...]
Description: Get all items currently listed on the server shop
Usage:
rp!
Description: Add an item to the server shop, to make an item unsaleable or unbuyable set their respective values to 0 rp!shop additem Pokeball -> 0 -> 10 Can be sold for 10 and cannot be bought. Must be an existing item (Use rp!settings additem first)! Requires Bot Moderator or Admin
Usage:
rp!<name>
Description: Buy an item from the shop
Usage:
rp!<item> <amount>
Description: Remove a listed item Example:
rp!shop remove Pokeball
Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: Sell an item to the shop Example: rp!shop sell Apple 5
Usage:
rp!<item> <amount>
Description: Start a bid for an item Example:
rp!startbid Banana 5 40
This will start a bid for 5 Bananas, starting at $40
Usage:
rp!<item> <amount> <startbid>
Description: Take the member's money Example: rp!givemoney 5000 @Henry#6174 Requires Bot Moderator or Bot Admin
Usage:
rp!<amount> [members...]
Description: Get info on a member's guild. Subcommands for guild management Example: rp!guild @Henry#6174 rp!guild
Usage:
rp![member]
Description: Create a new guild Example: Henry: rp!guild create MyGuild RPGBot: 'cancel' or 'skip' to cancel creation or skip a step Describe the Guild (guild description) Henry: This guild is super cool RPGBot: Is this guild open to everyone? Or is an invite necessary? (yes or no, no is assumed) Henry: yes RPGBot: If you'd like give a URL to an image for the guild Henry: https://i.ytimg.com/vi/mPCEODZSotE/maxresdefault.jpg RPGBot: Finally, you can also set an icon for the guild Henry: https://vignette.wikia.nocookie.net/kingofthehill/images/c/c7/Bobby.png/revision/latest?cb=20150524012917 RPGBot: Guild successfully created!
Usage:
rp!<name>
Description: Delete your guild. To delete a guild you do not own, you must have Bot Moderator or Bot Admin
Usage:
rp![name]
Description: Deposit an amount of money into the guild bank. To deposit into a guild are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp!<amount> [guild_name]
Description: Deposit items into the guild's storage, uses {item}x{#} notation Example: rp!guild deposititems Bananax5 Orangex10 To deposit into a guild you are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp![items...]
Description: Put items into the guild's storage, uses {item}x{#} notation. Does not take from inventory Example: rp!guild give MyGuild Bananax5 Orangex10 Requires Bot Moderator or Bot Admin
Usage:
rp!<name> [items...]
Description: Deposit an amount of money into the bank of a guild. Does not take from user's bank. Example: rp!guild givemoney MyGuild 500 Requires Bot Moderator or Bot Admin
Usage:
rp!<guild_name> <amount>
Description: Get info on a guild Example: rp!guild info MyGuild
Usage:
rp!<name>
Description: Invite a user your closed guild
Usage:
rp!<user>
Description: Join a guild. (if you have an invite for closed guilds)
Usage:
rp!<name>
Description: Kick a member from a guild.
Usage:
rp!<user>
Description: Leave your guild. Will ask you to delete your guild if you are the owner.
Usage:
rp!
Description: Set the guild's description (guild mods only)
Usage:
rp!<description>
Description: Set the guild's icon (guild mods only)
Usage:
rp!<url>
Description: Set the guild's image (guild mods only)
Usage:
rp!<url>
Description: Give the listed users mod for your guild (guild owner only)
Usage:
rp![members...]
Description: Take items from the guild. Does not take from inventory Example: rp!guild take MyGuild Bananax5 Orangex10 Requires Bot Moderator or Bot Admin
Usage:
rp!<name> [items...]
Description: Take money from the guild bank. Example: rp!guild takemoney MyGuild 500 Requires Bot Moderator or Bot Admin
Usage:
rp!<guild_name> <amount>
Description: Toggle the Guilds open state (guild owner only)
Usage:
rp!
Description: Transfer ownership of a guild to someone else (guild owner only)
Usage:
rp!<user>
Description: Take money from the guild bank (guild mods only) To withdraw from a guild you are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp!<amount>
Description: Withdraw items from the guild (guild mods only) Example: rp!guild withdrawitems Bananax5 Orangex10 To withdraw from a guild you are not a member of, you must have Bot Moderator or Bot Admin
Usage:
rp![items...]
Description: List guilds
Usage:
rp!
Description: Craft a recipe with a given name from the available server recipes; Example: rp!craft 5 Apple Pie
Usage:
rp!<number> <name>
Description: Give items ({item}x{#}) to a member Example: rp!give @Henry#6174 Pokeballx3 Orangex5
Usage:
rp!<other> [items...]
Description: Give an item to a person (Not out of your inventory) Example: rp!giveitem Banana 32 @Henry#6174 @RPGBot#8700 @JoeShmoe#3012 Requires Bot Moderator or Bot Admin
Usage:
rp!<item> <num> [members...]
Description: Check your or another users inventory. Example: rp!inventory @Henry#6174 or just rp!inventory
Usage:
rp![member]
Description: List the current lootboxes
Usage:
rp![name]
Description: Buy a lootbox of the given name Example: rp!lootbox buy MyLootBox
Usage:
rp!<name>
Description: Create a new lootbox, under the given
name
for the given cost Use {item}x{#} notation to add items with {#} weight Weight being an integer. Example: rp!lootbox create MyBox 500 bananax2 orangex3. The outcome of the box will be Random Choice[banana, banana, orange, orange, orange] The price can also be an item (or several items), for example rp!lootbox create MyBox Key bananax2 orangex3 or rp!lootbox create MyBox Keyx2 bananax3 orangex3 If you use 10 total items: Keyx3 Bananax4 Orangex3 There will be: - A 3/10 chance of getting a Key - A 3/10 chance of getting an Orange - A 4/10 chance of getting a Banana
Usage:
rp!<name> <cost> [items...]
Description: Delete a lootbox with the given name Example: rp!lootbox delete MyLootBox Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: See data on a specific recipe; Example: rp!recipe Banana
Usage:
rp!<name>
Description: Create a new recipe; Example > rp!recipe create Apple Pie >> What items must be consumed to follow this recipe? e.g. Applex5 Breadx2 > Applex5 Breadx15 "Pie Tinx1" >> What items will be given upon the completion of this recipe? e.g. "Apple Piex1" > "Apple Piex1" "Pie Tinx1" >> Successfully created new recipe!
Usage:
rp!<name>
Description: Delete the recipe with the given name; Example: rp!recipe delete Apple Pie Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: List all the available server recipes
Usage:
rp!
Description: Remove an item from a person's inventory Example: rp!takeitem Banana 5 @Henry#6174 @JohnDoe#0001 Requires Bot Moderator or Bot Admin
Usage:
rp!<item> <num> [members...]
Description: Send a trade offer to another user. Example: rp!trade @Henry Bananax3 Applex1 --Format items as {item}x{#}
Usage:
rp!<other> [items...]
Description: Respond to a trade offer by another user. Example: rp!inventory respond @Henry Grapex8 Applex1 --Format items as {item}x{#}
Usage:
rp!<other> [items...]
Description: Use an item. Example:
rp!use Banana
orrp!use Banana 5
To make an item usable, you must put the keyused: <message>
when you are adding additional information for an item. Example: Henry: rp!s additem Potion RPGBot: Describe the item (a description for the item) Henry: A potion RPGBot: Additional information? (...) Henry: used: The potion restored 500 health RPGBot: Item successfully created ... Henry: rp!use Potion 3 RPGBot: The potion restored 500 health Used 5 Potions
Usage:
rp!<item> [number=1]
Description: Wipe all listed inventories. Must be administrator. To wipe ALL inventories do
rp!wipeinv everyone
Usage:
rp![members...]
Description: See the server map
Usage:
rp!<name>
Description: Buy an item from the shop on the current tile
Usage:
rp!<mapname> <character> <amount> <itemname>
Description: Inspect the current tile a character is on
Usage:
rp!<mapname> <character>
Description: Create a map that will generate as it is explored. Set xmax and ymax to -1 for an infinite map ($5 Patrons only)
Usage:
rp!<mapname> <xmax> <ymax>
Description: Delete a map
Usage:
rp!<name>
Description: Move south on a map
Usage:
rp![name]
Description: Create a custom map for the guild. Usage:
rp!map create Earth 64 64
This will create a 64x64 map that will generate as the players explore it
Usage:
rp!<name> <xsize> <ysize>
Description: Move West on a map
Usage:
rp![name]
Description: Move East on a map
Usage:
rp![name]
Description: Move North on a map
Usage:
rp![name]
Description: Donation information
Usage:
rp!
Description: Give me some feedback on the bot
Usage:
rp!<feedback>
Description: Bot Info
Usage:
rp!
Description: Test the bot's connection ping
Usage:
rp!
Description: Roll a number of dice with given sides (ndx notation) Example: rp!rtd 3d7 2d4 Optional Additions: Test for success by adding a >/<# Grab the top n rolls by adding ^n Add to the final roll by just adding a number (pos or neg)
Examples of all:
rp!rtd 8d8 -12 15 ^4 >32
-> Roll failed (30 > 32) ([8 + 7 + 6 + 6] + -12 + 15) (Grabbed top 4 out of 8)
Usage:
rp![dice...]
Description: Displays my full source code or for a specific command. To display the source code of a subcommand you have to separate it by periods, e.g. tag.create for the create subcommand of the tag command.
Usage:
rp![command]
Description: Get totals of commands and their number of uses
Usage:
rp!
Description: Check the pet in your box
Usage:
rp![member]
Description: Subcommands for Pet management, see rp!help pet Same use as rp!box
Usage:
rp![member]
Description: Create a new Pet to add to your box
Usage:
rp!
Description: Edit a pet Usage: rp!pet edit 5 description John likes bananas! Valid values for the [item] (second argument): name: the character's name description: the description of the character level: an integer representing the character's level meta: used like the additional info section when creating; can be used to edit/remove all attributes Anything else will edit single attributes in the additional info section
Usage:
rp!<pet_id> <attribute> <value>
Description: Get info on a Pet
Usage:
rp!<id>
Description: Release a Pet from your box
Usage:
rp!<id>
Description: Offer a trade to a user.
your_id
is the ID of the Pet you want to give,their_id
is the Pet you want from them.other
being the user you want to trade with
Usage:
rp!<your_id> <their_id> <other>
Description: See server salaries
Usage:
rp!
Description: Get a role's salary. Also includes salary subcommands
Usage:
rp!<role>
Description: Collect your salary for all available roles
Usage:
rp!
Description: Create a daily salary for a user with the given role. The time interval is the interval which must pass before the user may collect the salary again, in seconds. If a role with a salary is deleted, the salary will also be deleted. For example
rp!salary create @Bot Creator 3600 500
Will create a salary of $500 for a user hourlyrp!salary create @Bot Creator 86400 Bananax3 Orangex4
Will create a salary of 3 Bananas and 4 Oranges for a user daily Requires Bot Moderator or Bot Admin
Usage:
rp!<role> <interval> [items_or_number...]
Description: Remove a created salary Requires Bot Moderator or Bot Admin
Usage:
rp!<role>
Description: Manually pay out salaries for a role or all roles Requires Bot Moderator or Bot Admin
Usage:
rp![role]
Description: Set the guild currency Requires Bot Moderator or Bot Admin
Usage:
rp!<currency>
Description: Set a time for messages to be automatically deleted after running in seconds.
rp!deleteafter 0
to make messages never be deleted Requires Bot Moderator or Bot Admin
Usage:
rp!<time>
Description: Set whether or not user inventories are hidden. If enabled, inventories will be sent via DMs. Requires Bot Moderator or Bot Admin
Usage:
rp!<value>
Description: Set the guild language or check the language Requires Bot Moderator or Bot Admin
Usage:
rp![language]
Description: This command will pre-load all D&D items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command will pre-load all D&D Magic items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command will pre-load all D&D items and make them available in shop Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command load all the items in the attached file. See an example file here: https://github.com/henry232323/RPGBot/blob/master/tutorial.md Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command will pre-load all D&D Magic items and make them available in shop Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command will pre-load all Pokemon items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command will pre-load all D&D items and make them available to give Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: This command will pre-load all Star Wars items and make them available in shop Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: View the current custom prefix for the server Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: View the current custom command prefixes for the server Requires Bot Moderator or Bot Admin
Usage:
rp!
Description: Set a custom prefix for a command. The default prefix will continue to work. Example: Henry: rp!setcmdprefix rtd / Henry: /1d20 RPGBot: Henry rolled Roll 9 ([9]) Requires Bot Moderator or Bot Admin
Usage:
rp!<cmdpath> <value>
Description: Set the server's custom prefix. The default prefix will continue to work. Example: rp!setprefix ! --> !setprefix rp! Requires Bot Moderator or Bot Admin
Usage:
rp!<value>
Description: Set the money start amount for a guild Requires Bot Moderator or Bot Admin
Usage:
rp!<amount>
Description: Get the current server settings
Usage:
rp!
Description: Add a custom item. Custom keys that can be used for special additions:
image
Setting this to a URL will give that item a special thumbnail when info is viewed for itused
A message for when the item is used Henry: rp!settings additem Example RPGBot: Describe the item (a description for the item) Henry: This is an example item RPGBot: Additional information? (Attributes formatted in a list i.e color: 400, value: 200 Set an image for this item with the image key i.e. image: http://example.com/image.png Set this item as usable by adding used key i.e. used: You open the jar and the bird flies away Henry: used: You used this item!, image: http://www.sourcecertain.com/img/Example.png RPGBot: Item successfully created Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: Get info on a server item
Usage:
rp!<item>
Description: See all items for a server
Usage:
rp![letter]
Description: Remove a custom item Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: Unload Pokemon, D&D, D&D Magic, or Star Wars items.
rp!unload {name}
where name is either dnd, dndmagic, pokemon or starwars Requires Bot Moderator or Bot Admin
Usage:
rp!<name>
Description: Set the server's setting for what to do when a player leaves. Set to true to wipe player data. Example: rp!setprefix ! --> !setprefix rp! Requires Bot Moderator or Bot Admin
Usage:
rp!<value>
Description: Check a character's team
Usage:
rp!<character>
Description: Add a Pet to a character's team
Usage:
rp!<character> <id>
Description: Remove a Pet from a character's team
Usage:
rp!<character> <id>
Description: Get your or another user's level information. Help on this command for experience subcommands EXP is calculated using a 0.1x^2+5x+4 where x is equal to the user's current level Spamming commands or messages will not earn more exp!
Usage:
rp![member]
Description: Give the given members an amount of experience
Usage:
rp!<amount> [members...]
Description: Disable EXP settings for a guild
Usage:
rp!
Description: Enable EXP settings for a guild
Usage:
rp!
Description: Set the given members level
Usage:
rp!<level> [members...]
Description: Get info on a user
Usage:
rp![user]