Sueta

HiberniaAnnounce

1.0.0

Broadcast and title announcement system.

·Plugin

HiberniaAnnounce

is an incredibly lightweight and (hopefully) version agnostic plugin going into the future. It's aimed to be as customizable as possible so its users can make it into whatever they like. The default configuration is rather bland and it is intended to be a generic server announcement plugin with the added feature of titles. These, however. Can be disabled to be chat-message only or title only, it's up to you.

PlaceholderAPI support is not currently implemented but will be upon demand. Currently, there is support for two in-house placeholders:

%mesage-prefix%

Which is a configurable prefix for system messages.

%announcement%

Which sends the sentence argument after the /announce command.

There's only one permission:

hiberniaanounce.announce

which gives the user the ability to make an announcement with /announce

(Times are in server ticks, not seconds.)

Default Configuration:

# Notice: This is a quick and dirty plugin to announce both in-game and via a title. This was to help a friend of mine and I decided to make it public as more of an example  
 # If this gets sufficient interest I'll actually support it and make it half-decent like my other plugins.  

 # Placeholders:  
 # - %announcement% -> Content of the announcement.  
 # - %message-prefix% -> Chat prefix. Defined below.  
 # This does not support PAPI, Again, I'll add support if it's requested  

 
placeholders   : 
    # This appears when you use the %message-prefix% placeholder  
     # And it also appears, by default in chat announcements.   
   message-prefix   :   "&7[&aHibernia&7-&aAnnouncement&7]&r"  
 
messages   : 
 
   # The message that appears when the player doesn't have hiberniaannounce.announce   
  no-permission   :   "%message-prefix% &4You have insufficient permission."  

 # Chat Message Announcement settings.   
broadcast   : 
 
   # How the announcement appears.   
  format   :   "%message-prefix% %announcement%"  
  
   # Enable Chat Message broadcasts.  
   # Disable this if you only want title based broadcasts.   
  enabled   :  true 
   
title  :  
  title-format   :   "&4Announcement!"   
  subtitle-format   :   "%announcement%"  
  
   # How long the text fades in for   
  fadein   :  10 
  
   # How long the announcement is there for   
  stay   :  80 
  
   # How long the text takes to fade out.   
  fadeout   :  10 
  
   # Enable title broadcasts.  
   # Disable this if you only want chat based broadcasts.   
  enabled   :  true 
  
 # Do not mess with this unless you know what you're doing.   
config-version   :  1.0

Feel free to join my development discord server where I give 1-1 support for my plugins as much as possible :)

Similar projects

Plugin →