NoDispense
This plugin will prevent players from dispensing certain chosen items and/or blocks.
Now With Mulit-world Support And Dropper/Dispenser Separation!!!
Questions
Q1. How do i stop Dispensers or Droppers from dispensing a block or items?
A. Step1, Locate the config.yml file in the NoDispense folder Step 2, open the file and go to were it says "DontDispense: " Step 3, add the data value of the block and/or item e.g. 89(GlowStone).
or
A. Simply type /nd config edit [worldname] [dropper or dispenser] [dontdispense] [additemid] [itemid]
Q2. How will this benefit my server?
A. It will prevent the dispensing of anything specified in the NoDispense config. Including the new 1.3.2 dispenser griefing trick(lava, water).
Q3. How do I add multiple blocks/items in the config file?
A. Simple add a comma, E.g. 12,13,14,15,16
Q4. How do I completely disable dispensers or Droppers?
A. Locate the NoDispense config.yml file and find where it says "Disable", make that true.
or
A. Type in-game or in console /nd config edit [worldname] [dropper or dispenser] disable true
Q4. Why did i decide to make this plugin?
A. I found a way of griefing that couldn't be prevented (lava dispensing and water dispensing griefing trick) in minecraft 1.3.2. I decided to make a plugin to help server owners to prevent this form of griefing and added a few other features from there.
Q5. How do i reload NoDispense config file from ingame?
Simply type in the command "/nd config rl" and it will reload your NoDispense config file.
Latest Download
NoDispense Mark 5.8(1.7.9-R0-2)
Need help or have errors?
Post any errors here link
Post any help requests here link
Commands
/nd config reload: Reload the config file for NoDispense.
/nd config display: Display the config file for NoDispense for the person who used the command to see.
/nd config edit: Edit the config file for NoDispense in-game.
Permissions
nodispense.config.*: All permissions for NoDispense.
nodispense.config.edit: Permission to edit config in-game.
nodispense.commands: Permission to use NoDispense commands.
nodispense.config.reload: Permission to reload NoDispense config.
nodispense.config.display: Permission to display all the contents of NoDispense config file.
Donation info
Feel free to donate clickme
If there is anything i can improve on and/or issues/problems with the plugin please don't hesitate to tell me :)
Ok, maybe i've find the problem : My config was encoded in UTF-8 (without Bom)
However, i think the problem come from the name of config file... was "config.yml", now "Config.yml" ..........
Config works when i use "/nd config rl" but doesn't work after restart..
@JohOply
Its just you, i have tested this and had no problems with config reseting.
maybe try re-downloading.
The config seems be reseted after all restart/reload... Bug or me ?
@smc87
thank you very much for your post. I have located that error and fixed it. Uploading a new NoDispense version now.
- now supports ingame editing. EDIT: New NoDispense version out.
config file doesnt actually appear to get read by the plugin, when doing nd config display, you always see the default config.
Plugin has been updated to Mark5.7. this is for CraftBukkit 1.6.4-R2.0
Hopefully this has fixed all your errors. if it hasn't feel free to let me know.
Yeah, this plugin is completely broken. Shame.
Getting an error on use:
http://pastie.org/pastes/8096633/text?key=9nhwp7muxdekuild8y3g
@ssshhhhh
Mhhh, can you add a part in config to add name of regions where there isn't blacklist ?
@1337ingDisorder
i tested it out and i get no errors maybe try deleting the Nodispense file and folder and redownload it.
@JohOply
Acording to the worldguard api "It is not possible to add your own flags yet." so im really sorry but it cant be done yet.
Getting this error when someone dispenses lava from a dispenser:
[SEVERE] Could not pass event BlockDispenseEvent to NoDispense vMark5.6
Blocked items are 10,11,327
Player used a lava bucket.
Using CB 1.5.2-R1.0 and NoDispense Mark5.6
@ssshhhhh
Oh yes, i understand ! But if you can finish mark 6 before your holiday it's better for my organization :p Thanks for all anyway :)
@JohOply
i will try to finish mark 6 i am a bit busy so if i dont get it up before the June 28 then i will have to get it up when i get back from Europe.
im going on holiday to Europe from June 28 - August 10 so i wont be able to update plugin. But that being said mark 5.6 should work for all future updates of bukkit so don't worry.
Anyway, all work fine with the mark 5 ;)
When do you think update with the mark 6 and the support of worldguard ? :)
Ok new Mark5.6 is waiting for approval it comes with new command /nd rl which reloads the config with out having to reload the whole server and new Config layout that automatically fixes its self if the config file isn't there or if it is outdated.
And another idea (again yeah :D) : I don't know if it possible but : When an item is blacklisted AND a player hasn't a similary permission (for instance the dirt is blacklisted, the permission is nodispense.3 ==> nodispense.<itemID>) he CAN NOT put the item in a dispenser or a dropper (it is possible to separate both permissions)
Edit: And if it's possible, add in a config : enablepermission: true/false
@ssshhhhh
Oh, no! I'll reformulate ;)
Currently, if the lavabucket is forbidden by the config, a player can't empty his lavabucket BUT HE CAN fill his bucket with lava which is next to the dispenser.
So i want that if the lavabucket is forbidden the player can not fill the bucket with lava (and, sure, can not empty the lavabucket but it's ok currently)
Is it better ? :)
Is there currently a way to reload the plugin config without having to restart the server? If there is, I couldn't find it.
Also, does disable: in the Mark5 config disable dispenser/dropper completely or disable the plugin's functionality in that world? I couldn't find any documentation on that either.