Server-side recording mod for ReplayMod. It records the game using fake players so can be used on servers for 24/7 recording. It's also an alternative way to record single player world.
- Display recorded time, recorded file size, etc. in tab list.
- Can be set to pause automatically when no players are near by.
- Allow players to download recording files via an embedded http server.
- Variable view distance, but not chunk loading distance.
- Lock day time or weather in recording.
Tested in Minecraft 1.14.4, should also work in later versions with only trivial modifications on the code (minecraft version and yarn mapping version of fabric-loom).
Use /sreplay help to get general usage, and /sreplay help set <option name> to get help with the specified recording option.
Cnofiguration file is config/sreplay.json, it will be created each time start the mod if not exist.
savePathRecording save path;serverNameServer name stored in Replay file;sizeLimitDefault recording size limit for each recording bot, in MB;autoReconnectDefault auto restart flag;playerNamePatternPattern that every bot name must match, attempting to spawn a bot with invalid name would result in aninvalidNameerror. (Hint: change this to.*if you want any player name to be valid);formatsMessage formats, each format entry is raw JSON text. See the configuration file for more detail.
serverListenAddressServer listen address.0.0.0.0would be fine most of the time.serverPortServer port.serverHostNameServer domain name in the downloading Links.downloadTimeoutLink expiring time out, in milliseconds.