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!
Got the following error on my server console.
http://pastebin.com/2y15LCHJ
@zachrywilsn
Okay, well let me know if you encounter anymore problems
@jpell1221
to which problem are you referring
@zachrywilsn
Sir, your player events with null players astound me. Should be fixed again.
@nala3
it happened again. i dont think its hurting anything though.
http://pastebin.com/vNGnQ1hz
Do you think the BETA build fixed the problem?
@zachrywilsn
Lol not really sure how in the heck you are managing to have PlayerDropItem events where the player is null, but I added a check for it. See if this error is still happening with the latest build now.
@nala3
thinking this is same error. using newest build of noitem 4.0 here is the console errors.
http://pastebin.com/eURtaY9u
here is another paste bin. http://pastebin.com/ScndKqxk
@QBcrusher
Okay, it's because you are using 1.6R3 version of CB. NoItem uses CB and NMS code built against R2. Use a development build if you want the error to go away.
Next time though: From the FAQ section right above the comment section: 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.
If you are not going to make a bug report, please use pastie or something similar instead of posting the stack trace in the comments, thanks.
I seem to be getting this error in my console whenever a player puts items in a furnace (I don't think it happens every time, and it doesn't seem to be affecting anything other than a couple annoying messages in the console)
12:45:07 AM [SEVERE] Could not pass event InventoryClickEvent to NoItem v3.0.7-SNAPSHOT org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:1383) at net.minecraft.server.v1_6_R3.Packet102WindowClick.handle(SourceFile:31) at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) at org.getspout.spout.SpoutPlayerConnection.e(SpoutPlayerConnection.java:195) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_6_R2/inventory/CraftItemStack at net.worldoftomorrow.noitem.events.Handlers.isCookable(Handlers.java:578) at net.worldoftomorrow.noitem.events.Handlers.handleNoCookInvClick(Handlers.java:460) at net.worldoftomorrow.noitem.events.Listeners.onInventoryClick(Listeners.java:68) at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
@zachrywilsn
Not going to look into this because you aren't using the most recent development build. Try with the latest.
got this wih the 4.x build - not newest build but its a recent one.
http://pastebin.com/W8hJ20Wh
maybe it was a old bug. please lemme know
@CollinDesigns
Well um, that's good I suppose haha.
Well the issue resolved itself without me doing anything. Same like in the beginning.
@CollinDesigns
that has nothing to do with NoItem
@CollinDesigns
Well, I didn't do anything that should affect the crafting of those items. But if that is the only error you are getting, it is not from NoItem.
@nala3
Idk about the error but the crafting of brewing and cauldron is finally fixed :) ty! Ill keep an eye on error and tell you here if it comes back. All i get know is: http://pastie.org/8544982 but idk whats its causing and neither i assume its NoItem.
@CollinDesigns
I'm not sure yet about that. But try the newest build and see if the errors are still happening.
@nala3
It may just be 1.7.2... other plugins had similar problems like this that got fixed in 1.7.4
@nala3
Ok and what can be cause of the brewing and cauldron? :s i need fix for this :s