-
Notifications
You must be signed in to change notification settings - Fork 6
Custom Messages
This plugin is available in English and German by default, with pre-defined messages and captions. If you want custom captions, this is really easy to do.
When you first start up the plugin, it loads the default language files from the JAR file into the plugins/BungeeAFK/lang folder and keeps a cached version during runtime. To change a message, simply edit the relevant message in the file. Once you have finished editing, save the file and run the command /bafk lang reload. This command will replace all cached captions with those from the files.
Alternatively, you can use the /bafk configure caption <lang> <key> <new-caption> command in the console or in-game. This command will change both the cached captions and the file entries, meaning you don't have to run the /bafk lang reload command afterwards.
The language files only exist in the JAR file. To edit captions, you need to use a tool like WinRAR to open the file, edit the files directly in there and then restart the server.
To restore the default captions, simply delete the plugins/bungeeafk/lang directory and run /bafk lang reload. This will load the default files back into the directory and cache all default captions.