TradingCards

7.4k Downloads

TradingCards!

With this plugin, you can collect Trading cards through a variety of different ways. From mob drops to spending time on the server. You can collect them and trade them with your friends! There are card binders that you can store your cards in! The lore of the card binders will automatically update to show you how many cards are in each binder.

UPDATE v1.0.4 has Default Cards!

WARNING

If you are using NoLagg, make sure you either disable item stacking or exclude BOOK and PAPER from being stacked. Otherwise, users will be able to stack multiple cards together to get a whole stack of one card.

GITHUB - Please check out the Github for source code and to track progress on updates!


1.1 Planned

  • Crafting perms
  • Block card drops
  • Card Decks
  • Economy support
  • Per-Mob drop chances
  • If you have more suggestions add them HERE.

Bleeding Edge/Testing

For Bleeding edge builds, contact me on skype: travja4 and make sure that you include TradingCards in your invite request :D


Crafting

This is how to craft a card binder:

Card Binder

Quote from Travja:

NOTE: To craft say a Card Binder 2, simply put a Card Binder 1 and a regular book inside a crafting table, this will create a Card Binder 2. For 3, put in a 2 and a book. So on! :D

This is how to craft cards of varying rarities:

Cards


Have a feature request?

Add it here: https://github.com/travja/TradingCards/issues

Commands

Commands are as follows:

  • /tc help - Displays help page!
  • /tc list - Shows a list of available cards
  • /tc create <Card Name> <Type> <Series> <Attack> <Defense> <Rarity> [Details] - Creates a new card!
  • /tc edit <Card Name> <Property> <Property Value> - Edits the card, properties are Type, Series, ATK, DEF, Rarity, and Details
  • /tc delete <Card Name> - Deletes the given card! THIS REMOVES ALL DATA FROM THE CARD AND YOU CAN NO LONGER USE IT!
  • /tc rename <Card Name> <New Name> - Renames the new card!
  • /tc reload - Reloads the plugin!
  • /tc give <Card Name> - Gives you the specified card!
  • /tc giveaway - Gives all online players a random card!

Permissions

Permissions are:

  tradingcards.*:
    description: Gives full access to trading cards
    default: op
    children:
      tradingcards.reward: true
      tradingcards.give: true
      tradingcards.giveaway: true
      tradingcards.create: true
      tradingcards.rename: true
      tradingcards.delete: true
      tradingcards.reload: true
  tradingcards.reward:
    description: Gives ability to get card every x hours
    default: true
  tradingcards.give:
    description: Gives ability to use /tc give <name>
    default: op
  tradingcards.giveaway:
    description: Grants access to /tc giveaway
    default: op
  tradingcards.create:
    description: Grants access to /tc create
    default: op
  tradingcards.rename:
    description: Grants access to /tc rename and /tc edit
    default: op
  tradingcards.delete:
    description: Grants access to /tc delete
    default: op
  tradingcards.reload: #Coming SOON! :D
    description: Grants access to /tc reload
    default: op

Configuration

Configuration is as follows:

# default config.yml
#################################################
# \/\/\/\/ This is all you should really care about!
#Cards:
#  List:
#  - Pikachu
#  - Pika
#  Rarity:
#    Common:
#    - Pikachu
#    Uncommon:
#    - Pika
#  defaults:   # After creating cards, this is a list of cards that will automatically show up in a players binder
#  - Pikachu
#  - Pika
#################################################
Reward:
  # How often all online players should be given a card (Minutes)
  Time: 60
  # What rarity of card should be given
  Rarity: Common
# When using programmed crafting item, this rarity of card should be crafted
# You can add say Apple and a rarity and then can use Apples to craft
# You MUST make the first letter capital and the following lowercase
Crafting:
  Leather: Common
  Iron_ingot: Uncommon
  Gold_ingot: Rare
  Diamond: Ultra-Rare
# % out of 100 that a card will drop from the mob, and then what type of mob will drop what rarity of card.
Drops:
  Hostile:
    Chance: 5
    BLAZE: Ultra-Rare
    CAVE_SPIDER: Uncommon
    CREEPER: Rare
    GHAST: Ultra-Rare
    MAGMA_CUBE: Rare
    SILVERFISH: Uncommon
    SKELETON: Common
    SLIME: Uncommon
    SPIDER: Common
    WITCH: Ultra-Rare
    WITHER_SKELETON: Rare
    ZOMBIE: Common
  Neutral:
    Chance: 10
    ENDERMAN: Rare
    PIG_ZOMBIE: Uncommon
    WOLF: Uncommon
  Passive:
    Chance: 3
    BAT: Uncommon
    CHICKEN: Common
    COW: Common
    MUSHROOM_COW: Rare
    PIG: Common
    SHEEP: Common
    SQUID: Common
    VILLAGER: Common
  Bosses:
    Chance: 100
    ENDER_DRAGON: Ultra-Rare
    WITHER: Ultra-Rare
# DEFAULT CARDS, You can add to this for your own cards or use the in-game commands!
Cards:
  List:
  - Ponyta
  - Charmander
  - Beldum
  - Pidgey
  - Regigigas
  - Gyarados
  - Seel
  - Pikachu
  - Kabutops
  Rarity:
    Common:
    - Ponyta
    - Charmander
    - Pidgey
    - Seel
    - Pikachu
    Rare:
    - Regigigas
    Ultra-Rare:
    - Gyarados
    Uncommon:
    - Beldum
  Ponyta:
    Type: Fire
    Series: 2007
    ATK: '30'
    DEF: '60'
    Rarity: Common
    Details: A Basic Fire Pokemon
  Charmander:
    Type: Fire
    Series: 2008
    ATK: '30'
    DEF: '50'
    Rarity: Common
    Details: A Basic Fire Pokemon
  Beldum:
    Type: Metal
    Series: 2007
    ATK: '30'
    DEF: '50'
    Rarity: Uncommon
    Details: A Basic Metal Pokemon
  Pidgey:
    Type: Normal
    Series: 2007
    ATK: '20'
    DEF: '50'
    Rarity: Common
    Details: A Basic Normal Pokemon
  Regigigas:
    Type: Normal
    Series: 2008
    ATK: '60'
    DEF: '100'
    Rarity: Rare
    Details: A Rare Normal Pokemon
  Gyarados:
    Type: Water
    Series: 2006
    ATK: '80'
    DEF: '90'
    Rarity: Ultra-Rare
    Details: A Ultra-Rare Water Pokemon, Weak to electricity
  Seel:
    Type: Water
    Series: 1995
    ATK: '10'
    DEF: '60'
    Rarity: Common
    Details: A Basic Water Pokemon
  Pikachu:
    Type: Electricity
    Series: 2008
    ATK: '40'
    DEF: '70'
    Rarity: Common
    Details: A Basic Electric Pokemon
  Kabutops:
    Type: Electricity
    Series: 2006
    ATK: '40'
    DEF: '100'
    Rarity: Ultra-Rare
    Details: Very Rare Electric Pokemon
  defaults:
  - Charmander
  - Pidgey
  - Seel

If you want more awesome plugins, be sure to hit this button

Donate!

More information will be added as Development increases! For now, post your suggestions! :D