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!
@nala3 good I hope to see it running correctly this time
@AeternaesMundis
If your talking about the reverse thing, just use ModifyWorld for that.
Is in this version my dear feature included?
@jccramer
This is a known and fixed issue with the beta build, the final version will be released later today, with all of that fixed and more!
hey I think we still cant place blocks when you download this plugin we can break them just not replace them please fix this soon it was working great untill i figured out we couldnt do anything with it I think it has something to do with the noitem.allitems node in permissions
@wfuller1
There are a lot of bugs with 2.0.5-Beta2 so if you are having problems that could be why as well. If you get the latest build off Jenkins, it is has a few major problems fixed.
@nala3
What do you mean with "really"? (I don't speak very well English...)
@nala3
Thanks for your reply. Hmm yeah, it seems like it could well be some form of conflict with Group Manager. I shall try it using PermissionsEX instead! It's probably about time we try a different Permissions plugin anyway.
@Sethimine
That would be great! (it's really hard to run minecraft, a server, eclipse, and chrome all at the same time on 4GB's of RAM xD )
@nala3
If you'd like, you can try it on mine, I'll give you our console info.
EDIT: or is it more complicated than that?
@Sethimine
Okay, this must just be for custom items, because I can't seem to replicate those problems with normal items... I'll try with a tekkit server now I guess
@nala3
Yes. I also added the permissions making so they couldn't pick up items, and it didn't give me a console message that time, but they were still able to pick it up.
@Sethimine
This is when somebody tries to craft an item and they are allowed to?
@nala3
Hi Nala, thanks for making the new beta. When a player (successfully) makes an item, it gives me this error:
012-06-29 14:38:06 [SEVERE] [NoItem] Something tried to check for a permission with a null stack. Report this to the author please!
Before, it wouldn't let them create the item, but it would give a huge list of errors, as you saw. Now it does, but it gives this error. Help, please, thanks!
EDIT: this is a copy of my permissions having to do with NoItem-
http://dev.bukkit.org/paste/5690/
@AeternaesMundis
1. Not yet 2. ..really..
@nala3
Hi again nala3! Another couple of questions:
1. Is in the version 2.0.5-Beta included the feature of inverse how the plugin works?
2. Is possible do the same with BlockBlock (inverse how the plugin works)?
Thanks
@wfuller1
What do you mean by adding it as a subgroup? Can I have an example? Because I just copied your permissions (Literally an exact copy->paste) over to my PermissionsEX permissions file, and it works fine. Even if I add myself to both LumberJack and Blacksmith, the negative nodes still work and let me craft tools. So it may be in issue with how GroupManager works, or I am just no understanding the problem
@Sethimine
well for custom items like that, you may need to add put an asterisk at the end of the permission, to include all data values for that tool. RedMatter tools in tekkit for example, are crafted already "damaged" in a sense. So to block somebody from crafting one (on the regular crafting table anyway) you would put 'noitem.nocraft.27564.* ' If you wanted to remove it, you would just put - -noitem.nocraft.27564.* for the donor. (At least in theory)
@nala3
That's awesome! thanks for the help. Speaking of permissions, would it allow us to give donors the ability to craft an item? We figure a donor isn't going to pay to grief our server so basically we'd have.
Regular: - permissions -noitem.nocraft.28763.1
Donor: inherits from Regular - permissions -noitem.craft.28763.1 or something? Would that work, or do you already have a way to handle that?
@nala3
@Sethimine
Okay, I am fairly confident I found the problem. It happens when the plugin fails over to vault when it does not know an item name. But since vault doesn't know it either, since it is a custom item, it returns null and throws an error.
I will have a new build out in an hour or so. (I'm currently reworking permission handling as well.)