Manage/th: Difference between revisions

From xat wiki
(Created page with "กรุ๊ป xat ของคุณจะถูกสำรองอยู่ในไฟล์ '''.xatu''' ซึ่งจะมีข้อมูลเจ้าหน้...")
(Updating to match new version of source page)
(35 intermediate revisions by 2 users not shown)
Line 19: Line 19:
กรุ๊ป xat ของคุณจะถูกสำรองอยู่ในไฟล์ '''.xatu''' ซึ่งจะมีข้อมูลเจ้าหน้าที่ของคุณ(สมาชิก ผู้ดูแล เจ้าของและเจ้าของหลัก) แขกและผู้ใช้ที่ถูกแบน
กรุ๊ป xat ของคุณจะถูกสำรองอยู่ในไฟล์ '''.xatu''' ซึ่งจะมีข้อมูลเจ้าหน้าที่ของคุณ(สมาชิก ผู้ดูแล เจ้าของและเจ้าของหลัก) แขกและผู้ใช้ที่ถูกแบน


To edit your xatu file, right click and open with Notepad. Make sure to keep ".xatu" format otherwise it will not work.
เพื่อจะแก้ไขไฟล์ xatu ของคุณ คลิกขวาที่ไฟล์แล้วเปิดด้วย Notepad ขอให้มั่นใจว่าให้อยู่ในรูปแบบ ".xatu" มิฉนั้นไฟล์ของคุณจะใช้งานไม่ได้


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


*'''User ID'''
*'''User ID''' - ไอดีของผู้ใช้


*'''Reserved''' - Ignore this, but do not remove it otherwise you will break the CSV. Leave it blank.
*'''Reserved''' - ถูกสงวนไว้ อย่าลบส่วนนี้ทิ้งเพราะจำทำให้ข้อมูล CSV ไม่สมบูรณ์ ให้ปล่อยไว้ไม่ต้องใส่อะไร


*'''Time''' - You can convert, alter, make longer or reduce ban time for example. See below for information on how to get the time code.
*'''Time''' - คุณสามารถปรับเปลี่ยนเวลาสำหรับการแบนได้ ดูข้อมูลด้านล่างเพื่อให้ได้รหัสสำหรับเวลาที่ต้องการ


*'''Power ID''' - You can edit in case you want to gameban a user. For example, set it to '''134''' for snakeban and set the user as '''banned'''. Otherwise leave it as 0. See [[Special:MyLanguage/Powers|Powers]] for a list of power IDs.
*'''Power ID''' - เลขไอดีของพาวเวอร์ คุณสามารถเปลี่ยนได้หากต้องการเปลี่ยนให้เป็นเกมส์แบนผู้ใช้ เช่น ตั้งให้เป็น '''134''' สำหรับ snakeban และตั้งค่าผู้ใช้นั้นเป็น '''banned''' มิฉนั้นให้เป็น 0 ไว้
** 134 = [[Special:MyLanguage/Snakeban|Snakeban]]
** 136 = [[Special:MyLanguage/Spaceban|Spaceban]]
** 140 = [[Special:MyLanguage/Matchban|Matchban]]
** 152 = [[Special:MyLanguage/Mazeban|Mazeban]]
** 162 = [[Special:MyLanguage/Codeban|Codeban]]
** 176 = [[Special:MyLanguage/Reverse|Reverse]]
** 184 = [[Special:MyLanguage/Zip|Zip]]
** 236 = [[Special:MyLanguage/Slotban|Slotban]]
*'''Reserved''' - ถูกสงวนไว้ อย่าลบส่วนนี้ทิ้งเพราะจำทำให้ข้อมูล CSV ไม่สมบูรณ์ ให้ปล่อยเป็น 0 ไว้


*'''Reserved''' - Ignore this again, but do not remove it otherwise you will break the CSV. Just set it to 0.
*'''Rank''' - ตำแหน่งต่างๆ ซึ่งมีค่าได้ดังนี้:guest, tempmember, member, tempmod, mod, sinbin, tempowner, owner และ main owner


*'''Rank''' - Allowed values: guest, tempmember, member, tempmod, mod, sinbin, tempowner, owner and main owner.
*'''Forever Ban''' - การแบนถาวร ให้เป็นช่องว่างไว้หรือตั้งเป็น '''forever''' เพื่อการแบนผู้ใช้ถาวร ค่าที่ตั้งได้: "ไม่ใส่" หรือ forever


*'''Forever Ban''' - Either leave blank or set as '''forever''' to forever ban a user.  Allowed values: ''blank'', forever.
*'''Ban Status''' - สถานะการแบน ค่าที่ใส่ได้:''ไม่ใส่'', banned, gagged หรือ muted


::''Note: If you set it to forever, you cannot also set the user as banned below.''
*'''Mod History''' - ประวัติการเป็นผู้ดูแล ค่าที่ใส่ได้: ''ไม่ใส่'' หรือ wasmod


*'''Ban Status''' - Allowed values: ''blank'', banned, gagged, muted.
*'''Dunce/Badge/Naughtystep/Yellowcard''' - ค่าสำหรับการระบุว่าถูกใส่อะไรด้วยพาวเวอร์นั้นๆ หรือไม่ ค่าที่ใส่ได้: ''ไม่ใส่'', dunced, badge, naughty, yellow หรือ red


*'''Mod History''' - Allowed values: ''blank'', wasmod.
ตัวอย่างของ xatu 4 บรรทัด:
 
*'''Dunce/Badge/Naughtystep/Yellowcard''' - Allowed values: ''blank'', dunced, badge, naughty, yellow, red.
 
Example of 4 xatu lines:


*1461971482,,1414172247,0,2,guest,,,,,
*1461971482,,1414172247,0,2,guest,,,,,
Line 55: Line 60:
*1473774400,,1414621683,0,130,guest,forever,,,,
*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.'
::''หมายเหตุ: การเว้นช่องว่างหมายถึงคุณต้องการการเว้นจาก CSV; อย่งไรก็ตามคุณต้องใส่ลูกน้ำไว้สำหรับช่องสำหรับค่าที่จะต้องมีอยู่''


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 ถูก snakeban เป็นเวลา 1 ชั่วโมง ไม่มีประวัติการเป็นผู้ดูแล และไม่ได้ถูก dunce/badge/naughtystep/yellowcard ข้อมูลในบรรทัดนั้นจะปรากฎเป็น:


1111,,1414867082,134,0,guest,,banned,,,
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.
ข้อมูลสำหรับการแปลงเวลา ข้อมูลที่ใช้ไปในตัวอย่าง(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)
ในกรณีของการแบน อันดับเวลาจะเป็นเวลาที่สิ้นสุด คุณสามารถแบนผู้ใช้ด้วยตัวคุณเอง และมาเลือกเวลาที่สิ้นสุดเอง(โดยการมาแก้ไข้บีีทัดของ xatu ด้วย notepad)


== CSV Editor ==
== CSV Editor ==


CSV Editor is a tool used to conveniently create and edit .xatu files.
CSV Editor เป็นเครื่องมือสำหรับการสร้างหรือแก้ไขไฟล์ .xatu


*https://i.xat.wiki/csv/
*https://i.xat.wiki/csv/


==Restore users==
==การกู้คืนข้อมูลผู้ใช้==
{{img|image=https://util.xat.com/wiki/images/d/d8/Manage2.gif|float=right|description=(example 2) Restoring ranks.}}
{{img|image=https://util.xat.com/wiki/images/d/d8/Manage2.gif|float=right|description=(ตัวอย่างที่ 2) การกู้คืนยศต่างๆ}}
To restore your chat (staff, banned statuses etc) you need your '''.xatu''' file.
ในการกู้ข้อมูลแชทของคุณคืน(เจ้าหน้าที่,สถานนะการแบน เป็นต้น) คุณจำเป็นต้องมีไฟล์ '''.xatu''' ของคุณ ให้เข้าไปที่เพจกรุ๊ปของคุณ คลิกที่ "Edit" และเลือกไฟล์การกู้คืน แล้วคลิกปุ่ม '''Restore Users''' ดู(ตัวอย่างที่ 1)
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.
ให้ใช้พาวเวอร์ kickall ในการอัพเดทแชทในกรณีที่คุณใส่ xatu ใหม่ลงไป ถ้าเป็นไอดีเดียวสามารถลงชื่อออกแล้วเข้ามาใหม่(รีเฟรช)เพื่อให้ยศและการเปลี่ยนแปลงอื่นๆ ได้รับการอัพเดท


'''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.
'''โปรดสังเกต:''' ขนาดของไฟล์ถูกกำหนดที่ไม่เกิน 256 กิโลไบท์ ซึ่งจะหมายความว่าคุณจะไม่สามารถเรียกคืนข้อมูลผู้ใช้ของคุณได้ถ้าขนาดเกินที่กำหนดไว้


==Times==
==เวลา==
{{img|image=https://util.xat.com/wiki/images/e/e5/Manage3.png|float=left|description=(example 3) Time converter.}}
{{img|image=https://util.xat.com/wiki/images/e/e5/Manage3.png|float=left|description=(ตัวอย่างที่ 3)การแปลงเวลา}}
Go to https://epochconverter.com then enter the 2nd part of numbers '''1414172247''' (see example 3)
ไปที่ https://epochconverter.com แล้วใส่ส่วนที่สองของตัวเลข '''1414172247''' (ดูตัวอย่างที่ 3)
|smiley1=manage
|smiley1=manage
}}
}}
__NOTOC__
__NOTOC__

Revision as of 19:57, 26 June 2019

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
  • 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 ชั่วโมงแล้วนำใช้รหัสเวลานั้นไปใช้

ในกรณีของการแบน อันดับเวลาจะเป็นเวลาที่สิ้นสุด คุณสามารถแบนผู้ใช้ด้วยตัวคุณเอง และมาเลือกเวลาที่สิ้นสุดเอง(โดยการมาแก้ไข้บีีทัดของ xatu ด้วย notepad)

CSV Editor

CSV Editor เป็นเครื่องมือสำหรับการสร้างหรือแก้ไขไฟล์ .xatu

การกู้คืนข้อมูลผู้ใช้

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

ในการกู้ข้อมูลแชทของคุณคืน(เจ้าหน้าที่,สถานนะการแบน เป็นต้น) คุณจำเป็นต้องมีไฟล์ .xatu ของคุณ ให้เข้าไปที่เพจกรุ๊ปของคุณ คลิกที่ "Edit" และเลือกไฟล์การกู้คืน แล้วคลิกปุ่ม Restore Users ดู(ตัวอย่างที่ 1)

ให้ใช้พาวเวอร์ kickall ในการอัพเดทแชทในกรณีที่คุณใส่ xatu ใหม่ลงไป ถ้าเป็นไอดีเดียวสามารถลงชื่อออกแล้วเข้ามาใหม่(รีเฟรช)เพื่อให้ยศและการเปลี่ยนแปลงอื่นๆ ได้รับการอัพเดท

โปรดสังเกต: ขนาดของไฟล์ถูกกำหนดที่ไม่เกิน 256 กิโลไบท์ ซึ่งจะหมายความว่าคุณจะไม่สามารถเรียกคืนข้อมูลผู้ใช้ของคุณได้ถ้าขนาดเกินที่กำหนดไว้

เวลา

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

ไปที่ https://epochconverter.com แล้วใส่ส่วนที่สองของตัวเลข 1414172247 (ดูตัวอย่างที่ 3)