Tips
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
平台: bukkit paper purpur spigot
标签: management utility
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 &<a-f,0-9> for now
Updating configuration
- Copy the "messages" section of your current config

- Make sure you don't lose that, you could upload it to a pastebin such as paste.helpch.at
- Delete your current configuration file
- Restart your server
- Replace the messages section in the new config with your saved messages section.
- If you have custom color codes you will also need to save those and manually change the values in the new config.
请登录后举报
暂无评论,抢个沙发吧~