TradingCards
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:
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:

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
More information will be added as Development increases! For now, post your suggestions! :D

-
View User Profile
-
Send Message
Posted Jul 14, 2013I get this error about major and minor version that makes it completely unusable. I had the same problem with Postal and they said it was some problem with Java. and i use java 6. So...can you compile this plugin w/ java 6 or something?
-
View User Profile
-
Send Message
Posted Jul 14, 2013@travja
Error shows up everytime someone on the server opens up a crafting table
-
View User Profile
-
Send Message
Posted Jul 14, 2013@techdude23
Does the error always spam?
@ponester1
can you show me your config
-
View User Profile
-
Send Message
Posted Jul 14, 2013I made few cards, but when I try to make a binder, or the recipe with paper and the item inside, don't work, nothing comes out as an output, any ideas?
-
View User Profile
-
Send Message
Posted Jul 14, 2013@travja
Here's the config, I did a few " # " s to help me organize
http://pastebin.com/reKRm1Sm
And here's how I crafted it, just like the crafting recipe that you had on this page. For some reason the recipe worked today but the error still showed.
http://i.imgur.com/BlLrePS.png
-
View User Profile
-
Send Message
Posted Jul 13, 2013@techdude23
Can you show me your config.yml and how you are crafting it?
-
View User Profile
-
Send Message
Posted Jul 13, 2013@travja
hmm, still doesn't seem to be working. But i'm sure this'll resolve itself soon.
-
View User Profile
-
Send Message
Posted Jul 12, 2013@techdude23
looks like it should be fine.... I'll get a fix up soon, should work even with the error..
-
View User Profile
-
Send Message
Posted Jul 12, 2013this shows up in console whenever i go into a crafting table
And im not able to craft the Card Binder. All permissions are added into the group
-
View User Profile
-
Send Message
Posted Jul 12, 2013Was thinking the same thing, actual gameplay would be awesome, but difficult to implement. Perhaps just being able to play cards, without an entire game, would already be enough.
-
View User Profile
-
Send Message
Posted Jul 12, 2013@Joymo
yeah, I'll add /trc, current aliases are /tc, /tradingcards, and /tcards. As for recipies, are you saying like per card permissions? If so I'll add a toggleable per-card perm option in the config, then it'll hook into your perms plugin and see if you have tradingcards.craft.* or tradingcards.craft.cardname
@Doingit
Pretty much, I've provided the mechanics and ability to make and trade cards, your users can decide to do whatever with them. In the future I might make a way to battle cards. :)
-
View User Profile
-
Send Message
Posted Jul 12, 2013Is the idea then to make a shop where players can sell the cards?
-
View User Profile
-
Send Message
Posted Jul 12, 2013Cool plugin :)
Could you make /trc work as well? /tc overlaps with TerrainControl.
Also, could you please add permission nodes for the crafting recipes? As the recipes are so easy, will need a gazillion cards, or people will have complete sets in no time :<
-
View User Profile
-
Send Message
Posted Jul 12, 2013@Vahryx
Yeah, you have to make cards and specify their rarity, v1.1 will have some default cards.
-
View User Profile
-
Send Message
Posted Jul 12, 2013@Vahryx
I'm running 1.6.2 and can craft just fine aside from the errors. Just try putting in some vague parameters when you first make something like: 1 2 4 10 5 LORETEXT
Something to that effect, I don't remember all the parameters.
-
View User Profile
-
Send Message
Posted Jul 11, 2013I just got this plugin and i'm running it on my 1.6.2 bukkit server and I can't craft the recipes, is this because you havn't made it for 1.6.2 yet? Anyway great plugin :D
-
View User Profile
-
Send Message
Posted Jul 11, 2013@Debzy86
This is a weird bug... Does it all still work?? From the looks of it, it isn't setting up your player folders right... Could you please see if it's working, if it is, I'll see what I can do.
-
View User Profile
-
Send Message
Posted Jul 11, 2013Seems to be working but throwing up errors alot. You don't seem to have ticket function so I'll post it here! We're running craftbukkit1.6.2
2013-07-11 20:31:06 [SEVERE] Could not pass event InventoryCloseEvent to TradingCards v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:684) at net.minecraft.server.v1_6_R2.PlayerConnection.handleContainerClose(PlayerConnection.java:1160) at net.minecraft.server.v1_6_R2.Packet101CloseWindow.handle(SourceFile:17) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at me.Travja.TradingCards.InventoryL.close(InventoryL.java:214) at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
-
View User Profile
-
Send Message
Posted Jul 11, 2013@Gametista
I'll see what I can do
@foreverblu
As of right now I provide the mechanic for the cards, abilities might come later.
Thank you both for your support and suggestions!
-
View User Profile
-
Send Message
Posted Jul 11, 2013Abilities for cards? like you can sell it and it can give you certain amounts of money, or it has a certain effect, like lightning with cooldown etc etc. and it could summon a creature that can use abilities? These are just some of the possibilities!