Solved Deleting old user data?

Discussion in 'Rust Discussion' started by GhostGaming, Aug 25, 2017.

  1. so recently i haven't been able to open my oxide.users.data file through my servers control panel as the file is way to big to open and edit through my servers control panel. when i edit it on my desktop i have noticed there is a load of this (see screen shot below) and i am wondering what is causing this. when i try and go to the steam profile that is linked with the steam ID's they just come up blank.

    so then my question is how do i go about stopping my server add these random junk users to the file and am i able to just delete all of these and upload the file back into the server?

    i have attached my actual oxide.users.data file for anyone to have a look at and see my problem of having tons of these junk users to say in the file.
    upload_2017-8-25_18-45-11.png
     
  2. Wulf

    Wulf Community Admin

    The file is not intended to be edited manually. The format is a Protobuf file.
     
  3. anyway i can get rid of these junk users then?
     
  4. Stop server delete file restart server it will make a new one
     
  5. Wulf

    Wulf Community Admin

    Without losing all data for users you want to keep, your only options would be to either make a plugin to handle it or use a Protobuf editor. It can be edited manually, but not recommended as it is easy to mess up the file and it reset. Any changes would need to be done while the server is offline though.
     
  6. is there any plugins out there atm that can handle it? as i have no experience at all towards coding a plugin
     
  7. Wulf

    Wulf Community Admin

    No, not that I am aware of, but we do plan on adding options for purging inactive user data. Your best option now would be to either wipe the file and start fresh or try to edit it.
     
  8. As you have so many unnamed users it is best to delete the file when server is offline
     
  9. i might just give deleting the file and giving my players all there perms back then, sounds like the easier thing to do.

    also do you have any idea what could be causing the file to have so many unnamed players?
     
  10. Wulf

    Wulf Community Admin

    If players connect and disconnect before a name is available/set, then Unnamed is used by Oxide.
     
  11. at most i have around 15 people on at a time and its never really that popular so i feel like it has to be something else due to the fact that there is hundreds of unnamed players must be something else
     
  12. It wont cause any problems with your server leaving it the way it is but if you want to clean it up then deleting it is the best way to go and download the file to your desktop so you can see what needs added but I find its best to add permissions to the group not the user
     
  13. yeah ive figured this, its the fact that for some reason through my server provides console i am not able to edit/view any files that are on the server that are over a certain size this being one of them which is why i brought this up
     
  14. Just download to desktop open in notepad++ then you will see who has what permission so you can readd them to the new file with rcon commands
     
  15. i intend to do this now some time soon! and i hope that i dont get hundreds of unnamed players again