AutoAnnouncer
60.000 downloads!!!!!!!
AutoAnnouncer - Global announcements every few minutes
Latest Version: v1.7-03.23
Tested with CB: 1.2.5-R5.0-SNAPSHOT, 1.2.5-R4.0-SNAPSHOT, 1.2.5-R3.0-SNAPSHOT, 1.2.5-R2.0-SNAPSHOT, 1.2.5-R1.0-SNAPSHOT
You need Vault for permissions and groups support: http://dev.bukkit.org/server-mods/vault/
VAULT IS NOT REQUIRED, If you don't want use Vault for permissions and group support set the follow options in config.yml:
- Permission: false
If you do this, only OPs can use the commands
Commands:
- /announcer help|? - Show help
- /announcer on|off - Start/stop AutoAnnouncer
- /announcer restart - Restart the AutoAnnouncer scheduler
- /announcer interval <minutes|seconds> - Set interval time between announcements
- /announcer random <on|off> - Set random or use consecutive announcements
- /announcer add [announce here] - Add a new announce to the list
- /announcer list - List all the announces with the id.
- /announcer remove [announce id] - Remove a announce from the list.
Default Settings.yml
Formats and color codes supported:
Color Example | Short Code | Long Code | Example | Result | |
---|---|---|---|---|---|
██████████ | &0 | &BLACK; | &0String | String | |
██████████ | &1 | &DARK_BLUE; | &1String | String | |
██████████ | &2 | &DARK_GREEN; | &2String | String | |
██████████ | &3 | &DARK_AQUA; | &3String | String | |
██████████ | &4 | &DARK_RED; | &4String | String | |
██████████ | &5 | &DARK_PURPLE; | &5String | String | |
██████████ | &6 | &GOLD; | &6String | String | |
██████████ | &7 | &GRAY; | &7String | String | |
██████████ | &8 | &DARK_GRAY; | &8String | String | |
██████████ | &9 | &BLUE; | &9String | String | |
██████████ | &a | &GREEN; | &aString | String | |
██████████ | &b | &AQUA; | &bString | String | |
██████████ | &c | &RED; | &cString | String | |
██████████ | &d | &LIGHT_PURPLE; | &dString | String | |
██████████ | &e | &YELLOW; | &eString | String | |
██████████ | &f | &WHITE; | &fString | String | |
&k | &MAGIC; | &kString | %ë$¬@# | ||
&l | &BOLD; | &lString | String | ||
&m | &STRIKE; | &mString | |||
&n | &UNDERLINE; | &nString | String | ||
&o | &ITALIC; | &oString | String | ||
&r | &RESET; | &RED;&rString | String | ||
&l&n&o&c | String |
Multiline feature:
&NEW_LINE;
Permissions Node:
If permission not found or not used only OP can use the commands.
For all command:
announcer.admin
Features:
- Interval time adjustable. Minutes or seconds.
- Random/Consecutive setting.
- Colors support.
- Format support.
- Add, remove, list commands.
- On/Off AutoAnnouncer.
- Commands in-game.
- Permissions support.
- > All permissions supported by Vault.
- Permissions groups support.
- Editable Tag.
- YAML settings.
Screenshot:
FAQ
java.lang.NoClassDefFoundError:
net/milkbowl/vault/permission/Permission
READ THE POST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111111111
MORONNNNNNNN!!!!!!!!!!!!!!!!111111111111111111
Check your config.yml syntax first after reply:
http://yaml-online-parser.appspot.com/
Read the YAML rules:
http://en.wikipedia.org/wiki/YAML
NEVER POST RAW CONSOLE ERRORS OR CONFIGS
USE THIS ==> http://pastie.org/ or I kick your ass!!!!!!!!!!11111111111
Donate
I do this in my free time, so if you like my work, I'd be completely grateful for any donation you can send me. With this I pay the server where store my files and project. These donations motivate me to continue adding features and keep it free for all.
Videos from community:
English by @ab2gaming:
Italian by @sup3rmiky:
ISSUES AND FEATURES REQUEST IN THE ISSUE TRACKER
@HostiileIntent
the time is in ticks. if your server lag as hell then your interval is increased. your server must have 20 tps to work in time. bukkit dont have schedules in times, only ticks
can you add command support? (so that it can do a command when the announce start)
plz do it need it so much!
is this on the new software
Every time I set intervals, it never really goes by it. If I have 3 announcements set at a 1 minute interval, they'll go at something like 6 minutes... I changed the interval in the config and settings file.
Great, great and great again, thank you !
Ok so I have the newest version of AutoAnnouncer and 1.2.5 of bukkit and whenever I try a command it only bings up the help message. I am oped and have the permissions thing set to false. Other mods I run are BOSEconomy, ChestShop, Colorme, PermissionsBukkit, Watchdog, and Towny.
Any Ideas what the problem is?
@sharkale31
implying I haven't read the whole thing
Gah fuck, now I realize my mistake. thanks shark
@CrazyMark
read the last part of this thread. NO COMMENT RAW CONSOLE ERROR!!!
delete the settings.yml and restart, then edit and use /announcer reload
@drumbtr
READ THIS FUCKING THREAD!!!!!!!!! GODDDDDDDDDDD
Is this updated yet? For 1.2.5? Whenever I put it into my server and do /announcer on it just gives me " [INFO] /announcer help - Help for AutoAnnouncer" and doesn't let me do anything. Here's the server error it gives: http://pastebin.com/h0FiRqsz
What happened?
I was save the file in utf8
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:177)
at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.load(AutoAnnouncer.java:236)
at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.scheduleRestart(AutoAnnouncer.java:125)
at ar.com.sharkale.AutoAnnouncer.AutoAnnouncer.onCommand(AutoAnnouncer.java:211)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:469)
at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:465)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:599)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:568)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 1
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
@CrazyMark
you save the file in utf8? you read the first line in the config?
https://github.com/sharkiller/AutoAnnouncer/blob/master/src/main/resources/settings.yml
Why does not support Chinese?
sorry,can you tell me how to use Chinese?
@Musician101
vault is an api for developers no need config. a lot of plugins use it.
is it easier to use vault to use permissions? reason i ask is cuz y have the user download yet another plugin that they might not use just so they can get urs to work the way they want?
Why can't use Chinese?
Idea :
Are there any plans to add a feature to let users disable announcements being show to them? This would be awesome, as it gets spammy to the more experienced players who have read the announcements fifty times. :)
@DarklightPvP
i use pex in my server and work perfect. otherwise the problem is from pex not my plugin. if you see the line in the source is a simple broadcast. nothing related with my plugin. you read "PearmissionsEx is up to date?" i only use vault. but i use pex in my server and the plugin work perfect. check your plugins.