Tips

Simple plugin to send messages every specified period of time

656

Quick challenge

How far can you run before the mobs catch you?

Tips

This plugin can send a random message from a specified list every specified time, and can be useful for tips for players, or information about your server.

Support

If you need help, find a bug, or want a new feature, DM me on discord: `editid`

Permissions

`tips.show` - Allows `/tips show <id>`

`tips.showall` - Allows `/tips showall <id>`

`tips.reload` - Allows `/tips reload`

`tips.toggle` - Allows `/tips toggle` (v1.1.4+)

Commands

`/tips show <id>` - Shows whoever runs the command the tip associated with with the specified ID

`/tips showall <id>` - Show all online players the specified tip

`/tips reload` - Reload the plugin to apply configuration changes

`/tips toggle` - Enable or disable receiving tips (v1.1.4+)

Supports gradients and hex codes for text

Gradients

Example: `<g:#FF0000>This text has a gradient!</g:#FFFF00>`

Hex codes

Example: `<#90CAFF>This text is light blue`

Config

config.yml

```

List of messages default:

#messages

1: "this plugin"

2: "has not been"

3: "set up"

messages: 1: "this plugin" 2: "has not been" 3: "set up"

When the plugin gets reloaded, should it send the first message straight after, or wait for the interval to pass before sending the first message?

default: true

send_message_on_reload: true

The interval in seconds that should pass before sending each message

default: 300

interval: 300

The prefix of the plugin

default: "&7[&dTips&7] "

prefix: "&7[&dTips&7] "

The color code of error messages

default: "&c"

error_color: '&c'

The color code of normal messages

default: "&a"

normal_color: '&a'

The color code of ID's in the message

default: "&b"

id_color: '&b'

Should the plugin be enabled

default: true

enable: true

Message format for the tip announcements

default: "{prefix} {id} {message}"

message_format: "{id} {message}"

The sound to play when a tip is sent, set this to "none" to disable

default: "ENTITY_PLAYER_LEVELUP"

sound: "ENTITY_PLAYER_LEVELUP"

Bstats integration, set to false to disable, please keep this true, it doesn't share any personal data

default: true

bstats: true

```

Tips format:

``` messages: <id>: <content> ``` id can be a number, or a string of letters (a-z upper or lower) or a mix of both.

content can be anything, but the plugin does not support hex color codes yet, so & for now

Updating configuration

1. Copy the "messages" section of your current config

Messages section in config

2. Make sure you don't lose that, you could upload it to a pastebin such as paste.helpch.at 3. Delete your current configuration file 4. Restart your server 5. Replace the messages section in the new config with your saved messages section. 6. If you have custom color codes you will also need to save those and manually change the values in the new config.

ADS