Jump to content

Please help with PEX/Modifyworld


Recommended Posts

Im having issues with blocking the placement of blocks with Modfiyworld

Heres what i want blocked at placing

-Crafting Table III

-Telsa Coils(Only to default)

-TNT, Nukes both nova cata

-RM and DM furnace

-All of Computercraft (Only to Defaults)

-Terraformer(Only to Default)

-Nuclear Reactor(Only to Defaults)

-Tunnel Bore(Only to Defaults)

Heres what i want not able to craft

-Destruction Catalust/Catalytuc Lens

-Hyperkinetic Lens

-Mercurial Eye(Only to Defaults)

-Red Morning Star(Only to Defaults)

-Mining Laser(Only to Defaults)

-RM&DM Hammers

-REP

-Abyss Armor(Only to Defaults)

-Watch of Flowing Time

-Body Life Mind Soul stones (only to Defaults)

-Ring of Ignitiion, Harvest Goddes ring, Zero Ring(Only to Defaults)

**NOTE**

The EE items that ARENT (Only to Defaults) are already blocked in the ee_props file

Current perms

groups:

  default:

    default: true

    permissions:

    - -modifyworld.blocks.place.(x237|x149|x223.1|x207|x208|x208.1|x208.2|x216|x216.1|x216.2|x216.3|x250.15|x246.5|x7310|x126.4|x126.3|x239|46)

    - -modifyworld.items.craft.(x27527.?*|x27556.?*|x27535.?*|x27556.?*|x27585.?*|x30208.27|x27555.?*|x27570.?*|x6263.?*|x27580.?*|x27579.?*|x27581.?*|x27582.?*|x27538.?*|x27529.?*|x27588.?*|x27589.?*|x27590.?*|x27533.?*|x27574.?*|x27537.?*)

    - modifyworld.*

    - -worldedit.*

    - essentials.afk

    - essentials.help

    - essentials.ignore

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.spawn

    - essentials.home

    - essentials.sethome

    - iConomy.holdings

    - iConomy.holdings.others

    - iConomy.payment

    - ChestShop.shop.*

    - essentials.signs.use.disposal

    - essentials.signs.use.free

    - essentials.signs.use.heal

    - essentials.signs.use.time

    - essentials.signs.use.weather

  Moderator:

    permissions:

    - -worldedit.*

    - essentials.afk

    - essentials.help

    - essentials.ignore

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.spawn

    - essentials.home

    - essentials.sethome

    - essentials.mute

    - essentials.kick

    - essentials.tempban

    - iConomy.holdings

    - iConomy.holdings.others

    - iConomy.payment

    - ChestShop.shop.*

    - essentials.signs.use.disposal

    - essentials.signs.use.free

    - essentials.signs.use.heal

    - essentials.signs.use.time

    - essentials.signs.use.weather

  Luke:

    permissions:

    - -worldedit.*

    - essentials.afk

    - essentials.help

    - essentials.ignore

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.spawn

    - essentials.home

    - essentials.sethome

    - essentials.back

    - iConomy.holdings

    - iConomy.holdings.others

    - iConomy.payment

    - ChestShop.shop.*

    - essentials.signs.use.disposal

    - essentials.signs.use.free

    - essentials.signs.use.heal

    - essentials.signs.use.time

    - essentials.signs.use.weather

  Admins:

    permissions:

    - permissions.*

    - essentials.*

    - iConomy.*

    - ChestShop.*

    - ChestShop.admin

    - mcmmo.*

   

users:

  DeathxxAngelxx:

    group:

    - Admins

    permissions:

    - permissions.*

  MisterBigglez:

    group:

    - Luke

  cott:

    group:

    - Luke

Link to comment
Share on other sites

Ok, first off. You don't have inheritance set for anything.

Meaning, if you want person a to get the perms of, say, Luke and default, you have to put that in there. Im still new to pex, but...I think that may be your problem. apologies if Im wrong.

Also, check the config in the modifyworld folder.

Link to comment
Share on other sites

heres my modify world config

enable: true

itemRestrictions: false

informPlayers: true

whitelist: false

messages:

  whitelistMessage: 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: true

Link to comment
Share on other sites

enable: true

itemRestrictions: true

informPlayers: true

whitelist: false

messages:

  whitelistMessage: 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: true

item-use-check: true

Change it to this

Link to comment
Share on other sites

The issue is none of your users are part of the default group thus they have not inherited the restrictions that are part of it.

groups:

  default:

    default: true

    permissions:

    - -modifyworld.blocks.place.(x237|x149|x223.1|x207|x208|x208.1|x208.2|x216|x216.1|x216.2|x216.3|x250.15|x246.5|x7310|x126.4|x126.3|x239|46)

    - -modifyworld.items.craft.(x27527.?*|x27556.?*|x27535.?*|x27556.?*|x27585.?*|x30208.27|x27555.?*|x27570.?*|x6263.?*|x27580.?*|x27579.?*|x27581.?*|x27582.?*|x27538.?*|x27529.?*|x27588.?*|x27589.?*|x27590.?*|x27533.?*|x27574.?*|x27537.?*)

    - modifyworld.*

    - -worldedit.*

    - essentials.afk

    - essentials.help

    - essentials.ignore

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.spawn

    - essentials.home

    - essentials.sethome

    - iConomy.holdings

    - iConomy.holdings.others

    - iConomy.payment

    - ChestShop.shop.*

    - essentials.signs.use.disposal

    - essentials.signs.use.free

    - essentials.signs.use.heal

    - essentials.signs.use.time

    - essentials.signs.use.weather

  Moderator:

    default: false

    permissions:

    - -worldedit.*

    - essentials.afk

    - essentials.help

    - essentials.ignore

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.spawn

    - essentials.home

    - essentials.sethome

    - essentials.mute

    - essentials.kick

    - essentials.tempban

    - iConomy.holdings

    - iConomy.holdings.others

    - iConomy.payment

    - ChestShop.shop.*

    - essentials.signs.use.disposal

    - essentials.signs.use.free

    - essentials.signs.use.heal

    - essentials.signs.use.time

    - essentials.signs.use.weather

    inheritance:

    - default

  Luke:

    default: false

    permissions:

    - -worldedit.*

    - essentials.afk

    - essentials.help

    - essentials.ignore

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.spawn

    - essentials.home

    - essentials.sethome

    - essentials.back

    - iConomy.holdings

    - iConomy.holdings.others

    - iConomy.payment

    - ChestShop.shop.*

    - essentials.signs.use.disposal

    - essentials.signs.use.free

    - essentials.signs.use.heal

    - essentials.signs.use.time

    - essentials.signs.use.weather

    inheritance:

    - Moderator

  Admins:

    default: false

    permissions:

    - permissions.*

    - essentials.*

    - iConomy.*

    - ChestShop.*

    - ChestShop.admin

    - mcmmo.*

    inheritance:

    - Luke

users:

  DeathxxAngelxx:

    group:

    - Admins

    permissions:

    - permissions.*

  MisterBigglez:

    group:

    - Luke

  cott:

    group:

    - Luke

Link to comment
Share on other sites

https://github.com/PEXPlugins/PermissionsEx/wiki/Advanced-permissions-setup#wiki-pex-inheritance <-- Read this. Also, after you do that, clean up your redundant nodes.

Here is an example on how it should look with proper inheritance set up. I set this up just today on a test server.

The Default Group has no perms other then Chat.

The Admins Group has all the full perms for my plugins, with the exception of /reload because it never works the way it's supposed to.

The Members group has all the basic perms, and this is where I put all the Items I wanted to block.

-modifyworld.blocks.(place|interact|destroy) <-- this format stops players not only from placing blocks but also from interacting with them. It's good to use if you want to have other groups of players with access to these items, but do not want lower groups setting off some TnT an Admin placed.

-modifyworld.items.(craft|drop|have|pickup) <-- This will not only stop people from crafting the items, it will keep them from even picking up items dropped by other players. This is a must if you are not banning the items to all players. If they can not make it themselves they will get some one to do it for them. The Have portion also prevents them from having items, even if you '/give [user] [item]' the item will just vanish from the players inventory they try to use it.

You will see I have some item ID's that I also had in the Blocks node. This will keep players from wasting their time crafting blocks they can not even place.

My VIP group is for those players I trust a bit more. Here I read added a few items that I blocked in the Members Group. Because I have Members listed in the Inheritance the VIP group will get all the perms from both groups and I do not have to have all the perms listed a second time.

My Moderator group is just a place holder right now because it's only currently a test server and I I do not need mods for what I can do myself from the Admin group.

Now the way this all works is like this.

PlayerA in the VIP group uses the /afk command. PEX looks at the Players Permissions for essentials.afk. It does not see it in his permissions, but it does see he is in the VIP group. So next it Checks the VIP group Permissions. Still it does not see it, but it sees that VIP has the parent group Members. Checking that group it finds the permission and gives PlayerA Access to the /afk command.

Now lets say PlayerA wants to craft item 127. It will follow the same path it did before, but this time it finds the permission allowing it in the VIP group and it stops looking there.

The best way to test if your permissions are working for each group is to set yourself to each group and try out the items. if you have access to the console try using the /give command to see if it properly removes the items or prevents you from placing them. Be sure to /deop yourself or else it will not work.

groups:

  default:

    default: true

    options:

      rank: '1000'

    permissions:

    - modifyworld.chat

  Admins:

    prefix: '&0(&4Admins&0)&7 '

    permissions:

    - worldguard.*

    - worldedit.*

    - dynmap.*

    - essentials.*

    - -bukkit.command.reload

    - bukkit.command.*

    - modifyworld.*

    - permissions.*

    options:

      rank: '1'

  Member:

    options:

      rank: '900'

    prefix: '&0(&8M&7ember&0)&7 '

    permissions:

    - essentials.signs.use.warp

    - essentials.motd

    - essentials.list

    - essentials.me

    - essentials.rules

    - essentials.afk

    - essentials.msg

    - essentials.compass

    - essentials.getpos

    - essentials.depth

    - essentials.help

    - -modifyworld.items.(craft|drop|have|pickup).(x126:3|x126:4|x126:10|x126:11|x127|x128|x137:3|x150:1|x169|x237|x239|x27527:?*|x27530:?*|x27531:?*|x27532:?*|x27533:?*|x27534:?*|x27535:?*|x27536:?*|x27538:?*|x27543:?*|x27544:?*|x27545:?*|x27547:?*|x27548:?*|x27555:?*|x27556:?*|x27564:?*|x27565:?*|x27566:?*|x27568:?*|x27569:?*|x27570:?*|x27572:?*|x27573:?*|x27574:?*|x27579:?*|x27580:?*|x27581:?*|x27582:?*|x27583:?*|x27584:?*|x27593:?*|x27594|x30208:?*|x30214:?*|x30215:?*)

    - -modifyworld.blocks.(place|interact|destroy).(x126:3|x126:4|x126:10|x126:11|x127|x128|x137:3|x150:1|x169|x237|x239)

    - modifyworld.*

  VIP:

    options:

      rank: '800'

    prefix: '&0(&eVIP&0)&7 '

    inheritance:

    - Member

    permissions:

    - modifyworld.items.(craft|drop|have|pickup).(x127|x169|x239|x27532:?*|x27534:?*|x27536:?*|x27574:?*|x27583:?*|x27593:?*|x27594:?*)

    - modifyworld.blocks.(place|interact|destroy).(x127|x169|x239)

    - dynmap.hide.self

    - dynmap.show.self

    - essentials.back.ondeath

    - essentials.suicide

  Moderator:

    options:

      rank: '100'

    prefix: '&0(&1Moderator&0)&7 '

    inheritance:

    - VIP

    permissions:

    - dynmap.hide.others

    - dynmap.show.others

users:

  ChibiCD:

    group:

    - Admins

    permissions:

    - permissions.*

  PlayerA:

    group:

    - VIP

Link to comment
Share on other sites

Pex wont really support damagevalue from items provided from Tekkit (thats whats after the :). So if you wanna block 126:3 from placing, you have to block 126, with all other items that will involve.

i found another plugin called noitem works great

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...