Manage/th: Difference between revisions

From xat wiki
(Created page with "*'''Forever Ban''' - การแบนถาวร ให้เป็นช่องว่างไว้หรือตั้งเป็น '''forever''' เพื่อก...")
(Created page with "::''หมายเหตุ: ถ้าคุณตังให้เป็นแบบถาวร forever คุณจะตั้งด้านล่างนี้ให...")
Line 37: Line 37:
*'''Forever Ban''' - การแบนถาวร ให้เป็นช่องว่างไว้หรือตั้งเป็น '''forever''' เพื่อการแบนผู้ใช้ถาวร ค่าที่ตั้งได้: "ช่องว่าง" หรือ forever
*'''Forever Ban''' - การแบนถาวร ให้เป็นช่องว่างไว้หรือตั้งเป็น '''forever''' เพื่อการแบนผู้ใช้ถาวร ค่าที่ตั้งได้: "ช่องว่าง" หรือ forever


::''Note: If you set it to forever, you cannot also set the user as banned below.''
::''หมายเหตุ: ถ้าคุณตังให้เป็นแบบถาวร forever คุณจะตั้งด้านล่างนี้ให้เป็นการถูกแบน banned ด้วยไม่ได้''


*'''Ban Status''' - Allowed values: ''blank'', banned, gagged, muted.
*'''Ban Status''' - Allowed values: ''blank'', banned, gagged, muted.

Revision as of 12:53, 29 May 2018

Manage เป็นพาวเวอร์กรุ๊ปที่ให้คุณจัดการผู้ใช้ในแชทของคุณ

เมื่อทำการใส่ลงแชทแล้ว คุณจะมีความสามารถในการบันทึกและเรียกคืนยศต่างๆ บนแชทของคุณ

การสำรองผู้ใช้ต่างๆ

เพื่อสำรองข้อมูล CSV ของแชทคุณ คลิกที่ แก้ไข ใต้แชทของคุณ ใส่รหัสผ่านของกรุ๊ปและคลิก Backup Users

ถ้าคุณกำลังมองหาการสำรองข้อมูลแบบออโตเมติก ลองดูที่การสำรองข้อมูล

Template:Img is only allowed in User: namespace. Use [[File:]] (more on that here) or Template:Gallery on articles instead.

การจัดการ

กรุ๊ป xat ของคุณจะถูกสำรองอยู่ในไฟล์ .xatu ซึ่งจะมีข้อมูลเจ้าหน้าที่ของคุณ(สมาชิก ผู้ดูแล เจ้าของและเจ้าของหลัก) แขกและผู้ใช้ที่ถูกแบน

เพื่อจะแก้ไขไฟล์ xatu ของคุณ คลิกขวาที่ไฟล์แล้วเปิดด้วย Notepad ขอให้มั่นใจว่าให้อยู่ในรูปแบบ ".xatu" มิฉนั้นไฟล์ของคุณจะใช้งานไม่ได้

ข้อมูลในแต่ละชุดจะอยู่ในรุปแบบนี้: User ID,Reserved,Time,Power ID,Reserved,Rank,Forever Ban,Ban Status,Mod History,Dunce/Badge/Naughtystep/Yellowcard,

  • User ID - ไอดีของผู้ใช้
  • Reserved - ถูกสงวนไว้ อย่าลบส่วนนี้ทิ้งเพราะจำทำให้ข้อมูล CSV ไม่สมบูรณ์ ให้ปล่อยว่างไว้
  • Time - คุณสามารถปรับเปลี่ยนเวลาสำหรับการแบนได้ ดูข้อมูลด้านล่างเพื่อให้ได้รหัสสำหรับเวลาที่ต้องการ
  • Power ID - เลขไอดีของพาวเวอร์ คุณสามารถเปลี่ยนได้หากต้องการเปลี่ยนให้เป็นเกมส์แบนผู้ใช้ เช่น ตั้งให้เป็น 134 สำหรับ snakeban และตั้งค่าผู้ใช้นั้นเป็น banned มิฉนั้นให้เป็น 0 ไว้ ดูที่ พาวเวอร์ สำหรับข้อมูลเลขไอดีของพาวเวอร์ต่างๆ
  • Reserved - ถูกสงวนไว้ อย่าลบส่วนนี้ทิ้งเพราะจำทำให้ข้อมูล CSV ไม่สมบูรณ์ ให้ปล่อยเป็น 0 ไว้
  • Rank - ตำแหน่งต่างๆ ซึ่งมีค่าได้ดังนี้:guest, tempmember, member, tempmod, mod, sinbin, tempowner, owner และ main owner
  • Forever Ban - การแบนถาวร ให้เป็นช่องว่างไว้หรือตั้งเป็น forever เพื่อการแบนผู้ใช้ถาวร ค่าที่ตั้งได้: "ช่องว่าง" หรือ forever
หมายเหตุ: ถ้าคุณตังให้เป็นแบบถาวร forever คุณจะตั้งด้านล่างนี้ให้เป็นการถูกแบน banned ด้วยไม่ได้
  • 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.

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,,,,

Note: 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)

CSV Editor

CSV Editor is a tool used to conveniently create and edit .xatu files.

Restore users

Template:Img is only allowed in User: namespace. Use [[File:]] (more on that here) or Template:Gallery on articles instead.

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.

Note: There is a file size limit of 256 kilobytes. This means that you will be unable to restore your file if it surpasses that limit.

Times

Template:Img is only allowed in User: namespace. Use [[File:]] (more on that here) or Template:Gallery on articles instead.

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