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!
-
View User Profile
-
Send Message
Posted Jan 19, 2013Speaking of the logging... Setting the notify values to false in the config.yml players are still notified when something is blocked.
And the lag issues aren't only when dealing with blocks... Even scrolling through the hotbar while having restricted (nohold) items in it shoots the cpu upto 65%. That's just one person doing that. I'm doing what i can to test and read the source comparing it to other opensource plugins that do the same thing (ModifyWorld), but i'm not a java coder, so most of my insights are uneducated guesses :/ It looks like your has() functions read the config.yml file on every action to see if whitelist is enabled. So i tested this by setting PermsAsWhiteList: false while the server is running (i use true normally), and logged out/in but apparently the data is cached because restrictions were still in effect. Idk, i'm doing what i can... Praying to the java gods, asking others for help. A friend just forked NoItem and is going to look into the situation... see if he can find a solution or fix. Hopefully we can get this all ironed out and everyone can benefit :)
-
View User Profile
-
Send Message
Posted Jan 19, 2013maybe also you could add some config options to disable parts of the plug. I want to restrict item use crafting and enchanting but not block breaking and placing. That might limit some of the overhead of the plug under some conditions. of course im an idiot when it comes to coding so i should shut up now.
-
View User Profile
-
Send Message
Posted Jan 19, 2013ok no item is definatly causing major issues. i just spent 8 hours pulling my 75 plug server down 1 plug at a time untill i located the plug responsible for the unplayable lag conditions occuring on a perfectly healthy system. I eventually ended up at no item and after turning the debug on saw the lag spikes of 2 to 10 ticks occuring centered around player activity. Discoved the amount of logging going on when a player is doing anything this plug is logging an action you multiply that by 10 players you need 2 servers to keep up with the load. as soon as i removed no item the problem went away. unfortuantly so did my rank controls so that kinda sucks. I wouls think that one way this could be improved is for a disable feature when the person is in a world guard region that block place/break events are ignored, that would cut some of it down.
-
View User Profile
-
Send Message
Posted Jan 18, 2013@nala3
I didn't really realize how bad the cpu usage was until i had a player on mining. I am not sure if the issue is with NoItem as i haven't yet done profiling, but i can say that with one person mining, there have been spikes of upto 95% cpu usage, and keeping steady at around 50% while one person is out mining.
-
View User Profile
-
Send Message
Posted Jan 18, 2013@HerobrineLivesHereOnTheForum
are you running as OP, or normal player?
-
View User Profile
-
Send Message
Posted Jan 18, 2013@lANTHONYl
I made sure that I had it on PermsAsWhiteList false. But then the same thing happend after I reloaded. And I have typed in the stuff that you shouldn't be able to craft.
-
View User Profile
-
Send Message
Posted Jan 18, 2013@HerobrineLivesHereOnTheForum When running in the default blacklist mode (PermsAsWhiteList: false) there are no restrictions at all. So you need to assign the noitem permissions for each action you want to deny. If you are running in whitelist mode (PermsAsWhiteList: true) then you need to assign the noitem permissions for each action you want to allow.
-
View User Profile
-
Send Message
Posted Jan 18, 2013I am having so many problems with this! :(
I can't stop crafting but instead I can't hold anything. Wear anything, interact anything and the whitelist is off. But you can still craft! :( Please help! :(
-
View User Profile
-
Send Message
Posted Jan 17, 2013@PvtJelo
Nope
-
View User Profile
-
Send Message
Posted Jan 17, 2013@nala3
Will do sir! Trying to get ready for beta testing on my server, so idk if i should pop the new version in, or stay the course for the moment... we'll see.
- EDIT -
I updated the google doc to include the new noitem.nobrew nodes. Damn... I suppose i should do the same for noitem.nouse.left/right and nointeract :/
-
View User Profile
-
Send Message
Posted Jan 17, 2013@nala3
Is this due not having enough RAM?
-
View User Profile
-
Send Message
Posted Jan 16, 2013@PvtJelo
Yes, NoItem does currently have lag issues... I am trying to find a way to resolve them. (Hopefully soon)
-
View User Profile
-
Send Message
Posted Jan 16, 2013Very useful plugin.
However when I use it, I my server says the whole time "Can't keep up...."
I do have a huge permission files with a lot of restrictions to what items to craft/use/..
-
View User Profile
-
Send Message
Posted Jan 15, 2013@lANTHONYl
Check out this latest commit! It includes the finished changes and improvements to the potion blocking feature. It also ignores pressure plate interactions (for now at least) to reduce lag.
http://ci.worldoftomorrow.net/job/NoItem-Dev/38/
You can see all the actual changes here. https://github.com/nala3/NoItem/commit/eda0c3668fbf2bd865c81d0e4c8098113961465c
-
View User Profile
-
Send Message
Posted Jan 14, 2013@vectrexevo
nouse.right and .left were introduced in the 3.0 series. So they are not included with v2.0.7
-
View User Profile
-
Send Message
Posted Jan 14, 2013I'm using version v2.0.7 beta2 on a tekkit server (3.1.2 \ 1.2.5) and I can not seem to get noitem.nouse.right. working no hold works, nouse works, nohave seems to work any help would be nice from anyone.
-
View User Profile
-
Send Message
Posted Jan 12, 2013@AirCougar
Give yourself the node "-noitem.*"
-
View User Profile
-
Send Message
Posted Jan 12, 2013@AirCougar
If you're using OP there might be some issues running in whitelist mode. I experience this, but haven't yet filed a ticket. If you are talking about the actual permissions:
and you are not running in whitelist mode, you will be denying everything. By default, NoItem runs in blacklist mode and allows everything.
-
View User Profile
-
Send Message
Posted Jan 12, 2013Hello , I have NoItem plugin on my Tekkit server. Everything works fine but if I ban some items I can still craft them in Automatic Crafting table or Project table. Is there any chance to fix that? Or is there possibility to ban those items in other than default crafting table ?
-
View User Profile
-
Send Message
Posted Jan 12, 2013As an admin with all perms, i cannot interact with any block, or pick anything up. Any idea on how to fix this?