Sidebar is the base interface implemented by both PlayerSidebar and SharedSidebar. It provides the methods common to all sidebar types — managing the title and lines, controlling visibility, checking the sidebar type, and destroying it when you are done. When you have a Sidebar reference of unknown type, use the type-checking and cast helpers to work with it safely.
Title and lines
Line indices range from
0 to 14, giving a maximum of 15 lines.