No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-04-11 23:27:54 +02:00
gradle/wrapper basic setup 2025-04-05 19:03:10 +02:00
src/main destroy delete 2025-04-11 23:27:54 +02:00
.gitignore basic setup 2025-04-05 19:03:10 +02:00
build.gradle destroy delete 2025-04-11 23:27:54 +02:00
gradle.properties basic setup 2025-04-05 19:03:10 +02:00
gradlew basic setup 2025-04-05 19:03:10 +02:00
gradlew.bat basic setup 2025-04-05 19:03:10 +02:00
LICENSE Update LICENSE 2025-04-05 18:27:36 +02:00
README.md readme 1 2025-04-09 23:28:56 +02:00
settings.gradle.kts basic setup 2025-04-05 19:03:10 +02:00

WearAndTear

A plugin to give Redstone components wear and tear, disabling or jamming them.

ko-fi

Configuration

database:
  url: jdbc:sqlite:plugins/WearAndTear/wearandtear.db
  dialect: SQLITE
  minimum-idle: 3
  maximum-pool-size: 3

blocks:
  LEVER:
    age: 86400  # 1 day in seconds
    jam: '100 / usage'  # Chance to jam decreases with more usage
    # Will immediately unjam with tool
  STONE_BUTTON:
    age: 43200  # 12 hours
    jam: '101' # Will effectively never jam
    unjam: 50 # Will unjam 50% with tool
  REDSTONE: # Placement Material!
    age: 3600  # 1 hour
    jam: '0' # Will immediately jam
    unjam: 0 # Will never unjam with tool

Commands

Command Description Permission Required
/wearandtear reload Reload plugin config wearandtear.cmd.reload
/wearandtear jam [x y z] [world] Jam a block or item wearandtear.cmd.jam
/wearandtear un(jam) [x y z] [world] Unjam a block or item wearandtear.cmd.unjam
/wearandtear no(jam) [x y z] [world] Exempts a block wearandtear.cmd.nojam
/wearandtear tool Get unjamming tool wearandtear.cmd.tool

Permissions

Node Default Description
wearandtear.cmd.use true Base command access
wearandtear.cmd.reload op Config reloading
wearandtear.cmd.jam op Force jamming
wearandtear.cmd.unjam op Remove jams
wearandtear.cmd.nojam op Create exemptions
wearandtear.cmd.tool op Get special tool