NoCraft

NoCraft

Overview

The intention for this plugin is to allow server admins and anyone with certain permissions to be able to add minecraft items to a "banlist". This banlist is stored in the NoCraft.yml and whatever items are in the banlist cannot be crafted by regular users. If the user attempts to craft an item that is on the banlist then the item they are trying to craft will disappear, and the items they used to craft the item will remain.

Commands

To add an item to the banlist use this command: /NoCraft add [name of item] - Note: the plugin will prevent you from adding duplicate items and from adding items that don't exist in minecraft

You can remove items from the banlist by using this command: /NoCraft remove [Item Name] - Note: if the item does not exist in the banlist you will get a message saying "That item does not exist in the banlist"

In case you want to completely erase the banlist quickly you can use /NoCraft clear to clear the banlist - Note: you cannot reverse this

If you want to view the banlist you can do /NoCraft list [page number] - Note: each page holds 10 items

Permissions

There is a permission for the NoCraft commands and that is: NoCraft.commands Anyone with that permission node will be able to use all four NoCraft commands

If you want to allow a specific player[s] to craft items that are on the banlist give them this permission: NoCraft.AllItems Anyone with that node can craft all items even if those items are on the banlist

If you want a player to be able to craft some items that are on the banlist then do this: NoCraft.[name of banned item] For example, lets say that "wood_door" was on the banlist, how would you allow certain players to craft this item? Like this, NoCraft.wood_door That would allow the player to craft a "wood_door" even though it's on the banlist, however they still can't craft the other items on the banlist

Smelting

With the NoCraft v1.1 (waiting to be approved) and up you are able to keep people from smelting items exactly the same way you keep people from crafting items.

However, because of the way bukkit handles furnaces there are a few drawbacks that I wish I could fix but haven't been able to:

1. There are no permissions :(, I know that this is bad and I tried to find a way to do it but couldn't

2. If a player cannot smelt an item in a furnace it still uses up fuel such as coal, wood etc.

I understand that these are major drawbacks and I spent over an hour trying to conquer them. I haven't given up, but this is what I have so far. Stay tuned and I may be able to add permissions (pretty difficult)

Conclusion

So, this plugin gives the owner control over items that can and cannot be crafted by players. As a result you can keep players from crafting items that could be harmful to your server. One thing I purposefully didn't add was keeping players from using items on the banlist. They can still use items that are on the banlist. They just can't craft items that are on the banlist. Perhaps I'll add a toggle feature for that at a later date

Lastly, if you have any questions or want to report a possible bug please feel free to ask


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    59690
  • Created
    Jun 21, 2013
  • Last Released File
    Oct 30, 2013
  • Total Downloads
    10,554
  • License

Categories

Members

Recent Files

Bukkit