Sueta

TPPets

2.3.0

Teleport pets around the map, but not in areas you don't want.

·Map


Features:

  • Support for all tameable pets (dogs, cats, birds, mules, llamas, donkeys, and all types of horses). Skeleton and zombie horses are tamed to the first player to sit on them.
  • Teleport your pets to you from anywhere on the server, even from unloaded chunks.
  • Each player can set storage locations where they can store their pets. Admins can set default storage locations for the entire server!
  • Prevent players from leaving their pets in set "Protected Regions."
  • Set maximum number of pets tameable (based on known pets)
  • Un-tame pets by shift right-clicking them with a tool (configurable, shears by default)
  • Pets have names, and can be teleported individually around the map
  • Check any pet's owner and name by shift right-clicking it with a tool (configurable, bone by default)
  • Allow other players to teleport, mount, and access the inventory of pets. The pet is protected from all others!
  • Configurable protection of pets from environmental, mob, and player damage. This still allows the pet's owner and any players allowed to that pet to damage it.
  • Admins can run commands for other players' pets, renaming them, allowing others to them, and teleporting them around
  • MySQL and SQLite support



PLAYER COMMANDS:

  • /tpp dogs all ---------- Teleports all known dogs to your location
  • /tpp cats all ---------- Teleports all known cats to your location
  • /tpp birds all ---------- Teleports all known birds to your location
  • /tpp horses all ---------- Teleports all known horses to your location
  • /tpp donkeys all ---------- Teleports all known donkeys to your location
  • /tpp mules all ---------- Teleports all known mules to your location
  • /tpp llamas all ---------- Teleports all known llamas to your location

Note: [pet type] means either cats/dogs/birds/horses/donkeys/mules/llamas, as in the above commands. These can be aliased to other names in the config.

  • /tpp [pet type] list ---------- Lists the pet names of your [pet type]s
  • /tpp [pet type] [pet name] ---------- Teleports your [pet type] named [pet name] to your location
  • /tpp rename [old pet name] [new pet name] ---------- Renames the pet with [old pet name] to [new pet name]
  • /tpp allow [username] [pet name] ---------- Allows [username] to access and teleport your pet named [pet name]
  • /tpp remove [username] [pet name] ---------- Revokes [username]'s access and teleportation permissions to the pet
  • /tpp list [pet name] ---------- Lists all players who have been given permission to access and teleport your pet named [pet name]
  • /tpp storage add [storage name] ---------- Adds a new storage to a player's available storage locations. This takes their current x, y, and z location.
  • /tpp storage remove [storage name] ---------- Removes an existing storage from a player's storage locations.
  • /tpp storage list ---------- Lists all storage locations a player has set.
  • /tpp store [pet name] [optional: storage location] ---------- Stores [pet name] at [storage location]. If [storage location] is blank, stores pet in server default location.

ADMIN COMMANDS:

  • /tpp [pet type] f:[username] list ---------- Lists all of [username]'s pet names
  • /tpp [pet type] f:[username] all ---------- If allowed to do so, teleports all known [pet type] owned by [username] to your location
  • /tpp [pet type] f:[username] [pet name] ---------- If allowed to do so, teleports [username]'s pet named [pet name] to your location
  • /tpp allow f:[username 1] [username 2] [pet name] ---------- Allows [username 2] to [username 1]'s pet named [pet name]
  • /tpp remove f:[username 1] [username 2] [pet name] ---------- Revokes [username 2]'s access to [username 1]'s [pet name]
  • /tpp list f:[username] [pet name] ---------- Lists all players who have been given permission to access and teleport [username]'s pet named [pet name]
  • /tpp storage f:[username] add [storage name] ---------- Adds your current location as [storage name] in [username]'s storages. If the admin has permission node tppets.bypassstoragelimit, this ignores the limit on the number of storage locations.
  • /tpp storage f:[username] remove [storage name] ---------- Removes the [storage name] from [username]'s storages.
  • /tpp storage f:[username] list ---------- Lists all [username]'s storages on your screen.
  • /tpp storage add default ---------- Adds your current location as the server's default, for when players type /tpp store dog1. If
    tp_pets_between_worlds = false, this must be set for every world where pets might be teleported.
  • /tpp storage remove default ---------- Removes the default location in your world.
  • /tpp storage list default ---------- Lists all server default locations.
  • /tpp store f:[username] [pet name] [optional: storage location] ---------- Stores [username]'s [pet name] at [storage location, which is one of their storage locations]
  • /tpp protected add [name] [lost region name] [enter message]
    • Adds a protected region, where owned pets can't be placed. Adding is based on the current WorldEdit cuboid selection.
    • [name] ---------- The name of the protected region.
    • [lost region name] ---------- If pets are found in the protected region, they are teleported to this lost region. Non-existent lost and found regions are allowed here. The protected region will not teleport animals away from it if the linked lost and found region is unset.
    • [enter message] ---------- If a player attempts to teleport pets into this region, this message is displayed.
  • /tpp protected remove [name] ---------- Removes the protected region with [name].
  • /tpp protected relink [protected region name] [lost region name]
    • Sets a protected region to use a different lost and found region.
    • [protected region name] ---------- The name of the protected region.
    • [lost region name] ---------- The name of the lost region
  • /tpp protected list ---------- Lists all active protected regions.
  • /tpp protected list [name] ---------- Lists details of the protected region with [name].
  • /tpp lostandfound add [name] ---------- Adds a lost and found region, which can be linked to multiple protected regions.
  • /tpp lostandfound remove [name] ---------- Removes a lost and found region.
  • /tpp lostandfound list ---------- Lists all active lost and found regions.
  • /tpp lostandfound list [name] ---------- Lists details of the lost and found region with [name] .


PLAYER PERMISSIONS:

  • tppets.dogs ---------- Allows user to teleport their dogs to them.
  • tppets.cats ---------- Allows user to teleport their cats to them.
  • tppets.birds ---------- Allows user to teleport their birds to them.
  • tppets.horses ---------- Allows user to teleport their horses to them.
  • tppets.mules ---------- Allows user to teleport their mules to them.
  • tppets.llamas ---------- Allows user to teleport their llamas to them.
  • tppets.donkeys ---------- Allows user to teleport their donkeys to them.
  • tppets.rename ---------- Allows user to rename their pets with /tpp rename.
  • tppets.addallow ---------- Allows user to allow other uses to their pets with /tpp allow.
  • tppets.removeallow ---------- Allows user to remove other users' access to their pets with /tpp remove.
  • tppets.listallow ---------- Allows user to list players that are allowed to a pet with /tpp list.
  • tppets.storage ---------- Allows user to set new storage locations.
  • tppets.store ---------- Allows user to store their pets in storage locations. This includes server default locations.

ADMIN PERMISSIONS:

  • tppets.protected ---------- Allows user to set cuboid regions where pets are not allowed.
  • tppets.lost ---------- Allows user to set cuboid regions where pets found in protected regions are sent.
  • tppets.mountother ---------- Allows user to mount and use inventories of pets that do not belong to them.
  • tppets.renameall ---------- Allows user to rename pets that do not belong to them.
  • tppets.allowother ---------- Allows user to /tpp allow, /tpp remove, and /tpp list as if they were other players (see admin commands). Player must also have tppets.addallow, tpp.removeallow, and tpp.listallow for this to work as expected.
  • tppets.teleportother ---------- Allows user to teleport pets owned by someone else to their location.
  • tppets.untameall ---------- Allows the user to untame pets that they don't own.
  • tppets.bypassprotection ---------- Allows user to damage pets they don't own.
  • tppets.bypasslimit ---------- Allows user to tame pets past the pet taming limit.
  • tppets.tpanywhere ---------- Allows user to teleport pets into, and keep pets inside, protected regions.
  • tppets.setdefaultstorage ---------- Allows user to set the world's, or server's, default storage location.
  • tppets.storageother ---------- Allows user to store other player's pets.
  • tppets.bypassstoragelimit ---------- Allows user to store more pets than the limit specified in the config.

BUNDLE PERMISSIONS:

  • tppets.* ---------- Parent node of all tppets permissions.
  • tppets.teleport ---------- Parent node of all teleport - permissions (tppets.dogs, tppets.cats, etc).


  • protect_pets_from
    • A list of strings "PlayerDamage," "OwnerDamage," "Environmental Damage," and/or "MobDamage" in any order.
    • PlayerDamage ---------- Protects against damage from players and their projectiles.
    • OwnerDamage ---------- Protects against damage from the pet's owner and allowed players.
    • EnvironmentalDamage ---------- Protects against environmental damage, like fall damage and suffocation.
    • MobDamage ---------- Protects against damage from mobs and their projectiles
  • tp_pets_between_worlds ---------- If true, allows teleporting of pets between worlds. If false, does not allow teleporting of pets between worlds.
  • allow_untaming_pets ---------- If true, allows untaming of pets. If false, does not allow untaming pets.
  • total_pet_limit ---------- A limit on the total number of pets a player can own.
  • dog_limit ---------- A limit on the number of dogs a player can own.
  • cat_limit ---------- A limit on the number of cats a player can own.
  • bird_limit ---------- A limit on the number of birds a player can own.
  • horse_limit ---------- A limit on the number of birds a player can own.
  • mule_limit ---------- A limit on the number of mules a player can own.
  • llama_limit ---------- A limit on the number of llamas a player can own.
  • donkey_limit ---------- A limit on the number of donkeys a player can own.
  • storage_limit ---------- Limit for how many storage locations players can set. Setting this to -1 makes it unlimited.
  • command_aliases ---------- Each root command (/tpp rename , /tpp dogs , etc) corresponds to a list of strings that serve as aliases.
  • tools.untame_pets ---------- A list of strings from this spigot list . Each string in the list represents a material type that can be used to untame pets.
  • tools.get_owner ---------- A list of strings from this spigot list . Each string in the list represents a material type that can be used to get the owner and name of pets.
  • mysql
    • enable ---------- If true, enable MySQL, if false, use SQLite.
    • host ---------- The host of the MySQL server, does not apply if using SQLite.
    • port ---------- The port of the MySQL server, does not apply if using SQLite.
    • database ---------- The database within the MySQL server to use, does not apply if using SQLite.
    • username ---------- The username to log into MySQL with, does not apply if using SQLite.
    • password ---------- The password to log into MySQL with, does not apply if using SQLite.
  • logging ---------- Values either true or false, which represent how data is logged in the console.
    • updated_pets ---------- Console logging when pet locations are updated or inserted to the database.
    • successful_actions ---------- When players successfully complete an action, like /tpp dogs dog1
    • unsuccessful_actions ---------- When players unsuccessfully complete an action. Ex: Player tries to mount a pet they don't have access to.
    • prevented_damage ---------- When pets are protected from damage.
    • errors ---------- When errors arise. Strongly recommended to keep this at "true."
  • schema_version ---------- Used internally to keep the config up to date. This isn't designed to be edited, and editing it may reset some custom values you've set.




Hard:

  • WorldEdit ---------- For setting protected and lost and found regions.

Soft:

  • Vault ---------- For checking permissions of offline players. Without vault, players with the tppets.tpanywhere permission will have their pets teleported away from protected regions.

Similar projects

Map →