Post: Client title from website (Reference code, can be used for me)
05-13-2015, 11:13 PM #1
Vesia
Haxor!
(adsbygoogle = window.adsbygoogle || []).push({});
    
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;


    

public String getClientTitle() {
try {
URL tmp = new URL(Constants.CLIENT_TITLE);
BufferedReader br = new BufferedReader(new InputStreamReader(tmp.openStream()));
return String.valueOf(br.readLine());
} catch (Exception e) {
return "Maiestas Beta";
}
}


just change Constants.CLIENT_TITLE with the link to a text file from your web server/3rd party file hosting like "urserver.com/stuff/title.txt"

and use getClientTitle() instead of the string in setTitle in RSApplet/GameShell/wherever you change your client title

I use this for small updates such as "Maiestas Beta - V2.2"

Good for updating the version of your server without having to update your client
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo