Extra Hard Mode

Extra Hard Mode

63.1k Downloads

jobs / gravity

ShaneBeee opened this issue ยท 2 comments

commented

Hi
On my server I use the jobs reborn plugin.
One problem I am finding! I have it turned on so placers can't place blocks, and break them right away to make money! This is an exploit stopper, so players can't make money placing/breaking blocks repeatedly to make obscene amounts of money
The issue I am having is, with the gravity of the new blocks (dirt, grass, cobble)
This plugin is treating it like a player placed block, so when mining or digging its telling me "you have to wait 30 seconds before making money on this."
Is this fixable??

commented

Hmm - I think the code does a lot to make sure that "changed blocks" - which includes those that the player has caused to fall - are logged by various block loggers. As such, this is probably confusing the jobs reborn plugin.

Three solutions I can think of:

  • Jobs reborn dev hooks into ExtraHardMode to ignore the "tagged" falling blocks.
  • I hook into Jobs reborn and somehow see if they have an API for ignoring blocks?
  • I could add (yet another) config option to not attempt to tag such blocks (and thus block loggers won't know who caused the block to fall).
commented

Only issue with performing any of those is that blocks that players place (and subsequently fall) would also be "exploitable."

I'd just either remove these from the list of blocks that experience gravity in config or remove them from jobs reborn (since I assume that plugin isn't doing anything for sand and gravel already).