-
Notifications
You must be signed in to change notification settings - Fork 55
🦀 Manage multiple teams
Crabada.py can handle multiple teams, you just need to register their IDs and strategies in the .env file:
# Team 1
USER_1_TEAM_1="1111"
USER_1_TEAM_1_TASK="mine"
USER_1_TEAM_1_REINFORCE_STRATEGY="HighestMp"
# Team 2
USER_1_TEAM_2="2222"
USER_1_TEAM_2_TASK="loot"
USER_1_TEAM_2_REINFORCE_STRATEGY="HighestBp"
Then, you can run any of the scripts described above and they will apply to all of the registered teams.
If you manage multiple teams and your .env is becoming a mess, consider grouping your teams in the following way:
# Mining group
USER_1_GROUP_1_TEAMS="1111, 3333, 5555"
USER_1_GROUP_1_TASK="mine"
USER_1_GROUP_1_REINFORCE_STRATEGY="HighestMp"
# Looting group
USER_1_GROUP_2_TEAMS="2222, 4444, 6666"
USER_1_GROUP_2_TASK="loot"
USER_1_GROUP_2_REINFORCE_STRATEGY="HighestBp"
The above example will register 3 mining teams with the HighestMp
strategy and 3 looting teams with the HighestBp
strategy.
When reinforcing from the inventory, it is best to send teams at least 30 minutes apart, in order to make the most out of the reduced cooldown-time of inventory crabs.
You can achieve this by grouping teams in a stagger group:
USER_1_STAGGER_GROUP_1_TEAMS=2001,2002,2003
USER_1_STAGGER_DELAY=35 # optional
Teams in a stagger group will not be sent mining unless 35 minutes have passed since the start of the last mining expedition of the group.
Multiple stagger-groups are possible by incrementing the group number:
USER_1_STAGGER_GROUP_1_TEAMS = ...
USER_1_STAGGER_GROUP_2_TEAMS = ...