Apollo
Developers
Mods
Screenshot

Screenshot Uploader

Updates the screenshot behaviour allowing you to instantly open, upload or tweet the image.

Integration

How to toggle the mod

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

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: true
  • COPY_AUTOMATICALLY

    • Config Key: copy-automatically
    • Values
      • Type: Boolean
      • Default: false
  • UPLOAD_OPTION

    • Config Key: upload-option
    • Values
      • Type: Boolean
      • Default: true
  • TWEET_OPTION

    • Config Key: tweet-option
    • Values
      • Type: Boolean
      • Default: true
  • COPY_OPTION

    • Config Key: copy-option
    • Values
      • Type: Boolean
      • Default: true