Apollo
Developers
Mods
AutoTextActions

Auto Text Actions

Allows you to set up certain actions to be triggered on received chat messages.

Integration

How to toggle the mod

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

Available options

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