# Commands You can access the commands using either `/coreprotect` or it's aliases `/core` or `/co`. ## Command Overview | Command | Description | | --- | --- | | [help](#help) | Display a list of commands | | [inspect](#inspect) | Toggle the inspector | | [rollback](#rollback) | Rollback block data | | [restore](#restore) | Restore block data | | [lookup](#lookup) | Advanced block data lookup | | [purge](#purge) | Delete old block data | | [reload](#reload) | Reload the configuration file | | [status](#status) | View the plugin status | | [near](#near) | Alias for lookup with a radius of 5 | | [undo](#undo) | Revert a rollback/restore | ## Commands Detailed ### help Usage: `/co help` Displays the list of available commands Example Output: ```text ----- CoreProtect Help ----- /co help - Display more info for that command. /co inspect - Turns the block inspector on or off. /co rollback - Rollback block data. /co restore - Restore block data. /co lookup - Advanced block data lookup. /co purge - Delete old block data. /co reload - Reloads the configuration file. /co status - Displays the plugin status. ``` ### inspect Usage: `/co inspect` Alias: `/co i` Enables the in-game inspector. Once activated, right-click (use) button on blocks to get detailed history of that specific block. Run the command again to return your controls to normal. ### lookup Usage: `/co lookup ` See: [Filter Syntax](#filter-syntax) Alias: `/co l` Search through block data using parameters from filter syntax. #### Pagination If multiple pages are returned, use the command `/co lookup ` to switch pages. To change the number of lines displayed on a page, use the command `/co lookup :<# of lines>`. Example: `/co l 1:10` will return 10 lines of data, starting at the first page. ### rollback Usage: `/co rollback ` See: [Filter Syntax](#filter-syntax) Alias: `/co rb` Undo all block data which matches the filter. ### restore `/co restore ` See: [Filter Syntax](#filter-syntax) Alias `/co rs` Restoring can be used to undo rollbacks. This will playback all block data which matches the filter that may have been previously rolled back. ### purge `/co purge t: