Description

This plugin was originally made for a request on the 'Plugin Requests' forum.
What does this plugin do?
This plugin broadcasts a message to the whole server when a player has to go and how long for.
Commands
- /gottogo [time] [time format]
- /gtg [time]
- Both commands above broadcasts the got to go message to the server. Put the amount of time where [time] is. Replace [time format] with a valid time format. Valid time formats are(without the info in brackets):
- m (Minutes)
- h (Hours)
- d (Days)
- So if a player wanted to say that they will be back in 10 minutes, they would do '/gtg 10 m'. Or if they wanted to say that they would be back in 1 day, they would do '/gtg 1 d'. If they didn't have a time in which they would be back, they could just do '/gtg', which would say that they had to be back A.S.A.P.
- /gtgreload - Reloads the config
Permissions
- gtg.use - Permission to use /gtg or /gottogo.
- gtg.hidemsg - Players with this permission won't see any got to go messages.
- gtg.reloadconfig - Permission to reload the config.
Config
1 2 3 4 | minutesmessage: '&a&lAttention! &b%player &6has to go! He will be back in &b%time &6minutes!' hoursmessage: '&a&lAttention! &b%player &6has to go! He will be back in &b%time &6hours!' daysmessage: '&a&lAttention! &b%player &6has to go! He will be back in &b%time &6days!' asapmessage: '&a&lAttention! &b%player &6has to go! He will be back &bA.S.A.P!' |
Variables:
- %time - This defines where the amount of time (not time format) goes in the message
- %player - This defines where the players name goes in the message.
- %displayname - This is for nicknames. Currently tested with Essentials and working, it may not work with other nickname plugins. This will also show prefixes from permissions/other plugins.
Statistics
This plugin uses Hidendra's Plugin Metrics System to collect statistics. If you do not wish to take part, you can set 'opt-out' in the PluginMetrics config (BukkitServer/plugins/PluginMetrics/config.yml) to true.
Some of the statistics collected include:
- A unique ID
- Java version
- Online/Offline mode
- Plugin & Server version
- OS name, version, architecture
- Number of CPU cores
- Amount of players online(not names)
- Metrics version
Image of Broadcast message

Source
https://github.com/omon23/GotToGo-Source
Come and try this out!
Come and join my server, where you can test out this plugin!
Join now at play.danomonzone.ml


