[ARCHIVED] thecolonel63's Server Side Replay Recorder

[ARCHIVED] thecolonel63's Server Side Replay Recorder

Mod

[ARCHIVED] - I have no intention of updating past 1.20.1. Please check the source page readme for more information. Records many players at once in the format used by ReplayMod.

Server Utility

2,358 downloads
90 followers
Follow Save
[ARCHIVED] thecolonel63's Server Side Replay Recorder has been archived. [ARCHIVED] thecolonel63's Server Side Replay Recorder will not receive any further updates unless the author decides to unarchive the project.
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
Filter channels...

Fixed https://github.com/thecolonel63/server-side-replay-recorder/issues/45 - Issue was caused by name confusion in ordering of GameJoinS2C packet.

Fixed a crash when the mod was used in tandem with other mods that utilized a common library. Notably, this fixes Ledger compatibility.

Updated the mod version to support 1.20.x to allow recording in the newer version.

Had someone with access to the ReplayMod 1.20 beta test the recordings and they work fine.

A huge thanks to https://github.com/mattymatty97 for all of these amazing changes!

Added /replay command:

  • /replay players (add|remove|list) - Add/list/remove players to/from the blacklist/whitelist
  • /replay status - Show the active recording list as well as if recording is enabled
  • /replay status [enable|disable] - Toggle recording across entire mod
  • /replay region <regionName> (start|stop|status) - Enable recording of a pre-defined large area independent of players
  • /replay file (player|region) - Delete / Upload replay files without manually accessing the replay folder
  • /replay marker (player|region) - Add a marker to the specified replay file

Config changes:

  • Config now uses yaml format
  • Added command_op_level - OP level to access /replay command - Default is OP level 4
  • Added recordable_users - List of players that are whitelisted / blacklisted - Default is empty
  • Added recording_enabled - Whether to record anything - Default is false
  • Added assume_unloaded_chunks_dont_change - Prevents unloaded chunks from being reloaded in a region recording - Default is true
  • Added max_file_size - Limits the replay to a maximum size in bytes - Default is 10000000000 bytes or 10 GB
  • Added debug - Attaches a printout of the packets received inside the replay recordings - Default is false, stay away unless you need this
  • Added invert_user_list - Inverts the list to be a blacklist of players who should not be individually recorded - Default is false
  • Added use_server_timestamps - Syncs recording to the server tick to combat tps lag - Default is true
  • Added file_storage_url - Endpoint to upload recordings to if uploading using command - Default is "https://file.io/"

File uploading:

  • The upload urls are stored alongside a regex for parsing the output in the root of the jar
  • The file is "upload_sites.properties"
  • If you use a different upload url than the default file.io, define the regex to extract the output url there

Other changes:

  • Now compatible with carpet bots
  • Removed the partially complete replay checker since it was broken
  • Absolute path can now be used to specify a replay recording location outside the server folder

Updated to 1.19.3 and added offline mode support.

Updated to 1.19.2 courtesy of Github user Metroite

Added a utility which runs at the beginning of the server and fixes incomplete replays which are caused by the server stopping before they could be saved properly.

The mod has been updated to support recording on 1.19 servers.

PLEASE NOTE: There is currently no way to watch recordings back, as ReplayMod hasn't updated to support 1.19 yet.

This is intended to fill the recording gap before 1.19 ReplayMod actually arrives. Assuming the format remains the same, these recordings should work when 1.19 ReplayMod comes out.

I have removed the Fabric API dependency and fixed a bug which caused the config to not load properly when creating a new config.

Released a temporary fix to the player UUID list in the metadata by disabling the feature for now. This does not appear to negatively affect the replays in the replay viewer in any way.

v1.0.1

by thecolonel63 on May 24, 2022
Download

Initial Release of the mod!

Please do note that this depends on the Fabric API.

You can change some things based on the config file.

Other than that, a basic recorder for servers.

Nobody wrote a public up-to-date one, so I decided to.


Project members

thecolonel63

Owner

Details

Licensed MIT
Published 2 years ago
Updated a year ago