ScoreBoardAnnouncer
ScoreBoardAnnouncer
ScoreBoardAnnouncer
Announce messages using the ScoreBoards feature!
Features
- Send your players messages using the scoreboard feature added in Minecraft 1.5!
- A configurable scoreboard title!
- Complete automation!
- A reload command (/sba reload)!
- Configurable interval!
- Support for colours!
- An unlimited amount of messages!
What does it look like?
How do I set it up?
Follow these steps:
- Step one: go to the config.yml file.
- Step two: fill in how long you want the messages to stay at "stayForHowLong". This is in seconds.
- Step three: fill in what interval you want between the messages at "intervalBetweenMessages". This is also in seconds. It is very important that you make sure this number is bigger than "stayForHowLong". If you fail to do this, this might result in client crashes.
- Step four: write down your messages. An example of how to do that is given when you first open the config.yml. You must make sure that you follow the rules specified below.
Important notes & tips for messages
Every user of this is recommended to follow the following rules when writing messages. Not following these rules will probably cause client crashes - sometimes for every online player. So, pay attention to these:
- In the config.yml, you can setup an announcement with the following form (// starts a new line).
- Title Line//Last Line//Second Line//First Line//.
- Of course, you can have more than 3 single lines + the title line. This example just illustrates the order of the messages.
- A single line may not be longer than 16 characters (including spaces and colour codes). Not following this rule will result in client crashes.
- You can add colour codes by using the basic Minecraft colour codes format. That can be found over here. You must start a colour code with a '&' character. So, for example, if I wanted a red line, I'd use: "&cThis is a red line!".
Commands and permission
In the latest update (version 1.1) I've added some permissions and a command. The plugin now contains the following:
- scoreboardannouncer.see - Required to receive the messages that the plugin is sending with the ScoreBoard feature. Every player has this permission by default.
- scoreboardannouncer.command - Required to use any command starting with "/sba" or with "/scoreboardannouncer". Every player has this by default. Note: this permission is pointless on itselves - you'll need other permission, such as "scoreboardannouncer.reload" to actually be able to use those command features.
- scoreboardannouncer.reload - Required to use the "/sba reload" command. With this command, you can reload the plugin.
Questions?
Feel free to ask them in the comments.
UPDATE PLZ , IT CAUSE TO KICK THE PLAYERS FROM THE SERVER
I Like The Mod , But Please Update
It Kick The Players And Say Something That Is Like 20>16
Please Fix And Update
Thnx :D
@Rprr Maybe command: /sba add <title> <line> <text> and /sba remove <title> <line>
If the title already exists, it will add the text to the scoreboard with that title. If you enter /sba remove <title>, it will remove the scoreboard with that title.
@Rprrr
Thanks very much :)
Doesn't work correctly for me.
@SuperMinecraftBrosMC
You've reloaded at the wrong time or set the intervals & stay_for_how_long time incorectly. I'll release a version with a fix for the ./sba reload command & your suggestion tomorrow.
I'll also try to add @cassa112's suggestions. :)
Can you add an function for displaying Online Players, and add/remove messages with an command? Thanks
Ok, This is making my player's crash. Heres the error from the game. Not the Console, There isn't one from the console
Now my Config.yml
Any help?
EDIT: Only seems to happen after I use /sba reload. Once the player's crash and they rejoin, its all fine.
@Rprrr
Sweet. Thanks!
@TheGoldenCreepr
Run the correct Bukkit build.
@SuperMinecraftBrosMC
I can add that.
Could you add a way to make messages appear with a command?
like
Thanks :)
No config, not loadet... What can I do?
Could you help me to use your plugin in conjunction with the bukkitgames? Cause it shows game statistics?
@Faffling94
Do not try to run the 1.5.1 build of the plugin if you're using a 1.5.0 Bukkit build. Comment deleted because of annoying error spam.
Do you think you can add a manual command to announce things?
@midnightfang22
If there's a scoreboard already, and another plugin sends a scoreboard, it normally doesn't crash (but it won't show the newest scoreboard either). It does crash clients when the other plugin is sending a scoreboard with the same title. Also, you shouldn't reload when there's currently a message being shown.
@Makan747
No, you can't remove the numbers. 100% impossible. I have had not problems with the reload command but I'll test it again.
Can one not also install a kill ranking? And you can remove the numbers on the side of the nerf something? You can also increase the number of characters instead of 16 to 20 or something? Sorry for my bad english, I'm from Germany
LG Passi1606
Is there any way to remove the numbers?
And when i edit the text, it does not show on the server with the new text, and also in the config, the new edit stays, så it does not "reload" the config ..
@Rprrr
Would it conflict if any other plugin were to try and make a scoreboard at the same time? I'm actually curious about this in a general sense for all plugins using a scoreboard feature.
Edit: Nevermind, crashed my client because the message string was too long.
Edit2: Its crashing my client a lot when I reload the plugin (not /reload), and then when I log back in it works just fine.
@S1lverK3y
I don't see why I would use that API, because I'm fine doing this myself - and it doesn't seem to be a very professional API..
I am working on the groups / permissions.
Plz make it ScoreBoardAPI compatible!
http://dev.bukkit.org/server-mods/scoreboardapi/ if its not too much work
Also could you add different announcement groups/configurations for different permissions/worlds ?
Would be cool