WhileYouWereAway tells players what happened on the server while they were offline. If they were gone for at least two minutes, they get a recap on login: how long they were away, how many in-game days passed, who was online (new players are marked), who came near their base and any mail. The recap also opens as a written book called The Gazette. It is on SpigotMC.
- Base and Watcher: every player has a base. If a player logs out without one, the plugin puts it
at their bed spawn, or where they logged out if they have no bed.
/wywa setbasemoves it to where the player is standing. Anyone within 24 blocks of a base is logged as a visitor while the owner is offline./wywa watcherputs an iron golem at the base that attacks other players within 16 blocks while the owner is offline. It gets stronger with the owner's loyalty tier. - Daily rewards and streaks:
/wywa dailypays out once a day, with bonuses at 3, 7 and 30 days. Players coming back after 2, 7 or 30 days get a welcome-back reward. - Loyalty: the daily reward streak sets a tier from Newcomer to Legend, shown as floating text at the base.
- Guestbook and gifts: visitors can sign an offline player's guestbook at their base. The item in your hand can be sent to any player as a gift, and offline players get it when they log in.
- Mail, delayed letters, notes to your future self and reminders.
- A journal of firsts (diamond, ancient debris, nether star), boss kills, deaths and advancements.
- Idle rewards: XP and items for every hour offline, up to 8 hours.
- Discord alerts for base visitors, through a server webhook or a player's own. Only Discord webhook URLs are accepted.
/wywa tourflies the player around their base in spectator mode and puts them back afterwards.
Rewards can be XP, items or console commands, so you can hand out money or crate keys through
other plugins. All of it, and every message, is set in config.yml.
/wywa open the menu
/wywa chronicle | journal | guestbook reread the Gazette, the journal or the guestbook
/wywa daily | streak claim the daily reward or show the streak
/wywa setbase | base | watcher | tour set or show the base, summon the Watcher, take the tour
/wywa sign <message> sign the guestbook of the base you're at
/wywa gift <player> send the item in your hand
/wywa mail <player> <message> send mail, delivered now or on their next login
/wywa letter <player> <delay> <message> send a letter that arrives later, e.g. 3d
/wywa futureself <delay> <message> leave yourself a note
/wywa remind <delay> <message> set a reminder, e.g. 2h feed the animals
/wywa discord <url> | off send your base alerts to your own webhook
/wywa reload reload config.yml
/away works too. Everything except reload is open to all players; reload needs wywa.admin.
Bases are watched for every player by default, not only for players who used /wywa setbase,
and there is no setting to turn the automatic base off. A server shutdown counts as a logout for
everyone online. At an automatic base, visitors show up in the owner's recap, can sign the owner's
guestbook and trigger a Discord alert when alerts are on. The alert names the visitor, the owner
and the world, but not the coordinates. When a player logs in near their base, the plugin also
puts a floating shrine with their name and loyalty tier above it, which shows other players where
the base is. Set loyalty.shrine to false if you don't want that.
The Watcher defaults to IRON_GOLEM. Wolves and cats get tamed to the owner, and tamed mobs ignore
the target the plugin gives them, so they would just sit there.
Discord alerts stay off until you set discord.enabled to true. A webhook URL typed with
/wywa discord shows up in the console log like any other command, so the server-wide webhook in
the config is the safer option.
Put the jar from the releases page in
plugins/ and restart. It needs Paper 1.20.6 to 1.21.x on Java 21. It does not work properly on
Spigot, because the shrine uses a text method that only Paper has. With the default config,
/wywa setbase stops with an error there. I have tested it in-game on 1.20.6, 1.21.1, 1.21.4 and
1.21.11. To build it, run mvn clean package with JDK 21.
Questions and bug reports: Discord or the issue tracker here. MIT licensed, see LICENSE.