Pinacolada64 / NOW

A MUD under construction based on Evennia.
9 stars 8 forks source link

Show which characters are active from the web page #3

Closed tricuspa closed 7 years ago

tricuspa commented 8 years ago

It would be more helpful to have a WHO that either queries once or a running board to show who is connected.

AmberFennek commented 8 years ago

I added it to https://github.com/Pinacolada64/NOW/wiki/todo

Rulan should talk to LazyLion about becoming a contributor. Because he mentioned wanting to work on web things for NOW.

Pinacolada64 commented 8 years ago

Lazylion is welcome to join, I'll ask him the next time I see him.

AmberFennek commented 8 years ago

Tria also mentions it on https://github.com/Pinacolada64/NOW/wiki/commands (currently a command we want, not a command we have.)

Pinacolada64 commented 8 years ago

Oh, okay.

AmberFennek commented 8 years ago

The proper way to do this is documented here: and requires overloading with a custom views.py, which means defining a variable composed of a list of current online characters and perhaps idle times, then modifying the index.html to support the display in HTML. Anyone interested can contribute - and possibly expand this feature to realm-wide WHO lists and present realms via web with additional information in them gathered from the in-game realmentry rooms.

AmberFennek commented 7 years ago

Until there's a solution, the work-around is to update evennia/web/website/views.py every time Evennia updates it. Because the proper way may or may not work in this case, we either need someone who understands how this is done or if it does not work, someone needs to inquire with the contributors as to how it can best be changed to be done. See the link in the last post above.

Pinacolada64 commented 7 years ago

Web-based listing of players seems to work. Yay @AmberFennek :smile: