1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

[BUG] EconomyLand + OreEarn allow users to get infinite money...

Discussion in 'Development' started by Cyjan, Jul 26, 2019.

  1. Cyjan

    Cyjan Creeper

    Messages:
    2
    GitHub:
    mrcyjanek
    Hey..
    I have server (private) where I play with friends.. and now one of them reported to me ... This..

    I'll just leave video of what's happening.. the money is growing (ore earn) and block is still on its place (economy land). The problem is when user find diamond (high earnings by ore earn) because it allow that user to get as much they want without playing...
    Link to video: https://vshare.io/d/fanustn

    p.s. sorry for my English ...
     
  2. Cyjan

    Cyjan Creeper

    Messages:
    2
    GitHub:
    mrcyjanek
    Done, added this:

    $trump = [1,14,15,16,21,56,73,74,159,153];
    if (in_array($block->getID(), $trump)) {
    $player->sendMessage("//todo");
    return false;
    }
    After this:
    $player->sendMessage($this->getMessage("no-permission", array($info["owner"], "", "")));




    Seems to work ... LoL but it's just temporary hotfix
     
  3. Gianluxx

    Gianluxx Slime

    Messages:
    94
    GitHub:
    Gianluxx
    Add priority to the oreearn plugin event to be the latest
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.