-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Robot Permission #469
Comments
The default robot name format is Not sure about the |
Thanks for the quick reply. |
Hmm, well I'm not an expert with permission systems in general, I only tested it with WorldGuard and that worked perfectly fine. As for the suck/drop stuff, good point. I'll try adding an "interact" event before doing that when I have the time, hopefully that can be used as a valid test. |
I'm also not the best one, but I'll give my best. |
I did some (very limited) testing, and from what I can tell, setting a region as owned by someone doesn't protect chests normally, either (WorldGuard, To be honest, I'm not sure that's the proper way to approach this anyway, since there are just way too many special cases. I suppose the 'cleanest' solution would be to not allow robots to move into owned regions? Not sure how to best check for that without potential side-effects, though (i.e. I don't know what sending a If someone more experienced with coding for permission systems sees this and has some input on this, that'd be great. |
Maybe it could be an idea to have a config option to drop the ".robot" suffix in the config file, so the robot operates under the same name. Or is that impossible to implement since that playername might already be in use, but a wrapper for the permission system maybe.... |
That's already possible, the name pattern for robots is configurable via the setting I'm just keeping this open as a reminder to look into prohibiting robots from moving into areas they should not be able to edit (since, by moving in there, they basically are, seeing as they are blocks). |
Having had another look I don't think there's an ideal way to solve this from my (purely Forge reliant) side. As also mentioned in #656 I think it would be better if someone wrote a Bukkit plugin that maybe uses the robot events to make the robots behave better in a Bukkit environment. I have no experience with Bukkit plugin development and don't plan to start it, but if someone does attack this and needs me to add something within my capabilities to OC I'd be happy to help in that capacity. |
I have the same issue, the only way to get it to break/place blocks is to disable ModifyWorld (a dependency) for PermissionsEx. I currently run Essentials, LWC, PermissionsEx and GriefPrevention. I went through the list disabling every one of them one by one until I determined what it was. Please note this should NOT be performed on a production server unless you have another mod/plugin to disable certain blocks. |
@shortybsd And it doesn't work to set |
I have the problem that my robots can't do anything on the server.
When I give the default group permissions the can place/break/...
The only thing working is, the robot.use() on fields, but without taking the items.
The text was updated successfully, but these errors were encountered: