A TCG card game built for Rust.
As of now, it supports Custom Items, Server Rewards, and Economics as wager items.
Players can do /cpubattle and battle a CPU opponent for a chance to win their wager back with a multiplier based on the config settings. The system lets you customize the wager type — whether that’s scrap, other custom items, or server rewards — and includes configurable card packs with different rarities.
Each CPU opponent is made up of monster cards with unique stats, attack and defend effects, and even some support cards like heals or damage boosts to keep the battles interesting. You can tweak everything from the card pools to the wager amounts, making the TCG tailored to your server.
I plan to create new support card types, as of now it is Heal and Damage, you can create new support cards, that vary in power.
The cards are items, upon pack opening, you can sell them via a shop or alternate route, and players can depo up to 6 cards to the /deck, 6 cards are needed to battle.
When a battle starts, each player gets 3 support cards per match.
Using a swap ends your turn.
CPU wont use support cards for now.
Link for documentation and files to help you make your own cards.
| 1 | //COMMANDS - BATTLEPLAYER PLAYERNAME - SENDS A CHALLENGE TO A PLAYER |
| 2 | // ACCEPTBATTLE - ACCEPTS A CHALLENGE FROM ANOTHER PLAYER |
| 3 | // DECK - OPENS YOUR DECK INSERT CARD ITEMS INTO IT |
| 4 | // GIVECARDS - GIVES ALL CARDS TO A PLAYER |
| 5 | // GIVEPACKS - GIVES ALL PACKS TO A PLAYER |
| 6 | // ADDEXPANSION - ADDS A VALID EXPANSION TO YOUR CONFIG |
| 7 | // REMOVEEXPANSION - REMOVES AN EXPANSION FROM YOUR CONFIG |
| 8 | // CPUBATTLE - STARTS A CPU BATTLE |
| 9 | // INSPECTCARD - INSPECTS A CARD TO SEE STATS WHILE IT IS YOUR ACTIVE ITEM |
| 10 | // WIPEDECKS - WIPE ALL DECKS |
| 1 | { |
| 2 | "Wipe Decks on Map Wipe": false, |
| 3 | "Wager Settings": { |
| 4 | "Wager Type - 1 = Economics, 2 = Server Rewards, 3 = Item": 3, |
| 5 | "Item Shortname": "scrap", |
| 6 | "Item Skin": 0, |
| 7 | "Item Name": "", |
| 8 | "Minimum Wager": 500, |
| 9 | "CPU Battle Reward Multiplier - Formula is (Wager * This)": 1.25 |
| 10 | }, |
| 11 | "Card Packs": [ |
| 12 | { |
| 13 | "Pack Name": "Common Pack", |
| 14 | "Pack SkinID": 3541582530, |
| 15 | "Minimum Cards in Pack": 2, |
| 16 | "Maximum Cards in Pack": 3, |
| 17 | "Include Expansions if any are Loaded?": false, |
| 18 | "Pack Rarity Pool": [ |
| 19 | 1, |
| 20 | 2, |
| 21 | 3, |
| 22 | 4 |
| 23 | ] |
| 24 | }, |
| 25 | { |
| 26 | "Pack Name": "Rare Pack", |
| 27 | "Pack SkinID": 3541582733, |
| 28 | "Minimum Cards in Pack": 2, |
| 29 | "Maximum Cards in Pack": 3, |
| 30 | "Include Expansions if any are Loaded?": false, |
| 31 | "Pack Rarity Pool": [ |
| 32 | 5, |
| 33 | 6, |
| 34 | 7 |
| 35 | ] |
| 36 | }, |
| 37 | { |
| 38 | "Pack Name": "Epic Pack", |
| 39 | "Pack SkinID": 3541582998, |
| 40 | "Minimum Cards in Pack": 2, |
| 41 | "Maximum Cards in Pack": 3, |
| 42 | "Include Expansions if any are Loaded?": false, |
| 43 | "Pack Rarity Pool": [ |
| 44 | 8, |
| 45 | 9, |
| 46 | 10 |
| 47 | ] |
| 48 | } |
| 49 | ], |
| 50 | "Monsters": { |
| 51 | "Chicken": { |
| 52 | "Rarity - Higher = Rarer": 1, |
| 53 | "Card Type": "Beast", |
| 54 | "Card Description": "Its Nickname Starts With An M.", |
| 55 | "Card Image": "https://www.dropbox.com/scl/fi/22ecvhpaxmkdgxllw4xo2/CHICKEN-CARD.png?rlkey=9qrj5tjycnvecxcdl2qalxdxy&st=vr15du7n&dl=1", |
| 56 | "Attack Effect": "assets/bundled/prefabs/fx/impacts/stab/flesh/fleshbloodimpact.prefab", |
| 57 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 58 | "Card SkinID": 3543654496, |
| 59 | "Max HP": 20, |
| 60 | "Attack Power": 2, |
| 61 | "Speed": 12, |
| 62 | "Luck": 5, |
| 63 | "Weaknesses": [ |
| 64 | "" |
| 65 | ], |
| 66 | "Resistances": [ |
| 67 | "" |
| 68 | ] |
| 69 | }, |
| 70 | "Boar": { |
| 71 | "Rarity - Higher = Rarer": 2, |
| 72 | "Card Type": "Beast", |
| 73 | "Card Description": "Watch Out For Its Bite", |
| 74 | "Card Image": "https://www.dropbox.com/scl/fi/jhse1kk609xnyt7e1hvyl/BOAR-CARD.png?rlkey=ukc8z0e4eukids31hi1hx2bnz&st=tadhnb1j&dl=1", |
| 75 | "Attack Effect": "assets/bundled/prefabs/fx/impacts/stab/flesh/fleshbloodimpact.prefab", |
| 76 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 77 | "Card SkinID": 3543653835, |
| 78 | "Max HP": 60, |
| 79 | "Attack Power": 12, |
| 80 | "Speed": 6, |
| 81 | "Luck": 2, |
| 82 | "Weaknesses": [ |
| 83 | "" |
| 84 | ], |
| 85 | "Resistances": [ |
| 86 | "" |
| 87 | ] |
| 88 | }, |
| 89 | "Bear": { |
| 90 | "Rarity - Higher = Rarer": 4, |
| 91 | "Card Type": "Beast", |
| 92 | "Card Description": "Gives Great Hugs.", |
| 93 | "Card Image": "https://www.dropbox.com/scl/fi/94xco9ekj5tjx35udbvlk/BEAR-CARD.png?rlkey=bvwacy3tb8m89bzobgpmennl9&st=d0t35awn&dl=1", |
| 94 | "Attack Effect": "assets/bundled/prefabs/fx/impacts/stab/flesh/fleshbloodimpact.prefab", |
| 95 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 96 | "Card SkinID": 3543653835, |
| 97 | "Max HP": 100, |
| 98 | "Attack Power": 20, |
| 99 | "Speed": 12, |
| 100 | "Luck": 4, |
| 101 | "Weaknesses": [ |
| 102 | "" |
| 103 | ], |
| 104 | "Resistances": [ |
| 105 | "" |
| 106 | ] |
| 107 | }, |
| 108 | "Shark": { |
| 109 | "Rarity - Higher = Rarer": 4, |
| 110 | "Card Type": "Beast", |
| 111 | "Card Description": "Has Razor Sharp Teeth.", |
| 112 | "Card Image": "https://www.dropbox.com/scl/fi/f4kj19qdhf7ifzgiljm7r/SHARK-CARD.png?rlkey=21zcvfq0f7clxzyfj8v3gu0eg&st=tideobsr&dl=1", |
| 113 | "Attack Effect": "assets/bundled/prefabs/fx/impacts/stab/flesh/fleshbloodimpact.prefab", |
| 114 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 115 | "Card SkinID": 3543656557, |
| 116 | "Max HP": 75, |
| 117 | "Attack Power": 25, |
| 118 | "Speed": 30, |
| 119 | "Luck": 3, |
| 120 | "Weaknesses": [ |
| 121 | "" |
| 122 | ], |
| 123 | "Resistances": [ |
| 124 | "" |
| 125 | ] |
| 126 | }, |
| 127 | "Polar Bear": { |
| 128 | "Rarity - Higher = Rarer": 5, |
| 129 | "Card Type": "Beast", |
| 130 | "Card Description": "Gives Icy Cold Hugs.", |
| 131 | "Card Image": "https://www.dropbox.com/scl/fi/49ukzogkhi1in3llgrzgt/POLAR-BEAR-CARD.png?rlkey=bs85hasb1ll9ivhnm2k57bku2&st=5y9lmvkv&dl=1", |
| 132 | "Attack Effect": "assets/bundled/prefabs/fx/impacts/stab/flesh/fleshbloodimpact.prefab", |
| 133 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 134 | "Card SkinID": 3543656413, |
| 135 | "Max HP": 100, |
| 136 | "Attack Power": 20, |
| 137 | "Speed": 25, |
| 138 | "Luck": 4, |
| 139 | "Weaknesses": [ |
| 140 | "" |
| 141 | ], |
| 142 | "Resistances": [ |
| 143 | "" |
| 144 | ] |
| 145 | }, |
| 146 | "Wolf": { |
| 147 | "Rarity - Higher = Rarer": 3, |
| 148 | "Card Type": "Beast", |
| 149 | "Card Description": "You Cant Pet It.", |
| 150 | "Card Image": "https://www.dropbox.com/scl/fi/947wg4eoavr9o5dpb26lm/WOLF-CARD.png?rlkey=wwygyfesbp3swz8eekhaul64k&st=qa62ilzu&dl=1", |
| 151 | "Attack Effect": "assets/bundled/prefabs/fx/player/howl.prefab", |
| 152 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 153 | "Card SkinID": 3543656678, |
| 154 | "Max HP": 50, |
| 155 | "Attack Power": 12, |
| 156 | "Speed": 20, |
| 157 | "Luck": 8, |
| 158 | "Weaknesses": [ |
| 159 | "" |
| 160 | ], |
| 161 | "Resistances": [ |
| 162 | "" |
| 163 | ] |
| 164 | }, |
| 165 | "Attack Heli": { |
| 166 | "Rarity - Higher = Rarer": 5, |
| 167 | "Card Type": "Machine", |
| 168 | "Card Description": "A Helicopter with onboard Weapons.", |
| 169 | "Card Image": "https://www.dropbox.com/scl/fi/b2i6ndypz8sgonl6du7oa/HELI-CARD.png?rlkey=qjbhn5oz2wvu21lqtkxi3ld75&st=q2cpak08&dl=1", |
| 170 | "Attack Effect": "assets/content/vehicles/attackhelicopter/effects/pfx_flares_attackhelicopter.prefab", |
| 171 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 172 | "Card SkinID": 3541565817, |
| 173 | "Max HP": 120, |
| 174 | "Attack Power": 25, |
| 175 | "Speed": 8, |
| 176 | "Luck": 5, |
| 177 | "Weaknesses": [ |
| 178 | "Anti Air" |
| 179 | ], |
| 180 | "Resistances": [ |
| 181 | "" |
| 182 | ] |
| 183 | }, |
| 184 | "Sam Site": { |
| 185 | "Rarity - Higher = Rarer": 6, |
| 186 | "Card Type": "Anti Air", |
| 187 | "Card Description": "A Device to take down Helicopters.", |
| 188 | "Card Image": "https://www.dropbox.com/scl/fi/xqw8mjk9g8qkr30o65xda/SAM-CARD.png?rlkey=siyapbd15gdz2ppqj7x6dcvl0&st=gyjrzq3v&dl=1", |
| 189 | "Attack Effect": "assets/content/vehicles/attackhelicopter/effects/pfx_flares_attackhelicopter.prefab", |
| 190 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 191 | "Card SkinID": 3541573054, |
| 192 | "Max HP": 80, |
| 193 | "Attack Power": 15, |
| 194 | "Speed": 6, |
| 195 | "Luck": 4, |
| 196 | "Weaknesses": [ |
| 197 | "Human" |
| 198 | ], |
| 199 | "Resistances": [ |
| 200 | "" |
| 201 | ] |
| 202 | }, |
| 203 | "Heavy Scientist": { |
| 204 | "Rarity - Higher = Rarer": 7, |
| 205 | "Card Type": "Human", |
| 206 | "Card Description": "Has An Attitude Problem.", |
| 207 | "Card Image": "https://www.dropbox.com/scl/fi/v0ci6wvlpygpyfnrfhaxa/HEAVY-SCIENTIST.png?rlkey=naf7p23ngqgz1oelbpexqs34y&st=49ykja4b&dl=1", |
| 208 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 209 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 210 | "Card SkinID": 3543655431, |
| 211 | "Max HP": 70, |
| 212 | "Attack Power": 30, |
| 213 | "Speed": 2, |
| 214 | "Luck": 2, |
| 215 | "Weaknesses": [ |
| 216 | "Beast" |
| 217 | ], |
| 218 | "Resistances": [ |
| 219 | "" |
| 220 | ] |
| 221 | }, |
| 222 | "Heli Hat Gunner": { |
| 223 | "Rarity - Higher = Rarer": 8, |
| 224 | "Card Type": "Human", |
| 225 | "Card Description": "Where Did You Find This.", |
| 226 | "Card Image": "https://www.dropbox.com/scl/fi/uj4g54tl130xn14c68h8i/HELI-HAT-GUNNER.png?rlkey=9drxlfd291khtalafe83wuo92&st=ev5azvdr&dl=1", |
| 227 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 228 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 229 | "Card SkinID": 3543655667, |
| 230 | "Max HP": 50, |
| 231 | "Attack Power": 20, |
| 232 | "Speed": 20, |
| 233 | "Luck": 6, |
| 234 | "Weaknesses": [ |
| 235 | "Beast" |
| 236 | ], |
| 237 | "Resistances": [ |
| 238 | "" |
| 239 | ] |
| 240 | }, |
| 241 | "Goblin Glider Rider": { |
| 242 | "Rarity - Higher = Rarer": 8, |
| 243 | "Card Type": "Human", |
| 244 | "Card Description": "'Impressive! But What About This?'", |
| 245 | "Card Image": "https://www.dropbox.com/scl/fi/jiauz68muk56a905y3ckb/GOBLIN-GLIDER-RIDER.png?rlkey=5hr2q3fqdt2znrt9pprp2qh3g&st=yit8ptvi&dl=1", |
| 246 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 247 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 248 | "Card SkinID": 3543655307, |
| 249 | "Max HP": 100, |
| 250 | "Attack Power": 20, |
| 251 | "Speed": 30, |
| 252 | "Luck": 10, |
| 253 | "Weaknesses": [ |
| 254 | "Beast" |
| 255 | ], |
| 256 | "Resistances": [ |
| 257 | "" |
| 258 | ] |
| 259 | }, |
| 260 | "Mamba": { |
| 261 | "Rarity - Higher = Rarer": 8, |
| 262 | "Card Type": "Human", |
| 263 | "Card Description": "Is Probably Illegal To Own.", |
| 264 | "Card Image": "https://www.dropbox.com/scl/fi/f8t3h8t9a651vcajuyo6c/MAMBA-CARD.png?rlkey=98a4owjg92asj6z21dmp0i3qt&st=8zwcg2yk&dl=1", |
| 265 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 266 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 267 | "Card SkinID": 3543655986, |
| 268 | "Max HP": 100, |
| 269 | "Attack Power": 20, |
| 270 | "Speed": 30, |
| 271 | "Luck": 10, |
| 272 | "Weaknesses": [ |
| 273 | "Beast" |
| 274 | ], |
| 275 | "Resistances": [ |
| 276 | "" |
| 277 | ] |
| 278 | }, |
| 279 | "Drone Rider": { |
| 280 | "Rarity - Higher = Rarer": 8, |
| 281 | "Card Type": "Human", |
| 282 | "Card Description": "Only Fell 60 Times To Master This", |
| 283 | "Card Image": "https://www.dropbox.com/scl/fi/4hqt1t7j93z6unsrqq616/Drone-Rider-Card.png?rlkey=rzcfdx1lvyyl94w0vnqn6smcp&st=nwkoi9ev&dl=1", |
| 284 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 285 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 286 | "Card SkinID": 3543654862, |
| 287 | "Max HP": 60, |
| 288 | "Attack Power": 15, |
| 289 | "Speed": 25, |
| 290 | "Luck": 1, |
| 291 | "Weaknesses": [ |
| 292 | "Beast" |
| 293 | ], |
| 294 | "Resistances": [ |
| 295 | "" |
| 296 | ] |
| 297 | }, |
| 298 | "Oppressor Rider": { |
| 299 | "Rarity - Higher = Rarer": 8, |
| 300 | "Card Type": "Human", |
| 301 | "Card Description": "He Can Bob And Weave.", |
| 302 | "Card Image": "https://www.dropbox.com/scl/fi/o32sjrebxg1kv20ibc3og/OPPRESSOR-CARD.png?rlkey=t9ir3ftsjbsgdztihypl3wh6f&st=tq7go8vb&dl=1", |
| 303 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 304 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 305 | "Card SkinID": 3543656191, |
| 306 | "Max HP": 90, |
| 307 | "Attack Power": 22, |
| 308 | "Speed": 23, |
| 309 | "Luck": 4, |
| 310 | "Weaknesses": [ |
| 311 | "Beast" |
| 312 | ], |
| 313 | "Resistances": [ |
| 314 | "" |
| 315 | ] |
| 316 | }, |
| 317 | "Bradley": { |
| 318 | "Rarity - Higher = Rarer": 10, |
| 319 | "Card Type": "Machine", |
| 320 | "Card Description": "A Cannon Wielding APC.", |
| 321 | "Card Image": "https://www.dropbox.com/scl/fi/t71ae7rnt61ogl97g0yvj/Bradley-Card.png?rlkey=8bybih6izvt8jkwu3vfkgll8k&st=id0y21uv&dl=1", |
| 322 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 323 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 324 | "Card SkinID": 3543654320, |
| 325 | "Max HP": 150, |
| 326 | "Attack Power": 75, |
| 327 | "Speed": 20, |
| 328 | "Luck": 10, |
| 329 | "Weaknesses": [ |
| 330 | "" |
| 331 | ], |
| 332 | "Resistances": [ |
| 333 | "" |
| 334 | ] |
| 335 | }, |
| 336 | "Leviathan": { |
| 337 | "Rarity - Higher = Rarer": 10, |
| 338 | "Card Type": "Machine", |
| 339 | "Card Description": "The Sky Fortress.", |
| 340 | "Card Image": "https://www.dropbox.com/scl/fi/bxo06kw9ii65s1y8bbjvk/Leviathan.png?rlkey=c4djf52z3oh5p4239agj17c8r&st=91d96exx&dl=1", |
| 341 | "Attack Effect": "assets/bundled/prefabs/fx/ricochet/ricochet4.prefab", |
| 342 | "Defend Effect": "assets/prefabs/misc/easter/painted eggs/effects/bronze_open.prefab", |
| 343 | "Card SkinID": 3543655796, |
| 344 | "Max HP": 200, |
| 345 | "Attack Power": 40, |
| 346 | "Speed": 10, |
| 347 | "Luck": 8, |
| 348 | "Weaknesses": [ |
| 349 | "" |
| 350 | ], |
| 351 | "Resistances": [ |
| 352 | "" |
| 353 | ] |
| 354 | } |
| 355 | }, |
| 356 | "Support Cards": [ |
| 357 | { |
| 358 | "Name": "Medical Pack", |
| 359 | "CardImage": "https://www.dropbox.com/scl/fi/ywwcz3c1kj1g73i2s4cvi/Medical-Pack-Card.png?rlkey=mtcsvb1n7hsv2l9kd46wucabd&st=ycwl5095&dl=1", |
| 360 | "Type": "Heal", |
| 361 | "Value": 30, |
| 362 | "EffectSound": "assets/prefabs/misc/easter/painted eggs/effects/eggpickup.prefab" |
| 363 | }, |
| 364 | { |
| 365 | "Name": "Syringe", |
| 366 | "CardImage": "https://www.dropbox.com/scl/fi/qvq323u3hdkqo58xjx5dn/Syringe-Card.png?rlkey=z9rv037fyv9ot8xapgcc78tb3&st=5w7tntck&dl=1", |
| 367 | "Type": "Heal", |
| 368 | "Value": 15, |
| 369 | "EffectSound": "assets/prefabs/misc/easter/painted eggs/effects/eggpickup.prefab" |
| 370 | }, |
| 371 | { |
| 372 | "Name": "Molotov", |
| 373 | "CardImage": "https://www.dropbox.com/scl/fi/r9ayqa4v5wvlan74ccsgx/Molotov-Card.png?rlkey=2h05ee3wtiq4dwlosg6rgrsl4&st=ph2p3gw5&dl=1", |
| 374 | "Type": "Damage", |
| 375 | "Value": 25, |
| 376 | "EffectSound": "assets/prefabs/weapons/molotov cocktail/effects/molotovexplode.prefab" |
| 377 | }, |
| 378 | { |
| 379 | "Name": "Timed Explosive", |
| 380 | "CardImage": "https://www.dropbox.com/scl/fi/c08evhg76u2timwl0fag6/Explosive-Card.png?rlkey=39lb2q6rox56zbfsmcu4j8ulc&st=qr3or8x2&dl=1", |
| 381 | "Type": "Damage", |
| 382 | "Value": 50, |
| 383 | "EffectSound": "assets/prefabs/weapons/molotov cocktail/effects/molotovexplodeunderwater.prefab" |
| 384 | } |
| 385 | ], |
| 386 | "Expansions": {} |
| 387 | } |