Openrct2: Feature: Logging User Actions

Created on 23 Jul 2016  路  5Comments  路  Source: OpenRCT2/OpenRCT2

Last night on the Man of Teal server, I saw someone deleting rides, and immediately building scenery afterwards to avoid people detecting him. 聽Although I pointed it out and drove him off, it would be nice for server hosts and mods to have access to a log of user actions, to monitor users when they're away.

feature multiplayer

Most helpful comment

Based this off the chat log code for the most part. It saves to /serverlogs instead of /chatlogs and the file has the server name prefixed. Only the host can enable and use server logging, it is hidden for clients like the known hosts option is.

Currently logging:

  • [x] Server Start
  • [x] Server Shutdown
  • [x] Player Join
  • [x] Player Leave
  • [x] Player kicked and by who
  • [x] Delete Ride
  • [x] Edit park properties (name, price, open/close)
  • [x] Edit ride properties (name, price, vehicles, etc)
  • [x] Cheats and who used it
  • [x] Add Player group and by who
  • [x] Edit Player group permissions and by who
  • [x] Edit Player group name and by who
  • [x] Delete Player group and by who
  • [x] Set a player's group and by who
  • [x] Set default Player group and by who

Let me know what else we want to add. I was thinking pause, but I guess that is limited to the host so no point logging that.

All 5 comments

This would be an awesome feature. It would be extremely helpful for mods, like you said.

This is the most needed feature for me as a game host of three servers.

Based this off the chat log code for the most part. It saves to /serverlogs instead of /chatlogs and the file has the server name prefixed. Only the host can enable and use server logging, it is hidden for clients like the known hosts option is.

Currently logging:

  • [x] Server Start
  • [x] Server Shutdown
  • [x] Player Join
  • [x] Player Leave
  • [x] Player kicked and by who
  • [x] Delete Ride
  • [x] Edit park properties (name, price, open/close)
  • [x] Edit ride properties (name, price, vehicles, etc)
  • [x] Cheats and who used it
  • [x] Add Player group and by who
  • [x] Edit Player group permissions and by who
  • [x] Edit Player group name and by who
  • [x] Delete Player group and by who
  • [x] Set a player's group and by who
  • [x] Set default Player group and by who

Let me know what else we want to add. I was thinking pause, but I guess that is limited to the host so no point logging that.

I'd also say Edit ride properties, and which ride.

I just added the code to log demolishing rides, but I didn't tag it correctly. You can see it here: https://github.com/delebota/OpenRCT2/commit/4285bc1c375ad2da61e19ae48da750392f000b24

Also I noticed if you start building a ride and cancel before you build anything it will send the demolish command, is there anyway to distinguish between construction and using the demolish button on a ride?

Was this page helpful?
0 / 5 - 0 ratings