• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Pokepaste to essentials

Resource Pokepaste to essentials 1.0

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
grogro submitted a new resource:

Pokepaste to essentials - Convert a Showdown Pokepaste to pokemons in your game

To install it, paste the folder in your plugins folder.

This plugin converts a poképaste to pokémons you can give to your player via an event.
Simply add a script in the event called genteam(file,inf,sup)
Where file is the pokepaste. It has to be in the root folder of your game. (you can put it elsewhere if you want but in this case, you need to enter the entire path)
inf and sup are the pokemons you want to give to the player.
For example if I want to give them the first 6 pokemons...

Read more about this resource...
 

systeromen_

Novice
Member
Joined
Jan 26, 2021
Posts
45
Could you provide an example Pokepaste, I believe it did it correctly, but it ends out throwing up an error with every Pokemon in my PBS in what seems to be a hash not being a known pokemon species when I use the script.
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
you can import it directly from pokemon showdown. this error happens when it does not recognize the name of the pokemon. So maybe I forgot an exception. If you don't find a way to make it work, share me your pokepaste and I'll figure it out.
An example is something like:

Barraskewda @ Choice Band
Ability: Swift Swim
EVs: 252 Atk / 4 SpD / 252 Spe
Adamant Nature
  • Aqua Jet
  • Close Combat
  • Crunch
  • Drill Run

Blacephalon @ Focus Sash
Ability: Beast Boost
EVs: 4 Atk / 252 SpA / 252 Spe
Hasty Nature
  • Dark Pulse
  • Expanding Force
  • Explosion
  • Fire Blast

Clefable @ Assault Vest
Ability: Magic Guard
EVs: 252 HP / 252 SpA / 4 SpD
Modest Nature
IVs: 0 Atk
  • Blizzard
  • Calm Mind
  • Curse
  • Dazzling Gleam

Heatran @ Choice Specs
Ability: Flash Fire
EVs: 252 HP / 4 Atk / 252 SpA
Quiet Nature
  • Body Slam
  • Dark Pulse
  • Earth Power
  • Eruption

Tapu Koko @ Babiri Berry
Ability: Electric Surge
EVs: 252 SpA / 4 SpD / 252 Spe
Modest Nature
IVs: 0 Atk
  • Agility
  • Calm Mind
  • Discharge
  • Grass Knot

Blissey (F) @ Figy Berry
Ability: Natural Cure
EVs: 252 HP / 252 Atk / 4 SpA
Lonely Nature
  • Brick Break
  • Counter
  • Dazzling Gleam
  • Drain Punch
 
Last edited:

systeromen_

Novice
Member
Joined
Jan 26, 2021
Posts
45
you can import it directly from pokemon showdown. this error happens when it does not recognize the name of the pokemon. So maybe I forgot an exception. If you don't find a way to make it work, share me your pokepaste and I'll figure it out.
An example is something like:

That's my Pokepaste, I haven't really been able to get it working.

PEEPO (Meganium) (F) @ Focus Band
IVs: 3 HP / 14 Atk / 6 Def / 7 SpA / 7 SpD / 1 Spe
EVs: 94 HP / 167 Atk / 210 Def / 137 SpA / 137 SpD / 8 Spe
Ability: Overgrow
Level: 59
Hardy Nature
  • Cut
  • Ancient Power
  • Synthesis
  • Razor Leaf

SUNFLOWER (Venusaur) (F) @ Exp. Share
IVs: 0 HP / 10 Atk / 6 Def / 2 SpA / 2 SpD / 6 Spe
EVs: 76 HP / 151 Atk / 171 Def / 19 SpA / 19 SpD / 13 Spe
Ability: Overgrow
Level: 36
Hardy Nature
  • Giga Drain
  • Razor Leaf
  • Leech Seed
  • Ancient Power

FINN (Gyarados) (F) @ Exp. Share
IVs: 8 HP / 15 Atk / 10 Def / 10 SpA / 10 SpD / 10 Spe
EVs: 199 HP / 101 Atk / 232 Def / 65 SpA / 65 SpD / 22 Spe
Ability: Intimidate
Level: 30
Shiny: Yes
Hardy Nature
  • Whirlpool
  • Surf
  • Strength
  • Rock Smash

LILAC (Scizor) (F) @ Guard Spec.
IVs: 15 HP / 1 Atk / 11 Def / 13 SpA / 13 SpD / 11 Spe
EVs: 231 HP / 59 Atk / 143 Def / 204 SpA / 204 SpD / 14 Spe
Ability: Swarm
Level: 40
Hardy Nature
  • False Swipe
  • Fly
  • Metal Claw
  • Karate Chop

ADALYNE (Bellossom) (F) @ Exp. Share
IVs: 8 HP / 15 Atk / 10 Def / 10 SpA / 10 SpD / 10 Spe
EVs: 39 HP / 192 Atk / 12 Def / 161 SpA / 161 SpD / 242 Spe
Ability: Chlorophyll
Level: 42
Shiny: Yes
Hardy Nature
  • Hidden Power [Fighting]
  • Stun Spore
  • Sleep Powder
  • Acid

MIDNA (Ariados) (F) @ Exp. Share
IVs: 10 HP / 1 Atk / 4 Def / 14 SpA / 14 SpD / 1 Spe
EVs: 210 HP / 204 Atk / 151 Def / 88 SpA / 88 SpD / 127 Spe
Ability: Swarm
Level: 31
Hardy Nature
  • Poison Sting
  • Shadow Ball
  • Flash
  • Dig
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
Ah ok, I see the problem. There is no nickname support in the script. You have to nickname your pokemon when you get them, or edit the genteam script to do so. You discovered the first bug, congratulations! I'll correct this in the next update.
 
Last edited:

systeromen_

Novice
Member
Joined
Jan 26, 2021
Posts
45
Sorry bud, got another error for you again! When you try and import more than 6 Pokemon (some nicknamed, some aren't), it throws this error.

Have the error and a different POKePASTE for you,
 

Attachments

  • Capture.PNG
    Capture.PNG
    18.3 KB · Views: 110
  • Tammun.txt
    1.7 KB · Views: 130

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
You have only 7 pokemons so it goes from 0 to 7. But I found another bug when testing this so, an update is coming.
And don't be sorry, I really need those bug reports. Thanks!
 

SpitfireCorviknight

Rookie
Member
Joined
Feb 6, 2023
Posts
2
So, For the root folder of the game, Does it necessarily have to be a text file or what? (Just wanting to know since it's my first time using this plugin)
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
I don't know what ruby can read so you can try something else. I just tested everything with a txt file
 

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
It generates the pokemon listed in a file between the positions in the file you want. basically generates a team
 
Back
Top