JobsSystem (+ API) | MySQL, MongoDB, PostgreSQL | PlaceHolderAPI & Vault Support | 1.17 - 1.20

JobsSystem (+ API) | MySQL, MongoDB, PostgreSQL | PlaceHolderAPI & Vault Support | 1.17 - 1.20

In some situations, MySQL had problems migrating the table. These issues should now be resolved.

Bugfixes:
  • MySQL table migration
This update introduces a small bug fix.

Bugfixes
  • If mining is prohibited by plugins like WorldGuard, then the jobs plugin ignores the progress for that block.
With this update, the /jobs command no longer shows the players who are on the server as command tabbing.

Bugfixes:
  • Remove /jobs Command Tabbing
With this update, the Top Players Ranking is no longer displayed upside down.

Bugfixes:
  • Top Players Ranking
If you have several servers with the Jobs Plugin on them and accessing the same database, synchronization errors could occur. To prevent this, a delay can now be set after how many seconds the data should be loaded from the database so that this does not happen. If you don't need the function because you only have one server, you can set it to 0.

Bugfixes
  • Multiple Server synchronization
  • SQL 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 file (config.json) once and reloading the plugin.
You can then copy the old settings and adapt the new configuration options to your server.
With this update, Spigot versions 1.19.3 and 1.19.4 are officially supported. In addition, the plugin has been enriched with a few functions.

New
  • Hex colors can now be used with <#(hex-code)> in messages.json
  • With the parameter players_job, the name of the job of the respective player can now be displayed via the PlaceHolderAPI.
  • Spigot versions 1.19.3 and 1.19.4 are now officially supported.
  • The API now shows which feature was added with which version.
  • A new cancelable JobPayoutEvent has been added.
  • The top players can now be queried by a job via the API.
  • SQL pooling was implemented
  • It can now be configured whether the xp/payout should be deleted from the job when a job is left.
Changes
  • Upgraded mongodb & postgresql dependencies to the latest stable version.
  • The JobPayoutEvent has now been renamed to PostJobPayoutEvent.
  • If an SQL query throws an error, the logger now outputs SEVERE instead of WARNINGS.
  • Default database hostnames in the config.json is changed to 127.0.0.1
  • Removed deprecated mysql driver
Bugfixes
  • The SQL statements are now correctly closed after each database interaction.
  • If an unknown database system is selected, the supported database systems are now correctly displayed.
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.
Two small bugs were in the jobs system, which are fixed with this update.

Bugfixes:
  • SQL support had errors when updating a player. This has been fixed.
  • The following material names must now be used in the config: click here
Important
Please change all materials in the config.json to one of the material names in the list.
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
This update allows you to always be up to date with the Jobs plugin.

New features:
  • Update Checker (can be deactivated)
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.