Coder Social home page Coder Social logo

Comments (7)

pop4959 avatar pop4959 commented on August 12, 2024 1

I was talking to someone about this earlier, and I guess the blacklist does a fine job for the example your provided. By default, it has hoppers on it which prevents people from placing hoppers adjacent to protections they don't own (which means it would not be able to be easily stolen as you're suggesting). Is there any other reason to want specifically an in/out? Just debating on whether it really makes sense to add new flags, etc, for this, if it's to little effect.

from lwcx.

OutlawedBit avatar OutlawedBit commented on August 12, 2024 1

Yeah, I think that would be great. I can't immediately think of a good reason to have the cHopperOut, but I sure someone else could.

from lwcx.

pop4959 avatar pop4959 commented on August 12, 2024 1

@k9lego @OutlawedBit

Implemented this in d70d124. Some notes about the new flags:

  • Existing Hopper flag is equivalent to the HopperIn and HopperOut flags combined.
  • The protections.denyHoppers setting in core.yml can flip the meaning of the HopperIn and HopperOut flags, as it does currently for the Hopper flag.
  • There is no shortcut command (use /lwc flag <flag> <on/off> instead). It may not need one since this is a niche use case.
  • It does not currently work if optional.alternativeHopperProtection is enabled in core.yml. This is because it works very differently from the normal hopper checking mechanism (on placement rather than inventory movement).

I've tested it a bit myself, but further help testing would be appreciated. Let me know if it works as expected for you. You can find development builds linked on the plugin page as usual.

from lwcx.

pop4959 avatar pop4959 commented on August 12, 2024

Yeah I think this has already been suggested 1 or 2 times, and it's not a bad idea. Pretty sure it's not a feature currently because the "denyHoppers" option and the hopper flag just turn interactions on/off in general, not specifically in/out.

from lwcx.

OutlawedBit avatar OutlawedBit commented on August 12, 2024

Per my previous request (#86) from the other plugin, I would still like to see this feature as well. I have a few machine builders in my user base who appreciate the option to allow a hopper to anonymously drop items into protected chest.

from lwcx.

pop4959 avatar pop4959 commented on August 12, 2024

If this were to be added in some form, I'm guessing it would best be through the existing flag system. Since there is currently a /cHopper flag, do you think it would be good if 2 new flags were added for this, such as /cHopperIn and /cHopperOut? That might be the easiest way to handle this that would make sense to users who are already used to how the old flag works.

from lwcx.

k9lego avatar k9lego commented on August 12, 2024

Protecting item transport tubes?

from lwcx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.