Plan icon indicating copy to clipboard operation
Plan copied to clipboard

Command /plan and other don't work on backend servers

Open MrShard opened this issue 2 months ago • 4 comments

Describe the issue

Commands /plan, /plan register, and other Plan commands don't work on backend Paper servers in proxy mode. When executing Plan commands on the backend server, there is no output at all - commands are completely ignored.

Commands work correctly on Velocity proxy console using /planproxy.

This prevents user registration, as /plan register needs to work on game servers.

Setup:

  • Velocity 3.4.0 with Plan installed
  • Paper 1.21.8 with Plan installed
  • MySQL database shared between proxy and backends
  • Webserver disabled on backends
  • Allow_proxy_to_manage_settings: true enabled

Exceptions & Other Logs

No errors in logs on either proxy or backend servers

Plugin versions

  • Plan version: 5.6 build 2965
  • Velocity: 3.4.0
  • Paper: 1.21.8

Additional information

Backend config excerpt:

Database:
    Type: MySQL
Webserver:
    Disable_Webserver: true
Plugin:
    Configuration:
        Allow_proxy_to_manage_settings: true
Plan.jar is installed on both proxy and all backend servers, all pointing to same MySQL database. Server shows up correctly in Plan web interface and player data is being collected.

MrShard avatar Oct 07 '25 09:10 MrShard

When webserver runs on proxy the website will instruct to use /planproxy register

/plan command requires plan.command permission to use

AuroraLS3 avatar Oct 07 '25 10:10 AuroraLS3

There is no output from this command, and permissions are not the issue here, since I'm an operator - or is that not enough?

https://github.com/user-attachments/assets/ef47fa53-84b0-436f-b336-07ece218c2fb

MrShard avatar Oct 07 '25 12:10 MrShard

/planproxy register needs the permissions on the proxy server

AuroraLS3 avatar Oct 07 '25 14:10 AuroraLS3

On Velocity, LuckPerms is installed, and I’ve been assigned a group with * (all permissions).

MrShard avatar Oct 13 '25 09:10 MrShard