Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minebench/mendingnerf
Nerf Mending by making it limited by repair cost and limit to a max
https://github.com/minebench/mendingnerf
bukkit java mending minecraft paper plugin spigot
Last synced: 3 months ago
JSON representation
Nerf Mending by making it limited by repair cost and limit to a max
- Host: GitHub
- URL: https://github.com/minebench/mendingnerf
- Owner: Minebench
- License: gpl-3.0
- Created: 2020-11-09T13:06:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-27T12:50:18.000Z (over 2 years ago)
- Last Synced: 2024-03-19T13:32:08.079Z (11 months ago)
- Topics: bukkit, java, mending, minecraft, paper, plugin, spigot
- Language: Java
- Homepage: https://ci.minebench.de/job/MendingNerf/
- Size: 37.1 KB
- Stars: 3
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MendingNerf
Minecraft (Bukkit) plugin to nerf Mending by making it take the item's repair cost into account by adding it to the required experience based on a configurable modifier. (`repair-cost-modifier`)
The repair cost also increases (based on the max durability of the item multiplied by the `increase-cost-step-modifier` config option) when an item is mended with a limit to the repair cost after which any form of repairing will be disabled. (`max-repair-cost`)
Also limits repairing/adding through anvils and features extra info in ChestShop's `/iteminfo` command.
## Config
```yaml
# Whether the whole plugin should be enabled
enabled: true# The default language to use when no language file exists for the client's language
default-lang: en# How much collected experience is required to repair one durability point.
# MendingNerf adds additional required exp based on an item's repair cost
# Vanilla base value is 0.5
base-exp-for-repair: 0.5# The maximum that the repair cost can grow to. After that the item can't be repaired
max-repair-cost: 100# Whether mending should be nerfed. If disabled then only anvil repairs will be blocked above the max cost.
mending-nerf: true# The plugin uses the maximum durability of the item which is mended as the basis for the calculation
# when the repair cost should increase. So a increase-cost-step-modifier of 1 for a diamond pickaxe means
# that it will increase the cost each 1561s repairs. 0.5 each ~780th etc.
increase-cost-step-modifier: 1.0# By how much the required exp for mending one durability should be increased per repair-cost on the item
# Basically "required exp for 1 repair" = (base-exp-for-repair) + (item repair-cost) * (repair-cost-modifier)
repair-cost-modifier: 0.2
```## Commands
Command | Description
-----------------------------------|-----------------------------------------------------------------
`/mendingnerf enable` | Enable the whole plugin functions (sets `enabled` config key)
`/mendingnerf disable` | Disable the whole plugin functions (sets `enabled` config key)
`/mendingnerf reload` | Reload the config
`/mendingnerf debug []` | Enable debugging mode for you or a player to print some mending info in console/log
`/repaircost` | Show an item's repair cost
`/repaircost ` | Set an item's repair cost## Permissions
Permission | Default | Description
---------------------------------------|---------|---------------------------------------------------
`mendingnerf.command.mendingnerf` | op | Use the `/mendingnerf` admin command
`mendingnerf.command.repaircost` | true | Use the `/repaircost` command
`mendingnerf.command.repaircost.set` | op | Use the `/repaircost set ` command
`mendingnerf.bypass.mending` | false | Allow bypassing of the repair cost block when mending
`mendingnerf.bypass.anvil` | false | Allow bypassing of the repair cost block in anvils## Downlaods
Latest development builds can be obtained from the [Minebench.de Jenkins server](https://ci.minebench.de/job/MendingNerf/).
## License
Licensed under GPLv3.
```
MendingNerf
Copyright (c) 2020 Max Lee aka Phoenix616 ([email protected])This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .
```