Alemiz112 / StarGate-Atlantis

This is stable and fast plugin for PMMP that allows server connect to WaterDog plugin StarGate. It make easier communication between server. Includes API for custom packets, transferring players and more
Apache License 2.0
48 stars 18 forks source link

Please add more explanation for the conifg #1

Closed twk1024 closed 3 years ago

twk1024 commented 4 years ago

Hi

I watched your plugin and it was so interesting.

Plugin enabled well, but I got these messages while reloading clients.

[03:28:22] [Server thread/INFO]: [StarGate-Atlantis] Reloading StarGate Client default
[03:28:22] [Server thread/INFO]: [StarGate-Atlantis] Reloading StarGate Client minigame
[03:28:22] [Server thread/INFO]: [StarGate-Atlantis] Reloading StarGate Client economy
[03:28:22] [StarGate-Atlantis thread/INFO]: Trying to reconnect to StarGate...
[03:28:22] [StarGate-Atlantis thread/INFO]: Trying to reconnect to StarGate...
[03:28:22] [StarGate-Atlantis thread/INFO]: Trying to reconnect to StarGate...
[03:28:22] [StarGate-Atlantis thread/INFO]: ERROR: Unable to connect to StarGate server @minigame!
[03:28:22] [StarGate-Atlantis thread/INFO]: Connection refused
[03:28:22] [StarGate-Atlantis thread/INFO]: ERROR: Unable to connect to StarGate server @default!
[03:28:22] [StarGate-Atlantis thread/INFO]: ERROR: Unable to connect to StarGate server @economy!
[03:28:22] [StarGate-Atlantis thread/INFO]: Connection refused
[03:28:22] [StarGate-Atlantis thread/INFO]: Connection refused

Also this is what I wrote in the config. And, I'm not sure what should I write in password, so I left it empty.

connections:
  default:
    address: diamc.kr
    port: 19132
    password: ""
    name: Lobby

  minigame:
    address: diamc.kr
    port: 19133
    password: ""
    name: Minigame

  economy:
    address: diamc.kr
    port: 19131
    password: ""
    name: Economy

So, I think this is the problem with the config, but I can't find any information about that.

Alemiz112 commented 4 years ago

Hello, Stargate client (StarGate Atlantis, SGA) tries to connect to StarGate server. This server is plugin for Waterdog proxy. I assume that the servers in your config are just other pmmp servers. Instead it should be configured for StarGate server.

Please use flowing settings:

connections:
  default:
    address: diamc.kr
    port: 47007 #this is port for StarGate server running on Waterdog proxy
    password: "pass123" #passowrd is configured in StarGate server config
    name: Lobby #name of server it self, this name will be displayed to StarGate server as client name

I will add more info about how to setup to README too. Thank you.

Alemiz112 commented 3 years ago

Closing due to inactivity.