Please add a way to disable enchantments.

Discussion in 'Archived: Plugin Requests' started by Timmie3054, Feb 13, 2012.

  1. Offline

    Timmie3054

    I personally hate enchantments, and I would love a plugin that can disable you from using enchantments. OR at least remove the fortune enchantment. In my opinion the fortune enchantment is to op for me. It makes diamonds to easy to attain. I can't have this.

    So please someone make a plugin to either remove enchantments all together. Or just fortune.

    Right now I removed the recipe for enchantment tables using Custom Stuff, but I really don't want to have Custom Stuff installed.
     
  2. Offline

    Refalm

    Just use PermissionSex and ModifyWorld to prevent players touching the enchantment table.
    No plugin needed.
     
    Torrent and Samkio like this.
  3. Offline

    XxPowerKingxX

    Code:
    @EventHandler(priority = EventPriority.NORMAL) 
    public void onBlockPlace(final BlockPlaceEvent e) {
    Block b = e.getBlock();
    if(b.getType() == Material.ENCHANTMENT_TABLE){
            b.setType(Material.AIR);
        }{
        }}
    Anyways, wrong part of the forum.
     
  4. Offline

    robin0van0der0v

    It is PermissionsEx. :$

    You must use the PlayerInteract-event, maybe there are already some Enchantment Tables in the world or if you wanna use them for decoration. ;)
     
  5. Offline

    XxPowerKingxX

    I only disabled placing of the block, you can also use playerinteract to stop interaction with it.
     
  6. Offline

    Torrent

    Excuse me?
     
    nunber1_Master and Samkio like this.
  7. Offline

    number1_Master

    This is in the wrong place. This should be moved to plugin requests. @Moderators ?

    Ahh, i get its PermissionsEx which looks like PermissionSex
    I just got that, i feel stupid...

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

    craztheking

    Wrong section post Here!
     

Share This Page