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.
@meiamone
I'm sorry it's been half a year...The plugin seemed functional and I wasn't doing anything related to Minecraft for awhile so it was hard to make sure I kept it updated. A newer version is waiting approval that only runs when there're players online and fixes a few deprecated calls. Expect a much larger update to how it works sometime soon.
This appears inactive. Will you please update this and add an option to only run if a player is online? It appears to be to be the most ideal auto-announcer on bukkit! OR does it do that somehow already?
@taylorjb
Still hoping for an official update...any chance of this happening soon?
@jakimfett
http://dev.bukkit.org/server-mods/simpleannounce/files/12-simple-announce-v0-5-4/
That was working as of 1.2.3, not tested on 1.2.4 yet.
Any ETA on if/when this will be updated now that there is an RB out?
@ledhead900
If everyone has a permission and some have the negative node removed, that means checking for the permission should still work using whatever appropriate combination of includes/excludes is required.
Basically, it's a question of boolean logic and whether you are checking if contains negative or doesn't contain positive(and vise versa), the result is logically equivalent.
@wolfenit415
Yes if using Windows currently by using the normal color character, but a universal color coding is on the way.
@ryanwagner
This uses a first party repo on bukkitdev, you can click repository to check it out via SVN or each commit there is a .zip created with all source files.
Can we use color codes?
is there a source link?
@taylorjb
Hmm but negative nodes worked pre 1.2.3, I used them as I have a dedicated new player trial world with some stuff removed, so make the process faster I just filterd that worlds tips with that node so that group that has that negative node only sees the tip rather than to filter it with a non negative.
as the world in question only has negative nodes in it under is world specific commands, If I don't use negatives then every player will see it, as the non negative nodes are listed under the default group and thus gets inherited.
I use PEX btw
@ledhead900
What is with
is that a negative node? If so, I don't think that will work with the bukkit permissions API since negative nodes are features of specific permissions plugins, not the API. You could instead use includesperms for the positive MushroomJump.affected where you are checking excludes the negative nodes.
@taylorjb
2012-03-12 08:01:37 [INFO] [SimpleAnnounce] Enabling SimpleAnnounce v0.5.4 2012-03-12 08:01:37 [INFO] [SimpleAnnounce] SimpleAnnounce version 0.5.4 enabled! Config:http://pastebin.com/JWXyw9vJ
@ledhead900
But includesperms works? ...and could you paste your config?
Also, the download button does not go to the right file since it isn't approved, are you also sure you have the latest version? http://dev.bukkit.org/server-mods/simpleannounce/files/12-simple-announce-v0-5-4/
@taylorjb
Your latest builds of this, Don't respect the groups filter settings for announcements in the config, at least not when running CB 2055+
I am getting announcements that should only be going to guests as VIP Edit I'm talking about a broken excludesperms
@genesis_aix
The format will be posted when it's added.
@Taylorjb Whatever symbol you choose for the future it should at least be listed on this Overview page =)
@itsmei123
ah yes linux hates that sign, zz I see your issue then.
@taylorjb Now i have posted the suggestions as separate tickets! Thanks for your feedback and work on the plug, looking forward to the implementation!
@ledhead900
It doesnt work because I run my server on Linux and it doesnt like it, the plugin just crashes with this ยง
@genesis_aix
Thanks for those suggestions! Those are all very reasonable and doable and I should be able to add them without too much trouble, but would you mind terribly if I asked you to make tickets for each suggestion so I can better keep track?
Could you make it possible to have several lines? At the moment we have to test & test to see where the spacing will be placed.
When i have the same delay on messages, they dont show up in the order they are set up, but randomly.
First time i ran this i had spent quite abit time to set it up, and lost everything when the file blanked/reset. When i ran it through a yaml parser i solved the problems kinda quick though. Mabye you could have it send a fail-log when it dont want to run it, mabye even tip to run it through a parser, and force it to make a backup of the old file?
Is there any way to make it NOT announce when there are no players online?
Great work =)