Hello, I just got a repair plugin but its has no config for adding price for doing the command, what I want to happen is when a default rank do a /fix itll cost him like 10k to fix his item on hand and if he do /fix all itll multiply on how many items are damaged but if a player has a rank itll be free.
im not sure but you can just set $item->setDamage(0); mybe its work. More Explain: PHP: //onCommandswitch($sommand->getName()) {case "handrepair":if ($item->getDamage() !== 0) {if (!$player->hasPermission("Repair.Free")) {if ($EconomyAPI->myMoney >= 10000/*This will Reduce 10K Money from player*/) {//reduce money from player$item->setDamage(0);} else {$player->sendMessage("You dont have enough money :X");}}}}return;break;}
i'll make a plugin like what do you want, good idea also i want set XP - MONEY for take it from player (like cash) and repair them... today i'll start to make this plugin
How you know which Economy plugin is he using? By the way check out this old garbage I wrote long time ago: Economizer