Sueta
AN

AnimatedMOTD

1.3.0

Show players running Minecraft 1.8.3 or lower an animated MOTD

·Plugin


AnimatedMOTD
This is useful for servers that still support earlier versions like 1.7 or 1.8 with ViaVersion or a similar plugin. Players running 1.8.3 or before will be able to see your animation. Players running higher versions will see the default MOTD defined in the configuration file.

Installation
AnimatedMOTD requires PingAPI to work properly. To install AnimatedMOTD simply download it and drag the jar file into your plugins folder as well as PingAPI's jar. PingAPI will not affect your server at all. It is simply a library that helps developers.

Configuration

Enabled: true
Default MOTD: "MOTD"
Default PlayerCount: "Players: 5/50"
Ticks: 20
MOTD:
  Enabled: true
  Ticks: 20
  Animation:
  - "MOTD 1"
  - "MOTD 2"
  - "MOTD 3"
  - "MOTD 4"
  - "MOTD 5"
PlayerCount:
  Enabled: true
  Animation:
  - "Players: 1/50"
  - "Players: 2/50"
  - "Players: 3/50"
  - "Players: 4/50"
  - "Players: 5/50"
Icons:
  Enabled: true
  Animation:
  - "/icons/1.png"
  - "/icons/2.png"
  - "/icons/3.png"
  - "/icons/4.png"
  - "/icons/5.png"

To enable AnimatedMOTD simply set Enabled too true. The "Default MOTD" and "Default PlayerCount" option defines what will be displayed to users who are running a version higher than Minecraft 1.8.3.

The Ticks option defines how many ticks occur between each frame. There are 20 ticks in one second. Then you simply need to list off each MOTD as shown above to create an animations.

If PlayerCount is disabled it will display the normal text. Otherwise you can create animated messages where the player count is normally displayed. The same is true for animated icons.

Config Variables
Currently there are two variables. %ONLINE% which represents the amount of online players and %MAX% which represents the maximum amount of players.

Source Code
The source code is available here

Similar projects

Plugin →