Overview

This is a Custom Pokémon Properties string instance accessible as TimCore.CustomPokemonProperties.RESERVED_FOR.

Other mods can use this to state that a particular wild Pokémon can only be captured by a specific player, by setting the value to the String version of that player’s UUID. Any other players that attempt to catch it will be met with a rejection message.

Convenience Functions

Pokemon::reserveFor

Applies this property to the Pokemon for the given player.

Params

player - The ServerPlayer, or their UUID, or their UUID given as a String.

Pokemon:getReservedFor

Get who this Pokémon is reserved for, if anyone, as a string version of their UUID.

Pokemon:isReservedFor

Returns whether this Pokémon is reserved for the given player, not reserved for the given player, or unreserved completely.

Params

player - The ServerPlayer, or their UUID, or their UUID given as a String.