Skip to content

GriefPrevention

bloodmc edited this page Dec 28, 2019 · 17 revisions

⚠️ Before using GriefPrevention migrator, backup your data (including LuckPerms).
It is recommended to test migration on a test server before applying to production to ensure everything works as expected.

Bukkit

GriefDefender supports a complete migration from GriefPrevention Bukkit. To migrate to GriefDefender, perform the following steps

  1. Add GriefDefender jar to plugins
  2. Remove GriefPrevention jar from plugins
  3. Start the server to generate GriefDefender configs.
  4. Stop server
  5. Edit global.conf under ./plugins/GriefDefender/
  6. Locate section
# List of migrators that convert old or other protection data into the current GD claim data format.
# Note: It is recommended to backup data before using.
migrator {
    # Set to true to enable the classic migrator.
    # Note: Migrates GP bukkit classic claim data to current format.
    # Note: It is recommended to backup data before using.
    classic=false
}
  1. Set classic to true
  2. Start server

If done properly, GriefDefender will migrate all data from plugins/GriefPreventionData to plugins/GriefDefender. Migration output should appear in console as it is migrating.

Sponge

⚠️ The migrator will not copy the global.conf as there have been many changes to it in GriefDefender. You will have to manually copy the settings you want from GP's global.conf to GD.

  1. Add GriefDefender jar to mods or plugins folder
  2. Remove GriefPrevention jar from mods/plugins folder
  3. Start the server to generate GriefDefender configs.
  4. Stop server
  5. Edit global.conf under ./plugins/GriefDefender/
  6. Locate section
# List of migrators that convert old or other protection data into the current GD claim data format.
# Note: It is recommended to backup data before using.
migrator {
    # Set to true to enable the griefprevention bukkit migrator.
    # Note: Migrates GP bukkit classic claim data and GPFlags data, if available, to current format.
    # Note: It is recommended to backup data before using.
    griefprevention-bukkit=false
    # Set to true to enable the griefprevention sponge migrator.
    # Note: Migrates GP sponge claim data to current format.
    # Note: It is recommended to backup data before using.
    griefprevention-sponge=false
    # Set to true to enable RedProtect data migrator.
    # Note: All RedProtect data will be converted into basic claim data.
    red-protect=false
    # Set to true to enable WorldGuard data migrator.
    # Note: Only cuboid regions are supported.
    # Note: It is recommended to backup data before using.
    worldguard=false
}
  1. Set griefprevention-sponge to true
  2. Start server

If done properly, GriefDefender will migrate all data from plugins/GriefPreventionData to plugins/GriefDefender including permission data. Migration output should appear in console as it is migrating.

Clone this wiki locally