Jail Plugin | Only Sourcecode

Jail Plugin | Only Sourcecode

  • Holiday Sale! Use code HOLIDAY25 for 25% off everything! There are additional discounts on all products marked with the theme "Winter"!
With this update, the item removes function for unjailing is fixed.

Bugfixes
  • The pickaxe is now correctly removed when unjailing.
With this update, 1.20 and 1.20.1 are officially supported.

New
  • 1.20 & 1.20.1 Support
  • /jailhistory Command (Permission: jail.history)
  • There are now configuration options for the following:
    • SQL Pooling
    • (Dis)allow Jailbreak
    • Remove Pickaxe on jail leave
  • Discord Webhook for jail notifications
  • Ingame staff broadcast for staff jails (Permission: jail.broadcast)
Changes
  • Upgrade mongo-java-driver dependency from 3.12.12 to 3.12.14
Bugfixes
  • Fixed PostgreSQL Table creation
Important
If you upload the update to your server, you have to recreate the configuration files once. Means renaming or deleting the configuration files (config.json and messages.json) once and reloading the plugin.
You can then copy the old settings and adapt the new configuration options to your server.
This update supports Spigot server versions 1.19.3 and 1.19.4. In addition, some minor changes were made.

New
  • 1.19.3 & 1.19.4 Support
  • Support hex colors in messages.json with <#[hex]>
  • UpdateChecker (can be disabled)
  • When a player enters the jail, this is now logged in the database.
  • The material of the pickaxe can now be freely selected in the config.
  • A multiplier for blocks can now be set in the config so that a player has to break down more blocks if there are several votejails.
Changes
  • Optimize sql pooling
  • Upgraded MongoDB & PostgreSQL Dependencies to the last stable version
  • It is no longer necessary to make a slash in front of the allowed commands in the jail
Bugfixes
  • It is no longer possible to create votejails of yourself.
  • Items can no longer be dropped in the jail (if the configuration is set to do so).
  • In some cases, after the first creation of a VoteJail, a second one could only be created after restarting the server. This should now be fixed.
Important
If you upload the update to your server, you have to recreate the configuration files once. Means renaming or deleting the configuration files (config.json and messages.json) once and reloading the plugin.
You can then copy the old settings and adapt the new configuration options to your server.