Zrips / Jobs

Jobs
Apache License 2.0
187 stars 215 forks source link

Hunter Job players get no money or ecp when killing a warden #1645

Closed PanetiX closed 1 year ago

PanetiX commented 1 year ago

*Detailed description of the issue: We have a "hunter" job and players get no money or exp when they kill a warden. All other mobs are working.


CONFIG SECTION (DELETE IF NOT RELEVANT):

Quests:
  Gui:
    Item: bow
  Kill:
    Warden:
      income: 1500.0
      points: 40
      experience: 100.0
Jäger:
  fullname: Jäger
  shortname: J
  FullDescription:
  - "Verdient Geld durch das Töten von Monstern"
  ChatColour: RED
  chat-display: full
  max-level: 50
  leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4)
  income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01))
    * ((numjobs-1)*0.05))
  points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01))
    * ((numjobs-1)*0.05))
  experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01))
  rejoinCooldown: 10
  maxDailyQuests: 0
  Quests:
  Gui:
    Item: bow

Jobs version: Jobs Reborn 5.2.0.0

Server Type (Spigot/Paper/etc): Paper Build [#163]

Server Version (using /ver):

PanetiX commented 1 year ago

enderman and blazes don't working, too. Players get no money or exp for that.

Zrips commented 1 year ago

You have warden under Quests section, move to to Kill one and it should be working just fine

PanetiX commented 1 year ago

No i have not. Here is the whole Config:

Jäger:
  fullname: Jäger
  shortname: J
  FullDescription:
  - "Verdient Geld durch das Töten von Monstern"
  ChatColour: RED
  chat-display: full
  max-level: 50
  leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4)
  income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01))
    * ((numjobs-1)*0.05))
  points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01))
    * ((numjobs-1)*0.05))
  experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01))
  rejoinCooldown: 10
  maxDailyQuests: 0
  Quests:
  Gui:
    Item: bow
  Kill:
    Creeper:
      income: 3.5
      points: 5
      experience: 15.0
    Skeleton:
      income: 3.5
      points: 5
      experience: 15.0
    Spider:
      income: 5.0
      points: 10
      experience: 15.0
    Zombie:
      income: 3.5
      points: 5
      experience: 15.0
    Witch:
      income: 5
      points: 5
      experience: 15.0
    Enderman:
      income: 0.05
      points: 5
      experience: 1    
    BLAZE:
      income: 8
      points: 15
      experience: 15.0
    CAVE_SPIDER:
      income: 5
      points: 15
      experience: 15.0
    GHAST:
      income: 30.0
      points: 30
      experience: 30.0
    SILVERFISH:
      income: 5.0
      points: 3
      experience: 5.0
    SQUID:
      income: 2.0
      points: 2
      experience: 2.0
    glow_squid:
      income: 3.5
      points: 10
      experience: 15.0
    GUARDIAN:
      income: 8.0
      points: 2
      experience: 2.0
    Slime:
      income: 1.5
      points: 10
      experience: 15.0
    Magma_Cube:
      income: 2.5
      points: 5
      experience: 15.0
    SHULKER:
      income: 20.0
      points: 15
      experience: 15.0
    PHANTOM:
      income: 20.0
      points: 5
      experience: 5.0
    DROWNED:
      income: 8.0
      points: 8
      experience: 8.0
    HUSK:
      income: 3.5
      points: 5
      experience: 5.0
    Wither_Skeleton:
      income: 3.5
      points: 10
      experience: 15.0
    Piglin:
      income: 2.5
      points: 10
      experience: 15.0
    Piglin_Brute:
      income: 3.5
      points: 10
      experience: 20.0
    Hoglin:
      income: 5.5
      points: 10
      experience: 30.0
    Zombified_Piglin:
      income: 3.0
      points: 10
      experience: 15.0 
    Elder_Guardian:
      income: 400.0
      points: 50
      experience: 120.0
    Warden:
      income: 1500.0
      points: 40
      experience: 100.0
    WITHER:
      income: 500.0
      points: 50
      experience: 120.0
    ENDER_DRAGON:
      income: 2000.0
      points: 2000
      experience: 2000.0
Zrips commented 1 year ago

Well then you config example was incorrect as its indicating Warden being under Quest section. What does /jobs info Jäger report as payments for warden?