This commit is contained in:
xbl
2025-12-23 10:18:50 +01:00
parent 6b4445b538
commit c648a99439
3 changed files with 18 additions and 42 deletions
+2 -27
View File
@@ -1,8 +1,6 @@
# QLPyCon - Quake Live Python Console
A modular, refactored terminal-based client for monitoring Quake Live servers via ZMQ.
## Version 0.8.0 - Modular Architecture
A modular, refactored terminal-based client for monitoring and remote controlling Quake Live servers via ZMQ.
### Features
@@ -93,15 +91,6 @@ python main.py --unknown-log my_unknown.log
- Threaded input queue for non-blocking commands
- Color rendering with curses
### Key Improvements Over v0.7.0
1. **Modular Design** - Separated concerns into focused modules
2. **Clean Classes** - OOP design for state and connections
3. **Better Maintainability** - Each module has a single responsibility
4. **Easier Testing** - Components can be tested independently
5. **Clear Interfaces** - Well-defined APIs between modules
6. **Improved Comments** - Every module, class, and function documented
### Event Types Supported
- `PLAYER_SWITCHTEAM` - Team changes
@@ -125,20 +114,6 @@ Quake Live uses `^N` color codes where N is 0-7:
- `^6` - Magenta
- `^7` - White (default)
### Development
To extend QLPyCon:
1. **Add new event types** - Edit `parser.py`, add handler method
2. **Change UI layout** - Edit `ui.py`, modify window creation
3. **Add new commands** - Edit `main.py`, handle in main loop
4. **Modify formatting** - Edit `formatter.py`, adjust color/timestamp logic
5. **Add configuration** - Edit `config.py`, add constants
### License
MIT License - See original qlpycon.py for details
### Credits
Refactored from qlpycon.py v0.7.0
WTFPL