Coder Social home page Coder Social logo

Purge command with conditions about coreprotect HOT 7 OPEN

playpro avatar playpro commented on July 29, 2024 4
Purge command with conditions

from coreprotect.

Comments (7)

LogGits avatar LogGits commented on July 29, 2024 2

Hey that's great news could we get the action, block, and user aswell, having it consistent with the co l command would be the best way to handle

from coreprotect.

molor avatar molor commented on July 29, 2024 2

One more vote for adding r: parameter. Players who dig snowballs using snow golems "locked" on 1 block can easily fill up a database in a few hours, just standing still with a shovel in hand.

from coreprotect.

Intelli avatar Intelli commented on July 29, 2024 1

It may be ideal to handle this similarly to the #preview parameter, including with a confirmation page.

(Console support would need to be added)

from coreprotect.

Intelli avatar Intelli commented on July 29, 2024

Worlds can now be specified in CoreProtect v19+.

Example Command:
/co purge t:30d r:#world_nether

from coreprotect.

Spikey84 avatar Spikey84 commented on July 29, 2024

I am attempting add the other arguments. It may take a bit of time but i am going give it a shot. So far I made some changes so some action args can be accepted. I do this by taking the purgeTables and changing it based on provided actions. One question I have is what is the significance of worldTables? Is it just a list of tables that relate to a world? My work on this is taking place on here ill make a PR once it is in a cleaner format and I am sure it works as intended.

from coreprotect.

Ceddix avatar Ceddix commented on July 29, 2024

It would be also really practical to implement a block count or #worldedit to the radius (r:) parameter.
I have some places where I have several thousand pages of block entries just spread over a few blocks. I would like to get rid of these in order to minimise memory usage.

from coreprotect.

molor avatar molor commented on July 29, 2024

(please :c)

from coreprotect.

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.