funniray / minimap-control

Server-side control for client-side minimap plugins
3 stars 1 forks source link

Not working #2

Open spikehidden opened 6 months ago

spikehidden commented 6 months ago

The latest version (1.5.0) seems to not recognize Xaero's Minimap nor Journeymap and always only sends the config for Voxel which causes Journeymap to act like there is no Server-side compatibility and Xaero's Minimap to act like all features shall be disabled.

If you need anymore info, let me know.

funniray commented 6 months ago

can you tell me what game version you were using (client and server), what version of journeymap and what version of xaero's you tested? Additionally, are you using a proxy server like velocity or bungeecord?

spikehidden commented 6 months ago

Setup

I've listed all versions I have tried and also did NOT have Journeymap and Xaero's Map Mods installed at the same time.

My Server

Server Proxy Xaero Minimap Xaero Worldmap Journeymap Fabric Loader Client
git-Purpur-2139 (MC: 1.20.4) Bungeecord 23.9.7; 23.9.6 1.37.8; 1.37.7; 1.37.6 1.20.4-5.9.20-fabric 0.15.6 1.20.4

Test Server

To check if it might be an incompatibility with the proxy or another Plugin I did setup a local test server with this config

Server Proxy Xaero Minimap Xaero Worldmap Journeymap Fabric Loader Client
git-Paper-424 (MC: 1.20.4) none 23.9.7; 23.9.6 1.37.8; 1.37.7; 1.37.6 1.20.4-5.9.20-fabric 0.15.6 1.20.4

And by the way in the meantime I also tried version 1.4.0 which didn't work as well.

funniray commented 6 months ago

I completely forgot to ask about the config file you used. The plugin defaults to allowing everything, as this is the default behavior of the mods themselves.

additionally, does the journeymap server admin tab work, or does it claim "journeymap isn't installed on the server"?

for me to get bungeecord/velocity support working 100% of the time, I would need to make a plugin that registers all the channels (and for velocity, allow the plugin messages to be proxied to the backend)

spikehidden commented 6 months ago

It says Journeymap isn't installed on the server and so the admin tab isn't working as well.

Config file will be following later today.

spikehidden commented 6 months ago

Sorry for the delay but here's my config:

config.yml ```yaml global-journeymap-config: {journeymap-enabled: 'true', use-world-id: 'true', view-only-server-properties: 'false', allow-multiplayer-settings: Op, world-player-radar: Op, world-player-radar-update-time: '5', see-underground-players: Op, hide-ops: 'false', hide-spectators: 'true', allow-death-points: 'true', show-in-game-beacons: 'true', allow-waypoints: 'true', teleport-enabled: 'false', render-range: '10', surface-mapping: ALL, topo-mapping: ALL, biome-mapping: ALL, cave-mapping: Op, radar-enabled: Op, player-radar-enabled: 'true', villager-radar-enabled: 'true', animal-radar-enabled: 'true', mob-radar-enabled: 'true', config-version: 5.9.15} global-xaeros-config: {enabled: true, cave-mode: false, nether-cave-mode: true, radar: true} global-voxel-config: {enabled: false, radar-allowed: false, radar-mobs-allowed: false, radar-players-allowed: false, caves-allowed: false, teleport-command: tp %p %x %y %z} default-world-config: {enabled: 'false', teleport-enabled: 'false', render-range: '0', surface-mapping: ALL, topo-mapping: ALL, biome-mapping: ALL, cave-mapping: Op, radar-enabled: Op, player-radar-enabled: 'true', villager-radar-enabled: 'true', animal-radar-enabled: 'true', mob-radar-enabled: 'true', config-version: 5.9.15} worlds: world: world-id: e16c48ec-67af-4234-a969-c17dbccdb7fd journeymap-config: {enabled: 'false', teleport-enabled: 'false', render-range: '0', surface-mapping: ALL, topo-mapping: ALL, biome-mapping: ALL, cave-mapping: ALL, radar-enabled: ALL, player-radar-enabled: 'true', villager-radar-enabled: 'true', animal-radar-enabled: 'true', mob-radar-enabled: 'true', config-version: 5.9.15} xaeros-config: {enabled: true, cave-mode: false, nether-cave-mode: true, radar: false} voxel-config: {enabled: false, radar-allowed: true, radar-mobs-allowed: true, radar-players-allowed: true, caves-allowed: true, teleport-command: tp %p %x %y %z} world_nether: world-id: da5de754-6bde-4eb2-af77-d17ee471a1bf journeymap-config: {enabled: 'true', teleport-enabled: 'false', render-range: '0', surface-mapping: ALL, topo-mapping: ALL, biome-mapping: ALL, cave-mapping: ALL, radar-enabled: Op, player-radar-enabled: 'true', villager-radar-enabled: 'true', animal-radar-enabled: 'true', mob-radar-enabled: 'true', config-version: 5.9.15} xaeros-config: {enabled: true, cave-mode: false, nether-cave-mode: true, radar: true} voxel-config: {enabled: true, radar-allowed: false, radar-mobs-allowed: false, radar-players-allowed: false, caves-allowed: true, teleport-command: tp %p %x %y %z} farm_nether: world-id: a0f7eca9-8238-490e-b32b-e2863b13664d journeymap-config: {enabled: 'true', teleport-enabled: 'false', render-range: '0', surface-mapping: ALL, topo-mapping: ALL, biome-mapping: ALL, cave-mapping: ALL, radar-enabled: ALL, player-radar-enabled: 'true', villager-radar-enabled: 'true', animal-radar-enabled: 'true', mob-radar-enabled: 'true', config-version: 5.9.15} xaeros-config: {enabled: true, cave-mode: true, nether-cave-mode: true, radar: true} voxel-config: {enabled: true, radar-allowed: true, radar-mobs-allowed: true, radar-players-allowed: true, caves-allowed: true, teleport-command: tp %p %x %y %z} farm: world-id: b45ae230-7796-43f1-bada-00bd693cb60d journeymap-config: {enabled: 'true', teleport-enabled: 'false', render-range: '0', surface-mapping: ALL, topo-mapping: ALL, biome-mapping: ALL, cave-mapping: ALL, radar-enabled: ALL, player-radar-enabled: 'true', villager-radar-enabled: 'true', animal-radar-enabled: 'true', mob-radar-enabled: 'true', config-version: 5.9.15} xaeros-config: {enabled: true, cave-mode: true, nether-cave-mode: true, radar: true} voxel-config: {enabled: true, radar-allowed: true, radar-mobs-allowed: true, radar-players-allowed: true, caves-allowed: true, teleport-command: tp %p %x %y %z, cave-mode: true, nether-cave-mode: true, radar: false} ```
funniray commented 6 months ago

sorry, github didn't send me a notification properly.

Without a proxy plugin, the plugin probably won't work for journeymap or xaeros on servers behind bungeecord. I can't replicate any issues when just directly connecting to a paper server.

spikehidden commented 6 months ago

I understand that but I also had the issues when running the plugin on a local hosted test server which wasn't behind a proxy.

funniray commented 6 months ago

I created a local test server and I was able to verify that the listed version of journeymap worked correctly with this plugin.

This server is running Paper version git-Paper-424 (MC: 1.20.4) Loading Minecraft 1.20.4 with Fabric Loader 0.15.6 fabric-api 0.96.4+1.20.4 journeymap 5.9.20

minimap control config was default, but shouldn't matter when trying to access the server admin tab.

https://github.com/funniray/minimap-control/assets/16416198/b944546e-835d-4b77-808e-3a93dba6b8d0

funniray commented 6 months ago

for the plugin to (currently) work with bungeecord; the first server people join must have the plugin installed. I'm looking for a workaround, but the API doesn't appear to have a clear way to register more channels on the minecraft:register channel