rlf / uSkyBlock

The best skyblock bukkit plugin around...
http://dev.bukkit.org/bukkit-plugins/uskyblock/
GNU General Public License v3.0
76 stars 113 forks source link

Worldguard behaving strange in USkyBlock regions #1266

Closed OmikronOverload closed 3 years ago

OmikronOverload commented 3 years ago

21:16:14 INFO: Name: uSkyBlock 21:16:14 INFO: Version: 2.8.9 21:16:14 INFO: Description: Ultimate SkyBlock v2.8.9-a693011 21:16:14 INFO: Language: en (en) 21:16:14 INFO: State: d=128, r=64, i=4, p=5, n=true, awe=false 21:16:14 INFO: Server: Paper git-Paper-123 (MC: 1.16.1) 21:16:14 INFO: State: online=true, bungee=false

21:16:14 INFO: Vault 1.7.3-b131 (ENABLED) 21:16:14 INFO: WorldEdit 7.2.0-beta-02+d10d7d6 (ENABLED) 21:16:14 INFO: WorldGuard 7.0.2-SNAPSHOT;bf2593e (ENABLED) 21:16:14 INFO: Multiverse-Core 4.1.0-b775 (ENABLED) 21:16:14 INFO: Multiverse-Portals 4.1.0-b805 (ENABLED) 21:16:14 INFO: Multiverse-NetherPortals 4.1.0-b763 (ENABLED)

  1. turning the global region flag Chest access to true lets you not access your own chests
  2. trying to open a player-chest who is island owner
  3. turning the region flag to false in global lets you open other peoples chests again in theyr claimed island region

no logs for this event

(Not following the template will result in closing the issue.)

Muspah commented 3 years ago

Can you please try again with WorldGuard 7.0.4, the latest release on BukkitDev?

https://dev.bukkit.org/projects/worldguard/files/2989129

OmikronOverload commented 3 years ago

Yes. I now tried it, but its still the same, even with the worldguard.chest-protection permission node. If Chest-access is on Deny no one can open it, if its on Chest-access allow, everybody can open it. Did a complete reload and a wg reload, i'am clueless at this point. The Build Permissions are working like a charm. Maybe you got any idea?

OmikronOverload commented 3 years ago

im not quite sure but i think i found the problem here. It seems like Luckperms my permissions Plugin has no functions for Worldguard. So the Permission nodes are from essentials which includes the build permission node.

OmikronOverload commented 3 years ago

ok i fixed it! The Solution was... unlogical. So if you enable in global for example chest-access, the plugin wants to manage the whole world, Ignoring Player owned regions. All you gotta do is unset the statement ingame for global and tada, everything works like intended. Oh and to be sure your chest protections are really working with worldguard i set the worldguard option in LWC. worldguard: enabled: true

Muspah commented 3 years ago

Island regions should have a higher priority (100 iirc) and override the global region that way. I'm somewhere in Germany atm without my laptop, but if you still require assistance or things are not working as expected, let me know and I will check it out this week.