I am using the AdminMenu plugin to save teleport commands to one of 6 jail cells that I will have my police officers being able to use to send criminals to jail but the command isnt working to send player to saved location or coordinate.
I thought my config will work to do this but it doesnt. I will show the error it gives after this:
{
"Name": "Jail Cell 1",
"Command": "/tp {target1_name} -96.60 53.23 82.89",
"Description": "Send player to jail cell 1",
"CloseOnRun": false,
"RequiredPermission": ""
},
ERROR: You cant teleport a player to yourself!
and I also tried like this after doing /tpsave JailCell1 in a location and I also tried this without the {target1_name} and also does not work:
{
"Name": "Jail Cell 1",
"Command": "/tp {target1_name} JailCell1",
"Description": "Send player to jail cell 1",
"CloseOnRun": false,
"RequiredPermission": ""
},
I dont understand why it thinks I am trying to teleport a player to myself? I'm trying to teleport myself to those coordinates that are specified. There is no other player specified other than me.
The help file says: "/tp x y z 'teleports you to a saved location' but thats what I typed in, I believe.
Any assistance is appreciated, thanks!