Skip to Content
PandaScript
Plugin

Upgrading to 4.0

Moving from VoiceSentinel 3.x to 4.0: what the plugin changes in config.yml and messages.yml on its own, and the one thing to check.

You do not need to change anything by hand. On the first start of 4.0 the plugin moves your settings and texts to the new layout. The only thing to check afterwards is any custom message you wrote.

Steps

Your old files are kept

On the first start the plugin saves your 3.x config.yml as config.yml.3x.bak, next to it, and your old messages.yml as config/messages.yml.3x.bak. It never overwrites an existing backup.

Replace the jar

Stop the server, replace the old jar in plugins/ with the 4.0 jar, and start the server. Do not use Plugman or similar to reload it.

Check the console

The console says Config migrated. when the files were changed.

Check your custom messages

Open plugins/VoiceSentinel/config/messages.yml and look over any text you had changed. See What happens to your texts.

What moves

What3.x4.0
Staff alert settings (processing time, session ID, separator, sound)alert_settings in messages.ymlalerts block in config.yml
Consent menu textsconsent.title, consent.accept_name, consent.deny_name, consent.rules_name, consent.rules and the consent.*_message keys in config.ymlconsent-... keys in messages.yml
Join privacy noticeprivacy-msg in config.ymlprivacy-notice in messages.yml
Warn textmoderation.warn_message in config.ymlwarn in messages.yml
Appeal textmoderation.appeal_message in config.ymlappeal-message in messages.yml
Message keysNested (staff_alerts.flagged_content, player_messages.unmuted)One level, with dashes (alert-flagged, unmuted)
Text format& colour codes in config.yml, MiniMessage in messages.ymlMiniMessage everywhere
Placeholders<player>{player}
Language of VoiceSentinel's textsEnglish onlymessages_language in config.yml

privacy-join-msg, consent.mode, consent.on_deny, consent.rules_version and moderation.appeal_url stay in config.yml.

What happens to your texts

  • messages.yml is rebuilt from the 4.0 file, so you get the new comments and every new text.
  • A text you changed is kept under its new key. Texts you never changed take the new 4.0 wording.
  • Texts from config.yml that used & colour codes are converted to MiniMessage.
  • Your old <player> style placeholders still work. New texts use {player}.
  • Texts that 4.0 no longer uses are left out.
  • Your old file is kept as config/messages.yml.3x.bak.
  • If your privacy-msg was empty, privacy-join-msg is set to false so players still see no notice.

What happens to config.yml

  • The moved keys are removed.
  • messages_language: en is added below license-key.
  • The alerts block is added below flag_threshold, with the values from your old messages.yml. If you had none, it gets the defaults.
  • Keys that had no comment get the comment from the 4.0 file. Comments you wrote are not touched.
  • config-version goes to 19. messages.yml goes to version 4.

Everything else keeps your values. New defaults only apply to new installs.

Nothing else to do

  • PUBLIC mode keeps working. The plugin now asks PandaScript which processor to use. See Public processors.
  • LOCAL and CUSTOM modes work as before. The On-Server engine is the same version as in 3.11.
  • VoiceSentinel Cloud keeps working. 4.0 adds health reports and new remote actions. See VoiceSentinel Cloud.
  • Permissions are unchanged. /voicesentinel status is new and uses voicesentinel.admin.

Going back to 3.x

3.x expects the old layout. To go back, put the 3.x jar back, rename config.yml.3x.bak to config.yml, and rename config/messages.yml.3x.bak to messages.yml.

See the 4.0.0 changelog for everything that changed.

On this page