• Journey's End on PC - Find info here and here. Please report bugs and issues for PC 1.4 and 1.4.1 to Re-Logic here.
  • Journey's End on Mobile - Find info here. Report bugs for Mobile 1.4 to DR Studios at this link and give as much detail as possible.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Console and Switch - The latest news can be found here. To report a bug, please use this link.

tModLoader Pet Renamer - Allows you to name your pets

direwolf420

Terrarian
Pet Renamer


Download via Mod Browser ingame! Only available on version 0.11 of tModLoader!


This small mod allows the player to name the summon item of any pet, so that the pet will show its name when hovered over it (similar to how NPCs show their name)

There are two ways to use this mod: UI and chat command

UI
How to use:

* Press the hotkey (default: 'P')
* Place a pet summoning item in it
* Type a name into the text box
* (optional) Press 'Random' for a random name
* (optional) Press 'Clear' to delete the text
* Press 'Apply' to set the text from the text box as the name for the pet
* (optional) Take out the item
* Press 'X' to close. Item will be returned to you if it's still in the UI

Notes:
* If you hold a pet summoning item in your cursor and press the hotkey, the item will be automatically placed in the UI
* If you leave the UI with the item in it open and close the game, it will appear again next time you play

Demonstration:


Chat Command
How to use:

* Either open your chat (default: 'Enter'), then left click on a summon item (so it sticks to your cursor), or hold an item in your cursor and then open your chat
* The chat will then say '/renamepet ', the following words you type in will be accepted as the new pet name
* To remove the name, simply type 'reset' as the name (yes, you can name your pet 'reset' aswell, but only if it doesn't have a name currently)

Example:
'/renamepet Mr. Bones' >> sets or renames the name of the pet item you are holding to 'Mr. Bones'
'/renamepet reset' >> deletes the current name

Demonstration:

Final notes:
* It will also save the name of the player that gave the pet its last nickname
* Pet names will be saved on the item, even when disabling the mod and enabling it again
* Multiplayer compatible
* Compatible with most modded pets if they do it the vanilla way:
* If a summon item happens to summon multiple different pets at once, only one of them will be named
* If the pet name hover text only shows up in a specific position, contact that other mods dev so he can fix the pets hitbox
* (For example some Thorium Mod pets only show a name when hovered over the top left corner of the sprite)

Credits:
* jopojelly for UI
* darthmorf for UI help

Changelog:

v1.1.1.2: Fix rare bug with mouseovering a pet in multiplayer

v1.1.1.1: When opening the UI and the mouse item slots in, the text field now auto-focuses

v1.1.1: Using the UI allows you to randomize the name, over 10 Million possible names

v1.1: An additional way to rename a pet through a UI accessed via hotkey

v1.0.0.5: tml 0.11.7 update

v1.0.0.4: tml 0.11 update, command says the correct thing now when not holding a pet item

v1.0.0.3: Buff tip of the summoned pet now also displays its name

v1.0.0.2: Narrowed down detection of pet summoning items, if you had any previous items set to a name that weren't a pet, they will be reset upon game quit

v1.0 and 1.0.0.1: Initial release and added icon

Source code: Github
 
Last edited:

Agrair

Terrarian
This looks pretty cool, but in a practical sense how much is pet naming gonna make a difference if you don’t have multiple pets. Also I suggest a UI instead of a command. Otherwise, this is neat and nicely done.
 

direwolf420

Terrarian
Pushed a small but needed update to narrow down pet summoning items (you could name potions in the previous version lol)

This looks pretty cool, but in a practical sense how much is pet naming gonna make a difference if you don’t have multiple pets. Also I suggest a UI instead of a command. Otherwise, this is neat and nicely done.
The mod is not meant to make a difference, it's just a little bit of customization and fun for multiplayer. Also, vanilla only really supports having two pets out (regular and light), which this mod fully supports. Mod compatibility is just a bonus
A UI was planned from the start but to keep the mod as simple as possible the chat prompt was a natural way of dealing with things
 

direwolf420

Terrarian
Update v1.1 is out, check the changelogs!

Adds a UI in addition to the chat command that allows you to name the pet of your choice.



Shoutout to @jopojelly and @darthmorf for providing me with the basic UI I could use to make this happen
 

direwolf420

Terrarian
Update v1.1.1 is out, check the changelogs!

Using the UI now allows you to randomize the name, over 10 million possible names!

 
Top Bottom