Plan - Manage Command Guide

Feb 23, 2017
Plan - Manage Command Guide
  • This Wiki article will tell you how the /plan manage sub-commands work, and when you should use them.

    /plan manage - View Help
    This command is used to list the manage sub-commands.

    /plan manage move <fromDB> <toDB> [-a]
    Accepted arguments: mysql | sqlite

    This command is used to copy your existing data to another database, so that you can start using that database.
    This command should be used if you have been using sqlite and recently set-up your mysql database and want to move to that database.

    This command removes all data in the Plan-Database of <toDB>
    -a argument is needed as confirmation for the command to be run.
    Check also: /plan manage hotswap

    /plan manage combine <fromDB> <toDB> [-a]
    Accepted arguments: mysql | sqlite

    This command copies the data from one database to the other, and combines both of the data so that the data in the database is accurate.
    This command should be used if you used to run sqlite before 2.3.0 update and want to save that information to the mysql database.

    If you run this command more than once, the data in the database will become inaccurate. This command simply adds the data sets together.

    This command overwrites data in the Plan-Database of <toDB>
    -a argument is needed as confirmation for the command to be run.
    Check also: /plan manage hotswap

    /plan manage backup <DB> (2.4.0)
    Accepted arguments: mysql | sqlite

    This command allows you to create backup file of a database.
    Created file will be put to the /plugins/Plan/ folder, and the name will be "<DB>-backup-<Month>-<Day>"

    /plan manage restore <Filename.db> <toDB> [-a] (2.4.0)
    Accepted arguments: mysql | sqlite

    This command is used to restore the backup file. <Filename.db> should be replaced with the name of the backup file, for example sqlite-backup-Feb-02.db
    <toDB> should be replaced with mysql or sqlite depending on which database you want the data to go to

    This command overwrites data in the Plan-Database of <toDB>
    -a argument is needed as confirmation for the command to be run.
    Check also: /plan manage status


    /plan manage hotswap <DB>
    Accepted arguments: mysql | sqlite

    This command changes the config value of database.type & reloads the plugin.
    If the database you're trying to swap to is not set up correctly, an error is thrown on the console and a notification message is sent to the user of the command.

    /plan manage status
    Used to check what database is currently in use.

    /plan manage import <plugin> [-a]
    Currently supported plugins: OnTime (2.3.0)

    This command is used to import existing data from other plugins that you may have had installed before installing Plan.

    OnTime:
    Playtime data is imported for all players who are available in OnTime's data.
    Only time which is higher than the time that is saved in Plan database is imported.
    If Such Player has not logged in after installation of Plan, new data for that player is added to the database.
    The import will reset all gamemode-times for the affected players, because playtime is used to calculate time spent in each gamemode.

    This command overwrites data in the Active Plan-Database
    -a argument is needed as confirmation for the command to be run.
    Check also: /plan manage status

    /plan remove <player> [-a]
    Accepted arguments: playername

    This command is used to remove all data in the Active Database about a specific player.


    This command removes data in the Active Plan-Database
    -a argument is needed as confirmation for the command to be run.
    Check also: /plan manage status


    /plan clear <DB> [-a]
    Accepted arguments: mysql | sqlite

    This command is used to remove all Plan-data in a Database.


    This command removes ALL data in the <DB> Plan-Database
    -a argument is needed as confirmation for the command to be run.
    Check also: /plan manage status
  • Loading...
  • Loading...