NoItem
NoItem v3.1.0 - DERP.
What does it do?
NoItem aims to allow server admins to restrict almost any aspect of players actions via permissions. Things such as placing and breaking blocks, interacting with levers and buttons, opening chests and furnaces, even breeding animals can be controlled! There are of course other things that can be restricted as well. For a complete list, check the wiki!
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Downloads:
http://dev.bukkit.org/server-mods/noitem/files/
Beta/Development builds may contain bug fixes, but also may contain new bugs
So before you report a bug, check and see if a new build has fixed it!
Feature List
NoItem can restrict the following:
- Crafting certain items
- Holding certain items
- Having certain items
- Brewing certain potions
- Cooking certain items
- Picking up certain items
- Dropping certain items
- Placing certain blocks
- Breaking certain blocks
- Wearing certain armors
- Interacting with certain items / entities in general
- Left clicking certain items / entities
- Right clicking certain items / entities
- Using certain tools. (right click / left click / in general)
Commands
Command | Permission | Description |
---|---|---|
/noitem | noitem.admin | Prints current NoItem version |
/noitem reload | noitem.command.reload | Reloads the configuration |
/noitem debug toggle | noitem.command.debug.toggle | Toggle debugging |
/noitem debug dump | noitem.command.debug.dump | Write debug file to the servers base directory |
Videos
FAQ
Q: How do I...
A: Check the wiki! If you are still confused and have tried to figure it out, ask in the comments.
Q: There is an error in the console or something is not working as expected
A: Submit a bug report to github! (Link above) DO NOT post the error in the comments section! Also be sure to include the error in your report.
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
NoItem 4.X - It's Aliiiveeee!
NoItem 4.X is currently in development and is not finished. There will be bugs, there will be a lack of certain features, there will be questions.
Here is the link to the information page: https://github.com/nala3/Noitem4/wiki
Here is the link to the development builds: http://ci.worldoftomorrow.net/ (Also on the wiki page)
Submit bug reports to the github bug tracker.
Currently known issues are:
- None - Please report any found!
Currently Implemented Features (also their permissions)
- break
- place
- craft
- open
- cook
- pickup
- drop
- hold
- interact.object
- interact.entity
- use - is buggy and needs refinement
Permissions format:
- noitem.action.<action>.<object>[.secondaryValue]
- noitem.object.<object>[.secondaryValue].<action>
- Asterisk values are supported for specific actions and objects. not for all actions or objects at once. (e.g. noitem.action.* is not supported, but noitem.action.break.* is)
I am open to suggestions on what other action to implement on top of the ones I am currently working on.
A wild button appears!
You use "CLICK". Its super effective!
Every time I try load the plugin using /reload it rewrites the config file with a origional fie, overwriting my changes. Any tips?
@nala3
Its not a a bug. I just cant ban an item without the meta data. I love this plugin it has fixed many errors in my server. I was just wandering if There is a way I can just ban 128 and not 128:1 I will pay you for a private fix
@milkymilkway
could be a bug. Please submit a bug report and I will look into it, thanks.
Im trying to ban alchemical chest in my server. See but when I add noitem.nohold.128 it also baned 128:1 how can I just ban 128?
Nevermind, fixed. Had to add an 'x' before the ID.
@Tetdoss
LOL what do you need that for
@nala3
if you add in a variable for items ids everything will work fine. tekkit has all item ids working with plugins such as this one and worldedit/modifyworld
@nala3 Is there a way you can let the Server Owners like me set which ID's to check in the config? Or something along the lines of that ?
With out the ability to limit Custom Machines, my Tekkit Server ID falls apart.
@Synth6983
I don't really have a non-hackish way to detect custom machines and things. The best I could do is check it using the block-id's. But the problem with that is, if it is not a Tekkit server, but is still modded, there could be another block with the same ID. This is something I hope to eventually solve, but until then there is really nothing that can be done.
@nala3
Hey, im running a Tekkit server, and im trying to limit what people can do to make classes. IE Engineer, Electrician, Smithy, etc etc... Problem being I have noitem.nocook.265, for iron ingots to not be smelted into refined ingots, on a test permission group, and this only works for normal furnaces, but not on an induction or electric furnace.
Does your plugin recognize IC2 machines, like the macerator, furnaces, and compressors? If so how do I limit them. If not do you plan to implement this eventually?
@kenzishi
Yes you can limit non-vanilla items, however mod-loader names items like the RedMatter Morning Star, for instance, as something like "x27573". So using data values for those items would be easier.
hello, i am trying to find out if this mod supports new items from other mods. aka i can limit a item not normally in minecraft? also if this is not possible then i would like to suggest it cause it would help a lot for creating custom jobs in the bigger mods, being able to make a miner use pick's and mining lasers,smith use the smithed items, electrician use wires/cables/redstone... you get the point.
thankyou in advance for any info =)
Thank you :)
@Tetdoss
I will put that on my todo list. Thanks for the suggestion. :)
Hello nala, Can I prevent to drink a potion with right click ? It should be useful (for me :D ) !
I want we can use only left-click with a potion :D
@HyveMMO
I really need to get some proper documentation going >.>
Anyway, what your asking for can be done with modifyworld, because it only allows the actions if the player does have the permission node, although I don't think it is as specific as holding items.
Now what your saying could be possible, especially with regex permissions. So you could do "- noitem.nohold.(1-9999)" and that would effectively stop them from holding any item, and then remove the specific permission node, to let them hold that item.
NoItem works with any item, either by its name (lower case and underscores removed) or its ID. Specific data values are also supported for items as wel, this means you could, for example, let somebody be able to place cobblestone slabs, but not wooden ones.
Quick Question & Update:
Firstly, Thanks Nala3 for helping me with the issue I had prior to my permissions not functioning. It was an issue with Server Operator not actually being taken away from me when I used the De-OP Command.
My question today is this. PermissionsEx allows to negate permissions, meaning I can disallow certain functions. My question is whether or not I could use the idea to disallow all crafting, use & holding of anything, then negate the things I want them to use.
I love this plugin, and I don't want to find alternatives at this time. Something along these lines is what I am thinking:
Player: - noitem.noitems - -noitem.hold.stick
Would this allow the player to then hold the stick, or does the noitems only work with certain items, and not effect things like holding? I would test myself, but I am not able to get to my permissions file just yet, and I am hoping you could answer before I am able.
Thanks in advance!
@jhs232
yes, but it currently doesn't work with crafting table III, or automatic crafting tables. I am still trying to figure out how to properly implement those.
Would it be possible to deny crafting some tekkit items with this?
@jccramer
as do I xD