Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caelunshun/chatprefixer
An efficient and lightweight chat plugin for Spigot servers
https://github.com/caelunshun/chatprefixer
Last synced: about 1 month ago
JSON representation
An efficient and lightweight chat plugin for Spigot servers
- Host: GitHub
- URL: https://github.com/caelunshun/chatprefixer
- Owner: caelunshun
- License: mit
- Created: 2018-05-15T22:58:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T08:28:21.000Z (about 4 years ago)
- Last Synced: 2023-08-17T04:00:25.362Z (over 1 year ago)
- Language: Java
- Homepage: https://www.spigotmc.org/resources/chatprefixer.56778/
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ChatPrefixer
ChatPrefixer is a very simple plugin that allows you to format your chat using Vault prefixes and suffixes. Its configuration is extremely easy to use, and the plugin aims to allow you to make your chat look good as easily as possible.
**Dependencies**
To use this plugin, you will need a Vault-compatible prefix managing plugin (often a permissions plugin like PermissionEx, LuckPerms, etc). You will also need to install the latest version of Vault.
**Configuration**
There is only one setting in the configuration: the chat format. You may use variables like ${username} and ${prefix}. For example, if your configuration has
```
format: '${prefix} ${username}: ${message}'
```
then a message from a player named Player with prefix [Prefix] will look something like
`[Prefix] Player: Chat message I just sent`.Full list of variables you can use:
${world} - the sending player's world's name.
${username} - the sending player's username.
${nickname} - the player's Essentials nickname. Requires EssentialsX to be installed.
${uuid} - the sending player's UUID.
${prefix} - the prefix set for the sending player
${suffix} - the suffix set for the sending player
${message} - the message sent by the player
Please make sure to enclose your format in the YAML configuration in single quotes.
**Support**
Please do not leave a bad review asking for support. Instead, go to the issue tracker and post an issue or send me a PM on SpigotMC.