Importing
Punishments can import existing history from other plugins.
/punish import <source> [--dry-run]Imports can only be run from the console and need punishments.import.
Sources
Section titled “Sources”| Source | Reads from |
|---|---|
vanilla |
banned-players.json and banned-ips.json |
litebans |
plugins/LiteBans |
advancedban |
plugins/AdvancedBan |
libertybans |
plugins/LibertyBans |
essentials |
Essentials mutes in plugins/Essentials/userdata, plus the vanilla bans |
-
Stop using the old plugin, or at least stop it issuing new punishments.
-
Run a dry run and check the counts:
punish import litebans --dry-run -
Run the import without
--dry-run.
The report shows how many records were imported, skipped and failed.