@@ -48,7 +48,7 @@ public class BukkitstrPlugin extends JavaPlugin implements Listener {
|
|||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
getLogger().info("BukkitstrPlugin enabled!");
|
getLogger().info("BukkitstrPlugin enabled!");
|
||||||
try {
|
try {
|
||||||
URI uri = new URI("ws://192.168.1.14:8888"); // Replace with your Nostr relay URL
|
URI uri = new URI("ws://localhost:10547"); // Replace with your Nostr relay URL
|
||||||
webSocketClient = new NostrWebSocketClient(uri, getLogger());
|
webSocketClient = new NostrWebSocketClient(uri, getLogger());
|
||||||
webSocketClient.connect();
|
webSocketClient.connect();
|
||||||
} catch (URISyntaxException e) {
|
} catch (URISyntaxException e) {
|
||||||
|
Reference in New Issue
Block a user