Open 7wOv6ySCjo opened 3 years ago
What exactly is your goal here? (Also the sync.inventory
option definitely works, the other options have nothing to do with what type of data is synced they change behaviour)
Also can you please all of the missing information which the issue template requests?
server_a: SyncInv v0.6-SNAPSHOT (build 64) server_b: SyncInv v0.6-SNAPSHOT (build 64)
server_a:
server_b:
N/A
server_a:
server_b:
server_a:
> pl
[23:00:47 INFO]: Plugins (2): OpenInv, SyncInv
> version
[03:14:52 INFO]: Checking version, please wait...
[03:14:53 INFO]: This server is running Paper version git-Paper-786 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
You are running the latest version
server_b:
> pl
[23:01:16 INFO]: Plugins (2): OpenInv, SyncInv
> version
[03:16:10 INFO]: Checking version, please wait...
[03:16:10 INFO]: This server is running Paper version git-Paper-786 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
You are running the latest version
Server a: sync.inventory: true
Server b: sync.inventory: false
Server A: (64 Diamonds) -> Teleport to Server B -> Diamonds are not sync. Thats okay. Expected behaviour. Now comes the issue: Server B: (30 Dirts) -> Teleport to Server A -> Dirt are sync. Thats not okay. I should have the 64 Diamonds.
So it the signal SHOULDN’T be sent or received when it set to false.
Server A represents a survival server.
Server B represents a creative or mini-game server.
Server C represents a survival dimension server minecraft:the_nether
.
We don't want to share inventory between server A
and server B
but we do want to share inventory between server A
and server C
.
On server B we only want to share sync.persistent-data: true
with the group.
The config options define whether or not the server with the config will apply those values, not if they get sent. The original design follows the concept of those options being in sync in the whole group so this is more of a feature request than an actual bug. (The options were named in the vain of "syncing data from other servers", not "syncing to other servers" although that's not made explicitly clear)
Implementing this functionality will require an internal rework of how the syncing data is gathered and sent :S
I thought that how these feautres were implemented, or at least thats why i ask this feature!
The current implementation is simple and works just fine as long as the options are the same everywhere. A one way sync was never meant to be supported by this plugin nor requested at any point before.
The config options define whether or not the server with the config will apply those values, not if they get sent. The original design follows the concept of those options being in sync in the whole group so this is more of a feature request than an actual bug. (The options were named in the vain of "syncing data from other servers", not "syncing to other servers" although that's not made explicitly clear)
Implementing this functionality will require an internal rework of how the syncing data is gathered and sent :S
Two-way synchronisation would make more sense for this type of plugin. In fact that's what one naturally interprets when looking at the "true" or "false" options.
Perhaps you could add a toggleable option to set the sync direction. You are a good programmer, I trust you can do a good job. The plugin itself is already an excellent solution, it just needs this one big change.
Hello, when might we hear about this change? It would be necessary to be able to test it in production with players.
Any news?
Any news?
Once this change was made this issue will be closed.
Any news?
Once this change was made this issue will be closed.
Okey, thanks.
Hi. I have a mini-game server where I don't want the inventory to be shared with the survival server, for security reasons.
By setting
sync.inventory: false
,sync.enderchest: false
andsync.gamemode: false
the inventories are still shared. I have tried the optionssync-with-group-on-logout: false
andquery-inventories: false
and I don't get results either. In fact I have tried setting allsync
options to false exceptsync.persistent-data: true
and the result is still the same: inventories are shared between servers.What could I be doing wrong? Maybe I'm misinterpreting the plugin options?
SyncInv/config.yml