smithy285 Posted July 8, 2012 Share Posted July 8, 2012 Hello I am trying to block items with modify world, Placing and using Energy Collector/Relay MK3 and using P Stone and using all EE rings. I can't do anything like break grass This is my config: enable: true informPlayers: true itemRestrictions: true whitelist: You are not allowed to join this server. Goodbye! prohibitedItem: You have prohibited item "%s". permissionDenied: Sorry, you don't have enough permissions use-material-names: false drop-restricted-item: false item-use-check: false check-metadata: true Here is my Permissons - -modifyworld.items.use.[27526:?*] - -modifyworld.blocks.interact.[27526:?*] - -modifyworld.items.have.[214:?] - -modifyworld.items.use.[214:?] - -modifyworld.items.pickup.[214:?] - -modifyworld.blocks.place.[214:?] - -modifyworld.blocks.place.(30208:?*|27584:?*|27574:?*|27533:?*|137:3|150:1|27579:?*|27580:?*|27581:?*|27582:?*|27570:?*|27538:?*|27573:?*|27530:?*27532:?*|27593:?*|126:4|126:10|126:11|126:3|27531:?*|27583:?*|27530:?*|27570:?*|27527:?*|27556:?*|27555:?*|27532:?*|27534:?*|127|169|208|237|128|27594) - -modifyworld.items.have.(30208:?*|27584:?*|27574:?*|27533:?*|137:3|150:1|27579:?*|27580:?*|27581:?*|27582:?*|27570:?*|27538:?*|27573:?*|27530:?*27532:?*|27593:?*|126:4|126:10|126:11|126:3|27531:?*|27583:?*|27530:?*|27570:?*|27527:?*|27556:?*|27555:?*|27532:?*|27534:?*|127|169|208|237|128|27594) I use Pex as a permissions plugin Link to comment Share on other sites More sharing options...
smithy285 Posted July 9, 2012 Author Share Posted July 9, 2012 More information - I can place and break dirt blocks... Also I really need help with this! Link to comment Share on other sites More sharing options...
cczeus13 Posted July 9, 2012 Share Posted July 9, 2012 You only negated the blocks. You need to allow players to build everything, and then take stuff away from that. I forget whether you put the - modifyworld.* before or after the negation nodes, so I would put it at the bottom, then paste the negate nodes below it as well. Also, why do you have 2 "- -modifyworld.blocks.place"? Link to comment Share on other sites More sharing options...
smithy285 Posted July 9, 2012 Author Share Posted July 9, 2012 You only negated the blocks. You need to allow players to build everything, and then take stuff away from that. I forget whether you put the - modifyworld.* before or after the negation nodes, so I would put it at the bottom, then paste the negate nodes below it as well. Also, why do you have 2 "- -modifyworld.blocks.place"? Someone helped me before and that was the code they gave me, could you give me a code which blocks all EE rings, world anchors, EE collector MK3 and Relay MK3 and Gem Armour? Link to comment Share on other sites More sharing options...
Phuriousgeorge Posted July 9, 2012 Share Posted July 9, 2012 The proper way is to disallow before allowing permission, as PEX reads the file top to bottom until it finds the permission it's looking for. Proper example would be: - -modifyworld.items.(have|use).(3240293|23432|2432|234233|whatever) <---disallows access to item ids entered - -modifyworld.blocks.(place|interact).(3240293|23432|2432|234233|whatever) <---disallows access to item ids entered - modifyworld.* <---- allows access to everything else As to your request smithy...look up those item values in NEI and populate the modifywold permission yourself. Don't depend on everyone to create your server for you. General guidance is fine, and you've received that. Hopefully the above clarification will assist. Any further questions, please look up the modifywold reference in the PermissionsEX wiki. Helps a ton to understand how to configure what you're installing. What better way than from the official resource? Link to comment Share on other sites More sharing options...
smithy285 Posted July 9, 2012 Author Share Posted July 9, 2012 The proper way is to disallow before allowing permission, as PEX reads the file top to bottom until it finds the permission it's looking for. Proper example would be: - -modifyworld.items.(have|use).(3240293|23432|2432|234233|whatever) <---disallows access to item ids entered - -modifyworld.blocks.(place|interact).(3240293|23432|2432|234233|whatever) <---disallows access to item ids entered - modifyworld.* <---- allows access to everything else As to your request smithy...look up those item values in NEI and populate the modifywold permission yourself. Don't depend on everyone to create your server for you. General guidance is fine, and you've received that. Hopefully the above clarification will assist. Any further questions, please look up the modifywold reference in the PermissionsEX wiki. Helps a ton to understand how to configure what you're installing. What better way than from the official resource? Thank you very much! What I was looking for! But reading back what I wrote I think I should of done what you said and just of asked for guidance not people to do it all for me, thanks for pointing that out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now