2.1 House Regions 1.2.2

Allows players to protect their houses with TShock regions.

  1. CoderCow

    CoderCow Level 6

    Joined:
    Aug 23, 2012
    Messages:
    150
    CoderCow submitted a new resource:

    House Regions - Allows players to protect their houses with TShock regions.

    Read more about this resource...
     
    • Winner Winner x 1
  2. callmenaniel

    callmenaniel Level 1

    Joined:
    Mar 23, 2017
    Messages:
    5
    you're my hero much love for the plugins!
     
  3. tanpro260196

    tanpro260196 Level 5

    Joined:
    Oct 30, 2015
    Messages:
    114
    Can you add a limitation for house size and quantity a player can create?
     
  4. callmenaniel

    callmenaniel Level 1

    Joined:
    Mar 23, 2017
    Messages:
    5
    it's already in there. look through the permissions page ;) From the page
    • houseregions.nolimits Can define houses without a maximum limit or size restrictions.
      The player limit is also specified in overview "The maximum amount of house regions per user...can be configured."
      Good luck!
     
    • Like Like x 1
  5. CoderCow

    CoderCow Level 6

    Joined:
    Aug 23, 2012
    Messages:
    150
    CoderCow updated House Regions with a new update entry:

    1.2.1 Update

    Read the rest of this update entry...
     
  6. CoderCow

    CoderCow Level 6

    Joined:
    Aug 23, 2012
    Messages:
    150
    CoderCow updated House Regions with a new update entry:

    1.2.2 Update

    Read the rest of this update entry...
     
  7. Hunter1213

    Banned

    Joined:
    Jul 19, 2017
    Messages:
    3
    I have this annoying glitch. After using world edit on a house region, it broke. I could /house scan and see the house, but i couldn't delete it. I would be fine if the house wasn't active, but it is. Nobody can break tiles in the House, that according to house regions, didn't exist.
     
  8. LolKiller

    LolKiller Level 0

    Joined:
    Dec 1, 2019
    Messages:
    1
    Hi there.
    [​IMG]
    Happens because of...
    Code:
    // Find a free house index.
    int houseIndex;
    string houseName = null;
    for (houseIndex = 1; houseIndex <= maxHouses; houseIndex++) {
        houseName = this.ToHouseRegionName(user.Name, houseIndex);
        if (TShock.Regions.GetRegionByName(houseName) == null)
            break;
    }
    if (houseIndex == maxHouses)
        throw new LimitEnforcementException("Max amount of houses reached.");