Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brenoepics/mentionplugin
Arcturus Morningstar mentions for everyone!
https://github.com/brenoepics/mentionplugin
arcturus morningstar plugin
Last synced: 24 days ago
JSON representation
Arcturus Morningstar mentions for everyone!
- Host: GitHub
- URL: https://github.com/brenoepics/mentionplugin
- Owner: brenoepics
- Created: 2024-03-12T08:02:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-08T10:43:06.000Z (7 months ago)
- Last Synced: 2024-04-08T11:46:57.830Z (7 months ago)
- Topics: arcturus, morningstar, plugin
- Language: Java
- Homepage:
- Size: 20.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mention Plugin for Arcturus Morningstar 3.5.x
> [!WARNING]
> Main branch is currently under development (4.0) and may not be stable.A simple and easy-to-use plugin for mentioning users in a chat room.
You can mention users using their username, all friends with @friends,
everyone with @everyone, everyone awake with @here or the entire room with @room.
The @ symbol can be placed anywhere in the message.
The plugin also includes features such as blocking mentions, setting a mention timeout,
choosing between bubble alert or whisper, and logging with a database or Discord.## How to use
To use the plugin,
simply type `@username`, `@friends`, `@everyone`,
or `@room`
followed by your message.## How to install
- Download a pre-compiled version of the plugin [here](https://github.com/brenoepics/MentionPlugin/releases/).
- Run the SQL script provided.
- Move the `MentionPlugin-3.0-jar-with-dependencies.jar` file to your emulator's plugins folder and restart the
emulator.
- Set up user permissions by modifying the `acc_mention`,
`acc_mention_everyone`, `acc_mention_friends`, and `acc_mention_room`
fields in your database's permissions table.
- Update the permissions by typing `:update_permissions` in the hotel or restarting the emulator.
- Start mentioning users by using the mentioned keywords.## Configuration
The plugin includes the following configuration options:
### Emulator Settings
| Key | Default Value | Meaning |
|------------------------------------------------------|---------------|-----------------------------|
| `commands.cmd_mention_friends.prefix` | `friends` | |
| `commands.cmd_mention.message_error.delete` | `true` | |
| `commands.cmd_mention.message_success.delete` | `false` | |
| `commands.cmd_mention.follow.enabled` | `true` | |
| `commands.cmd_mention.message.show_username.enabled` | `true` | |
| `commands.cmd_mention_everyone.follow.enabled` | `true` | |
| `commands.cmd_mention_regex` | `@(\\w+)` | |
| `commands.cmd_mention_max` | `5` | max users in same message |
| `mentionplugin.sanitize` | `true` | |
| `mentionplugin.mode_user` | `1` | 1 for bubble, 2 for whisper |
| `mentionplugin.mode_everyone` | `1` | 1 for bubble, 2 for whisper |
| `mentionplugin.mode_friends` | `1` | 1 for bubble, 2 for whisper |
| `mentionplugin.timeout_user` | `10` | |
| `mentionplugin.timeout_everyone` | `5` | |
| `mentionplugin.timeout_friends` | `60` | |
| `mentionplugin.timeout_room` | `20` | |
| `mentionplugin.logging_database` | `true` | |
| `mentionplugin.database.log_timeout_minutes` | `30` | |### Permissions
| Key | Default Value |
|----------------------|---------------|
| acc_mention | 1 |
| acc_mention_friends | 1 |
| acc_mention_everyone | 0 |
| acc_mention_room | 2 |
| cmd_blockmention | 1 |These permissions can be adjusted in the permissions table in your database.
To do so,
open your database and go to the permissions table
and change the values of the mentioned keys as per your requirements.> [!NOTE]
> To take the changes into effect, you will have to type `:update_permissions` in your hotel or restart the emulator.## FAQ
### 1. Why am I disconnected when I get a mention in flash client?
Flash Client Error
Your image link is not a valid .png or .gif, and flash client disconnects when receiving the bubble alert.
To resolve this issue, change the key commands.cmd_mention_everyone.look in the emulator_texts to a valid .png or .gif.### 2. How to report a bug or suggest a feature?
You can report a bug or suggest a feature by creating an issue on the GitHub repository or contacting me on Discord:
brenoepic