Package net.md_5.bungee.api.event

# Class SettingsChangedEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
net.md_5.bungee.api.event.SettingsChangedEvent

public class SettingsChangedEvent extends Event
Called after a `ProxiedPlayer` changed one or more of the following (client-side) settings:

- View distance
- Locale
- Displayed skin parts
- Chat visibility
- Chat colors
- Main hand side (left or right)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SettingsChangedEvent(ProxiedPlayer player)`
  Creates a new `SettingsChangedEvent` instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `ProxiedPlayer`
  `getPlayer()`
  Player who changed the settings.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class net.md_5.bungee.api.plugin.Event

  `postCall`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### SettingsChangedEvent

    public SettingsChangedEvent(ProxiedPlayer player)
    Creates a new `SettingsChangedEvent` instance.
    Parameters:
      `player` - Player who changed the settings.

- ## Method Details

  - ### getPlayer

    public ProxiedPlayer getPlayer()
    Player who changed the settings.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`