Jump to content

Recommended Posts

Posted

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

Posted

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"?

Posted

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?

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...