ceskyDJ / NetherWater

Simple Spigot plugin that allows players to use water in nether worlds. They can use buckets, ice blocks and dispensers for spawning water.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with bypass permissions and OP players

ceskyDJ opened this issue · comments

There is a problem with some of the bypasses (I don't know what bypasses are concerned but scooping at 100 %). When the player is an OP (/op <player>), he or she shouldn't has some permissions of this plugin:

  • netherwater.spread.bypass:
    • Turns off spread limits for players with this permission. Requires allow this feature in config!
  • netherwater.scooping.bypass:
    • Allows players to scoop water into bucket
  • netherwater.disappearing.bypass:
    • Disables automatic water disappearing (AND cauldron drying) for players
  • netherwater.drying.bypass:
    • Disable automatic cauldron drying (NOT water disappearing) for players

This has one simple reason - when OP player is a player, not just administrator of the server, this bypasses could affect his or her game experience. When you need this permissions for some players, you could always give them these permissions explicitly or allow these functionalities in config for everybody.

This bug causes the OP player has automatically these bypasses (not tested all of them, only scooping), although they couldn't have them. So after fixing this issue it will work like it's described above.