Skip to content

v2.5.0

Latest
Compare
Choose a tag to compare
@totemo totemo released this 18 Feb 15:32
· 3 commits to master since this release

Add cooldown action and allow /es-used to query.

  • Version updated to 2.5.0.
  • The cooldown action prevents a sign from being used again by the same player for a specified number of seconds. Messages are automatically formatted as seconds, minutes, hours or days.
  • /es-used can now query the number of times a player has used a sign, as well as set the usage count.
  • Additional commands now abort subsequent actions:
    • The announce action now aborts subsequent actions when the announcement has already been shown (like max).
    • cmd and opcmd abort subsequent actions when the command fails (e.g. permissions) or throws an Exception.
    • tpbed aborts subsequent actions when the player doesn't have a bed spawn set.
  • Various compiler warnings have been fixed, including deprecations and unused fields.
  • The SignAction.action() method now returns boolean indicating whether subsequent actions should be executed, replacing the shouldExit() method and reducing duplication and complexity.