Sueta

SimpleAnnounce

1.0.0

Simple and easy to use automated announcement plugin

·Plugin

SimpleAnnounce

Create timed announcements/news messages with ease with SimpleAnnounce

You can create messages that are printed server-wide after a certain delay, and have it repeat every x seconds if you'd like. If you wish to send it only to users with certain permissions, or a lack of certain permissions, so it sends to exactly those you wish the message to send to and no one you don't.

Features

  • Timed server-wide announcements/news messages
  • Easily configurable
  • Configure one-time or repeating messages
  • Extensive Permissions support - configure messages to only send to users including or excluding certain permission nodes
  • Optional debug mode to track down who is/isn't receiving messages and why
  • Automatic config reloading to get new messages
  • '/simpleannounce reload' to reload on command!
    • Permissions:
      • simpleannounce to use '/simpleannounce' for help
      • simpleannounce.reload to use '/simpleannounce reload' or '/simpleannounce r'

Configuration Overview

Details

Config Nodes

auto-reloadconfig(int): <Time in minutes to check/reload config for message updates(0 for off)> 
    NOTE: When config is reloaded, will reset delays for messages and cause one-time messages to resend 
debug-mode(boolean): <Should we pring debug to server.log(true/false)?> 
    NOTE: Look for fine and finer level log messages in server.log 
messages: Add messages below this, see below

Messages config overview

<message label>(String, req.): 
    message: <Message to send>(String, req.) 
OR 
    messages: 
    - <first message to send> 
    - <second message to send> 
    - <...> 
    random-order(boolean, optional): <if list of messages should be sent in random order> 
    delay: <Delay to send message on in secs>(int, optnl - default 0) 
    repeat: <time between repeat sends in secs>(int, optnl) 
    sender: <message sender to use(chat(default) or bossbar)>(String, optnl) 
    bar(boss bar config section, optional): 
        hold: <time in seconds to display boss bar>(int, optnl) 
        color: <bar color(See: BarColor)>(String, optnl) 
        style: <bar style(See: BarStyle)>(String, optnl) 
        animate(boss bar animation config section, optional): 
            enable: <If bar should animate hold time left>(boolean, optnl) 
            reverse: <if animation should be reversed>(boolean, optnl) 
    includesperms: (String list, optnl) 
    - <only send to those with this perm> 
    - <and this one> 
    excludesperms: (String list, optional) 
    - <don't send to those with this perm> 
    - <and this one>

Default/Example config

auto-reloadconfig: 20 
debug-mode: false 
messages: 
  repeating-example: 
    message: This is an automatically generated repeating message! 
    delay: 15 
    repeat: 60 
  permissions-example: 
    message: This is another automatically generated repeating message for people with build permission! 
    delay: 30 
    repeat: 60 
    includesperms: 
    - permissions.build 
  one-time-example: 
    message: This is an automatically generated one-time message! 
    delay: 45 
  message-group-example: 
    messages: 
    - This is an automatically generated sequential message group (1 of 3)! 
    - This is an automatically generated sequential message group (2 of 3)! 
    - This is an automatically generated sequential message group (3 of 3)! 
    delay: 30 
    repeat: 30 
    sender: bossbar 
    random-order: false

Project & Source

View our project on GitHub !

Similar projects

Plugin →