works with
- Economics3.*
Alter the repair costs of items either globally or individually. You can also specify additional items that are require in order to repair items.
This plugin can also link with the Economics plugin so that players are required to spend some Economics coins in order to repair items.
Notes
This plugin puts a new custom GUI over the top of the repair bench GUI that shows the modify repair costs. As it was not able to change the underlying repair values.
Configuration
Here is a sample configuration. You can add any items to the configuration using the shortname of the item.
Note that turning enabled
false will disable this plugin on that item. It will not disable repairing of the item.
{
"RepairCosts": {
"global": {
"enabled": false,
"multiplier": 5.0,
"items": {},
"economics": 0.0
},
"smg.mp5": {
"enabled": true,
"multiplier": 6.0,
"items": {
"smgbody": 1.0
},
"economics": 100.0
},
"rifle.lr300": {
"enabled": true,
"multiplier": 10.0,
"items": {},
"economics": 100.0
},
"pistol.m92": {
"enabled": true,
"multiplier": 5.0,
"items": {},
"economics": 100.0
}
},
"Debug": false
}
Localization
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.