Scrolling - TSenter/CommandMobs GitHub Wiki

Mob names can contain scrolling, which is where all or part of the name "scrolls", allowing for more text than normally allowed as the name for a mob. Scrolling is indicated with a %s in the name. This can be at the beginning, in which the whole name scrolls, or somewhere in the middle, for example Arena: %sBlackwood Forest. This would always show Arena:, plus Blackwood Forest, with the scroll length of Blackwood Forest.

example

Length

You can customize how many characters will be shown with the settings.mobs.scroll-length setting in the config. Please note that this is a static number, and will remain the same for all mobs. Also, if the number of characters is less than the scroll length, CommandMobs will follow the hypolength-spaces option. If set to true, CommandMobs will add as many spaces as are needed to the end of the name if there are not enough characters to scroll. Meaning, using %sScroll really means %sScroll----, where - is a space. If set to false, CommandMobs will remove the scroll tag and simply will not scroll.

Speed

You can also customize how quickly the text scrolls with the settings.mobs.scroll-speed setting in the config. This number is in ticks, and there are 20 ticks in a second. The default is 10 which means text will scroll every half a second, or twice in one second.