4 Common issues
montlikadani edited this page 2021-06-11 21:34:39 +02:00
  1. Job woodcutter has an invalid break type property: (wheat)! Material must be a block! Use /jobs blockinfo on a target block
  • Materials inside of jobs must be blocks, not items when placing.
  1. Materials, entities, and other elements appear repeatedly in the GUI.
  • This usually happens on legacy (1.12 and below) versions. To fix this, change those materials to the appropriate one. You can use legacy websites that support these item IDs.
  1. Some materials or entities do not work properly on versions 1.15 and higher.
  • This can generally cause that you use IDs (numbers) that are considered obsolete since 1.12. To avoid this, use the full name of that material.
  1. Some blocks when placed and broken do not give pay when you are given a job.
  • PlaceAndBreakProtection can cause this, as if it is enabled it can delay payments and even cancel them for 14 days or less depending on the global cleanup setting. To avoid this, disable it in generalConfig or modify in the restrictedBlocks file that contains these blocks.
  1. Players are not paid, only operators.
  • There are several reasons why the plugin does not pay:
    • The first is that the Vault is not installed properly. If you do, make sure you use CMI as a essential plugin if you install the Vault developed by the CMI developer and enable its integration into the CMI configuration. If you don't use CMI, you don't need to do anything.
    • With vault and all other installations, jobs.use and jobs.world.worldName (worldName is the world where the plugin should pay for players) permissions are required, which give players permission to ever get paid. For permissions assignments, we recommend LuckPerms as a provider.
  1. People can make infinite money by breaking and placing the same blocks over and over
  • If you want to prevent this infinite money "exploit", make certain blocks have a negative value to place, and positive value to break. This will cause people who break/place the same block over and over again to lose money, or gain money very slowly (depending on what values you choose).
  • For some blocks (such as wheat crops), you can check against the data values as well, and only payout when breaking fully grown crops, and optionally deducting experience and money when breaking ungrown crops.
  1. Almost all living entities spawned using a spawner or egg will not be paid if killed by a player.
  • You need to enable enable-pay-near-spawner option in generalConfig.

Other measures and corrections

  1. Make sure that you using the latest or development version of Jobs
  2. Try to remove the Translatable_Words file and let it re-generate a new one by reloading the plugin with /jobs reload command.