Skip to content

Commit

Permalink
docs: Update the readme and the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lumynou5 committed Aug 16, 2022
1 parent 2a58a19 commit af3649d
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog
All notable changes to this project will be documented in this file.

## Unreleased
Released on:
## v1.1.0
Released on: 2022-08-16
### Added
- Direct message protection.
- Message format configuration.
Expand Down
43 changes: 38 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,46 @@
# Safe-Chat
# Safe Chat

No more reportable message and "unsafe" marks.
Safe Chat is a Minecraft plugin that protects players' messages.

## Features

All the messages in the server are protected, so you cannot report anyone.
The messages will be protected so no one is able to report while enable the plugin.
Because of the way this plugin uses, the game won't mark messages as unverified or unsafe, too.

![Screenshot](https://truth.bahamut.com.tw/s01/202208/2d76aca3213c8848910a35327962c83b.JPG?w=1000)

And there's no any "unsafe" mark, too!
## Configuration

The direct messages (using command such as `/w`) are also protected now.
It's able to configure the format of the messages.
When the first time the plugin enabled, it'll automatically generate the configuration file,
you may change it with the description below:

The format may contain strings inside a pair of curly brackets that will be replaced.
The table below shows the general ones.

| Name | Description |
|------------------|----------------------------------------------|
| `_BLACK` | Make the following text black. |
| `_DARK_BLUE` | Make the following text dark blue. |
| `_DARK_GREEN` | Make the following text dark green. |
| `_DARK_AQUA` | Make the following text dark aqua. |
| `_DARK_RED` | Make the following text dark red. |
| `_DARK_PURPLE` | Make the following text dark purple. |
| `_GOLD` | Make the following text gold. |
| `_GRAY` | Make the following text gray. |
| `_DARK_GRAY` | Make the following text dark gray. |
| `_BLUE` | Make the following text blue. |
| `_GREEN` | Make the following text green. |
| `_AQUA` | Make the following text aqua. |
| `_RED` | Make the following text red. |
| `_LIGHT_PURPLE` | Make the following text light purple. |
| `_YELLOW` | Make the following text yellow. |
| `_WHITE` | Make the following text white. |
| `_MAGIC` | Make the following text "magic". |
| `_BOLD` | Make the following text bold. |
| `_STRIKETHROUGH` | Make the following text strikethrough. |
| `_UNDERLINE` | Make the following text underline. |
| `_ITALIC` | Make the following text italic. |
| `_RESET` | Set the following text to the default style. |

You can find specific ones for every entry in the generated configuration file.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
plugin_version = 1.0.0
plugin_version = 1.1.0
13 changes: 13 additions & 0 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Control the chat format
#
# Format: {sender} - The message sender.
global-message-format: '{_GRAY}<{sender}>{_WHITE} {message}'

# Control the direct message format the sender see.
#
# Format {sender} - The message sender.
# {target} - The message receiver.
direct-message-sender-format: '{_GRAY}<YOU -> {target}>{_WHITE} {message}'

# Control the direct message format the receiver see.
#
# Format {sender} - The message sender.
# {target} - The message receiver.
direct-message-target-format: '{_GRAY}<{sender} -> YOU>{_WHITE} {message}'
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: SafeChat
version: 1.0.0
version: 1.1.0
author: Luminous-Coder

main: luminous.safechat.Main
Expand Down

0 comments on commit af3649d

Please sign in to comment.