Permissions don't work - without permissions mod
Created by: daniel-widrick
Issue Description:
I run a sponge forge server (network under velocity) with the Foolcraft3 pack. Without a permissions mod, the invsync defaults all non-op players to having no permissions. this means players can't sync inventories between our two servers.
To get this to work for our use case I had to modify the snapshot code: src/main/java/world/jnc/invsync/util/serializer/module/BaseSyncModule.java line 72 return isEnabled();
We removed all player based checks and this works for our specific use case.
I have not tested this with a permissions plugin... we don't currently run one.
What happens:
Use plugin without permissions plugin. All non-op players don't have permission to inventory sync.
What you expected to happen:
Use plugin without permissions plugin. Plugin syncs any modules set to "enabled" in the config.
Steps to reproduce:
- two spongeforge servers
- no permissions plugins
- enable desired modules
- join as non op.
- join other server: debug: true shows hasPermission: false (might not be exact error text)
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.x
- InvSync: InvSync-0.6.19.294-SNAPSHOT.jar all the way back to atleast sep 2018 release
- Sponge: spongeforge-1.12.2-2768-7.1.5.jar
- Other related mods: Foolcraft 3 Pack - I don't think it was related. (we pull out clump mod and add dynmap)
Your most recent log or stack trace file where the issue was present:
I don't have this info... I think the issue is described adequately above.
I may have missed how to configure the permissions listed in the README.md either in the plugin.conf or sponge/global.conf but that information was not readily apparent in the documentation if so.