![]() While positive number will mean that counter will go up from 0 to target value, negative will mean that counter will go from provided number to 0. If you want accurate time, utilise -sec: variable. Any variable combinations can be used to achieve best desired results.Ĭmi bossbarmsg all -a:1 Healing incomming in ! -t:2 -p:1 -pcmd:"msg &2Some dude healed you! cmi heal -s" -n:test -c:red which will result in automatic bossbar message counting up every tick (20 times per second) from 0 to 100 by adding 1 with title Healing incoming in 5sec! (time counter will self update) and after its reaches 100 all online players will get message Some dude healed you! and will be healed. Keep in mind that 20 ticks is 1 second.Īll variables are option except text it self. Can be used to automatically update bossbar with new information every x ticks. More info about them HEREPlayer will require to have permission node to be able to include commands.ĭifferently than -cmd: this will perform commands on every player who received bossbar message independent if you set command as single target or as all we will repeat same commands one every player while translating appropriate global variables or placeholders.īoth -cmd: and -pcmd: can be used for single target (commands gets merged) or while using all variable. Couple commands can be set by separating with and its accepting specialized command formats. In case you use all command gets triggered only once even if you have 50 players online and global variables like or anything relating to players will NOT be translated.Ĭmi bossbarmsg all &2Hey you! -pcmd:"msg hey cmi heal "ĭefines commands which will be performed when automatic progression reaches 0 or 100. ![]() If you use all as target player which will show bossbar to every player on server then commands defined with -cmd: starts behaving slightly differently. You can utilize global variables like BUT this only works when you use this command on specific player. This can be utilized for any type of counter.Ĭmi bossbarmsg Zrips &2Hey you! -cmd:"cmi broadcast !Better luck next time"ĭefines commands we should perform after timer runs out. In case of automatic progression results in 0 or 100 percents (depends from progression type) then boosbar will disappear after preset timer with – t. Is used, then bossbar value will start from 100 and will be decreased. If initial value is not set, then it will start from 0. Which will mean that progression will be advanced by additional percentage point. Some PlaceHolderAPI variable can be used, like -p:%server_max_players%/%server_online%Īutomatic progression change can be set by using something like Will define bossbar progression and by this example boss bar will be filled up to 23%. ![]() If name is not provided then each time command is performed, new bossbar will get created.Ĭmi bossbarmsg Zrips &2Hey you! -p:100/23 So by running cmi bossbarmsg Zrips &2Hey you! -n:myBar and then rerunning cmi bossbarmsg Zrips &2Whats up? -n:myBar same boss bar will get updated with new text without creating completely new one. So by using 1 you will get solid bar and by using 20 you will get bar splited into 20 parts.Ĭmi bossbarmsg Zrips &2Hey you! -n:bossBarNameĭefines bossbar name, it can be anything you want and will be used to identify same boss bar and update with new information if needed. Which will split bar into particular amount of sections. Shows red (default green) bossbar message to Zrips with message “Hey you” Shows bossbar message to Zrips with message “Hey you” and will disappear after 5 seconds Which will show bossbar message to Zrips with message “ Hey you” and will disappear after 3 seconds CMI provides option to show for one or all online players boss bar message with custom fill up, colors and so on.Ĭommand can be sent to particular player by defining his name or to all players by using all as name ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |