AdvancedPlugins / Jobs

AdvancedJobs is the ultimate Spigot Jobs Plugin that allows you to create your own custom jobs without any programming knowledge.
https://advancedplugins.net/item/AdvancedJobs.187/
2 stars 0 forks source link

No rewards #17

Closed Renssus closed 6 months ago

Renssus commented 6 months ago

Describe the bug

If you level up one of your jobs you do not get any rewards or you get all rewards. There is no way to only do reward 1 for level 1, reward 2 for level 2.

How to reproduce

If you but anything like 1, 2 ,3,4 or between [] or 1 * %level% at the level rewards or default rewards you still get nothing.

Screenshots / Videos

No response

Server Log

No response

GC-spigot commented 6 months ago

Hi! We've set up a guide now, this should work on current 1.1.1 latest version without an update: https://jobs.advancedplugins.net/tutorials/per-level-rewards

Renssus commented 6 months ago

It still doesnt work? what did I do wrong. I have read the new wiki page "per level-rewards" and copied it.

Glider.yml:

type: glide

variable: root: none

name: 'Glider'

Required Progress

required-progress: "10 * %level%"

Points given after task is completed

points-rewarded: "1 * %level%"

Required points to access this job

required-points: 0

Is this a premium job?

premium: false

rewards are taken from rewards.yml file

default-rewards: "1 * %level%"

when level-rewards contains level, give default & level rewards or only level-rewards

both-rewards: true

levels info

level-rewards: 1:

notify-at-percentages: [ 10, 25, 50, 75, 100 ]

whitelisted-worlds: [] blacklisted-worlds: [] blacklisted-regions: [] whitelisted-regions: []

item: material: ELYTRA name: '&2✦ &a&lGlider&a Job &7[Lvl. %level%] ' lore:

And this is rewards.yml: 'level-1': type: command name: 'diamond' commands:

So whats wrong with this code?

GC-spigot commented 6 months ago

I cant really test that, its not formatted. Use pastebin or code tags.

Ive tested rewards fully they work without any problems, default, per-level etc. so please provide formatted and we'll test

Renssus commented 6 months ago

My bad it works now! thank you for fixing the issue!