thebuildcraft / RemotePlayerWaypointsForXaero

Shows player and marker positions from Dynmap, Bluemap, Squaremap or Pl3xMap in game using Xaeros Minimap and Worldmap. Also displays AFK status in the tab list.
GNU General Public License v3.0
14 stars 4 forks source link

Unable to display server punctuation #26

Open RainC7 opened 2 months ago

RainC7 commented 2 months ago

Map List: https://satellite.ria.red/map/ Using Bungeecord image

[14:13:02] [Render thread/WARN]: Unable to play empty soundEvent: minecraft:entity.snow_golem.ambient
[14:13:04] [Timer-2/INFO]: mapConfig: var config = { url : {  configuration: 'up/configuration',  update: 'up/world/{world}/{timestamp}',  sendmessage: 'up/sendmessage',  login: 'up/login',  register: 'up/register',  tiles: 'tiles/',  markers: 'tiles/' }};
[14:13:04] [Timer-2/INFO]: configuration link: https://satellite.ria.red/map/_zth/up/configuration
[14:13:04] [Timer-2/INFO]: firstWorldName: world
[14:13:04] [Timer-2/INFO]: updateStringTemplate: /up/world/{world}/1
[14:13:04] [Timer-2/INFO]: url: https://satellite.ria.red/map/_zth/up/world/world/1
[14:13:05] [Timer-2/INFO]: new link: https://satellite.ria.red/map/_zth/up/world/world/1
[14:13:13] [Render thread/INFO]: [System] [CHAT] 请输入 /l <密码>来登录.
[14:13:25] [Render thread/INFO]: [System] [CHAT] 请输入 /l <密码>来登录.
[14:13:30] [Render thread/INFO]: [System] [CHAT] 登陆成功, 祝旅途顺利.
thebuildcraft commented 2 months ago

So it doesn't display any waypoints? Did it give you an error message in chat later? Are you visible on the Dynmap yourself?

RainC7 commented 2 months ago

So it doesn't display any waypoints? Did it give you an error message in chat later? Are you visible on the Dynmap yourself?

  1. Yes, no waypoints is displayed.
  2. No.
  3. Yes.
thebuildcraft commented 2 months ago

Can you send me your config file please?

RainC7 commented 2 months ago
{
    "enabled": true,
    "updateDelay": 2000,
    "serverEntries": [
        {
            "maptype": "Dynmap",
            "ip": "*",
            "link": "https://satellite.ria.red/map"
        }
    ],
    "defaultY": 64,
    "minimapWaypointsRenderBelow": "WHEN_PLAYER_LIST_SHOWN",
    "enablePlayerWaypoints": true,
    "enablePlayerIcons": true,
    "timeUntilAfk": 120,
    "showAfkTimeInTabList": true,
    "unknownAfkStateColor": 6316128,
    "AfkColor": 16733440,
    "playerWaypointColor": "Black",
    "enableMarkerWaypoints": true,
    "markerWaypointColor": "Gray",
    "ignoredServers": [],
    "ignoreMarkerMessage": false,
    "debugMode": false,
    "minDistance": 0,
    "maxDistance": 100000,
    "maxIconDistance": 100000,
    "minDistanceMarker": 0,
    "maxDistanceMarker": 100000
}
RainC7 commented 2 months ago

What I noticed is that, because Bungeecord is enabled When I switch to other child servers, Waypoints will not be displayed either

RainC7 commented 2 months ago

After connecting to the login server, switching to the Zeroth server is currently displaying normally.(Probabilistic)

thebuildcraft commented 2 months ago

" is currently displaying normally" does it show waypoints?

RainC7 commented 2 months ago

" is currently displaying normally" does it show waypoints?

Yes. But this is probabilistic.

thebuildcraft commented 2 months ago

" But this is probabilistic." what do you mean? do you use google translate or sth like that?

RainC7 commented 2 months ago

"But this is probabilistic." what do you mean? do you use google translate or sth like that? But this is probabilistic. What do you mean? Are you using Google Translate or something like that?

Yes, I am using translation When I log into the server and switch to Zeroth (the first server on the web page), Waypoints are displayed correctly, but when I switch to another server and then switch back, it stops working.

RainC7 commented 2 months ago

At the same time, other child servers are not displaying Waypoints correctly

thebuildcraft commented 2 months ago

You can try to setup multiple server entries in the config: one for each child server. Then for example put as link: "https://satellite.ria.red/map/_zth/" Every time you switch servers, disable the mod with the first toggle in the config, then rename the server ip in the entries: Put a "d" behind the ip for the wrong links and remove it for the correct link. Then re-enable the mod. (I hope the translator understands this correctly...)

RainC7 commented 2 months ago

Okay, thank you. This is already working. :) Can we add support for Bungeecord in the future?

RainC7 commented 2 months ago

For example, you can configure whether to enable Bungeecord and allow configuration of multiple map servers

thebuildcraft commented 2 months ago

That would probably be a good idea... I will leave this issue open until I have implemented it. (I don't know when that will be)

RainC7 commented 2 months ago

That would probably be a good idea... I will leave this issue open until I have implemented it. (I don't know when that will be)

Thank you! :)