Skip to content
Ján Kluka edited this page Feb 4, 2026 · 15 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, WorldGuard region is created automatically named same as the name of mine you specified. Please make sure to manually 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 and blocks will not be mineable.
  3. Setup sellprices of blocks by /sellprice [price] [mine] with a block in your hand to configure selling prices of items or use the mine panels GUI.
  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.
  6. You can enable / disable specific modules inside the config.yml (here are the main prison settings) and in separate .yml files you can define each module features and behavior. Happy setup!

Clone this wiki locally