Searching for this turned up the simple code:
server.getConfigurationManager().sendChatMsg( stuff );
When I run my mod in eclipse with that code in the FMLServerStartingEvent handler, it works great. But when I compile and jar up my mod, and stick it into my FTB Modpack, the mod loads up and then errors out with "NoSuchMethodError" claiming that server does not have a getConfigurationManager() method.
I'm using Forge 1.7.10-10.13.2.1291.
So how do I send a chat to all players?
server.getConfigurationManager().sendChatMsg( stuff );
When I run my mod in eclipse with that code in the FMLServerStartingEvent handler, it works great. But when I compile and jar up my mod, and stick it into my FTB Modpack, the mod loads up and then errors out with "NoSuchMethodError" claiming that server does not have a getConfigurationManager() method.
I'm using Forge 1.7.10-10.13.2.1291.
So how do I send a chat to all players?