ServerCaster
Description
This plugin is one of the many broadcast plugins, but it brings something special!
It allows you to use the JSON format, that was introduced in 1.7.x. This allows for a lot more functionality to the broadcast messages.
New features that are available in broadcasts are: Use of embedded links, and clickable commands.
Alongside the regular broadcast features are available. These are: Use of colors, use of bold/italic/underlined/strike-through/magic, changeable broadcast interval, and more!
Config
There entire config is explained here as well as the available markup for messages.
Permissions
| permission node | description |
|---|---|
| servercaster.reload | allows use of the command /reloadservercast |
| servercaster.cast | allows use of the command /cast (1.8+) |
| servercaster.messages | allows the player to receive broadcasts when not using groups |
| servercaster.messages.[groupname] | allows the player to receive broadcasts listed under [groupname] |
Commands
/cast
This will broadcast the next message. And after that the schedule will resume like configured.
/reloadservercast
Reloads the ServerCast config file.
API
The API this plugin provides can do more that just automatic casting. As plugin developer you have access in two ways to interact with the messages itself and a way to send your own messages through the plugin.
Full documentation available here: API pages.
Source code can be found here: Source Code
New Features (1.8)
This is a pretty big update with ways to add your own code and variables.
We also have a new jar full of variables ready for you to use. Check the change log of ServerCaster-extention for all the new things. The jar can be found here.
All variable and codes are now case Independent so &red;, &Red; and &RED; all work.
Additional Information
This plugin uses the Fanciful library from mkremins to create from a simple string of text a JSON format style string.
Thank you mkremins!
Check out his library here: link
(Old) Bug's
Casts are now saved after they run once and are not converted every time a cast happensFixing the use of obfuscated text (&MAGIC;, &k;). more information at Ticket 3Fixed server not finding permissions on reload when players are logged in because permissions are not set.The default config wasn't saved upon enabling ServerCaster.ServerCaster does not automatically start casting after a reload. Ticket 5- API: list of players that message is broadcast to inside CodeAction: Ticket 10
(Upcoming) Features
PermissionsRewrite of convert engine to make it more robustUse Fanciful repository instead of libraryLetting plugins broadcast through the pluginCreating an APIAllow the use of &SUGGEST;. If a player clicks text generated using &SUGGEST; the text will appear in their chat so they can still modify it.Capital independent (&red;, &Red; and &RED; will work)- Reworking permissions by moving messages out of config.yml
- Moving AutoCaster out of main project to allow for stand alone plugins.
-
View User Profile
-
Send Message
Posted Mar 13, 2015@SableDnah
Hey there,
to answer your question, I have not really been working on this plugin a lot due to a lack of time and interest. I do have a newer build with support for multiple permission systems almost ready but discontinued it because of those reasons.
If you say you would have a lot of benefit of this plugin i can try to release the new update, but this would probably not be tested against spigot (this does not mean it won't work just not tested 100%)
Please let me know if you have interest :D
-
View User Profile
-
Send Message
Posted Mar 13, 2015Hi there, any plans to update for 1.8.3?
The apache commons lang3 stuff has moved from NMS to be shaded with spigot/craftbukkit now. I did a build to reflect this and it all seemed to work - but you know your plugin better than me :)
-
View User Profile
-
Send Message
Posted Jul 18, 2014sigh, i have thought about it again and releasing it now would make no sense. as i want to time up the approval with the weekend (we get more visability that way). so you need to wait another week, if you really want it you can download it from github.
-
View User Profile
-
Send Message
Posted Jul 15, 2014Good news, finished it up and new release will be this Thursday!
#edit:sry for the small delay, hopefully Friday evening it will be posted!-
View User Profile
-
Send Message
Posted Jul 14, 2014@fefe2008
after looking at it again. support for this would be neat, with the wrapping up of the groupmanager updated this would be my next focus probably!
-
View User Profile
-
Send Message
Posted Jul 14, 2014my struggle to get GroupManager permissions to work in a logic fashion have finally been won by me! :D. Now i have to add some extra enhancements to get it wrapped up and then it is send to testing. with the next version you can expect essentials groupmanager support but not for other permission systems yet :(. it would delay the next version even more and i just want to get it out of the way. With versions after that support for other systems should be implemented very easy with the ground work i have now done.
-
View User Profile
-
Send Message
Posted Jul 3, 2014@fefe2008 I see what you are saying, but it looks like that it will not be implemented in the near future for two reasons. First is that i almost have no time and i am currently working on totally redesigning the group aspect of the plugin Second is that it would not be inside the core design i am going with. The plugin i made has a good API so you could make your own plugin that does what you want to. (the feature your are asking for is also inside fancylib, the chat implementation i use)
I hope that it will be someday a possibility but it just aint happening right now sorry.
-
View User Profile
-
Send Message
Posted Jun 4, 2014I am a little short on time so the update is delayed until next week :(. Any updates i will post here.
-
View User Profile
-
Send Message
Posted May 23, 2014a new version is on its way. it will have a separate auto-broadcaster and group system (is going to work with GroupManager and PermisionsEX), group system is not necessary if you do not include the groups jar it will be the default groupless system. Further there is going to be some more API's changes (sorry for not keeping them consistent)
For the normal user not a lot will change with the update so updating is not necessary. But the update does include a few bug fixes witch make the system run a bit smoother.
-
View User Profile
-
Send Message
Posted May 3, 2014@EvlCreeperReaper
I'm glad you like the updates we made. It's suggestions from users that improve the plugin! :)
-
View User Profile
-
Send Message
Posted May 3, 2014@killje
Oh my goodness, killje, you are AMAZING!
-
View User Profile
-
Send Message
Posted May 3, 2014two new files have been uploaded for approval. They include a lot of under the hood API change to allow you to customize the plugin even more as well as some useful variables inside ServerCaster-extension.
ServerCaster-1.8 and ServerCaster-Extension-1.8
(see the change-log of extension to see what variables you can use now)
-
View User Profile
-
Send Message
Posted May 1, 2014@fefe2008
i get a email every time some one posts something.
i have done some more coding today and have been starting to test it and iron out all the bugs. we have a version ready this weekend for sure!
-
View User Profile
-
Send Message
Posted Apr 30, 2014@fefe2008
all implemented except for %ECONOMY% for personal time reasons (feel free to make a plugin that does implement this after 1.8 comes out(will have a full tutorial on how to do so))
thanks for the ideas and keep them coming. i am so busy implementing all this stuff and creating full documentation that the actual implementation slips from time to time
-
View User Profile
-
Send Message
Posted Apr 29, 2014@EvlCreeperReaper
good news, while working on the API i have implemented a way to change the message after it is converted. This means that it is possible to add what you wanted.
the update is self will still take a day of 4-5 and i will pm you when i upload the update
-
View User Profile
-
Send Message
Posted Apr 27, 2014@killje
OK, thanks!
-
View User Profile
-
Send Message
Posted Apr 26, 2014@EvlCreeperReaper
that is a great idea, i am currently working on 1.8 and it is almost done. after i realeas that i will look into how i can implement that
-
View User Profile
-
Send Message
Posted Apr 26, 2014This is probably the best broadcasting plugin around! Just wanted to ask a question...could you add support for some more variables?
%PLAYER% (Player's Name who is viewing the broadcast)
%RDMPLAYER% (A random player on the server)
%ONSTAFF% (Current staff online as in {staff1, staff2, etc.} which is customizable in the config).
Thanks!
-
View User Profile
-
Send Message
Posted Apr 26, 20141.7.1 is finally approved and available for download!
-
View User Profile
-
Send Message
Posted Apr 22, 2014new version is up for approval. this versions addresses obfuscated text problems. ServerCaster-1.7.1