No description
- Kotlin 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| gradle/wrapper | ||
| src/main | ||
| .gitignore | ||
| build.gradle | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
WearAndTear
A plugin to give Redstone components wear and tear, disabling or jamming them.
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 |