Multiple Scoreboards
This plugin allows you to use the Scoreboard API that bukkit provides, implementing Multiple Scoreboards in-game.
==Main Idea==
Have you ever wanted to be able to make Multiple Scoreboards in-game? Or maybe just be able to instantly update your SQL database with the scoreboards in game. With this plugin, it is possible! This, and much, much more.
This plugin is indented to be a extent to the basic /scoreboard functionality from vanilla, allowing you to create more than just 1 scoreboard. One of the main goals of this project is update a SQL database with the in-game scoreboards, so you can have access to your deaths in a web-based interface.
Also, if you really think about it, you can make donation systems just with this, using webpages to set the donation status of your players, and, in-game, command blocks that look for those players, and give them... I don't know... jump boost 10? :D
==Features==
After all of what you read, you must be really excited, but, for now, I cannot give you a version with all that. I'm going to be updated really frequently the plugin, introducing new features and bugfixes.
-Does not break instantly each Craftbukkit build, since it only uses the Bukkit API!
-FlatFile data storage.
-Basic vanilla functionality: Create a new scoreboard, and create objectives for it.
As I said, this list is constantly being updated with everything I'm adding.
==Planned Features==
- Implement the rest of the basic vanilla functionality;
- CustomScoreboard API, so plugin developers can use this to make scoreboard-related statistics for their plugins a lot easier.
- Custom Target selectors for command blocks (and game chat too!), so you can use command blocks to get data from the scoreboards you create as redstone signals!
- MySQL support, so you can save the scoreboards on a MySQL database, which instantly allows for a lot of cool and neat things you can do!
- A command to clear all of the data on a scoreboard, or to clear a player's data on all scoreboards.
==Permissions==
There is only one simple permission:
multiplescoreboards.command -> Allows you to access the /multiplescoreboards command.
==Guides & Videos (if any)==
- Dev. Version 0.1:
Check out this link where I give you a overview of the functionality in the Dev. Version 0.1:
http://dev.bukkit.org/bukkit-plugins/multiple-scoreboards/pages/how-to-use-the-plugin-development-version-0-1/
==Installation==
Just download the latest version of MultipleScoreboards, and place it in your plugins folder. Then, restart or reload your server.
The default config should be good for most servers, but you can take a look and change what you want.
==Bugs==
Please report ANY bugs you find, any exceptions that appear on the console, but they are not supposed to, anything related to it, pretty much, using Bukkit Dev's Ticket tracker.
==Developers==
There is going to be an API for Plugin Developers to use, if they want to use it for something in their plugins. Not implemented yet, but it's comming!
This is really good. I needed something like this for my server and would be happy to test it for you. please keep me posted on updates :)
@D4rKDeagle
And there it is! The file has been approved!
Its submitted! The first version of Multiple Scoreboards, 0.1, is submitted for approval! Just be patient, It will appear on your browser... :D
Meanwhile, you can start reading on it: http://dev.bukkit.org/bukkit-plugins/multiple-scoreboards/pages/how-to-use-the-plugin-development-version-0-1/
That covers the basic aspects of the plugin, and how to create your custom scoreboards. If you want any help, leave a comment. If you have a bug, exception that has appeared on the console for no reason, feature request, or anything related to that, please leave a ticket trough Bukkit Dev Ticket System.
I'm getting close to a development build, just for you guys. It's almost here! You can wait for it today or tomorrow!
This version includes only the sub-command "objectives", and obviously, the "sub-sub-commands" of the "objectives" sub-command. All of that stuff is working correctly on this version, and it also includes the tab-completion for this version. I still have a few things to do before, but after that... development version! :D
It's Awesome! Thank you!
@D4rKDeagle
Just two words to describe the hard part of this: Thread-Safety.
Just 10 minutes ago all of the classes in the plugin (pretty much) had errors in it. Now, there is 0 errors. :D Going to test the plugin now, I might be able to release a version tomorrow... :D
All right, its almost 1am right now and I've just finished re-writing the Custom Scoreboard Manager. Now I've got to update what was using it, but I'll leave that for when I wake up. Then, I just need to test it!
@D4rKDeagle
You are doing a good job. This plugin is going to be awesome!
Just a minute ago I was ready for a development version. But then I found out that the way I have the scoreboards won't allow SQL Support in the future. So, I guess I have to fix that, right? Yes. But, how can I fix it? Unfortunately, re-writing the Custom Scoreboard Manager all over again.. Once again... It's about the 100th time I re-write it because of random things that occur like this... Now I've got a plan set for the class: Custom Database support, Thread-Safety, API Integration (aka class easy to use by me or other people). With this plan, I expect this to be the very last re-write of anything in the plugin, for now.
@chistian95
I'm mostly bug fixing right now. I've been working on it most of the week, but I wasn't expecting so much bugs to be honest. I am not releasing until I have a semi-stable version, or at least a version without a ton of bugs. Plus I still need to add Tab-Completion to it. When I do that is when I'm releasing a development build.
Any news about the project?
@TheSigler49
Nope. But the good news are that all the bugs with creating scoreboards are fixed! I can test the other things now!
Edit: I've got an ETA now. Maybe today or tomorrow. :D
Any ETA on release?
Please tag me if you awnser, as i forget some stuff, lol
@chistian95
Actually, since I have a bit of time (about half of an hour) I'm working on it right now. And I just fixed the bug! :D
Just adding this one line fixed it: customScoreboard = customScoreboard == null ? new CustomScoreboard(scoreboardName) : customScoreboard;
Enjoy! :D
Edit: Here's another bug related to the same thing. I guess that if I try to create a scoreboard, a ton of bugs just appear right there, because its not checking if there is already data on the scoreboard, because, if there isn't, its creating references to null (actually, unexisting instances of classes, which is basically null). So, I guess I have to do a separate method for new scoreboards... :D
@D4rKDeagle
OK thank you :D
@chistian95
I haven't touched on the code at all since the last comment. I've not been at home, and probably tomorrow I won't be touching on it too. Thursday is when I have time to work on it again. I'm sorry :(
Are you still alive? :P I'm waiting for this great plugin, I know that is complicated to code. Is the bug fixed??
Quick Update on the plugin status:
Its 1:23 am right now. I'm going to bed, but, I've got a lot done: The commands for creating new scoreboards, removing them, showing them to players, and the commands to work with objectives inside those custom scoreboards are done. Haven't tested yet because of a stupid bug while creating the custom scoreboards. The bug is when I'm creating the files to store the data. Anyway, I'll fix it tomorrow :)
Have a nice night :D
@D4rKDeagle
Great idea, thanks :P