MovingBlocks

Add new AFK flag and display it on the online players overlay

Currently in Terasology if you hold the TAB key (subject to change - may move somewhere like to F2) in a multiplayer session you'll get a list of online players. It would be nice to allow players an option to enter an /afk command into the game console that would then add/remove an AFK label on their player entry in that overlay.

Definition of 'Done'

  • PR submitted to the main Terasology repo containing the needed code
  • Screenshot of a multiplayer game session where you can see a player entry in the overlay show an AFK label

Where to start

  • The NUI tutorial if you need to learn more about the UI
  • Various wiki pages like the one explaining the basics of networking as you'll need to attach a new field to the player entity (one of them - there are 2-3 distinct player related entities/concepts)
  • Look at examples of similar functionality like the MOTD - something where a message is shared with all connected players
  • The OnlinePlayersOverlay class

Task tags

  • terasology
  • ui
  • multiplayer
  • networking
  • console

Students who completed this task

iHDeveloper

Task type

  • code Code
close

2018