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!
Im looking for a plugin for a 1.6.4 mcpc modded server that can restrict crafting in mod workbenchs. On the wiki it says custom blocks not enabled for 3.0.X, so my question is, can I use the CB 1.7.2 version on my 1.6.4 server to restrict crafting certain items in modded crafting tables?
Error with latest Dev Build, though doesn't seem to -break- anything just spamming up the console.
10:07:21 PM CONSOLE: ERROR]: Could not pass event InventoryClickEvent to NoItem v3.0.9
10:07:21 PM CONSOLE: Source) ~[?:?]
10:07:21 PM CONSOLE: Source) ~[?:1.7.0_45]
10:07:21 PM CONSOLE: Source) ~[?:1.7.0_45]
Bukkit Version: Dev Build 3023 (Latest at this moment of writing)
NoItem Version: Dev Build v3.0.9
NoCheatPlus: 3.10.8-RC-sMD5NET-b664 (Seems the two may be related)
How I can disable invisibility potions? Keep exp option?
Good Plugins thanks!
What's the difference between nohave and nopickup?
Been testing it out and I can still get nohave items from chests. Is there away to fix this? Thanks.
HI
version v3.1.0 not working properly minecraft 1.6.4, eg. permission no craft > dozen times remove item from Crafting Table and item craft :D
v3.0.7 with minecraft 1.6.4 this same bug, crafting and speed pres shift...
Just a quick status update for all ye good folks who care.
I am still working on the next update to 4.x and am currently implementing brewing control. Progress is slow though, it is a rather complex task to do and requires me to hook into some CB/NMS code that is undocumented and tricky to understand. However I am still making headway and once I am finished with brewing, I just have to block players using things before the update it released.
In other news, I think I have perfected preventing an item being held, a task which is deceptively simple and quickly becomes more involved. However due to a long standing bug in craftbukkit and another newer one which may be client based, it is partly broken, but only if you know the glitches.
"What are the glitches though!?" If I told you, I would have to beat you with a slim jim.
At any rate, I have submitted a PR to the CB repository with a fix for one of them but it could take a while for them to merge it (if they do at all).
Anywho, thank you all for your continued support!
I'm sorry I MCPC on 1.6.4. My mistake so I will not update
@Ogrodnik95
Update.
Console spam is message: http://pastebin.com/Jmprss45
MCPC+: Last successful build (#44) Noitem: v3.0.7
@Arshak13
Issue: Forgot to Update
New error: org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:318) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_51] 16.02 20:40:42 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_51] 16.02 20:40:42 [Server] INFO at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) [?:?] 16.02 20:40:42 [Server] INFO at net.worldoftomorrow.noitem.events.Listeners.onInventoryClick(Listeners.java:67) [?:?] 16.02 20:40:42 [Server] INFO at net.worldoftomorrow.noitem.events.Handlers.handleNoWearInvClick(Handlers.java:406) [?:?] 16.02 20:40:42 [Server] INFO Caused by: java.lang.NullPointerException 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:452) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:683) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInWindowClick.handle(SourceFile:10) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInWindowClick.a(SourceFile:32) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1391) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) [craftbukkit_beta.jar:git-Spigot-1260] 16.02 20:40:42 [Server] INFO org.bukkit.event.EventException 16.02 20:40:42 [Server] ERROR Could not pass event InventoryClickEvent to NoItem v3.0.7-SNAPSHOT
The console spam this message:
http://pastebin.com/8DyCs0py
Spigot: Last build
Noitem: Last build (dev)
@xXxMC_LegendxXx
That is another error that has crept in somewhere along the way. It seems as though NoItem doesn't hook into Vault onEnable like it's supposed to. Doing /noitem reload does seem to get noitem and vault working together again though.
Im getting new error now, but it repeats every second so i get like 100 of this for 1 minute. Error
Actually i believe it's fixed now.
@lANTHONYl
Yeah, I kinda took a break for a while too. I'm doing some more work on 4.x now, but there is just so much to do before it's ready to be uploaded here x_x
@nala3
I put my blinders on for the last 2 weeks and was focusing on some other things. Thanks for taking a look at that stuff nala and for pushing an update. I still haven't updated my econ server from 1.6.4 so i suppose now is as good a time as any :)
@nala3
My errors seems to be fixed!
Thanks!
Ip: play.glaciermc.com
@nala3
Ah i believe it's fixed now. Thanks.
@xXxMC_LegendxXx
@lANTHONYl
Also, if it works and fixes the errors, let me know so I can just release it as a new version
@lANTHONYl
Pushed a couple updates to the repo to possibly fix this issue. No promises that it fixes it and doesn't break anything. I didn't actually test it, however it's worth a shot. http://ci.worldoftomorrow.net/job/NoItem%203.X/6/