Forum rules: Do not post bugs or feature requests here! Report bugs to our Issue Tracker and suggestions to Suggest a Feature.

This site is not for solicitation of services or 'purchasing' development. Please do not post requesting side mods/plugins and so on. Your thread will be removed, and you will receive a warning.
By TheRealMarshy
#195622 So on my server I am making a battle tower, but I want to make it so people can't just lose and walk through all the trainers till they reach the top. So I was wondering if it is possible to make it so that upon beating an NPC trainer it will teleport you to a certain place?

User avatar
By SKyTheThunder
#195624 If you use the Trainer Commands side mod you can add a teleport command to the NPC. You'd need to do that for every NPC separately though.

However what you rather seem to be looking for is the SafePlace side mod which lets you set places throughout your map where players will be teleported to once all their Pokémon faint. You can set those at every Pokécenter and similar places and any player will find themselves there if they get defeated, just like in the original games.

Both of these are server side, so you don't need to have your players install them, just put them on the server.
However keep in mind that both will leave your players with a team of fainted Pokémon anyway - just in a different place. You'd either need to execute a /pokéheal command separately (can be added as a second trainer command as well) or have your tower's entrance check for a viable party somehow...

Edit: Oops, I misread... I thought you wanted your players to be teleported upon losing against an NPC, not winning. My bad. ^^;
In that case the Trainer Commands side mod is your tool of choice.
User avatar
By VinceOrlando
#195773
SKy2008 wrote:If you use the Trainer Commands side mod you can add a teleport command to the NPC. You'd need to do that for every NPC separately though.

However what you rather seem to be looking for is the SafePlace side mod which lets you set places throughout your map where players will be teleported to once all their Pokémon faint. You can set those at every Pokécenter and similar places and any player will find themselves there if they get defeated, just like in the original games.

Both of these are server side, so you don't need to have your players install them, just put them on the server.
However keep in mind that both will leave your players with a team of fainted Pokémon anyway - just in a different place. You'd either need to execute a /pokéheal command separately (can be added as a second trainer command as well) or have your tower's entrance check for a viable party somehow...

Edit: Oops, I misread... I thought you wanted your players to be teleported upon losing against an NPC, not winning. My bad. ^^;
In that case the Trainer Commands side mod is your tool of choice.


Does this actually work? Because Ill add a command to defeat a trainer such as /tedit add win spawn @pl and ill defeat the trainer but the command will not be executed.
JOIN THE TEAM