Manipulating information on the server

I’m trying to set the server’s motd through the plugin. Is there a way to manipulate any information relating to the server?

I tried:

Sponge.getServer().getMotd().equals(Text.of("This is my server"));

public void onPing(ClientPingServerEvent e) {
    e.getResponse().setDescription(Text.of("Take that,!"));
1 Like

Thank you. I’m assuming this needs to be under the event listener "ClientPingServerEvent ". :stuck_out_tongue:


1 Like