Metadata-Version: 2.1
Name: T6LogReader
Version: 0.1.0
Summary: A Python module for reading and searching Plutonium T6 logs
Home-page: https://github.com/Yallamaztar/T6LogReader
Author: budiworld
Author-email: budi.world@yahoo.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# **T6LogReader 📜**

#### A Python module for reading and searching Black Ops II (Plutonium T6) logs


## 🚀 Features
- ✅ **Read the last lines of console.tlog**
- ✅ **Search for specific commands (e.g., kick, ban)**
- ✅ **Works dynamically for any Windows user (not tested on Linux)**

---

## 📥 Installation

```
pip install T6LogReader
```

---

## 🛠 Usage

- ### Read Last `number_of_lines: int` Lines
```python
from t6logreader import T6LogReader

log_reader = T6LogReader()
print(log_reader.read_last_lines(number_of_lines=10))
```

----

- ### Search for a Specific `command: str`
```python
from t6logreader import T6LogReader

log_reader = T6LogReader()
print(log_reader.search_command(command="kick", prefix="")) # Prefix is normally set as "]" 
```

----

- ### Read the Last Line
```python
from t6logreader import T6LogReader

log_reader = T6LogReader()
print(log_reader.read_last_line()) 
```

---

## 📂 File Path Handling

#### By default, it reads:
```
C:\Users\YourUser\AppData\Local\Plutonium\console.log
```

#### But you can specify a custom path:
```python
log_reader = T6LogReader(log_path="custom/path/to/console.log")
```

---

# Come Play on Brownies SND (T6) 🍰
### Why Brownies? 🤔
- **Stability:** Brownies delivers a consistent, lag-free experience, making it the perfect choice for players who demand uninterrupted action
- **Community:** The players at Brownies are known for being helpful, competitive, and fun—something Orion can only dream of
- **Events & Features:** Brownies is constantly running unique events and offers more server-side customization options than Orion, ensuring every game feels fresh

---

#### [Brownies Discord](https://discord.gg/FAHB3mwrVF) | [Brownies IW4M](http://152.53.132.41:1624/) | Made With ❤️ By Budiworld
