Card Draw - Randomly Draw Cards from a Custom Deck icon

Card Draw - Randomly Draw Cards from a Custom Deck -----

Draw cards from decks you make, like the standard 52 card deck!



Default config:
Code (YAML):
## If a player that has permission to draw a card
## can shuffle that deck
## If false the player will need "carddraw.shuffle.<deckname>"
## If anyone can shuffle they will also be able to shuffle
## when deck is not empty
anyone-can-shuffle
: false
## If the deck should shuffle as soon as it runs out
auto-shuffle
: false
## if true, cards will autoshuffle when deck is empty
## if above is true. even if player does not have permission
auto-shuffle-permissionless
: false
broadcast-shuffles
: false
commands
:
  ## Do not put /
  base
:
    ## Admin commands
    command
: "carddraw"
    aliases
:
     - "cd"
  draw
:
    ## Player command for drawing a card
    command
: "draw"
    aliases
:
     - "dr"
  shuffle
:
    ## Player/Admin command for shuffling a deck
    command
: "shuffle"
    aliases
:
     - "sh"

Default Decks file
Code (YAML):

## Name of the deck
## Used for permissions and command
## This would use carddraw.draw.52cards and /draw 52cards
## This should be lowercase, but can contain numbers
52cards
:
  ## If the deck should only have one of each card
  ## If this is false, the deck will grab a random card, regardless of if it's been drawn
  ## If true, the deck must run out and be shuffled before it can repeat a card
  unique-cards
: true
  ## If true, only the player will see what they drew
  ## If false, everyone sees what the player drew
  secret
: false
  cards
:
   - "&7Ace of Spades"
    - "&7Two of Spades"
    - "&7Three of Spades"
    - "&7Four of Spades"
    - "&7Five of Spades"
    - "&7Six of Spades"
    - "&7Seven of Spades"
    - "&7Eight of Spades"
    - "&7Nine of Spades"
    - "&7Ten of Spades"
    - "&7Jack of Spades"
    - "&7Queen of Spades"
    - "&7King of Spades"
    - "&8Ace of Clubs"
    - "&8Two of Clubs"
    - "&8Three of Clubs"
    - "&8Four of Clubs"
    - "&8Five of Clubs"
    - "&8Six of Clubs"
    - "&8Seven of Clubs"
    - "&8Eight of Clubs"
    - "&8Nine of Clubs"
    - "&8Ten of Clubs"
    - "&8Jack of Clubs"
    - "&8Queen of Clubs"
    - "&8King of Clubs"
    - "&4Ace of Hearts"
    - "&4Two of Hearts"
    - "&4Three of Hearts"
    - "&4Four of Hearts"
    - "&4Five of Hearts"
    - "&4Six of Hearts"
    - "&4Seven of Hearts"
    - "&4Eight of Hearts"
    - "&4Nine of Hearts"
    - "&4Ten of Hearts"
    - "&4Jack of Hearts"
    - "&4Queen of Hearts"
    - "&4King of Hearts"
    - "&cAce of Diamonds"
    - "&cTwo of Diamonds"
    - "&cThree of Diamonds"
    - "&cFour of Diamonds"
    - "&cFive of Diamonds"
    - "&cSix of Diamonds"
    - "&cSeven of Diamonds"
    - "&cEight of Diamonds"
    - "&cNine of Diamonds"
    - "&cTen of Diamonds"
    - "&cJack of Diamonds"
    - "&cQueen of Diamonds"
    - "&cKing of Diamonds"
villagechest
:
  ## If the deck should only have one of each card
  ## If this is false, the deck will grab a random card, regardless of if it's been drawn
  ## If true, the deck must run out and be shuffled before it can repeat a card
  unique-cards
: false
  ## If true, only the player will see what they drew
  ## If false, everyone sees what the player drew
  secret
: true
  cards
:
   - "&aAdvance to Boardwalk"
    - "&aAdvance to Go (Collect $200)"
    - "&aAdvance to Illinois Avenue. If you pass Go, collect $200"
    - "&aAdvance to St. Charles Place. If you pass Go, collect $200"
    - "&aAdvance to the nearest Railroad. If unowned, you may buy it from the Bank. If owned, pay wonder twice the rental to which they are otherwise entitled"
    - "&aAdvance to the nearest Railroad. If unowned, you may buy it from the Bank. If owned, pay wonder twice the rental to which they are otherwise entitled"
    - "&aAdvance token to nearest Utility. If unowned, you may buy it from the Bank. If owned, throw dice and pay owner a total ten times amount thrown."
    - "&aBank pays you dividend of $50"
    - "&aGet Out of Jail Free"
    - "&aGo Back 3 Spaces"
    - "&aGo to Jail. Go directly to Jail, do not pass Go, do not collect $200"
    - "&aMake general repairs on all your property. For each house pay $25. For each hotel pay $100"
    - "&aSpeeding fine $15"
    - "&aTake a trip to Reading Railroad. If you pass Go, collect $200"
    - "&aYou have been elected Chairman of the Board. Pay each player $50"
    - "&aYour building loan matures. Collect $150"

Default Messages file
Code (YAML):
prefix : "&e[&5Card Draw&e] "
no-permission
: "&cYou do not have permission to do that!"
deck-shuffled
: "&e%deck% has been shuffled by %player%"
draw-card
: "&e%player% drew from &a%deck%&e: %card%"
no-shuffling
: "&eThis deck doesn't need to be shuffled!"
help
:
 - "&eCard Draw &a- &eThe Supreme Card Drawing solution"
  - "&e/%base-command% &a- &eBase command for reloading and help menu"
  - "&e/%draw-command% &a- &eDraw a card from a deck"
  - "&e/%shuffle-command% &a- &eShuffle a deck"
invalid-use
: "&cInvalid usage! Use /%command% <deck>" ## Will list decks after
console-cannot
: "Console cannot use this command!"
empty-deck
: "&cThat deck is empty! Get someone to shuffle it!"
reload-message
: "&aReload complete!"
Resource Information
Author:
----------
Total Downloads: 84
First Release: Feb 9, 2022
Last Update: Feb 9, 2022
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.inamine.me...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings