mc5-api-client 1.0.21__tar.gz → 1.0.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mc5_api_client-1.0.21/src/mc5_api_client.egg-info → mc5_api_client-1.0.23}/PKG-INFO +300 -17
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/README.md +299 -16
- mc5_api_client-1.0.23/examples/automatic_squad_management.py +203 -0
- mc5_api_client-1.0.23/examples/complete_squad_customization.py +400 -0
- mc5_api_client-1.0.23/examples/squad_customization_quick.py +79 -0
- mc5_api_client-1.0.23/examples/squad_quick_start.py +94 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/pyproject.toml +1 -1
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/setup.py +1 -1
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/__init__.py +15 -1
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/client.py +361 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23/src/mc5_api_client.egg-info}/PKG-INFO +300 -17
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client.egg-info/SOURCES.txt +4 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/.gitignore +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/LICENSE +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/MANIFEST.in +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/admin_squad_management.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/admin_tools.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/advanced_automation.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/advanced_features.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/authentication_example.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/basic_usage.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/clan_management.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/clan_management_complete.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/device_id_example.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/events_and_tasks.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/everyday_mc5.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/everyday_mc5_easy.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/game_launch_example.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/help_system.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/message_management.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/player_stats.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/private_messaging.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/quick_help.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/quick_reference.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/service_location_example.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/simple_usage.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/squad_management.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/examples/squad_wall_management.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/requirements.txt +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/setup.cfg +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/account.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/account_quick.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/admin_client.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/alerts.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/alerts_quick.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/auth.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/cli.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/debug.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/easy_mc5.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/exceptions.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/federation.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/federation_quick.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/help.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/pc_storage_client.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/pc_storage_quick.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/platform.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/py.typed +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/simple_client.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/squad_battle.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/squad_battle_quick.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/storage_admin.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/telemetry.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/transfer.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client/transfer_quick.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client.egg-info/dependency_links.txt +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client.egg-info/entry_points.txt +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client.egg-info/not-zip-safe +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client.egg-info/requires.txt +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/src/mc5_api_client.egg-info/top_level.txt +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/tests/__init__.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/tests/test_auth.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/tests/test_cli.py +0 -0
- {mc5_api_client-1.0.21 → mc5_api_client-1.0.23}/tests/test_client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mc5_api_client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.23
|
|
4
4
|
Summary: A comprehensive Python library for interacting with the Modern Combat 5 API
|
|
5
5
|
Home-page: https://pypi.org/project/mc5-api-client/
|
|
6
6
|
Author: Chizoba
|
|
@@ -81,22 +81,27 @@ Dynamic: requires-python
|
|
|
81
81
|
[](https://python.org)
|
|
82
82
|
[](LICENSE)
|
|
83
83
|
[](mailto:chizoba2026@hotmail.com)
|
|
84
|
-
[](https://pypi.org/project/mc5-api-client/)
|
|
85
85
|
[](https://pypi.org/project/mc5-api-client/)
|
|
86
86
|
|
|
87
87
|
Hey there! 👋 Welcome to the **Modern Combat 5 API Client** - Comprehensive Python library for interacting with Modern Combat 5 game servers
|
|
88
88
|
|
|
89
|
-
## ✨ **New in v1.0.
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
- 🚀 **
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
89
|
+
## ✨ **New in v1.0.21: Revolutionary Automatic Squad Management!**
|
|
90
|
+
|
|
91
|
+
- 🎮 **REVOLUTIONARY: Automatic Squad Management** - No more manual squad IDs! Automatically detect and manage your squad from your profile
|
|
92
|
+
- 🚀 **Zero Configuration Squad Operations** - `get_my_squad_info()`, `update_my_squad_info()`, `get_my_squad_members()` - all work without squad IDs
|
|
93
|
+
- 🔄 **Squad Switching Support** - Automatically adapts when you change squads
|
|
94
|
+
- 🛡️ **Intelligent Error Handling** - Graceful handling for users without squads
|
|
95
|
+
- 📱 **Perfect for Mobile/Web Apps** - Standalone functions work without client instances
|
|
96
|
+
- 🎯 **MC5Easy** - Super simple one-line functions for everyday tasks
|
|
97
|
+
- 🚀 **One-Liner Functions** - `check_my_daily_tasks()`, `get_my_mc5_profile()`, `find_mc5_player()`
|
|
98
|
+
- 📝 **Context Manager** - Auto-connect and auto-cleanup with `with MC5Easy()`
|
|
99
|
+
- 🔧 **Environment Variables** - Secure credential management with `MC5_USERNAME` and `MC5_PASSWORD`
|
|
100
|
+
- 🌐 **Service Location** - Dynamic MC5 service endpoint discovery
|
|
101
|
+
- 🎮 **Federation Sessions** - Complete game launch preparation
|
|
102
|
+
- 🌍 **Global ID Management** - Device tracking and identification
|
|
103
|
+
- 🔗 **Connection Monitoring** - Service health and status tracking
|
|
104
|
+
- 🏠 **Room Discovery** - Find available game rooms
|
|
100
105
|
- 🏰 **PC Storage Admin** - Complete squad management with storage scopes
|
|
101
106
|
- 🔧 **StorageAdminMixin** - Core storage functionality for advanced operations
|
|
102
107
|
- 👤 **System Account Access** - 5 working system accounts discovered
|
|
@@ -140,12 +145,84 @@ Think of this as your remote control for Modern Combat 5! Here's what you can do
|
|
|
140
145
|
|
|
141
146
|
## 🚀 Installation
|
|
142
147
|
|
|
143
|
-
### 🎉 MC5 API Client v1.0.
|
|
148
|
+
### 🎉 MC5 API Client v1.0.21 - Revolutionary Automatic Squad Management!
|
|
144
149
|
|
|
145
150
|
```bash
|
|
146
|
-
pip install mc5_api_client==1.0.
|
|
151
|
+
pip install mc5_api_client==1.0.21
|
|
147
152
|
```
|
|
148
153
|
|
|
154
|
+
## 🎮 **🚀 REVOLUTIONARY FEATURE: Automatic Squad Management**
|
|
155
|
+
|
|
156
|
+
### **🎯 The Problem We Solved:**
|
|
157
|
+
Previously, users had to manually specify squad IDs for squad operations:
|
|
158
|
+
```python
|
|
159
|
+
# ❌ OLD METHOD - Complex and error-prone
|
|
160
|
+
squad_id = "d1e7437c-0156-11f1-ad07-b8ca3a709038" # Hard to remember!
|
|
161
|
+
squad_info = client.get_clan_settings(squad_id) # Manual ID required
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### **✅ Our Solution - Automatic Detection:**
|
|
165
|
+
```python
|
|
166
|
+
# ✅ NEW METHOD - Simple and automatic
|
|
167
|
+
squad_info = client.get_my_squad_info() # Auto-fetched from profile!
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### **🎮 Key Benefits:**
|
|
171
|
+
- 🎯 **No Squad ID Memorization** - Automatically detected from your profile
|
|
172
|
+
- 🔄 **Squad Switching Support** - Works when you change squads
|
|
173
|
+
- 🛡️ **Intelligent Error Handling** - Graceful handling for users without squads
|
|
174
|
+
- 📱 **Perfect for Mobile/Web Apps** - Standalone functions work without client instances
|
|
175
|
+
- 🚀 **Zero Configuration** - Just call the methods, no setup required
|
|
176
|
+
|
|
177
|
+
### **🔧 Available Methods:**
|
|
178
|
+
|
|
179
|
+
#### **Client Methods:**
|
|
180
|
+
```python
|
|
181
|
+
from mc5_api_client import MC5Client
|
|
182
|
+
|
|
183
|
+
client = MC5Client(username, password)
|
|
184
|
+
|
|
185
|
+
# Get squad ID automatically
|
|
186
|
+
squad_id = client.get_my_squad_id()
|
|
187
|
+
|
|
188
|
+
# Get complete squad information
|
|
189
|
+
squad_info = client.get_my_squad_info()
|
|
190
|
+
|
|
191
|
+
# Get squad members
|
|
192
|
+
members = client.get_my_squad_members()
|
|
193
|
+
|
|
194
|
+
# Update squad (no squad ID needed!)
|
|
195
|
+
client.update_my_squad_info(
|
|
196
|
+
name="Elite Squad",
|
|
197
|
+
description="Best squad in MC5!",
|
|
198
|
+
rating=2000
|
|
199
|
+
)
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
#### **Standalone Functions:**
|
|
203
|
+
```python
|
|
204
|
+
from mc5_api_client import get_my_squad_info, update_my_squad_info
|
|
205
|
+
|
|
206
|
+
# Work without creating a client!
|
|
207
|
+
squad_info = get_my_squad_info(
|
|
208
|
+
username="your_credential",
|
|
209
|
+
password="your_password"
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
# Update squad without client
|
|
213
|
+
result = update_my_squad_info(
|
|
214
|
+
username="your_credential",
|
|
215
|
+
password="your_password",
|
|
216
|
+
name="New Squad Name"
|
|
217
|
+
)
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### **🔄 Real-World Impact:**
|
|
221
|
+
- **10x easier** squad management
|
|
222
|
+
- **Zero configuration** required
|
|
223
|
+
- **Automatic adaptation** to squad changes
|
|
224
|
+
- **Perfect for** modern applications
|
|
225
|
+
|
|
149
226
|
## 🎯 **Usage Examples**
|
|
150
227
|
|
|
151
228
|
### **🎮 Basic Usage (MC5Client)**
|
|
@@ -245,6 +322,203 @@ with MC5Easy(username, password) as mc5:
|
|
|
245
322
|
print(f"Device: {device_info}")
|
|
246
323
|
```
|
|
247
324
|
|
|
325
|
+
### **🎮 Automatic Squad Management (REVOLUTIONARY!)**
|
|
326
|
+
```python
|
|
327
|
+
from mc5_api_client import MC5Client, get_my_squad_info, update_my_squad_info
|
|
328
|
+
|
|
329
|
+
# Initialize client
|
|
330
|
+
client = MC5Client(username, password)
|
|
331
|
+
|
|
332
|
+
# 🚀 NO MORE SQUAD ID NEEDED! Automatically detected from your profile!
|
|
333
|
+
|
|
334
|
+
# Get your squad information automatically
|
|
335
|
+
squad_info = client.get_my_squad_info()
|
|
336
|
+
print(f"Squad Name: {squad_info['name']}")
|
|
337
|
+
print(f"Squad Rating: {squad_info['rating']}")
|
|
338
|
+
print(f"Description: {squad_info['description']}")
|
|
339
|
+
|
|
340
|
+
# Get squad members automatically
|
|
341
|
+
members = client.get_my_squad_members()
|
|
342
|
+
print(f"Member Count: {members['member_count']}")
|
|
343
|
+
for member in members['members'][:3]:
|
|
344
|
+
print(f" - {member['name']}")
|
|
345
|
+
|
|
346
|
+
# Update squad automatically (no squad ID required!)
|
|
347
|
+
client.update_my_squad_info(
|
|
348
|
+
name="Elite Squad",
|
|
349
|
+
description="Best squad in MC5!",
|
|
350
|
+
rating=2000,
|
|
351
|
+
min_join_value=1000
|
|
352
|
+
)
|
|
353
|
+
|
|
354
|
+
# 🔄 Works even when you switch squads!
|
|
355
|
+
# The methods automatically detect your current squad
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
### **🚀 Standalone Squad Management (No Client Required!)**
|
|
359
|
+
```python
|
|
360
|
+
from mc5_api_client import get_my_squad_id, get_my_squad_info, update_my_squad_info
|
|
361
|
+
|
|
362
|
+
# Get squad ID without creating client
|
|
363
|
+
squad_id = get_my_squad_id(
|
|
364
|
+
username="your_credential",
|
|
365
|
+
password="your_password"
|
|
366
|
+
)
|
|
367
|
+
print(f"Your Squad ID: {squad_id}")
|
|
368
|
+
|
|
369
|
+
# Get squad info without creating client
|
|
370
|
+
squad_info = get_my_squad_info(
|
|
371
|
+
username="your_credential",
|
|
372
|
+
password="your_password"
|
|
373
|
+
)
|
|
374
|
+
print(f"Squad: {squad_info['name']}")
|
|
375
|
+
|
|
376
|
+
# Update squad without creating client
|
|
377
|
+
result = update_my_squad_info(
|
|
378
|
+
username="your_credential",
|
|
379
|
+
password="your_password",
|
|
380
|
+
name="New Squad Name",
|
|
381
|
+
description="Updated description"
|
|
382
|
+
)
|
|
383
|
+
print(f"Update Result: {result}")
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### **🔄 Traditional vs Automatic Squad Management**
|
|
387
|
+
```python
|
|
388
|
+
# ❌ OLD METHOD - Manual squad ID required
|
|
389
|
+
squad_id = "d1e7437c-0156-11f1-ad07-b8ca3a709038" # Hard to remember!
|
|
390
|
+
squad_info = client.get_clan_settings(squad_id) # Manual ID required
|
|
391
|
+
members = client.get_clan_members(squad_id) # Manual ID required
|
|
392
|
+
client.update_clan_settings(squad_id, name="New") # Manual ID required
|
|
393
|
+
|
|
394
|
+
# ✅ NEW METHOD - Automatic detection
|
|
395
|
+
squad_info = client.get_my_squad_info() # Auto-fetched!
|
|
396
|
+
members = client.get_my_squad_members() # Auto-fetched!
|
|
397
|
+
client.update_my_squad_info(name="New") # Auto-fetched!
|
|
398
|
+
|
|
399
|
+
# Benefits:
|
|
400
|
+
# 🎯 No squad ID memorization
|
|
401
|
+
# 🔄 Works when switching squads
|
|
402
|
+
# 🛡️ Error handling for users without squads
|
|
403
|
+
# 🚀 Simpler API for everyday use
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
### **🎨 Complete Squad Customization (NEW!)**
|
|
407
|
+
```python
|
|
408
|
+
from mc5_api_client import MC5Client
|
|
409
|
+
|
|
410
|
+
client = MC5Client(username, password)
|
|
411
|
+
|
|
412
|
+
# 🚀 SUPER SIMPLE - One-line customizations!
|
|
413
|
+
client.quick_set_name("My Awesome Squad") # Change name
|
|
414
|
+
client.quick_set_level(5) # Set to Level 5
|
|
415
|
+
client.quick_set_colors("red", "white") # Red/White colors
|
|
416
|
+
client.quick_set_member_limit(50) # Set member limit
|
|
417
|
+
client.quick_set_currency(10000) # Set currency
|
|
418
|
+
|
|
419
|
+
# 🎯 QUICK SETUPS - Professional results in one line!
|
|
420
|
+
client.quick_setup_professional_squad("Elite Squad", level=8) # Professional squad
|
|
421
|
+
client.quick_setup_gaming_squad("Gaming Legends", "fire") # Gaming squad with theme
|
|
422
|
+
|
|
423
|
+
# 🎨 THEMES - Beautiful colors instantly
|
|
424
|
+
client.customize_squad_theme('fire') # Fire theme
|
|
425
|
+
client.customize_squad_theme('ice') # Ice theme
|
|
426
|
+
client.customize_squad_theme('dark') # Dark theme
|
|
427
|
+
client.customize_squad_theme('nature') # Nature theme
|
|
428
|
+
|
|
429
|
+
# ⭐ LEVEL SYSTEM - Automatic XP calculation
|
|
430
|
+
client.set_squad_level(10, "Max Level Squad") # Level 10 (max)
|
|
431
|
+
# Level 1: 1000 XP, Level 5: 5000 XP, Level 10: 10000 XP
|
|
432
|
+
|
|
433
|
+
# 🔧 COMPLETE CUSTOMIZATION - Full control with validation
|
|
434
|
+
client.customize_squad_complete(
|
|
435
|
+
name="452e55e84897+",
|
|
436
|
+
rating=3573,
|
|
437
|
+
score=5200,
|
|
438
|
+
member_limit=300,
|
|
439
|
+
_logo_clr_prim=client.get_color_value("red"),
|
|
440
|
+
_xp=client.calculate_xp_for_level(9),
|
|
441
|
+
currency="10000"
|
|
442
|
+
)
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
### **📊 Squad Parameters You Can Customize:**
|
|
446
|
+
```python
|
|
447
|
+
# 📝 Basic Information
|
|
448
|
+
name: "Your Squad Name"
|
|
449
|
+
description: "Your squad description"
|
|
450
|
+
rating: 5000
|
|
451
|
+
score: 5200
|
|
452
|
+
|
|
453
|
+
# 👥 Member Settings
|
|
454
|
+
member_limit: 300 # 1-300 members
|
|
455
|
+
membership: "owner_approved" # or "open"
|
|
456
|
+
_min_join_value: 1000 # Minimum score to join
|
|
457
|
+
|
|
458
|
+
# 🎨 Visual Customization
|
|
459
|
+
_logo: "1" # Logo ID
|
|
460
|
+
_logo_clr_prim: "16711680" # Primary color (RGB decimal)
|
|
461
|
+
_logo_clr_sec: "16777215" # Secondary color (RGB decimal)
|
|
462
|
+
# Colors: black=0, white=16777215, red=16711680, blue=255, green=65280
|
|
463
|
+
|
|
464
|
+
# ⭐ Level & Progress
|
|
465
|
+
_xp: "5000" # Level 5 (1000-10000, Level 1-10)
|
|
466
|
+
# Level 1: 1000, Level 2: 2000, ..., Level 10: 10000
|
|
467
|
+
|
|
468
|
+
# 💰 Economy
|
|
469
|
+
currency: "10000"
|
|
470
|
+
_killsig_id: "default_killsig_01"
|
|
471
|
+
|
|
472
|
+
# 🏃 Activity Settings
|
|
473
|
+
active_clan_label: "true"
|
|
474
|
+
active_clan_threshold: "50"
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
### **🚀 Quick Functions - EASIEST WAY TO CUSTOMIZE!**
|
|
478
|
+
```python
|
|
479
|
+
# 📝 BASIC QUICK FUNCTIONS
|
|
480
|
+
client.quick_set_name("My Squad") # Change name
|
|
481
|
+
client.quick_set_rating(5000) # Set rating
|
|
482
|
+
client.quick_set_member_limit(50) # Set member limit
|
|
483
|
+
client.quick_set_currency(10000) # Set currency
|
|
484
|
+
|
|
485
|
+
# � COLOR QUICK FUNCTIONS
|
|
486
|
+
client.quick_set_colors("red") # Red theme
|
|
487
|
+
client.quick_set_colors("blue", "white") # Blue/White theme
|
|
488
|
+
client.quick_set_colors("black", "gold") # Black/Gold theme
|
|
489
|
+
|
|
490
|
+
# ⭐ LEVEL QUICK FUNCTIONS
|
|
491
|
+
client.quick_set_level(5) # Set to Level 5
|
|
492
|
+
client.quick_set_level(10, "Max Level") # Set to Level 10
|
|
493
|
+
|
|
494
|
+
# 🏆 PROFESSIONAL QUICK SETUPS
|
|
495
|
+
client.quick_setup_professional_squad("Elite Squad", level=8) # Professional setup
|
|
496
|
+
client.quick_setup_gaming_squad("Gaming Squad", "fire") # Gaming setup
|
|
497
|
+
|
|
498
|
+
# 🔄 RESET QUICK FUNCTION
|
|
499
|
+
client.quick_reset_to_defaults() # Reset to defaults
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
### **�🎮 Quick Customization Examples:**
|
|
503
|
+
```python
|
|
504
|
+
# 🚀 One-line level upgrades
|
|
505
|
+
client.quick_set_level(10) # Max level squad
|
|
506
|
+
client.quick_set_level(5, "Level 5 Warriors") # Custom name
|
|
507
|
+
|
|
508
|
+
# 🎨 One-line theme applications
|
|
509
|
+
client.customize_squad_theme('fire') # Fire theme
|
|
510
|
+
client.customize_squad_theme('ice', 'Ice Squad') # Custom name
|
|
511
|
+
|
|
512
|
+
# 🔧 Complete professional setup
|
|
513
|
+
client.customize_squad_complete(
|
|
514
|
+
name="Elite Squad",
|
|
515
|
+
rating=8000,
|
|
516
|
+
_xp=client.calculate_xp_for_level(8),
|
|
517
|
+
_logo_clr_prim=client.get_color_value('purple'),
|
|
518
|
+
member_limit=100
|
|
519
|
+
)
|
|
520
|
+
```
|
|
521
|
+
|
|
248
522
|
## 📱 **Run Examples:** Completed!
|
|
249
523
|
|
|
250
524
|
**🎯 Super Easy Interface (NEW in v1.0.18):**
|
|
@@ -329,8 +603,17 @@ python examples/service_location_example.py
|
|
|
329
603
|
# Game launch and federation sessions:
|
|
330
604
|
python examples/game_launch_example.py
|
|
331
605
|
|
|
332
|
-
#
|
|
333
|
-
python examples/
|
|
606
|
+
# Automatic squad management:
|
|
607
|
+
python examples/automatic_squad_management.py
|
|
608
|
+
|
|
609
|
+
# Complete squad customization:
|
|
610
|
+
python examples/complete_squad_customization.py
|
|
611
|
+
|
|
612
|
+
# Quick squad customization:
|
|
613
|
+
python examples/squad_customization_quick.py
|
|
614
|
+
|
|
615
|
+
# Squad quick start (super simple):
|
|
616
|
+
python examples/squad_quick_start.py
|
|
334
617
|
|
|
335
618
|
# Authentication examples:
|
|
336
619
|
python examples/authentication_example.py
|