Closed FliesWithWind closed 3 years ago
There are already 2 commands for that in the rcon_database module: !find \<field> \<value> !find_linked \<BEID>
The command find allows you to search the database, example below. the values need to match exactly, e.g. yoshi_e would not be valid when the nick name is "Yoshi_E" Closest match stuff is planned, but has a low priority for now.
The command !find_linked on the other hand returns the accounts by cross referencing the database (e.g to find multi account users)
(linked to the given BEID over by any IP/BEID that was used by the given user once).
Disclaimer: find_linked uses IPs to match account, so if somebody is using a public network (e.g. university) its possible that different users are matched without any real relation to each other
Thanks for the fast answer.
It seems !find is not working for me atm. Is it on master or dev branch?
It should be on both branches. Make sure you have the permission for the command enabled on the bots config page: http://localhost:8000/
Thanks for the help. It was a permission issue. My bad.
Can't wait for the closes match support. :)
Added Wild card support for search queries:
e.g. !find name Yos% will return all names that start with 'Yos'
Hey,
Really love the work you've done. :)
Any chance you could add "!find" command for getting player guid using player nickname?