As those who have seen/answered my questions before are aware, I run a modified SMP server for my Discord. I want to add a system where players can set their home, in a way, through a warp system, allowing them (and only them, which I can configure later) to warp there later. I've already got a warp to spawn through
/trigger, but I was wondering if there was any possibility to add some form of wildcard to a command searching for a specific block or entity placement.
An example of what I want to do (not that this is possible, or if it is, I don't know how to do it); perhaps a system where, upon doing something like
/trigger setHome add 1, the players are given a spawn egg named like, "@p's Home" or something. Then, a command block somewhere finds the entity and who summoned it, created a trigger warp for that person, and enables it, thus allowing the player to use
/trigger <home> add 1 to teleport to wherever they placed the entity.
As far as I'm aware, having such a wildcard text is impossible since most Minecraft commands run on specifics, especially when dealing with scoreboards and the sort.
I should point out that this is running on 1.14.