Skip to content
Ján Kluka edited this page Jul 23, 2025 · 14 revisions

Installing plugin to your server:

  1. Download latest version of X-Prison
  2. Download helper, WorldGuard plugins, as they are required as dependencies. Don't worry about **helper **plugin, its just a library :)
  3. Extract X-Prison-X.X.X.jar to /plugins folder of your Minecraft Server
  4. Restart/Reload the server
  5. After restart, please select your database system /plugins/X-Prison/config.yml. You can either use H2 as local database, or MySQL as remote database. If you wish to select MySQL, please set also your connection credentials in config section.
  • Note: Java 17 and above is required

Setting up the plugin:

  • Note: There are lot of useful commands to gain the best from the plugin. Definitely check out Command wiki page!
  • Note: Most of the setup is done via configuration files.
  1. Create prison mines by /mines create [name]. Before doing so, you need to have a selection ready using /mines tool. After you create a mine, add some blocks (contents) to it by holding a block in your hand and running /mines addblock [name] command. After adding blocks, open up a mine panel by /mines panel [name] and perform detailed GUI setup.
  2. For each of your prison mines, create also WorldGuard region by /rg define [name]. After region is created, please make sure to set flag 'upc-enchants' to ALLOW by running command /rg flag [name] upc-enchants ALLOW, otherwise enchants will not be able to work in this region.
  3. Setup sellprices of blocks by /sellprice [price] with a block in your hand to configure selling prices of items.
  4. If you would like to use autominer region, please create WorldGuard region called how would you like. Then visit autominer.yml configuration and update values.
  5. Do not forget to check all configuration files and change messages to your liking! There is also lot of predefined stuff that you can change, add, or delete.

Clone this wiki locally