clientcommands icon indicating copy to clipboard operation
clientcommands copied to clipboard

Suggestion: Add the `cbossbar` command

Open James103 opened this issue 4 years ago • 4 comments

Currently, there is no way to create or modify client-side bossbars that I know of, which may be useful (in conjunction with scripts) for things like displaying the client-side day counter, a progress bar, or something like that. To fix this, I would like to suggest a /cbossbar command, which works exactly like the /bossbar command, except with the following differences:

  • Only boss bars created with the /cbossbar command can be modified by said command.
  • There is no /cbossbar set ... players, nor is there a /cbossbar get ... players.
  • /cbossbar get ... visible defaults to false for newly created boss bars.
  • Depending on the implementation, boss bars created with /cbossbar may or may not persist on reconnect or game restart.

James103 avatar Jun 19 '21 02:06 James103

Hmm, if this is a feature that is primarily intended for scripts, might be better to have it implemented as a script function. That said, given the direction the scripting API has taken recently, I would prefer if the feature was added to jsmacros than clientcommands scripting.

Earthcomputer avatar Jul 16 '21 21:07 Earthcomputer

Same for #282?

xpple avatar Jul 16 '21 21:07 xpple

Hmm, perhaps

Earthcomputer avatar Jul 16 '21 21:07 Earthcomputer

Hmm, if this is a feature that is primarily intended for scripts, might be better to have it implemented as a script function. That said, given the direction the scripting API has taken recently, I would prefer if the feature was added to jsmacros than clientcommands scripting.

Then, should this issue be moved to the client commands scripting repository?

James103 avatar Aug 30 '21 06:08 James103