Changes do not fire NodeMutate-, NodeAdd and NodeRemoveEvent [...] on other servers
remadisson opened this issue ยท 1 comments
Description
The NodeMutate-
, NodeAdd-
, and the NodeRemoveEvent
are only fired on the server where you triggered the in-game command on. (I assume the Events UserPromote-
or UserDemoteEvent
aren't fired either.)
Reproduction Steps
- Register listeners for NodeMutate, NodeAddEvent and NodeRemoveEvent.
- Make them print any debug message.
- Compile and put it on the server.
- Run
/lp user <name> parent set <someGroup>
-> See message; Same with/lpb <sameCommand>
in case of bungee plugin. - Now run the opposite Command without changing the Plugin e.g. ->
Paper-Plugin
and run/lpb command
orWaterfall-Plugin
and run/lp command
- In case of action at 5 there should not be any debug message printed
Expected Behaviour
I would suggest that triggering the events (e.g. NodeMutate-
, NodeAdd-
, NodeRemove-
, UserPromote-
, UserDemoteEvent
) on both the executing server and the proxy would be useful.
Server Details
git-Paper-518 (MC: 1.19.4) and git:Waterfall-Bootstrap:1.20-R0.1-SNAPSHOT:ec41547:536
LuckPerms Version
v.5.4.98 on both paper and waterfall
Logs and Configs
No response
Extra Details
No response
That is intended behaviour, such events can only fire in the environment the changes were made in; if a messaging service is configured, the other servers will only receive a notification to reload data from storage, and related messaging events are fired in those servers as well (or if a log is published to common log storage, the log receive event).