Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Only Allow Some Number of Blocks to Be Destroyed per Hour #1347

Open
1whohears opened this issue Sep 27, 2024 · 0 comments
Labels

Comments

@1whohears
Copy link

Mod

FTB Chunks + FTB Teams

Description

Idea 1

It would be cool if there was a configurable feature that only allowed some number of blocks to be destroyed in protected chunks per unit of time. For example lets say the config is set to 100 blocks per hour. An attacking player could only destroy 100 blocks, and then have to wait another hour before they could break blocks in the enemy territory again.

There could also be a configurable white list of blocks (chests/beds) that cannot be destroyed regardless. Or a config system where certain blocks can override the default block break rate. For example, only 1 chest can be destroyed per hour, everything else can be broken at 100 blocks per hour.

If implemented, server owners could decide to allow raids to damage blocks, but not completely destroy the entire base. This can nerf the strat where people simply build their bases deep underground so it's impossible to get inside and attack. Again everything would be configurable so if server owners don't like this feature they can disable it, or it should be disabled by default since it would be a new feature.

Idea 2

There is an additional feature that would probably be needed to make this work though.

You shouldn't be able to damage enemy chunks if no players on that team are not online and able to defend the chunks. That should be a configurable setting like everything else. And there should be some kind of configurable combat log timer. So players can't DC when they are being attacked.

Idea 3

There should also be an option where you are not allowed to enter enemy territory if they are not online. There are plenty of ways to get into bases (chorus fruit, ender pearl through block glitches, other unforseen glitches) and kill entities and what not to grief bases when they aren't online (overnight villager genocide). Preventing base entry is the easiest way to prevent this. Not sure what the best way to implement that though. TP back? Make it all configurable of course.

I can code

I am a mod dev, so I am willing to work on these features myself and contribute via pull request. I am of course not familiar with the code base yet though. So I would need some direction on what parts of the code base to study and possible ways to add this stuff. I would like to launch a server with these features in December. So if y'all can't work on these features, or can't complete it by December then please let me know so I can start working on it.

If y'all don't want these features in your base mods, would it be possible to add these features via an addon?

Thank you for your time and thoughts!

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

@1whohears 1whohears added the 2: Feature New feature or request. label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants