Manage/tr

From xat wiki
Revision as of 10:01, 28 July 2015 by Sevda (talk | contribs) (Created page with "Manage")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

S_(manage)_20?.png Manage group power is experimental and the way it works could change in the future.

Learn how to use Manage power and its features.

To backup your chat's CSV click on the bottom button Edit enter your group's password and click Backup Users

Managing

For regular automated backups, see: Backup

Your xat group backup is saved in an .xatu file, this includes all your staff (members, mods, owners, main owners), guests and banned users.

To edit your xatu file, right click and open with Notepad, make sure to keep .xatu format otherwise it will not work.

Example of 4 xatu lines:

1461971482,,1414172247,0,2,guest,,,,,

1462485906,,1414172247,0,2,guest,,,,,

1472039264,,1414756425,0,4608,guest,,gagged,,dunced,

1473774400,,1414621683,0,130,guest,forever,,,,

  • User ID
  • Reserved (ignore this, but do not remove it otherwise you will break the CSV. Leave it blank.)
  • Time (you can convert, alter, make longer or reduce ban time for example) See below for information on how to get the time code.
  • Power ID (you can edit in case you want to gameban a user, e.g set it to 134 for snakeban and set the user as banned. Otherwise leave it as 0. See Powers for a list of power IDs.)
  • Reserved (ignore this again, but do not remove it otherwise you will break the CSV. Just set it to 0.)
  • Rank Allowed values: (tempmember|sinbin|member|tempmod|mod|tempowner|owner|main|guest)
  • Forever Ban (either leave blank or set as forever to forever ban a user. NB: If you set it to forever, you cannot also set the user as banned below.) Allowed values: (blank|forever)
  • Ban Status Allowed values: (blank|banned|gagged|muted)
  • Mod History Allowed values: (blank|wasmod)
  • Dunce/Badge/Naughtystep/Yellowcard Allowed values: (blank|dunced|badge|naughty|yellow|red)

NB: Leaving a value blank means that you omit it from the CSV, however you must still put commas between where that value was supposed to be.

For example, if you want to create a 1 hour snakebanned guest with ID number 1111 that has no mod history and dunce/badge/naughtystep/yellowcard, the line would be:

1111,,1414867082,134,0,guest,,banned,,,

See below for information on converting times. The one used in the example above (1414867082) will not apply in the future as the system checks the current time against the time code you put in. So if you want a 1 hour ban, you set the current time code higher by an hour and use that.

In case of a ban the rank time is when it will end. This way you can also ban users manually and choose when it will end (by altering the user xatu line with notepad)

Restore users

File:Manage-example1.png
(example 1) Button layout.

To restore your chat (staff, banned statuses etc) you need your .xatu file. Enter your group page, click on "Edit" and choose the file to restore from, after that click on Restore Users button (see example 1)

Use kickall power to update the chat in case you put a new xatu. A single ID can sign out and in (refresh) and its rank or any other changes made will be updated.

CSV Editors

You can use external tools to edit .xatu files. Only use sites you can trust.

Trusted CSV editors:

Times

File:Manage-example2.png
(example 2) Time converter.

Go to http://epochconverter.com then enter the 2nd part of numbers 1414172247 (see example 2)