question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.18.1: Jobs promote is not executing commands

See original GitHub issue

When you re preforming command /Jobs promote (which is giving players levels), the last level you will get from it, is not preforming commands as it is on /jobs exp. For example, if you will preform /Jobs exp player job add amount (10 000) you will get for ex. 5 levels up and the last level you get, it will preform commands from that level. So when im at level 5 and i will get level 5 from that 10K exp, it will preform command from level 10 (broadcast for example or what is configured). Which is really nice, because i have some vouchers for jobs levels. (not actually exp, but levels - /jobs promote) But! When i would like to give my players level with that command (/jobs promote) it wont preform any commands at all, which is kinda sad, because i have configured that when they got level 50, which is my max level, they wont be able to use those vouchers for particular job. (cuz they will get blacklist permission for particular voucher) Of course, it is working when you re giving them EXP via command and when they re gaining EXP as normal. But when they got levels via command jobs promote, the command wont be preformed and they will be able to use that vouchers again, which i dont want to.

I hope you understand the problem, but in short, Jobs promote is not preforming jobs levelup commands but jobs exp is preforming them. I would like to make jobs promote also preforming jobs commands

I tried as well /jobs level but it is the same except this command can go above max level.

Jobs version: 5.0.1.1

Server Type (Spigot/Paper/etc): Purpur 1.18.1

Server Version (using /ver): git-Purpur-1502 (MC: 1.18.1)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JinnFletchcommented, Jan 17, 2022

(Not a mod) Yo! I wonder if you and I are having the same issue. Are you specifically talking about commands as in the _EXAMPLE.yml

  # Commands executed when player reached level
  commands:
    fly:
      command: lp user [player] permission set essentials.fly
      levelFrom: 100
      levelUntil: 100

Whenever I run command jobs level PlayerName JobName set ##, the command I have configured for that level is not run. But whenever a player legitimately levels up from the prior level into ##, then the command does run.

Same issue? Or different?

0reactions
ACluco1commented, Jan 19, 2022

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Setup Jobs Reborn on Your Minecraft Server (Add ...
The basic commands you should know are / jobs join which will open up a ... I may receive a commission at no...
Read more >
Jobs Reborn | SpigotMC - High Performance Minecraft
Execute commands on predetermine leveling up; Leave your job and return to it by suffering level loss during this action; Fully customizable ...
Read more >
Overview - Jobs Reborn - Bukkit Plugins - Projects
Execute commands on predetermine leveling up; Leave your job and return to it by suffering level loss during this action; Fully customizable skill...
Read more >
Commands - Minecraft Wiki - Fandom
A server owner running commands in this way is often referred to as "ghosting". Commands in command blocks can be preceded by a...
Read more >
bash - at command is not executed - Stack Overflow
Take a look at /var/at/jobs and see if your at jobs are listed there.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found