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!
@CollinDesigns
No, but I think it may be the cause of the errors. Not because anything is wrong with their plugin, but because I didn't think that NPC's would fire events, so I didn't do the proper checking. I'll try to fix it later when I get home.
@nala3
Yes i use a plugin called: http://dev.bukkit.org/bukkit-plugins/shopkeepers/#comments
Does this effect crafting of brewing stand and cauldron?
@CollinDesigns
Do you have NPC's by any chance?
@nala3
Doesn't work, so i assume something is wrong in the plugin? I just added ALL these: http://pastie.org/8541634 and still doesn't work. So i assume its something in the plugin?
Also my console is still getting spammed with huge error: http://pastie.org/8541633
@CollinDesigns
Try "brewingstanditem" and "cauldronitem" instead and see if that works.
As for the error, what is this "Player Vaults" thing i'm seeing?
EDIT: Okay, looking at the PlayerVaults plugin, I should be able to fix this with a simple null check. I just pushed a commit with that added, so give the newest build a try and tell me if it still happens.
@zachrywilsn
I think it is either:
noitem.action.interact.object.enchantmenttable noitem.action.open.enchantmenttable Just add one each time and try
Nale i think brewingstand and cauldron is broken, this are only 2 items i still can craft no matter perms. Can you check this please?
Edit: i keep getting error in my console, even when doing nothing: http://pastie.org/8540662
Awesome got it to work! :) now one more thing you could maybe help with. i need to block the use of enchantment tables. could you hook me up with the perm node?
@nala3
Any fix for my problem yet? :s
@zachrywilsn
So, you don't need both, there are simply 2 options.
- noitem.object.diamondpickaxe.hold
This allows you to stop just one action for specifically the diamond pickaxe, or you could use an asterisk instead of hold and stop ALL actions for the diamond pick.
- noitem.action.hold.diamondpickaxe
This does the same thing, but allows you to also use an asterisk and stop the player from holding, well anything lol. That is the only purpose for the new permissions.
Generally, you could just use noitem.object.<objectToBlock>.<action> and you should be fine. the 2 permissions types are more for special cases.
@nala3
ok i guess im a noob. Are these perms right to block diamondpickaxe? ive tried both of them. i understood last builds perms. just really dont get these i guess. please and thank you for your help on this.
- noitem.action.hold.diamondpickaxe - noitem.object.diamondpickaxe.hold
and can i do something like this?
- noitem.action.hold.diamondpickaxe.diamondhoe.ironaxe.etc.etc.etc
or perm for each like before. Im truly sorry if these are dumb questions. Im just having issues.
if you could give me a example of this i could prob fig out the rest.
@nala3
I know and i did and i can still craft brewing stand and cauldron. No matter how often i reboot. You try yourself.
@zachrywilsn
You need to use item names. If you had read the whole page you would know this :)
@CollinDesigns
You too, make sure you read the entire documentation page. It really isn't that much but there is important information to be had, such as making sure you reload your cached permissions, restart the server or rejoin the server to update the permissions noitem will check.
noitem-4.0.0-SNAPSHOT - i cant get permissions to work. i tried looking at your github. whats so different about the perms?
i tried - noitem.action.hold.361,86,91,288 & - noitem.hold.361,86,91,288
neither seamed to work. i would love some hep with this. as i have a lot of perms to recode since you have changed the perms up from what i can see. thanks for the pluging and hope for a response.
@nala3
Did some testing, i can make all items that should be blocked BUT i can also use them, such as diamond sword, i can use it and 2 hit kill mobs and it is using durability, same for diamond armour which normally you shouldn't be able to craft, same goes for all other items. Even with newest dev build. So they aren't ghost items for me... Will the 1.6.4 working build work for 1.7.2? :s Since you don't know how to fix it yet but i can't wait much longer :s srry.
Edit: suddenly its all working even custom message except: - noitem.action.craft.brewingstand - noitem.action.craft.cauldron i can still craft both but nothing else :p
Edit2: suddenly today i added map to my perms and idk if this is causing it but now i can craft everything again and get server error when i crafted it aswell when i try to reload: http://pastie.org/8539798 FORGET THIS EDIT I GOT IT BACK TO WORK
Edit3: ok well i added emptymap since i found out it crashed using map since its wrong name, but i still can craft an empty map, same with cauldron and brewingstand, any fix? FORGET THIS EDIT ASWELL, I GOT THIS TO WORK ASWELL
-EDIT 1 IS STILL NOT FIXED;@CollinDesigns
The issue is not something that is simple to resolve nor something I know how to fix at the moment. Like I have said before, I'm working on it.
All development builds are compiled after every repository commit on my Jenkins instance. Just update the information on this page
@nala3
When will it be fixed? This is only thing holding me back to put my server back online :s
Edit: ok and is the graphic bug also fixed? if no when will this be fixed? Edit: you said you added the line, but can you compile it? or a link to download the zip so i can compile it? i'm new to compiling so :s
@CollinDesigns
Okay, I just went ahead an implement the per-action messages now. The config should update itself.
And when I said it would be 20-30 lines of code, I lied. It was 16 :P https://github.com/nala3/Noitem4/commit/d24a4eefc266d647d82ddf2e81aaf3ade87dbfcc
@CollinDesigns
I don't quite recall, but I probably originally used NMS methods to stop crafting because of this very same issue. I really don't want to use NMS, and I think I may know a way after doing some research. It's still a bit hacky, but it should work without NMS.
As for per-action messages, technically right now. It would just be 20-30 lines of code if I don't include message variables.
@zachrywilsn https://github.com/nala3/Noitem4/wiki
Yes you need to change your perms, shouldn't be too bad though. you might actually be able to condense them a bit with the new permission structure. Be sure to read the entire thing, a lot of stuff is different.
with this build - http://ci.worldoftomorrow.net/job/NoItem%204.X/lastBuild/ - do i need to change any perms. if so where is link to perm site. and what build should that be used on 1.6.4 or 1.7.2? or both. sorry for the noobie question.
I can still use them and drag them around etc. So idk seems no ghost items to me. I assume your ign in mc is nala3 ? If not paste correct MC name here since server is temp whitelisted. Ill pm you my ip.
Edit: ow hold on when i place i can't but it goes back to my inventory, so yes i assume its working though i can still create and 'waiste' my resources on it when you have to trade it (other plugin) any fix? :s if yes when can you fix it so it prevents total crafting like in previous version and outputs the message defined in the config? And by when? :s