April Fools Demo
Shows the Minecraft demo screen when joining a server on April Fools.
Supported versions
This plugin should technically work on all versions between 1.7.10 and 1.21. However, I have only tested it on Paper 1.21.11 with a client of the same version.
How it works
You can trigger several demo messages through a Game Event packet. Value 0 shows this screen, and values 101 through 104 show instructions on how to play the game (i.e. how to move, take a screenshot, among others) in the chat. For more information, check out the Minecraft wiki.
This plugin uses packetevents to send packets to the player. It is already included in the final JAR file.
Changing the text
If you think showing this to users could be somewhat misleading, you're definitely not the first one. However, the demo screen text, like pretty much any other piece of text in the game, can be modified using a resource pack. As such, you can change the following keys using a resource pack and send it to players before they join the server:
{
"demo.help.buy": "Purchase Now!",
"demo.help.fullWrapped": "This demo will last 5 in-game days (about 1 hour and 40 minutes of real time). Check the advancements for hints! Have fun!",
"demo.help.inventory": "Use the %1$s key to open your inventory",
"demo.help.jump": "Jump by pressing the %1$s key",
"demo.help.later": "Continue Playing!",
"demo.help.movementMouse": "Look around using the mouse",
"demo.help.movementShort": "Move by pressing the %1$s, %2$s, %3$s, %4$s keys",
"demo.help.title": "Minecraft Demo Mode"
}

