What the interact flag does (and what doesn't)

Discussion in 'General Discussion' started by Expipiplusone, Oct 27, 2015.

  1. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    So I finally decided to have the interact flag set to deny in my town and, given how fastidiously meticulous I am, I decided to test it thoroughly. So I placed every kind of door, trapdoor, gate, etc that could be interacted with and paid a couple people not in my town to test them. Here are the results.

    For every block/entity that could be lwc protected, I placed two: the first one without any protection, the second one with the /cpublic protection. For every block/entity that couldn't be lwc protected, I placed only one (without protection, of course).
    Here is the list of all the blocks/entities that I've had tested: in red only what could be interacted with.
    • all 6 wooden doors, /cpublic and not
    • iron door, /cpublic and not
    • all 6 wooden gates, /cpublic and not
    • wood trapdoor, /cpublic and not
    • iron trapdoor, /cpublic and not
    • cauldron
    • cake
    • wood button
    • stone button (cpublic and not)
    • wood/stone/gold/iron pressure plate
    • lever, /cpublic and not
    • tripwire
    • boat
    • cart
    • crafting table
    • chest, /cpublic and not
    • trapchest, /cpublic and not
    • enderchest, /cpublic and not
    • furnace, /cpublic and not
    • brewing stand, /cpublic and not
    • trade sign, /cpublic and not
    • all ExtCreations signs, /cpublic and not
    Here's my comment.
    Boat and cart make totally sense: those are not even blocks.
    The crafting table and all ExtCreations signs make sense too: they are blocks, but they cannot change state, so why forbid them?
    Trade signs are a bit unusual: they do change their content when interacted with, so one would expect them not to work with nonmembers, but I can totally understand why we would want them to work with nonmembers too.
    What really puzzles me are the /cpublic iron door, /cpublic iron trapdoor and cake: it couldn't make any sense to me, so I filed a bug report: http://www.ecocitycraft.com/forum/threads/interact-flag-bug.137519/

    It seems that the strange behaviour of /cpublic iron (trap)doors comes from the interaction between lwc and worldguard plugins:
    Therefore it's unlikely this will ever be fixed (plus, JamieSinn thinks it's intended behaviour - I still think it's weird, but I get why it happens).

    Did I miss any block/entity/whatever? Do you think I did something wrong? Please leave feedback!

    Thank you.
     
    • Informative Informative x 2
    • List
    #1 Expipiplusone, Oct 27, 2015
    Last edited: Oct 28, 2015
  2. 314

    314 Irrational Moderator, former ServerAdmin
    SuperMod EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    This is weird, because I have been unable to interact with boats in such towns before, giving me the WorldGuard error message.
     
    • Informative Informative x 1
    • List
  3. 29dude

    29dude Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Mar 8, 2015
    Messages:
    728
    Trophy Points:
    19,620
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +859
    I can't use boats in other towns either, 3.14159265359 is right.
     
    • Informative Informative x 1
    • List
  4. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    This is weird. Have you tried this recently? It might be that meanwhile something changed. I could see with my very eyes the nonmembers using the boat, so it couldn't be a client glitch.
     
  5. 29dude

    29dude Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Mar 8, 2015
    Messages:
    728
    Trophy Points:
    19,620
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +859
    Last time I remember was a month ago or so. Did you make sure they got on the boat in the region?
     
  6. OppyStoppy

    OppyStoppy Pain
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Mar 16, 2015
    Messages:
    1,336
    Trophy Points:
    31,355
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +636
    Thanks! Very helpful
     
  7. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    Yes. I specifically created a mini pond in one of my plots and placed the boat in there: the user [EDIT] COULD [/EDIT] ride it.
    Wait: might it be that you remember trying to place the boat? Because for that you need to be a member of the region period, regardless of the interaction flag.

    [EDIT: sorry, I miswrote. I intended to write could, but I wrote couldn't.]
     
    #7 Expipiplusone, Oct 27, 2015
    Last edited: Oct 28, 2015
  8. 314

    314 Irrational Moderator, former ServerAdmin
    SuperMod EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    I remember flying over towns, checking /rg i, seeing the flag and seeing a boat inside the town. I failed to enter it.
     
  9. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    I miswrote: I intended to write could (fixed now).
     
  10. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    Posted update on /cpublic iron (trap)doors (see main post)
     
  11. 314

    314 Irrational Moderator, former ServerAdmin
    SuperMod EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,046
    Trophy Points:
    97,160
    EcoDollars:
    $1,400,000
    Ratings:
    +4,917
    Well, it actually IS intended behaviour - why else should you /cpublic a door if not to allow players to open it without redstone? ^_^
     
  12. Expipiplusone

    Expipiplusone Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 13, 2014
    Messages:
    1,592
    Trophy Points:
    37,590
    Gender:
    Male
    Ratings:
    +778
    Maybe I just want members to not be able to break it?

    But let's accept your point. Say I want players to be able to open a door: you say I can just /cpublic it. But... this time the door is wooden. And I cannot possibly allow them to.
    I'm not saying that /cpublic iron door shouldn't be allowed: I'm just saying that, either both iron and wooden doors are, or none. Otherwise, it's not coherent.
    And it's weird that something that in vanilla is more restrictive than wooden (iron works only with redstone), when it comes to lwc and worldguard becomes more permissive.
     
    #12 Expipiplusone, Oct 28, 2015
    Last edited: Oct 28, 2015
  13. 29dude

    29dude Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Mar 8, 2015
    Messages:
    728
    Trophy Points:
    19,620
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +859
    Last time I checked...