Jump to content

Banning Items/Blocks


Recommended Posts

So after searching the forums and reading over a fairly recent post about banning items I still can't get the items/blocks I want banned from being created, laid, interacted with, used, etc.

Can anyone look this over and tell me what I'm doing wrong and point me in the right direction?

I'm trying to ban the following items:

Alchemical Chest (Not be able to lay, but still be able to use as an ingredient)

Alchemical Tome

Abyss Helmet

Block Breaker

Black Hole Chest

Black Hole Band

Crafting Table III

Computer Craft items/blocks

Deployer

Destruction Catalyst

Dynamite

Dark Matter Pedestal

Dark Matter Hammer

Evertide Amulet

Flint & Steel

Filler

Gravity Greaves

Hyperkinetic lens

Hurricane Boots

Infernal Armor

Industrial TnT

Mercurial Eye

Mining Lasers

Nuclear Reactor

Nova Catalyst/Catacylsm

Red Matter Hammer

REP

Rings of Arcana

Ring of Ignition

Terraformer

Teleport Tether

TnT

Void Ring

Volcanite Amulet

Watch of Flowing Time

Wireless Tracker

Wireless Transceiver

Wireless Sniffer

Wireless Remote

Wireless Map

World Anchor


 

Modifyworld/config:


enable: false

itemRestrictions: true

informPlayers: false

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



*I added the bottom three lines since they weren't there previously and someone mentioned that it must be included in another thread

 

PermissionsEx/permissions:


groups:

  default:

    default: true

    permissions:

    - essentials.afk

    - essentials.spawn

    - essentials.afk.kickexempt

    - essentials.depth

    - essentials.getpos

    - essentials.help

    - essentials.helpop

    - essentials.ignore

    - essentials.info

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.rules

    - essentials.delhome

    - essentials.home

    - essentials.sethome

    - essentials.tp

    - essentials.tp.others

    - essentials.tpa

    - essentials.tpaccept

    - essentials.tpahere

    - essentials.tpdeny

    - essentials.tphere

    - modifyworld.*

    - spamguard.receivemessages

    - -modifyworld.items.(craft|drop|have|pickup).(x27535:?|x126:4|x27531:?|x194:2|x27583:?|x27532:?|x259:?|x27538:?|x27530:?|x207|x133|x133:1|x134|x134:1|x134:2|x208|x208:1|x208:2|x209:1|x216|x216:1|x216:2|x216:3|x4256|x1333|x1333:1|x237|x126:10|x126:11|x27533:?|46|x239|x7270|x6361|x150|x27527:?|x6409|x6359|x6358|x6360|x214|x27584:?|x30213|x30214|x30215|x6362|x30208:?|x27593:?|x27580:?|x27579:?|x27581:?|x27582:?|x150:1|x155|x27594|x127|x179|x250:15|x246:5|x7310|x149|x27555|x27570)

    - -modifyworld.blocks.(place|interact|destroy).(x126:4|x194:2|x207|x133|x133:1|x134|x134:1|x134:2|x208|x208:1|x208:2|x209:1|x216|x216:1|x216:2|x216:3|x237|46|x239|x7270|x6361|x150|x6409|x6359|x6358|x6360|x214|x30213|x30214|x30215|x6362|x128|x155|x127|x179|x250:15|x246:5|x7310|x149)

    options:

      rank: '1000'

    prefix: '&e[&ePlayer&e]&f '

  Owner:

    options:

      rank: '1'

    prefix: '&4[&4Owner&4]&b '

    inheritance:

    - Admin

    permissions:

    - worldguard.*

    - worldedit.*

    - worldborder.*

    - spamguard.*

    - essentials.*

    - bukkit.command.*

    - modifyworld.*

    - permissions.*

  Trusted:

    options:

      rank: '900'

    prefix: '&d[&dTrusted&d]&3 '

    inheritance:

    - default

    permissions:

    - modifyworld.*

  Donator:

    options:

      rank: '800'

    prefix: '&5[&5Donator&5]&3 '

    inheritance:

    - Trusted

    permissions:

    - modifyworld.*

  VIP:

    options:

      rank: '700'

    prefix: '&a[&aVIP&a]&3 '

    inheritance:

    - Donator

    permissions:

    - modifyworld.*

  Moderator:

    options:

      rank: '600'

    prefix: '&1[&1Moderator&1]&3 '

    inheritance:

    - VIP

    permissions:

    - modifyworld.*

    - chatmanager.*

    - essentials.bigtree

    - essentials.feed

    - essentials.fly

    - essentials.god

    - essentials.hat

    - essentials.heal

    - essentials.heal.cooldown.bypass

    - essentials.kit

    - essentials.kit.*

    - essentials.repair

    - essentials.repair.enchanted

    - essentials.time

    - essentials.tree

    - essentials.afk.others

    - essentials.compass

    - essentials.getpos.others

    - essentials.helpop.receive

    - essentials.itemdb

    - essentials.msg.color

    - essentials.msg.format

    - essentials.msg.magic

    - essentials.msg.url

    - essentials.near

    - essentials.nick

    - essentials.nick.color

    - essentials.nick.format

    - essentials.nick.magic

    - essentials.msg

    - essentials.msg.color

    - essentials.msg.format

    - essentials.msg.magic

    - essentials.msg.url

    - essentials.seen

    - essentials.seen.banreason

    - essentials.seen.extra

    - essentials.suicide

    - essentials.ban

    - essentials.ban.notify

    - essentials.ban.offline

    - essentials.banip

    - essentials.broadcast

    - essentials.clearinventory

    - essentials.deljail

    - essentials.ext

    - essentials.gc

    - essentials.invsee

    - essentials.jails

    - essentials.kick

    - essentials.kick.notify

    - essentials.mute

    - essentials.setjail

    - essentials.socialspy

    - essentials.tempban

    - essentials.tempban.offline

    - essentials.thunder

    - essentials.togglejail

    - essentials.togglejail.offline

    - essentials.unban

    - essentials.vanish

    - essentials.weather

    - essentials.back

    - essentials.back.ondeath

    - essentials.home.others

    - essentials.jump

    - essentials.sethome.multiple

    - essentials.sethome.multiple.unlimited

    - essentials.sethome.others

    - essentials.setwarp

    - essentials.top

    - essentials.tpo

    - essentials.tpohere

    - essentials.tppos

    - essentials.teleport.cooldown.bypass

    - essentials.teleport.timer.bypass

    - essentials.tptoggle

    - essentials.warp

    - essentials.warp.*

    - essentials.warp.list

    - essentials.warp.otherplayers

    - essentials.chat.color

    - essentials.chat.format

    - essentials.chat.magic

    - essentials.chat.question

    - essentials.chat.shout

    - essentials.chat.spy

    - essentials.chat.url

    - essentials.joinfullserver

    - essentials.protect.alerts

    - spamguard.*

    - worldborder.list

    - worldguard.*

    - worldedit.selection.pos

    - worldedit.wand

    - worldedit.selection.hpos

    - worldedit.wand.toggle

    - worldedit.selection.size

    - worldedit.snow

    - worldedit.thaw

    - worldedit.fixlava

    - worldedit.fixwater

    - worldedit.extinguish

    - worldedit.butcher

    - worldedit.green

    - worldedit.drain

    - bukkit.command.tell

    - bukkit.command.kill

    - bukkit.command.me

    - bukkit.command.help

    - bukkit.command.kick

    - bukkit.command.ban.player

    - bukkit.command.ban.list

    - bukkit.command.unban.player

    - bukkit.command.ban.ip

    - bukkit.command.teleport

    - bukkit.command.list

    - bukkit.command.say

    - bukkit.command.toggledownfall

  Admin:

    options:

      rank: '500'

    prefix: '&c[&cAdmin&c]&b '

    inheritance:

    - Moderator

    permissions:

    - modifyworld.*

    - essentials.break

    - essentials.heal.others

    - essentials.list.hidden

    - essentials.nick.others

    - essentials.realname

    - essentials.whois

    - essentials.clearinventory.others

    - essentials.kill

    - essentials.unbanip

    - essentials.list.hidden

    - essentials.teleport.hidden

    - essentials.vanish.see

    - essentials.world.<worldname>

    - essentials.

    - coreprotect.*

Thanks!

Link to comment
Share on other sites

My pex groups are totally opposite of this (admin to default and yours is default to admin). However, when we need to block a permission node (or items like you are) they're the very first permissions in each group. Your modifyworld.* is before your - -modifyworld.whatever.

Again, my pex groups go opposite of yours so maybe it's different and maybe it doesn't matter at all (probably not), but I think you should try switching the order of your modifyworlds. I am pretty certain this will fix your problem.

Link to comment
Share on other sites

I tried switching around the groups like you have yours (admin -> default) and I moved the the modifyworld.* permission below the -modifyworld.items/blocks, but I was still able to create, lay, and interact with the items.

Here's the changes I made:

groups:

  Owner:

    options:

      rank: '1'

    prefix: '&4[&4Owner&4]&b '

    inheritance:

    - Admin

    permissions:

    - worldguard.*

    - worldedit.*

    - worldborder.*

    - spamguard.*

    - essentials.*

    - bukkit.command.*

    - modifyworld.*

    - permissions.*

  Admin:

    options:

      rank: '500'

    prefix: '&c[&cAdmin&c]&b '

    inheritance:

    - Moderator

    permissions:

    - modifyworld.*

    - essentials.break

    - essentials.heal.others

    - essentials.list.hidden

    - essentials.nick.others

    - essentials.realname

    - essentials.whois

    - essentials.clearinventory.others

    - essentials.kill

    - essentials.unbanip

    - essentials.list.hidden

    - essentials.teleport.hidden

    - essentials.vanish.see

    - essentials.world.<worldname>

    - essentials.

    - coreprotect.*

  Moderator:

    options:

      rank: '600'

    prefix: '&1[&1Moderator&1]&3 '

    inheritance:

    - VIP

    permissions:

    - modifyworld.*

    - chatmanager.*

    - essentials.bigtree

    - essentials.feed

    - essentials.fly

    - essentials.god

    - essentials.hat

    - essentials.heal

    - essentials.heal.cooldown.bypass

    - essentials.kit

    - essentials.kit.*

    - essentials.repair

    - essentials.repair.enchanted

    - essentials.time

    - essentials.tree

    - essentials.afk.others

    - essentials.compass

    - essentials.getpos.others

    - essentials.helpop.receive

    - essentials.itemdb

    - essentials.msg.color

    - essentials.msg.format

    - essentials.msg.magic

    - essentials.msg.url

    - essentials.near

    - essentials.nick

    - essentials.nick.color

    - essentials.nick.format

    - essentials.nick.magic

    - essentials.msg

    - essentials.msg.color

    - essentials.msg.format

    - essentials.msg.magic

    - essentials.msg.url

    - essentials.seen

    - essentials.seen.banreason

    - essentials.seen.extra

    - essentials.suicide

    - essentials.ban

    - essentials.ban.notify

    - essentials.ban.offline

    - essentials.banip

    - essentials.broadcast

    - essentials.clearinventory

    - essentials.deljail

    - essentials.ext

    - essentials.gc

    - essentials.invsee

    - essentials.jails

    - essentials.kick

    - essentials.kick.notify

    - essentials.mute

    - essentials.setjail

    - essentials.socialspy

    - essentials.tempban

    - essentials.tempban.offline

    - essentials.thunder

    - essentials.togglejail

    - essentials.togglejail.offline

    - essentials.unban

    - essentials.vanish

    - essentials.weather

    - essentials.back

    - essentials.back.ondeath

    - essentials.home.others

    - essentials.jump

    - essentials.sethome.multiple

    - essentials.sethome.multiple.unlimited

    - essentials.sethome.others

    - essentials.setwarp

    - essentials.top

    - essentials.tpo

    - essentials.tpohere

    - essentials.tppos

    - essentials.teleport.cooldown.bypass

    - essentials.teleport.timer.bypass

    - essentials.tptoggle

    - essentials.warp

    - essentials.warp.*

    - essentials.warp.list

    - essentials.warp.otherplayers

    - essentials.chat.color

    - essentials.chat.format

    - essentials.chat.magic

    - essentials.chat.question

    - essentials.chat.shout

    - essentials.chat.spy

    - essentials.chat.url

    - essentials.joinfullserver

    - essentials.protect.alerts

    - spamguard.*

    - worldborder.list

    - worldguard.*

    - worldedit.selection.pos

    - worldedit.wand

    - worldedit.selection.hpos

    - worldedit.wand.toggle

    - worldedit.selection.size

    - worldedit.snow

    - worldedit.thaw

    - worldedit.fixlava

    - worldedit.fixwater

    - worldedit.extinguish

    - worldedit.butcher

    - worldedit.green

    - worldedit.drain

    - bukkit.command.tell

    - bukkit.command.kill

    - bukkit.command.me

    - bukkit.command.help

    - bukkit.command.kick

    - bukkit.command.ban.player

    - bukkit.command.ban.list

    - bukkit.command.unban.player

    - bukkit.command.ban.ip

    - bukkit.command.teleport

    - bukkit.command.list

    - bukkit.command.say

    - bukkit.command.toggledownfall

  VIP:

    options:

      rank: '700'

    prefix: '&a[&aVIP&a]&3 '

    inheritance:

    - Donator

    permissions:

    - modifyworld.*

  Donator:

    options:

      rank: '800'

    prefix: '&5[&5Donator&5]&3 '

    inheritance:

    - Trusted

    permissions:

    - modifyworld.*

  Trusted:

    options:

      rank: '900'

    prefix: '&d[&dTrusted&d]&3 '

    inheritance:

    - default

    permissions:

    - modifyworld.*

  default:

    default: true

    permissions:

    - -modifyworld.items.(craft|drop|have|pickup).(x27535:?|x126:4|x27531:?|x194:2|x27583:?|x27532:?|x259:?|x27538:?|x27530:?|x207|x133|x133:1|x134|x134:1|x134:2|x208|x208:1|x208:2|x209:1|x216|x216:1|x216:2|x216:3|x4256|x1333|x1333:1|x237|x126:10|x126:11|x27533:?|46|x239|x7270|x6361|x150|x27527:?|x6409|x6359|x6358|x6360|x214|x27584:?|x30213|x30214|x30215|x6362|x30208:?|x27593:?|x27580:?|x27579:?|x27581:?|x27582:?|x150:1|x155|x27594|x127|x179|x250:15|x246:5|x7310|x149|x27555|x27570)

    - -modifyworld.blocks.(place|interact|destroy).(x126:4|x194:2|x207|x133|x133:1|x134|x134:1|x134:2|x208|x208:1|x208:2|x209:1|x216|x216:1|x216:2|x216:3|x237|46|x239|x7270|x6361|x150|x6409|x6359|x6358|x6360|x214|x30213|x30214|x30215|x6362|x128|x155|x127|x179|x250:15|x246:5|x7310|x149)

    - essentials.afk

    - essentials.spawn

    - essentials.afk.kickexempt

    - essentials.depth

    - essentials.getpos

    - essentials.help

    - essentials.helpop

    - essentials.ignore

    - essentials.info

    - essentials.list

    - essentials.mail

    - essentials.mail.send

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.rules

    - essentials.delhome

    - essentials.home

    - essentials.sethome

    - essentials.tp

    - essentials.tp.others

    - essentials.tpa

    - essentials.tpaccept

    - essentials.tpahere

    - essentials.tpdeny

    - essentials.tphere

    - modifyworld.*

    - spamguard.receivemessages

    options:

      rank: '1000'

    prefix: '&e[&ePlayer&e]&f '

Link to comment
Share on other sites

Hey, I just got everything working/blocked on my server with Pex/WorldGuard.

I noticed your ModifyWorld config has "enable: false". That does need to be true then all of your item codes will work. I copy/pasted your lines and they are fine.

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...