Manage/th

From xat wiki
Revision as of 13:12, 29 May 2018 by WaiZaDotCom (talk | contribs)

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 - สถานะการแบน ค่าที่ใส่ได้:ไม่ใส่, banned, gagged หรือ muted
  • Mod History - ประวัติการเป็นผู้ดูแล ค่าที่ใส่ได้: ไม่ใส่ หรือ wasmod
  • Dunce/Badge/Naughtystep/Yellowcard - ค่าสำหรับการระบุว่าถูกใส่อะไรด้วยพาวเวอร์นั้นๆ หรือไม่ ค่าที่ใส่ได้: ช่องว่าง, dunced, badge, naughty, yellow หรือ red

ตัวอย่างของ xatu 4 บรรทัด:

  • 1461971482,,1414172247,0,2,guest,,,,,
  • 1462485906,,1414172247,0,2,guest,,,,,
  • 1472039264,,1414756425,0,4608,guest,,gagged,,dunced,
  • 1473774400,,1414621683,0,130,guest,forever,,,,
หมายเหตุ: การเว้นช่องว่างหมายถึงคุณต้องการการเว้นจาก CSV; อย่งไรก็ตามคุณต้องใส่ลูกน้ำไว้สำหรับช่องสำหรับค่าที่จะต้องมีอยู่

ตัวอย่าง เช่นคุณต้องการให้ผู้มาเยือนที่ใช้หมายเลขไอดี 1111 ถูก snakeban เป็นเวลา 1 ชั่วโมง ไม่มีประวัติการเป็นผู้ดูแล และไม่ได้ถูก dunce/badge/naughtystep/yellowcard ข้อมูลในบรรทัดนั้นจะปรากฎเป็น:

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

ข้อมูลสำหรับการแปลงเวลา ข้อมูลที่ใช้ไปในตัวอย่าง(1414867082) จะไม่สามารถใช้ได้ในอนาคตเพราะระบบจะทำการตรวจสอบเวลาปัจจุบันเทียบกับรหัสเวลาที่คุณใส่ลงไป ดังนั้น ถ้าคุณต้องการให้แบน 1 ชั่วโมง คุณต้องตั้งให้รหัสเวลาสูงกกว่าเวลาปัจจุบันไป 1 ชั่วโมงแล้วนำใช้รหัสเวลานั้นไปใช้

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)