How to disable certain blocks with world edit

Discussion in 'Bukkit Help' started by iCreepZz, Apr 18, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    iCreepZz

    My question is how do i disable certain blocks so people cant set it like for example: diamondore //set diamondore, or TNT //set 46. cuz ive seen this done on a server and i just wanted to know how cuz i dont want people on my server setting whole bunch of tnt. If anyone could help I would very much appreciate it!!!! :D

    Anyone???

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  2. Offline

    Killburner

    Set these blocks in your WorldEdit config.yml, under "disallowed-blocks:"

    I believe Ops can overide this list.
     
  3. Offline

    iCreepZz

    Well i did an i can still do //set 46 so can admins and so can mods

    groups:
    Guest:
    default: true
    permissions:
    - -bukkit.command.kill
    - essentials.spawn
    inheritance:
    - g:essentials_default
    - g:bukkit_default
    info:
    prefix: '&d[GUEST]'
    build: false
    suffix: ''
    Citizen:
    default: false
    permissions:
    - ultimatearena.player
    - essentials.help
    - essentials.afk
    - essentials.back
    - essentials.back.ondeath
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.chat.color
    - essentials.chat.format
    - essentials.chat.shout
    - essentials.chat.question
    - essentials.compass
    - essentials.depth
    - essentials.getpos
    - essentials.home
    - essentials.ignore
    - essentials.itemdb
    - essentials.kit
    - essentials.kit.tools
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.msg
    - essentials.msg.color
    - essentials.msg.format
    - essentials.nick
    - essentials.pay
    - essentials.ping
    - essentials.powertool
    - essentials.powertooltoggle
    - essentials.protect
    - essentials.seen
    - essentials.sethome
    - essentials.sethome.multiple
    - essentials.signs.use.*
    - essentials.signs.create.disposal
    - essentials.signs.create.mail
    - essentials.signs.create.protection
    - essentials.signs.create.trade
    - essentials.signs.break.disposal
    - essentials.signs.break.mail
    - essentials.signs.break.protection
    - essentials.signs.break.trade
    - essentials.suicide
    - essentials.time
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.list
    - essentials.worth
    inheritance:
    - default
    - g:essentials_builder
    - g:towny_builder
    info:
    prefix: '&2[Citizen] '
    build: true
    suffix: ''
    Moderator:
    default: false
    permissions:
    - worldedit.*
    - essentials.spawner.enderdragon
    - essentials.afk.kickexempt
    - essentials.ban
    - essentials.ban.notify
    - essentials.banip
    - essentials.broadcast
    - essentials.chat.url
    - essentials.chat.magic
    - essentials.clearinventory
    - essentials.delwarp
    - essentials.eco.loan
    - essentials.ext
    - essentials.fly
    - essentials.getpos
    - essentials.helpop.recieve
    - essentials.home.others
    - essentials.invsee
    - essentials.jails
    - essentials.jump
    - essentials.kick
    - essentials.kick.notify
    - essentials.kill
    - essentials.kit.*
    - essentials.msg.magic
    - essentials.mute
    - essentials.nick.color
    - essentials.nick.others
    - essentials.realname
    - essentials.seen.banreason
    - essentials.setwarp
    - essentials.signs.create.*
    - essentials.signs.break.*
    - essentials.spawner
    - essentials.spawner.*
    - essentials.thunder
    - essentials.time
    - essentials.time.set
    - essentials.protect.alerts
    - essentials.protect.admin
    - essentials.protect.ownerinfo
    - essentials.ptime
    - essentials.ptime.others
    - essentials.togglejail
    - essentials.top
    - essentials.tp
    - essentials.tp.others
    - essentials.tphere
    - essentials.tppos
    - essentials.tptoggle
    - essentials.unban
    - essentials.unbanip
    - essentials.weather
    - essentials.whois
    - essentials.world
    - essentials.world.*
    - groupmanager.listgroups
    - groupmanager.notify.other
    inheritance:
    - builder
    - g:essentials_moderator
    - g:bukkit_moderator
    - g:towny_moderator
    info:
    prefix: '&5[MODERATOR] '
    build: true
    suffix: ''
    Admin:
    default: false
    permissions:
    - falsebook.blocks.*
    - worldguard.*
    - ultimatearena.player
    - godPowers.*
    - log.*
    - worldedit.*
    - mobdisguise.*
    - vanish.standard
    - essentials.backup
    - essentials.essentials
    - essentials.setspawn
    - essentials.reloadall
    - essentials.plugin
    - essentials.*
    - groupmanager.mantogglevalidate
    - groupmanager.mansave
    - groupmanager.mangcheckp
    - groupmanager.manglistp
    - groupmanager.manucheckp
    - groupmanager.manulistp
    - groupmanager.mandemote
    - groupmanager.manpromote
    - groupmanager.manselect
    - groupmanager.manuadd
    - groupmanager.manudel
    - groupmanager.manwhois
    inheritance:
    - moderator
    - g:essentials_admin
    - g:bukkit_admin
    - g:towny_admin
    info:
    prefix: '&c[ADMIN] '
    build: true
    suffix: ''
    Owner:
    default: false
    permissions:
    - '*'
    inheritance:
    - admin
    info:
    prefix: '&b[Owner] '
    build: true
    suffix: ''

    those are my groups that i set up if that helps

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  4. To prevent blocks that are in the disallowed-blocks section of your world guard config from being used, you need to give users the negative permission node of: -worldedit.anyblock
     
  5. Offline

    iCreepZz

    so in permissions just add
    - worldedit.anyblock ???
     
Thread Status:
Not open for further replies.

Share This Page