Universal Player name change records

Discussion in 'Plugin Requests' started by pulsar101, May 27, 2015.

  1. Would love a plugin that records what name players have gone under in a text file. So basically just some thing that logs changes to their entry in the users config
     
  2. Impossible as of now.
     
  3. Wulf

    Wulf Community Admin

    This would be easy to do actually.
     
  4. How so
     
  5. Wulf

    Wulf Community Admin

    You could store their Steam ID and usernames on connect, or you could store by IP instead, in a JSON file. Either way would give you the result the OP requested.
     
  6. Oh, that's not what I meant. I meant something like OnPlayerNamechange
     
  7. Wulf

    Wulf Community Admin

    Pretty sure hey have to reconnect for a name change to apply, so it wouldn't make much sense to add a hook for a name change.
     
  8. No they shouldn't. You can change your name with a potion of appearance just like that
     
  9. Wulf

    Wulf Community Admin

    Ahh, then maybe.
     
  10. You could still use connect, disconnect and spawn to keep track of it :)
     
  11. It's true, it's true. But in my case I wish to prevent them from changing their name. Whenever someone connects in, they automatically get their namechange (not only display name) to the one given to them when they were whitelisted (custom process too). I wish people to not be able to change their names OR which is even a better solution, give us a hook of the PlayerNameChange or something like that and add custom filters before they can press "done".
     
  12. As for today Reign of kings user.cfg file has the first name the SteamID has created, and Oxide user file has last seen username log.
    But i would love if we could see everything between.

    I have had players changing names to something random to commit rulebreak and then go back to the normal nickname.