Skip to content

StatisticChangeEvent

StatisticChangeEvent is a public synchronous event type that carries a user and an integer value.

  • Package: dev.despical.snake.api.event.player
  • Parent Class: SnakeEvent
  • Cancellable: No
MethodReturn TypeDescription
getUser()UserPlayer whose value is represented.
getValue()intInteger value supplied to the event constructor.

If you need current statistics, query them at GameEndEvent or through PlaceholderAPI until dispatch support is added.