Skip to content

@importpointsconfirm

Permission: ADMIN

Confirm a pending player points import previously previewed with @importpointspreview. Accumulated points are added (via UPSERT) to existing player totals in the alltime period.

The confirm attaches the players' hostmask identifiers and lists conflicts and skipped hostmasks in the same way as the preview. An identifier that another account owns is not attached, but the points still import.

With --hostmasks-only the confirm attaches identifiers only and writes no points. The confirm must use the same mode as the preview: if the preview was run with --hostmasks-only the confirm needs it too, and the other way round, otherwise the bot refuses and says which command to run.

The file path is not confined to a directory: any file the bot can read is accepted. Keep player files in Limnoria's data directory (supybot.directories.data) by convention. See Where to Put Import Files.

Syntax

@importpointsconfirm [--hostmasks-only] <file_path>

Example

@importpointsconfirm /home/bot/limnoria/data/players.pts
@importpointsconfirm --hostmasks-only /home/bot/limnoria/data/players.pts