Video
Readme

InfoPanel

Information panel UI with buttons for pages and links.

Features

  • Fully customizable content from the configuration of the plugin
  • Buttons can open the page with content or work as link to url address
  • The UI can have up to 8 buttons and pages
  • You can have square or rectangle logo in the header element of the UI
  • The UI element with the logo can work as a button with link to url address
  • You can use rich text everywhere in the UI text elements (buttons, header title, pages)
  • There are 6 variables that can be used in the UI
  • The InfoPanel UI can be displayed to the player when he joins the server
  • You can set the amount of times player should see the UI when joining the server
  • Works with rocket reload!

Credits

  • soer for making the UI

Workshop

Commands

  • /info - Opens the info panel UI
  • /resetinfopanel - Resets the info panel database

Variables

  • {servername} - The name of the server
  • {players} - The amount of players currently on the server
  • {maxplayers} - The amount of slots on the server
  • {map} - The map used on the server
  • {playername} - The name of the player that opened the UI
  • {playerid} - The steam64 ID of the player that opened the UI

Rich Text

When using rich text in the configuration, you can use the { and } instead of < and > tags. This way your config will be cleaner, because xml won't serialize the tags.

Configuration

<?xml version="1.0" encoding="utf-8"?>
<InfoPanelConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EffectId>10844</EffectId>
  <EnableModal>true</EnableModal>
  <EnableBlur>true</EnableBlur>
  <DisableCenterDot>true</DisableCenterDot>
  <EnableSquareLogo>true</EnableSquareLogo>
  <EnableRectangleLogo>false</EnableRectangleLogo>
  <EnableLogoButtonImage>false</EnableLogoButtonImage>
  <SquareLogoUrl>https://i.imgur.com/f0JNfCH.png</SquareLogoUrl>
  <RectangleLogoUrl>https://i.imgur.com/YJkLIus.png</RectangleLogoUrl>
  <LogoButtonImageUrl>https://i.imgur.com/YJkLIus.png</LogoButtonImageUrl>
  <EnableLogoButton>true</EnableLogoButton>
  <LogoButtonUrl>https://unturnedamerica.com</LogoButtonUrl>
  <LogoButtonUrlDescription>Unturned America Website</LogoButtonUrlDescription>
  <HeaderTitle>Unturned America</HeaderTitle>
  <EnableUIOnJoin>true</EnableUIOnJoin>
  <ShowUIOnJoinCount>1</ShowUIOnJoinCount>
  <CloseUIWhenLinkIsClicked>false</CloseUIWhenLinkIsClicked>
  <Pages>
    <Page Name="Home">
      <EnableScrollbar>false</EnableScrollbar>
      <Lines>
        <Line>{size=30}Hello {playername}!{/size}</Line>
        <Line>{size=25}Thank You for playing on our server!{/size}</Line>
        <Line />
        <Line>{size=25}{b}{servername}{/b}{/size}</Line>
        <Line>{size=25}Players: {b}{players}/{maxplayers}{/b}{/size}</Line>
        <Line />
        <Line>{size=30}Server Features{/size}</Line>
        <Line>{size=23}• server feature no. 1</Line>
        <Line>• server feature no. 2</Line>
        <Line>• server feature no. 3{/size}</Line>
      </Lines>
    </Page>
    <Page Name="Commands">
      <EnableScrollbar>true</EnableScrollbar>
      <Lines>
        <Line>{size=30}Commands{/size}</Line>
        <Line />
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
        <Line>/command - description of the command</Line>
      </Lines>
    </Page>
    <Page Name="Website">
      <LinkUrl>https://unturnedamerica.com</LinkUrl>
      <LinkUrlDescription>Unturned America Website</LinkUrlDescription>
    </Page>
    <Page Name="Discord">
      <LinkUrl>https://discord.gg/uQHabK7vTX</LinkUrl>
      <LinkUrlDescription>Unturned America Discord Server</LinkUrlDescription>
    </Page>
  </Pages>
</InfoPanelConfiguration>

Translations

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="ResetInfoPanelSuccess" Value="Successfully reset info panel database!" />
</Translations>