PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

/iaplayerstat doesn't work #3539

Closed DarkCray0 closed 7 months ago

DarkCray0 commented 7 months ago

Terms

What happened?

When I write the command "/iaplayerstat write DarkCray_ example_stat float 1" the text “Value: stat example_stat not found” is written to me in the chat

Steps to reproduce the issue

Type the command /iaplayerstat write DarkCray_ example_stat float 1

Server version

This server is running Paper version git-Paper-138 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 990765b)
You are 58 version(s) behind
Download the new version at: https://papermc.io/downloads/paper

ItemsAdder Version

[15:33:28 INFO]: ItemsAdder version 3.6.3-beta-13
[15:33:28 INFO]: Customized Minecraft without client mods!
[15:33:28 INFO]: Website: devs.beer
[15:33:28 INFO]: Author: LoneDev

ProtocolLib Version

[15:33:59 INFO]: ProtocolLib version 5.1.0
[15:33:59 INFO]: Provides read/write access to the Minecraft protocol.
[15:33:59 INFO]: Authors: dmulloy2 and comphenix

LoneLibs Version

[15:34:16 INFO]: LoneLibs version 1.0.45
[15:34:16 INFO]: Collection of libs used by my plugins
[15:34:16 INFO]: Authors: LoneDev and others

Problematic items yml configuration file (optional)

info:
  namespace: iaalchemy
huds:
  example_hud:
    enabled: true
    show:
      auto: true
      creative: true
    type: FRAMES
    x_position_pixels: 120
    value:
      player_stat_name: example_stat
      start: 0
      min: 0
      max: 5
    images:
      frames:
        - iaalchemy:mana_bar_0
        - iaalchemy:mana_bar_1
        - iaalchemy:mana_bar_2
        - iaalchemy:mana_bar_3
        - iaalchemy:mana_bar_4
        - iaalchemy:mana_bar_5

Other files, you can drag and drop them here to upload. (optional)

info:
  namespace: iaalchemy
font_images:
  mana_bar_0:
    suggest_in_command: false
    show_in_gui: false
    path: hud/mana_bar/0
    y_position: -15
    scale_ratio: 50
  mana_bar_1:
    suggest_in_command: false
    show_in_gui: false
    path: hud/mana_bar/1
    y_position: -15
    scale_ratio: 50
  mana_bar_2:
    suggest_in_command: false
    show_in_gui: false
    path: hud/mana_bar/2
    y_position: -15
    scale_ratio: 50
  mana_bar_3:
    suggest_in_command: false
    show_in_gui: false
    path: hud/mana_bar/3
    y_position: -15
    scale_ratio: 50
  mana_bar_4:
    suggest_in_command: false
    show_in_gui: false
    path: hud/mana_bar/4
    y_position: -15
    scale_ratio: 50
  mana_bar_5:
    suggest_in_command: false
    show_in_gui: false
    path: hud/mana_bar/5
    y_position: -15
    scale_ratio: 50
github-actions[bot] commented 7 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

LoneDev6 commented 7 months ago

Check your logs, probably the HUD failed to load for some reason so the stat isn't registered, so it doesn't exists.