Skip to content

Version 2

Latest
Compare
Choose a tag to compare
@adeynes adeynes released this 26 Sep 16:20

Alright, this is a big changelog.

Setup

Although v2.0 changes a lot of things, configuration files (config.yml, lang files) do NOT need to be deleted before updating. Just drop the new .phar in, and the plugin will take care of updating them while keeping your old settings.

Functionality

Punishments now automatically synchronize with the database: you can enforce your iron fist on several servers at once by using the same database for all of them. There will also no longer be database connection timeouts when the server is inactive for too long.

Infinite durations are no longer stored as 2038-01-19T03:14:07. They will no longer actually expire on that date, and will display by default as until the Big Crunch (configurable in the lang files). Note that punishments created before version 2.0.0 will not be updated to the new infinite duration format. The default time format has also been changed to 17:53:45 on September 26 2020, from 2020-09-26T17:53:45.

Punishment histories: it is now possible to view all of a player's punishments (including expired ones) with the /history command. See below.

Warning system: /warn and the associated commands have been added. See below.

We've decided that it was time to infringe on Alias's market share: /ip now shows a list of accounts with the same IP as the specified player.

Commands

duration is now a required argument and no longer requires a -d flag. A punishment that never expires has a duration of inf.

  • /ban <player> <duration>|inf [reason]
  • /mute <player> <duration>|inf [reason]

The -player and -ip flags no longer exist for IP ban and uban; cucumber always infers which was entered using a serverless machine learning algorithm.

  • /ipban <player>|<ip> <duration>|inf [reason]
  • /uban <player>|<ip> [reason]

There is a -all flag for punishment list commands to specify that expired punishments should be displayed.

  • /banlist [-all|-a]
  • /ipbanlist [-all|-a]
  • /mutelist [-all|-a]

Warning system!

  • /warn <player> <duration>|inf [reason]
  • /warnings <player> [-all|-a]
  • /mywarnings [-all|-a]

Each warning has a warning ID for easy warning deletion which is displayed on warning creation and in /warnings:

  • /delwarn <id>

Were the previous versions of cucumber not reminiscent enough of 1984 to your taste? Good news, with punishment histories, players will no longer be able to escape your omniscience:

  • /history <player>

This should be a comprehensive list of changes, but check out the README for excruciatingly detailed information.