{"id":12818,"date":"2022-10-06T09:54:58","date_gmt":"2022-10-06T09:54:58","guid":{"rendered":"https:\/\/test2.gginternal.net\/knowledgebase\/article\/how-to-set-up-and-use-coreprotect-plugin\/"},"modified":"2022-10-06T09:54:58","modified_gmt":"2022-10-06T09:54:58","slug":"how-to-set-up-and-use-coreprotect-plugin","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-coreprotect-plugin\/","title":{"rendered":"How to Set Up and Use CoreProtect Plugin"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/banner10_1mgbruh.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Plugins are an addition to your server which will make your experience better.<\/p>\n\n\n\n<p>The best thing about plugins is that they do not need to be set up on each player&#8217;s client like mods. Players will be able to join with the normal Minecraft client regardless of how many plugins your server is running.<\/p>\n\n\n\n<p>This guide will help you with setting up and using the CoreProtect plugin on your server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2753 What Is CoreProtect \u2753<\/h1>\n\n\n\n<p>CoreProtect is a data logging and anti-griefing plugin for your server.&nbsp;<\/p>\n\n\n\n<p>You can roll back and restore any damage. &nbsp;Also, it will record data without impacting your server&#8217;s performance.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>You can read more about this plugin <a href=\"https:\/\/docs.coreprotect.net\/\">here<\/a> in the official documentation or <a href=\"https:\/\/www.spigotmc.org\/resources\/coreprotect.8631\/\">here<\/a> on the official Spigot page.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>CoreProtect will store logs for any of the following actions on the entire server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Block Placed\/ Removed<\/li>\n\n\n\n<li>Chat\/ Messages<\/li>\n\n\n\n<li>Commands Used<\/li>\n\n\n\n<li>Logins\/ Logouts<\/li>\n\n\n\n<li>Chests Content, Dispensers, and Furnaces<\/li>\n\n\n\n<li>Item Frames<\/li>\n<\/ul>\n\n\n\n<p>So, if there is any griefing on your server, you can easily use this plugin to learn who is the griefer and also restore the area. You also have the option to restore or roll back actions done by only one player on the server or just a type of block to its initial state.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">NOTE: You need to run as server type CraftBukkit, Spigot, or Paper to be able to use CoreProtect as it is a plugin.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Install CoreProtect  <\/h1>\n\n\n\n<p>To install CoreProtect on your server, you can either use the Multicraft Installer or do it manually.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Also, our guide for installing plugins on your server can be found <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-plugins-on-your-server\/\">here<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Using the Multicraft Installer<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a> and stop your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1ursht6.png\" alt=\"Stop Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Click on <code>Installers<\/code>, then on <code>Plugin Installer<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/10_chjdj.png\" alt=\"Plugin Installer\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Search for <code>CoreProtect<\/code> and click on the plugin.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/11_1iinlhr.png\" alt=\"CoreProtect\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Select the version you want and click on <code>Install<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/12_guct23.png\" alt=\"Install\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Start your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_449wta.png\" alt=\"Start Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Installing the Plugin Manually<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a> and stop your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1ursht6.png\" alt=\"Stop Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Download the plugin jar file from the official page <a href=\"https:\/\/www.spigotmc.org\/resources\/coreprotect.8631\/\">here<\/a>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1p9jlte.png\" alt=\"CoreProtect Download\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Use FileZilla to upload it to your server <code>plugins<\/code> folder.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/13_1cu1eif.png\" alt=\"FileZilla\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-connect-to-your-server-using-filezilla\/\">Here<\/a> is our guide for using FileZilla.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Start your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_449wta.png\" alt=\"Start Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Use a MySQL Database  <\/h1>\n\n\n\n<p>You can also link your MySQL database to the CoreProtect plugin so the information is stored there.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">NOTE: You need to first be sure that your plan does include a MySQL database. If not, just open a ticket requesting one.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>To link the CoreProtect plugin to your database, follow these next steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a> and stop your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1ursht6.png\" alt=\"Stop Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Click on <code>Advanced<\/code>, then on <code>MySQL Database<\/code>. If you have not already created the Database, click on <code>Create Database<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_14z6ewn.png\" alt=\"MySQL Database\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/4_i98gg5.png\" alt=\"Create Database\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Note the connection info for your MySQL database (<code>Host<\/code>, <code>Name<\/code>, <code>Username<\/code>, and <code>Password<\/code>).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/3_ayju1w.png\" alt=\"Connection Info\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Go back to your main Multicraft page and click on <code>Files<\/code>, then on <code>Config Files<\/code>, and then on <code>Plugin Config<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/6_1fo5gkc.png\" alt=\"Config Files\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/7_1yx998w.png\" alt=\"Plugin Configs\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Click on the <code>CoreProtect<\/code> option, then on the <code>config.yml<\/code> file.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/8_1sxu6jm.png\" alt=\"CoreProtect\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/9_1ks8d10.png\" alt=\"config.yml\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li>Import the connection info you noted in step number 3 and click on <code>Save<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/2_12ieu2d.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\">\n<li>Start your server.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_449wta.png\" alt=\"Start Your Server\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  CoreProtect Commands  <\/h1>\n\n\n\n<p>You can find a list with all the CoreProtect commands below:<\/p>\n\n\n\n<p>Command | Parameters | Effects |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; | &#8212; |<br>\n| \/co help | &nbsp;| Display a list of commands |<br>\n| \/co inspect | &nbsp;| Toggle the inspector |<br>\n| \/co lookup | <code>u:&lt;user&gt;<\/code> , <code>t:&lt;time&gt;<\/code>, <code>r:&lt;radius&gt;<\/code> , <code>a:&lt;action&gt;<\/code> , <code>i:&lt;include&gt;<\/code> , <code>e:&lt;exclude&gt;<\/code> | Lookup block data |<br>\n| \/co rollback | <code>u:&lt;user&gt;<\/code> , <code>t:&lt;time&gt;<\/code>, <code>r:&lt;radius&gt;<\/code> , <code>a:&lt;action&gt;<\/code> , <code>i:&lt;include&gt;<\/code> , <code>e:&lt;exclude&gt;<\/code> | Rollback block data |<br>\n| \/co restore | <code>u:&lt;user&gt;<\/code> , <code>t:&lt;time&gt;<\/code>, <code>r:&lt;radius&gt;<\/code> , <code>a:&lt;action&gt;<\/code> , <code>i:&lt;include&gt;<\/code> , <code>e:&lt;exclude&gt;<\/code> | Restore block data |<br>\n| \/co purge | <code>t:&lt;time&gt;<\/code>, <code>r:&lt;radius&gt;<\/code> | Delete old block data |<br>\n| \/co reload | &nbsp;| Reload the configuration file |<br>\n| \/co status | &nbsp;| View the plugin status |<br>\n| \/co consumer | &nbsp;| Toggle consumer processing |<br>\n| \/co near | &nbsp;| Performs a lookup with a radius of 5 |<br>\n| \/co undo | &nbsp;| Revert a rollback\/restore via the opposite action |<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Here is a list with all the parameters for the mentioned commands:<\/p>\n\n\n\n<p>Parameter | Effects |\n<\/p>\n\n\n\n<p>| &#8212; | &#8212; |<br>\n| u:&lt;user&gt; | Specify the user(s) to lookup. |<br>\n| t:&lt;time&gt; | Specify the amount of time to lookup. |<br>\n| r:&lt;radius&gt; | Specify a radius area to limit the lookup to. |<br>\n| a:&lt;action&gt; | Restrict the lookup to a certain action. |<br>\n| i:&lt;include&gt; | Include specific blocks\/entities in the lookup. |<br>\n| e:&lt;exclude&gt; | Exclude blocks\/entities from the lookup. |<br>\n| #&lt;hashtag&gt; | Add a hashtag to perform additional actions. |<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  CoreProtect Inspector  <\/h1>\n\n\n\n<p>The CoreProtect inspector is a useful in-game tool that you can use to get information about what changes were made to a specific block and by whom.<\/p>\n\n\n\n<p>To enable the inspector tool, you need to use the following command:<br>\n<code>\/co inspect<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Once activated, this tool will do the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><br><p>If you left-click on a block, it will tell you about any other changes that have been made there in the past. A kind of block space history. It is working with items like chests and doors too, as the plugin is logging them too. For example, left-clicking on a chest will tell you who placed something inside, what it was, and when.<\/p><br><\/li>\n\n\n\n<li><br><p>If you right-click on a block, the plugin will tell you the same information, but regarding the block above the one you clicked on.<\/p><br><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Note that once with the &#8220;history of the block space&#8221;, the plugin will also give you the exact usernames of the players who made the changes, and it will tell you when it happened.<\/p>\n\n\n\n<p>So you can use the in-game inspector tool to quickly determine who griefed your server, what was changed, and when. If needed, you can also determine by clicking on a chest who stole your items and when.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"> \ufe0f How to Use the Lookup Function  \ufe0f<\/h1>\n\n\n\n<p>To determine what happened in the last period on your server, you can use the <code>\/co lookup<\/code> command.&nbsp;<\/p>\n\n\n\n<p><code>\/co lookup u:&lt;user&gt; t:&lt;time&gt; r:&lt;radius&gt; a:&lt;action&gt; i:&lt;include&gt; e:&lt;exclude&gt;<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>For example, the following command will show you what the <code>Example<\/code> user did in the last 40 minutes:<\/p>\n\n\n\n<p><code>\/co lookup u:Example t:40m<\/code><\/p>\n\n\n\n<p>This way, you can easily identify who has griefed your server by its history.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>If you want to see what changes have been made to your server in the last 50 minutes, you can use the following command:<\/p>\n\n\n\n<p><code>\/co lookup t:50m<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>You are also able to look up specific blocks and see how other players on your server interacted with them. Using the following command, you can see how people interacted with the diamond blocks in the last two days:<\/p>\n\n\n\n<p><code>\/co lookup b:diamond_block t:2d<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>You can also look up chat logs. The following command will show you the logs of the chat for the last 6 hours:<\/p>\n\n\n\n<p><code>\/co lookup a:chat t:6h<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Rollback  <\/h1>\n\n\n\n<p>Now that we know who griefed our server, we also need to roll back what was destroyed.<\/p>\n\n\n\n<p>This can be done by using the following command of the CoreProtect plugin:<\/p>\n\n\n\n<p><code>\/co rollback u:&lt;user&gt; t:&lt;time&gt; r:&lt;radius&gt; a:&lt;action&gt; i:&lt;include&gt; e:&lt;exclude&gt;<\/code><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Note that the rollback function restores even entities and items like the ones from the chests.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>For example, you can use the following command to roll back your server by 2 hours and 30 minutes in a radius of 40 blocks:<\/p>\n\n\n\n<p><code>\/co rollback t:2.5h r:40<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>If you used the inspector and lookup tools to find out which player griefed your server, you can use the following command to rollback only the changes made by him in the last 1 hour, 30 minutes, and 26 seconds on a 30 block radius:<\/p>\n\n\n\n<p><code>\/co rollback u:username t:1h30m26s r:30<\/code>&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>The rollback function is working on entities too. So if someone is killing some of your animals on the server, you can use the following command to restore all animals killed in the last 3 hours in a 20-block radius:<\/p>\n\n\n\n<p><code>\/co rollback t:3h r:20 a:kill<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  How to Clean the Entries  <\/h1>\n\n\n\n<p>You will have to clean up your entries from time to time, as the CoreProtect plugin will pile up a lot of logs from changes made in the past to your server, occupying a lot of storage space on your server.<\/p>\n\n\n\n<p>You can use the following command to purge old entries:<\/p>\n\n\n\n<p><code>\/co purge t:&lt;time&gt; r:&lt;radius&gt;<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>For example, the following command will purge all entries older than the last 24 hours within a 30-block radius:<\/p>\n\n\n\n<p><code>\/co purge t:1d r:30<\/code><\/p>\n\n\n\n<p>This way, you will keep just the last 24 hours of data via CoreProtect for the selected zone.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>The following command will purge all entries from the entire server older than the last two days:<\/p>\n\n\n\n<p><code>\/co purge t:2d<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u21a9\ufe0f Creating Scheduled Purges \u21a9\ufe0f<\/h1>\n\n\n\n<p>As said, you will have to clean your entries for the CoreProtect plugin to not fill your server storage space for no reason.<\/p>\n\n\n\n<p>Doing it manually can be bothersome, and you can forget to do it, so let&#8217;s set up a custom command and a scheduled task that does it for us.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-scheduled-tasks\/\">Here<\/a> is our guide explaining the scheduled tasks feature of our Multicraft.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Creating the Custom Command<\/h2>\n\n\n\n<p>You will have to first create a custom command through Multicraft to be able to use it with a scheduled task.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-create-custom-commands-using-the-multicraft-panel\/\">Here<\/a> is our guide for creating a custom command via the Multicraft panel.<\/p>\n\n\n\n<p>To do so, please follow the next steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a>.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Click on <code>Advanced<\/code>, then on <code>Commands<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1tw8wep.png\" alt=\"Commands\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Click on <code>Create Command<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/2_19766qi.png\" alt=\"Create Command\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Fill in the information as you see below, then click on <code>Create<\/code>.<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Name:<\/code> CoreProtectPurge<\/li>\n\n\n\n<li><code>Run:<\/code> co purge t:10d<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/3_1x7njvu.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>You just created the custom command that will be added to the scheduled task!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">  Creating the Scheduled Task<\/h2>\n\n\n\n<p>Now let&#8217;s create the actual scheduled task:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go back to your main Multicraft server page.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Click on <code>Advanced<\/code>, then on <code>Scheduled Tasks<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/5_jtk6w7.png\" alt=\"Scheduled Tasks\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Click on <code>New Task<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/4_43w8mm.png\" alt=\"New Task\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Fill in the information as you see below, then click on <code>Create<\/code>.<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Name:<\/code> CoreProtectPurge Task<\/li>\n\n\n\n<li><code>Scheduled Time:<\/code> Just move the <code>Minute<\/code> cursor forward a little so the task will start minutes later after the moment when you create it.<\/li>\n\n\n\n<li><code>Interval:<\/code> Check the box, then set it to 10 days.<\/li>\n\n\n\n<li><code>Command:<\/code> CoreProtectPurge<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/6_1hr1njy.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">NOTE: When you create a new task, the <code>Scheduled Time<\/code> will automatically be set to the actual one, so if you want a task that will start in 5 minutes, for example, just set the time to 5 minutes above in this section.<\/p>\n\n\n\n<p>Now you just created the scheduled task that will purge the CoreProtect entries on its own from ten to ten days.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-success\">If you find any issues setting up or using CoreProtect on your server, please contact us on live chat or via the <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-open-a-support-ticket\/\">ticket system<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2755Useful Links\u2755<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-luckperms\/\">How to Set Up and Use LuckPerms<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-worldedit-plugin\/\">How to Set Up and Use WorldEdit Plugin<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-essentialsx\/\">How to Set Up and Use EssentialsX<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This guide will help you on setting up and using CoreProtect plugin on your server.<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[31],"ht-kb-tag":[],"class_list":["post-12818","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-plugins"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=12818"}],"version-history":[{"count":0,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12818\/revisions"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=12818"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=12818"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=12818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}