Spigot Jobs Reborn 5.0.1.1

A fully configurable plugin that allows you to get paid for breaking, placing, killing, fishing...

  1. Hey guys, sorry this might be super obvious, but how do I allow my default players to join more than one job? I want to allow them to be in 2 jobs at the same time. They should have the proper perms, but it is not working:/
     
  2. When a player is using the smelting enchant from AdvancedEnchantments, they don't get paid from their miner job. Is there any way I can fix this, or you can make it compatible? Thanks :)
     
  3. If I'm not mistaken there is a setting in the config for this. Alternatively you can give the groups or player the permission jobs.max.2 for two jobs. Replace the two by the ammount of jobs you want them to join.
     
  4. Zrips updated Jobs Reborn with a new update entry:

    Info

    Read the rest of this update entry...
     
  5. Hello I first want to say that i love your mod. Just wondering when you think it will be updated for 1.18. I have the other version on my new world but it would not let me get a job by the gui. Again thanks for the add on.
     
  6. 1.18 information | Works!

    This current build for 1.17.1 of this plugin work with the newest CMILib 1.1.x
     
  7. A bit of a late reply…seen a similar error here in the forums, in other plugins. The reason was that the server were running in offline mode, allowing cracked player to join the server. So…simple solution: Set online-Mode to true and thereby disallow non-premium player to join the server :x
    Will result in a UUID matching only one entry in the database, as the UUID will be checked on mojang auth servers on login
     
  8. even just in online mode this happened, it was address during v5, upgrading to 5.0.1.0 or newer will resolve this, and print out hose msgs. using a sqlite or mysql db viewer you can find the ones you want to keep and remove the row of the entries that are marked duplicate.

    backup data first of course.
    and dont edit the db while the server is running of course.
     
    • Like Like x 1
    • Useful Useful x 1
  9. Hi, new version? YES!!!! but is it 1.18 compatible? not sure I can test this atm because there is still a sort of instability at play with Paper....
     
  10. Yes it work
     
  11. EDIT: Just saw another post here. Checking/Testing it right now.
    EDIT2: Works perfectly fine. Should have read the comment above mine. Sorry!

    Error happens on Minecraft 1.18.


    Code (Text):
    [16:58:17] [Server thread/ERROR]: Error occurred while enabling Jobs v5.0.1.0 (Is it up to date?)
    java.lang.NoClassDefFoundError: net/Zrips/CMILib/Messages/CMIMessages
        at com.gamingmesh.jobs.Jobs.onEnable(Jobs.java:731) ~[Jobs5.0.1.0.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[paper-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:563) ~[paper-1.18.jar:git-Paper-32]
        at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:477) ~[paper-1.18.jar:git-Paper-32]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:727) ~[paper-1.18.jar:git-Paper-32]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:503) ~[paper-1.18.jar:git-Paper-32]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:313) ~[paper-1.18.jar:git-Paper-32]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1202) ~[paper-1.18.jar:git-Paper-32]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.jar:git-Paper-32]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
    Caused by: java.lang.ClassNotFoundException: net.Zrips.CMILib.Messages.CMIMessages
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151) ~[paper-api-1.18-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[paper-api-1.18-R0.1-SNAPSHOT.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        ... 12 more
    [16:58:17] [Server thread/INFO]: [Jobs] Disabling Jobs v5.0.1.0
     
  12. That's with CMILib 1.1.0.1 ?
     
    • Agree Agree x 1
  13. Which version of CMILib are you using?
     
  14. Any paper builds past #36 breaks this plugin. Not sure why. I tried with old and new CMILib Update as well.
     
  15. Tested as well and seems to be the case.
     
  16. Paper build 47 fixes these recent issues with jobs not loading.
     
  17. Just upgraded from Spigot 1.17.1 to 1.18 running on Java 17, getting an error when enabling Jobs.

    [07:04:46] [Server thread/INFO]: [Jobs] Enabling Jobs v5.0.1.0
    [07:04:46] [Server thread/INFO]: [0;33;22m------------- [0;32;22mJobs [0;33;22m-------------[m
    [07:04:47] [Server thread/INFO]: [0;33;1mConnected to database ([0;33;22mSqLite[0;33;1m)[m
    [07:04:47] [Server thread/INFO]: [0;33;1mLoaded [0;33;22m8 [0;33;1mtitles[m
    [07:04:47] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "org.bukkit.configuration.ConfigurationSection.get(String, Object)" because "section" is null
    [07:04:47] [Server thread/WARN]: at org.bukkit.configuration.MemorySection.get(MemorySection.java:265)
    [07:04:47] [Server thread/WARN]: at org.bukkit.configuration.MemorySection.get(MemorySection.java:230)
    [07:04:47] [Server thread/WARN]: at org.bukkit.configuration.MemorySection.isString(MemorySection.java:335)
    [07:04:47] [Server thread/WARN]: at com.gamingmesh.jobs.config.RestrictedBlockManager.load(RestrictedBlockManager.java:43)
    [07:04:47] [Server thread/WARN]: at com.gamingmesh.jobs.config.GeneralConfigManager.reload(GeneralConfigManager.java:269)
    [07:04:47] [Server thread/WARN]: at com.gamingmesh.jobs.Jobs.reload(Jobs.java:846)
    [07:04:47] [Server thread/WARN]: at com.gamingmesh.jobs.Jobs.startup(Jobs.java:548)
    [07:04:47] [Server thread/WARN]: at com.gamingmesh.jobs.Jobs.onEnable(Jobs.java:754)
    [07:04:47] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    [07:04:47] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
    [07:04:47] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
    [07:04:47] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:525)
    [07:04:47] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:439)
    [07:04:47] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:612)
    [07:04:47] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414)
    [07:04:47] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:262)
    [07:04:47] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:994)
    [07:04:47] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
    [07:04:47] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
    [07:04:47] [Server thread/INFO]: There was some issues when starting plugin. Please contact dev about this. Plugin will be disabled.

    [07:03:26] [Server thread/INFO]: [LuckPerms] Loading LuckPerms v5.3.86
    [07:03:29] [Server thread/INFO]: [Vault] Loading Vault v1.7.3-b${env.TRAVIS_BUILD_NUMBER}
    [07:03:29] [Server thread/INFO]: [Essentials] Loading Essentials v2.19.1-dev+52-41861a8
    [07:03:29] [Server thread/INFO]: [GriefPrevention] Loading GriefPrevention v16.17.1-2b69191
    [07:03:29] [Server thread/INFO]: [EssentialsSpawn] Loading EssentialsSpawn v2.19.1-dev+52-41861a8
    [07:03:29] [Server thread/INFO]: [VeinMiner] Loading VeinMiner v1.17.9
    [07:03:29] [Server thread/INFO]: [EssentialsChat] Loading EssentialsChat v2.19.1-dev+52-41861a8
    [07:03:29] [Server thread/INFO]: [HeadDatabase] Loading HeadDatabase v4.15.1
    [07:03:29] [Server thread/INFO]: [EssentialsDiscord] Loading EssentialsDiscord v2.19.1-dev+52-41861a8
    [07:03:29] [Server thread/INFO]: [CMILib] Loading CMILib v1.1.0.1
    [07:03:29] [Server thread/INFO]: [Jobs] Loading Jobs v5.0.1.0
    [07:03:29] [Server thread/INFO]: [CMI] Loading CMI v9.1.0.1
    [07:03:29] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.3.86
    [07:03:30] [Server thread/INFO]: [LuckPerms] Loading configuration...
    [07:03:30] [Server thread/INFO]: [LuckPerms] Loading storage provider...


    [07:03:31] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
    [07:03:31] [Server thread/INFO]: [LuckPerms] Performing initial data load...
    [07:03:32] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 3092ms)
    [07:03:32] [Server thread/INFO]: [Vault] Enabling Vault v1.7.3-b${env.TRAVIS_BUILD_NUMBER}
    [07:03:32] [Server thread/WARN]: [Vault] Loaded class com.earth2me.essentials.api.Economy from Essentials v2.19.1-dev+52-41861a8 which is not a depend, softdepend or loadbefore of this plugin.
    [07:03:32] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
    [07:03:32] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
    [07:03:32] [Server thread/INFO]: [Vault] Enabled Version 1.7.3-b${env.TRAVIS_BUILD_NUMBER}
    [07:03:32] [Server thread/INFO]: [LuckPerms] Registered Vault permission & chat hook.[/SPOILER]