This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'd like the ability to control which dispensers are RepairDispensers. It could be something as simple as an Op-only command like /repairdispenser set and then l-click on the dispenser, or even just typing the x,y,z of the dispenser into a config file.
(It would also require that the x,y,z be cleared when the dispenser is destroyed)
If you wanted to get really fancy, you could have permissions support for the ability to create a RepairDispenser, and then do it all in-game by doing something like putting iron in the corners, a diamond in the middle, fill the rest with wood and then push the button to create a RepairDispenser.
Of course I like the in-game + permissions option better since I like to keep commands to an absolute minimum... but it seems like more work on your part! The MOST important thing is to be able to control the creation of the RepairDispensers.
Thanks!
I've considered doing this. My plan would probably be just to slap a sign on it with [RepairDisp] at the top, and link a permission node with its creation.
At the moment, though, it's nearly impossible to accurately restrict someone from USING a repair dispenser, or changing for it, without creating weird restrictions like buttons at a certain spot, etc., and to be honest, it's more work than I want to put into it.
Although it'd be neat to be able to control who can use it with permissions, I understand the work involved, and honestly I don't think that it'd be worth the effort. Besides, I can already do pretty much the same thing by making a special WorldGuard zone around the dispenser, and then controlling who can use buttons in that zone. :-) ... IF I had the need to do such a thing.
But I'm still wanting to be able to control the creation of a RepairDispenser. The logic would be something like: Dispenser event - is this a RepairDispenser? (check list). No= use normal dispenser event. Yes=RepairDispenser event. It doesn't *seem* like a difficult thing... and it'd be so useful
@_Greylocke_: Go No, that part's easy enough, I've just been avoiding having to use some kind of persistence system. Using a sign to flag the dispenser is probably the easiest way, so I don't need a listing of dispensers that were made by player X.
Tickleman1 wrote something similar in his RealViewDontTouch plugin. I asked for a plugin where an Op could click on a chest to make it "View Only". His code is here if you want to use it as an idea for how you might easily do persistence.
The method seems pretty straightforward. Of course everything looks clean and simple after it is done1
One of my friends implemented this feature, ill fork the repo and send you a pull request, if your still intrested that is.
To post a comment, please login or register a new account.