SimpleAnnounce
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 whom you wish the message to send to.
Features
- Timed server-wide announcements/news messages
- Easily configurable
- Configure one-time or repeating messages
- Configure messages to only send to users with or without certain permission nodes
- Config auto-generation on first-run
- Optional debug mode to track down who is/isn't receiving messages and why
- Optional automatic config reloading to retrieve new messages
- '/simpleannounce reload' to reload on command!
- Permissions:
- simpleannounce to use '/simpleannounce' for help
- simpleannounce.reload to use '/simpleannounce reload' or '/simpleannounce r'
- Permissions:
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.) delay: <Delay to send message on in secs>(int, optnl - default 0) repeat: <time between repeat sends in secs>(int, 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: default1: message: Repeating message! delay: 15 repeat: 60 default2: message: Repeating message for those w/ build perm delay: 30 repeat: 60 includesperms: - permissions.build default3: message: One-time message! delay: 45
Project & Source
See our project page for activity and source instructions.
Thanks for making the changes...I've added it to my server for testing.
So its checking to see if a certain permission is true versus being in a specific group?
includesperms: - permissions.build
@taylorjb
Thanks a lot! Didn't know that there was a possibility to do that. Tried it with #0-f and &0-f, but I didn't thought about §0-f. Thank you very much and I'll then use this or another plugin, I'm not sure yet :)
@MindEngineer
Added optional auto-config reload and added /simpleannounce reload command. http://dev.bukkit.org/server-mods/simpleannounce/files/8-simple-announce-v0-5-2/
@Folas1337 @Lars1011
Colors technically work if you use the correct characters in the config.
Example:
Including colors would be a cool feature :) Please try to not only make the whole message one color and include color-codes like &0-&f, so we're able to have multiple colors for one message.
@taylorjb
Thank you! <3, and I have a suggestion add a feature where you can add colors, this would be really neat.
@Lars1011
Ah I see now! The file is awaiting approval so you may not be able to see it. Here's the direct link: http://dev.bukkit.org/server-mods/simpleannounce/files/5-simple-announce-v0-2-0/
Hello taylorjb, I would love to compile the .jar myself but I have 0 clue on how to do that, I would really appreciate it if you could link me a pre-compiled build.
Thanks,
Lars
@BetaStream
Well there is a jar available but if you are looking to compile from source I'd recommend checking it out as a project in eclipse but really you just need to be sure bukkit is on the build path and it should compile. If using eclipse you can simply export as a jar and drop it in to your server. I do not currently have a build script.
Sorry for the silly question but how to complie it?
@MindEngineer
There aren't currently any commands but that is certainly a good idea and I'll add that.
This sounds promising as I'm looking to send announcements to certain groups. You don't list any commands are there any?
I'm fine as long as there is a "/simpleannounce reload", so I'm not restarting server to pick up new config.