Hi,
Lets check you are in the right Library.
It is in Hard drive name/Users/Your Account (or the Little House icon)/Library
Now normally this is hidden.
So if you open the Users Folder and then open the Little House icon you see Documents, Downloads, Desktop, Movies, Pictures, Public and Sites.
At this point go to the View Menu and Show View Options.
In the last section there is tick boxes for Use Relative Dates, Calculate all Sizes, Show Icon Preview and Show Library.
Tick the box to Show Library.
It should now show in the Folder for the Little House icon (Your User's Folder).
If you open then you should be able to Navigate to Preferences.
Depending how far back your User's Account goes to there should be:-
com.apple.iChat.plist
com.apple.iChat.AIM.plist
com.apple.iChat.Jabber.plist
com.apple.iChat.Subnet.plist
com.apple.iChat.StatusMessages.plist
com.apple.ichat.TranscriptRenderingService.plist
com.apple.iChat.Yahoo.plist
com.apple.iChatAgent.plist
In High Sierra there is no AIM service, there has not been Yahoo for a while. High Sierra also drop Bonjour (The Subnet one).
The Jabber one is used by Google if you enter Google/hangouts info.
To effectively reset Messages it is the com.apple.ichat.plist one that needs deleting.

8:55 pm Tuesday; February 13, 2018
iMac 2.5Ghz i5 2011 (Sierra)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
iPhone 6 iOS 11.x and an iPad (2)