This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface ThailandPostTrackerOptions { | |
| endpoint?: string; | |
| referer?: string; | |
| timeoutMs?: number; | |
| } | |
| export interface ThailandPostRequestData { | |
| trackingNo: string; | |
| flagOS: "1"; | |
| flagBill: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [GAMEPLAY] | |
| ; โหมดการเล่น endless, survival, หรือ wilderness | |
| game_mode = endless | |
| ; จำนวนผู้เล่นสูงสุด | |
| max_players = 12 | |
| ; ปิดโหมด PvP (ผู้เล่นโจมตีกันไม่ได้) | |
| pvp = false | |
| ; หยุดเกมชั่วคราวเมื่อไม่มีผู้เล่น | |
| pause_when_empty = true | |
| ; เปิดการทำภารกิจอัตโนมัติในบางภารกิจ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Function to check the OS and package manager | |
| check_os() { | |
| if [ -f /etc/os-release ]; then | |
| . /etc/os-release | |
| OS=$ID | |
| else | |
| echo "Cannot detect the OS." | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ตรวจสอบว่าเป็นผู้ใช้ root หรือไม่ | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "🚨 This script must be run as root." | |
| exit 1 | |
| fi | |
| # ฟังก์ชั่นสำหรับพิมพ์ข้อความแบบมีสีและสไตล์ | |
| print_styled() { |