mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-24 12:03:30 -07:00
MultiServer: remove legacy datapackage keys
MultiServer: remove warning about legacy datapackage use MultiServer: remove legacy permission flags Options: add "random" option to all Choices LttP: remove random special handling from HeartColor
This commit is contained in:
@@ -469,9 +469,6 @@ async def on_client_connected(ctx: Context, client: Client):
|
||||
# Name them by feature or fork, as you feel is appropriate.
|
||||
'tags': ctx.tags,
|
||||
'version': Utils.version_tuple,
|
||||
# TODO ~0.2.0 remove forfeit_mode and remaining_mode in favor of permissions
|
||||
'forfeit_mode': ctx.forfeit_mode,
|
||||
'remaining_mode': ctx.remaining_mode,
|
||||
'permissions': {
|
||||
"forfeit": Permission.from_text(ctx.forfeit_mode),
|
||||
"remaining": Permission.from_text(ctx.remaining_mode),
|
||||
@@ -497,10 +494,6 @@ async def on_client_joined(ctx: Context, client: Client):
|
||||
f"{ctx.get_aliased_name(client.team, client.slot)} (Team #{client.team + 1}) "
|
||||
f"playing {ctx.games[client.slot]} has joined. "
|
||||
f"Client({version_str}), {client.tags}).")
|
||||
# TODO: remove with 0.2
|
||||
if client.version < Version(0, 1, 7):
|
||||
ctx.notify_client(client,
|
||||
"Warning: Your client's datapackage handling may be unsupported soon. (Version < 0.1.7)")
|
||||
|
||||
ctx.client_connection_timers[client.team, client.slot] = datetime.datetime.now(datetime.timezone.utc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user