Is there an easy way of changing the group names we've created?
We have vip, vip+, vip++ and vip+++ and we'd like to rename them to v0, v1, v2, v3 respectively.
At the moment I'm looking at a huge job of creating the new groups, setting all the permissions for them, and then moving the players over one at a time. If there were some easier way to do it with a few commands, that would be great.
Changing group names?
Discussion in 'Rust Discussion' started by Evilyn Corporated, Nov 30, 2017.
-
Wulf Community Admin
There is no functionality to rename a group, but you could write something to move them to a new group.
-
-
@Evilyn Corporated Not a tested method but why not just edit group name from oxide.groups.data and then use a text editor that supports REPLACE and replace the old group name with the new group name from oxide.users.data.
Again, not tested so if you do try it backup your data. -
Wulf Community Admin
-
I don't think this can be done, but we are looking for a way to change the group names. For example we want to change VIP+ to v1. I thought I could maybe do it in the oxide.groups file in the data folder, but it's binary so can't be changed there. Anyone have any clue of another way to do it? @Wulf maybe?
Thanks -
I've started work on a spreadsheet using data generated from issuing group show commands. I think I might be able to save a load of time constructing commands by wrapping cells with text around the steam id and then ouputting to a text file.
Then copy paste each line into the console.
It will take a while, but much faster than pasting each steam id into a command string and then copying that string into the console.
EDIT: Sorry I'm using my phone and realised I'm logged in as my main admin account. I'm Evilyn. -
Just tested the method I provided above and it worked. I changed default to def and then back to default from def. Again, save backups first.
-
Wulf Community Admin
-
Thanks guys. It looks like what we've decided to do is build a new themed server and set up all permissions on there from scratch, (and I think...) only adding the vip players from the last 6 months. If someone comes back to the server(s) and says "where's my vip stuff?" then we'll deal with each one as it happens. Taking that tack will minimise the work we have to do up front.
Once we've completed the build, then we'll copy the permissions from the new server to the existing ones (a vip gets ranked on all our servers), one at a time, wait a day or so and see who squeals, if anyone.
I just feel this is the safest way to do it.
Thanks again.