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 Apr 22, 2014@KCQuetzal a ticket has been created. i need some addition information. The ticket can be found here: http://dev.bukkit.org/bukkit-plugins/servercaster/tickets/4-spigot-issues/
-
View User Profile
-
Send Message
Posted Apr 21, 2014Does this not work with spigot for some reason? I am using Spigot #1387 and I don't see that a config folder even gets created?
-
View User Profile
-
Send Message
Posted Apr 16, 2014updated again, it should now work ServerCaster-1.7
@Delebird
i replayed on the config page with a config that works. i hope everything is fine now
-
View User Profile
-
Send Message
Posted Apr 16, 2014@Delebird
created a ticked and commented on it
-
View User Profile
-
Send Message
Posted Apr 16, 2014still having problems
config - http://dev.bukkit.org/paste/9760/
console - http://dev.bukkit.org/paste/9761/
-
View User Profile
-
Send Message
Posted Apr 16, 2014ServerCaster-1.7 has been uploaded for approval (again). during our rewrite of the converter engine a small bug has slipped in that was not apparent till further testing, besides that i tried to remove the POM files in META-INF and bukkit does not seem to like that
at-least everything is fixed and we all can be happy
-
View User Profile
-
Send Message
Posted Apr 16, 2014found the problem, fixing it now. Doing some final tests download should be up in 10 minuts
-
View User Profile
-
Send Message
Posted Apr 16, 2014yea, i tested earlier but when my friend Flexo013 tried it it gave the same error. We have fixed that bug now but there is still one other bug present. I have removed the file for now until i can fix it.
I have time in 6 hours and it does not look like a big bug.
i will report any updates on this matter!
-
View User Profile
-
Send Message
Posted Apr 16, 2014@killje
i look forward to trying it out!
16.04 07:47:46 [Server] INFO at me.servercaster.Builder.getProperMessage(Builder.java:16) [?:?]
16.04 07:47:46 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_51]
16.04 07:47:46 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_51]
16.04 07:47:46 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet
16.04 07:47:46 [Server] INFO ... 13 more
16.04 07:47:46 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at me.servercaster.Caster.onCommand(Caster.java:86) [?:?]
16.04 07:47:46 [Server] INFO at me.servercaster.Caster.run(Caster.java:68) [?:?]
16.04 07:47:46 [Server] INFO at me.servercaster.GroupSender.run(GroupSender.java:44) [?:?]
16.04 07:47:46 [Server] INFO at me.servercaster.Builder.getProperMessage(Builder.java:16) [?:?]
16.04 07:47:46 [Server] INFO Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R1/Packet
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:148) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:815) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:953) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:696) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-18-g3c3980f-b3046jnks]
16.04 07:47:46 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'cast' in plugin ServerCaster v1.7
-
View User Profile
-
Send Message
Posted Apr 16, 2014has been uploaded and is waiting for approval.
this update implements Groups and Permissions!
update: there seems an error in the current code. I am trying to fix this asap
-
View User Profile
-
Send Message
Posted Apr 15, 2014a new version is coming soon with a kind of group permission system!
-
View User Profile
-
Send Message
Posted Apr 14, 2014@Delebird
we want to implement permissions for sure but i don't know how we would do different kind of cast for multiple people, but i will look into it, thanks for the feedback
-
View User Profile
-
Send Message
Posted Apr 13, 2014works perfectly 1.7.8
would be nice if there were permission based casts.
group 1
-cast 1
-cast 2
cast 3
group 2
-cast2
-cast4
-cast5
-
View User Profile
-
Send Message
Posted Apr 13, 2014@MINECRAFT_LOVER_199
By default the plugin will automatically broadcast a message every 20 minutes. If you want to make it broadcast messages faster you can change the timing in the config.yml.
-
View User Profile
-
Send Message
Posted Apr 12, 2014@MINECRAFT_LOVER_199
what do you mean how do i make auto cast?
-
View User Profile
-
Send Message
Posted Apr 11, 2014How do i make auto cast