PicoJobs

PicoJobs

13.1k Downloads

[BUG] Autocompletion and Command Syntax for /jobadmin is partially broken

burdoto opened this issue ยท 0 comments

commented

Describe the bug
Declaring a player in /jobadmin command is impossible due to broken syntax.

To Reproduce
Steps to reproduce the behavior:

  1. Write /jobadmin set method in text box
  2. A suggestion CraftPlayer{name=Kaleidox} appears, which is the output of CraftPlayer#toString()
  3. Using this suggestion gives an "That player is not online" error (why can't i modify offline players?)
  4. Using just a player name instead gives an "Please use a valid syntax" error

Expected behavior
Modifying player attributes should work normally

Screenshots and Logs
image

Software Details:

  • Server Software: Paper
  • Server Software Version: 1.21.1, build 131
  • Plugin Version: 1.0-pre
  • Java Version: openjdk 21.0.5