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
@superbigbeard
You should be able to craft them, you just have to have the cards first, I'll look at the card binder stuff to make sure you aren't doing something wrong
EDIT looks like you should be fine, can you explain what you are doing?
I have to say that this is an awesome plugin but is not as cool if the only way I can cards is by doing the /tc give (card) command. If you could help me that would be great.
Thanks
When ever I make a diamond/gold/iron/leather surrounded by paper it just gives me a card and nothing else, and it can't even go into the card binder
K, as for changing the crafting ingredient, I've got a new build going up now, to change it/add new ones do the following:
@Touljo
Actually... I didn't code it right for custom crafting items, getting on that now. :D
@islandmat
Sounds cool, I'll add that to my list of to-dos!
@Xenoyia
/tradingcards is already implemented, you can use /tc /tcards or /tradingcards
@MCFUser5585029
They are really just decoration :D
I was wondering what "Type" and "Series" do? Is there anything specific that they contribute to? Or are they just decor? (E.g Type: Fire....Series: 001)
@Xenoyia
you can do /tradingcards and /tra if you want those are the other commands
Any chance we can get an alias for the /tc command? it conflicts with towny (town chat is /tc) and towny gets priority, so this plugin is unusable. Just something like /tradingcards will do.
Is is possible to add more than just 4 rarities and have a crafting recipe for each individual rarity?
Just a heads up, if you want, I think economy support should be enabled in someway and we can buy booster packs as I mentioned before. But you could even make it so you buy it via command so it could be fairly easy, although via sign would be really cool.
@Touljo
You can already change the crafting ingredients, as for everything else, it just seems like a lot of configuration is what you want :D
@MCFUser5585029
I'll make it so you can edit the card and add it to decks
@Blacksmithkazuma
Is this still here in 1.0.3?
@travja
Sorry for the late reply.. Thank you for the info about the discontinued cards. Also after some looking around I was able to get some info on the error, it seems to happen randomly when binders or cards are put into chests or when a card is placed into the binder. And not sure if it matters or has to do with anything I have noticed that the plugin Grief Log I use on the server will through up an error every time you leave the the binders interface. Maybe thinking there is some sort of compatibility issue between the two? Hope this helps and thanks again for a great plugin.
http://pastie.org/8206033
@Touljo
I don't think many devs are interested in adding spout support. Especially since it won't be updated psat 1.5.
And, for the dev: Will cards be able to be added to decks if we make them before the deck update? Or will we have to remake cards that need to be put in decks?
At first, this is a very cool idea for a Plug-In. I have some ideas that you may add in future versions.
- Different colored names of cards depending on rarity
- enable/disable crafting recipe
- custom crafting materials (on my server i have about 1000 diamonds so the crafting recipe is not that expensive...)
- custom colors for the attributes (atk, def etc.)
- card sets (already talked about some posts before)
(- spout features like a card-overview screen)
I hope some of the ideas are good enough to take place in your Plug-In. I really like it, but it's not really configurable/customizable. So please keep working on it.
@islandmat
@MCFUser5585029
I'm not sure havent had much time so it could be a bit... :)
@MCFUser5585029
Cool glad someone is also wanting this, I felt a little selfish. Look at the past comments, we talked about the creation of decks for a little bit.
@travja
Any ETA on decks?
Should have mobs, and blocks ad a default deck. :3
@MCFUser5585029
I'm currently working on decks, I'll look into epic mobs
@terturlcraft
This is a little confusing at the moment... How would the mechanics work?
Is it possible to add drops to ores or blocks and create "card sets" such as "Mobs", "Plants, "Ores", etc. It'd appear like:
Cardname
Cardset
stats
Also, is epicboss support possible? Making EB mobs drop cards?