Ok, so here's my question ...
Would it be possible to make an app capable of doing actions depending on players names?
My idea would be the following ... if player connects, and his/her display name has, say, the letters SPTR within it, the app checks a list of team members, if the name is a valid members name, the app does nothing, if the name is not a valid member, the app displays a message explaining that you need to be authorised to use the team name, and asks you politely to change your display name. The app then checks again, say, 1 minute later, and if the name is still present, the player gets kicked. It would be good if the app could check multiple servers, one after the other, say, every 1 minute. By display name, I literally mean display name, not the s2 username, as I'd like it to work in demo, s1 and s2.
I know it's not a bullet proof solution, but we often get people on our servers using our team name when they're not supposed to, thinking they can become members by just using the name, this would help guide them when an admin is not online, and also people pretending to be admins, like today we had a guy calling himself SPTR Stevo, bossing people around claiming to be an admin and generally being a pain in the arse for everybody, and giving our real [SPTR] Stevo! a bad reputation with our players. It's a real pain in the ass trying to monitor this, so the app I had in mind would at least prevent the real noobs from being on the servers for long ...
It sounds like a simple idea to me, and it might or might not be, certainly I'd be able to make such functions in php, but I have no idea how that would interface with LFS. I know bugger all about proper programming, and I don't want to spend years learning how to. If somebody could make such an app for me, I would be eternally grateful, and if there was anything I could do in return, I would, that is, of course, if it is possible to make such an app ...
Sorry for the long post ...
Would it be possible to make an app capable of doing actions depending on players names?
My idea would be the following ... if player connects, and his/her display name has, say, the letters SPTR within it, the app checks a list of team members, if the name is a valid members name, the app does nothing, if the name is not a valid member, the app displays a message explaining that you need to be authorised to use the team name, and asks you politely to change your display name. The app then checks again, say, 1 minute later, and if the name is still present, the player gets kicked. It would be good if the app could check multiple servers, one after the other, say, every 1 minute. By display name, I literally mean display name, not the s2 username, as I'd like it to work in demo, s1 and s2.
I know it's not a bullet proof solution, but we often get people on our servers using our team name when they're not supposed to, thinking they can become members by just using the name, this would help guide them when an admin is not online, and also people pretending to be admins, like today we had a guy calling himself SPTR Stevo, bossing people around claiming to be an admin and generally being a pain in the arse for everybody, and giving our real [SPTR] Stevo! a bad reputation with our players. It's a real pain in the ass trying to monitor this, so the app I had in mind would at least prevent the real noobs from being on the servers for long ...
It sounds like a simple idea to me, and it might or might not be, certainly I'd be able to make such functions in php, but I have no idea how that would interface with LFS. I know bugger all about proper programming, and I don't want to spend years learning how to. If somebody could make such an app for me, I would be eternally grateful, and if there was anything I could do in return, I would, that is, of course, if it is possible to make such an app ...
Sorry for the long post ...