Apollo
Developers
Mods
Replaymod

ReplayMod

Record your game sessions and replay them from any perspective.

Integration

How to toggle the mod

public void toggleReplayModExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModReplaymod.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • INDICATOR

    • Config Key: indicator
    • Values
      • Type: Boolean
      • Default: true
  • AUTO_POST_PROCESS

    • Config Key: auto-post-process
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_SERVER_IP

    • Config Key: show-server-ip
    • Values
      • Type: Boolean
      • Default: true
  • AUTO_SYNC

    • Config Key: auto-sync
    • Values
      • Type: Boolean
      • Default: true
  • TIMELINE_LENGTH

    • Config Key: timeline-length
    • Values
      • Type: Integer
      • Default: 1800
      • Minimum: 1500
      • Maximum: 2100
  • ASK_FOR_OPEN_EYE

    • Config Key: ask-for-open-eye
    • Values
      • Type: Boolean
      • Default: false
  • SKIP_POST_RENDER_GUI

    • Config Key: skip-post-render-gui
    • Values
      • Type: Boolean
      • Default: false
  • SKIP_POST_SCREENSHOT_GUI

    • Config Key: skip-post-screenshot-gui
    • Values
      • Type: Boolean
      • Default: false
  • PATH_PREVIEW

    • Config Key: path-preview
    • Values
      • Type: Boolean
      • Default: true
  • LUNAR_UI

    • Config Key: lunar-u-i
    • Values
      • Type: Boolean
      • Default: true
  • NOTIFICATIONS

    • Config Key: notifications
    • Values
      • Type: Boolean
      • Default: true
  • RECORD_SINGLEPLAYER

    • Config Key: record-singleplayer
    • Values
      • Type: Boolean
      • Default: true
  • RECORD_SERVER

    • Config Key: record-server
    • Values
      • Type: Boolean
      • Default: true
  • AUTO_START_RECORDING

    • Config Key: auto-start-recording
    • Values
      • Type: Boolean
      • Default: false
  • RENAME_DIALOG

    • Config Key: rename-dialog
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_CHAT

    • Config Key: show-chat
    • Values
      • Type: Boolean
      • Default: true