I need a plugin, that Block users from dropping a specified item or all items and block users from using chests. Need only this feature without anything else. It's essential, if you have creative classes on survival server.
So when someone presses "Q" to "throw" an item? Or when the right/left click? May I ask the reasoning behind it? I only ask so I can get a better idea of what I need to write... Alright, so a plugin where if a player is in creative mode, they can't: Use 'Q' Put items in chests (may be hard to do, but I can try) Place/Break blocks if they are within X distance of a non-creative player Stop them from using certain commands (configurable, eg: "/shop") Others? Of course (cause I love configs) everything would be configurable (eg: Which events are denied, Messages to show, etc) EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Version 1.0.0 done (no Towny support, yet): http://mc.turt2live.com/plugins/AntiShare/AntiShare.jar http://mc.turt2live.com/plugins/AntiShare/src.zip Instructions & Information is in the /plugins/AntiShare/config.yml Alright. It's coming along, trying to isolate which plugins disagree with it EDIT by Moderator: merged posts, please use the edit button instead of double posting.
OH That could be an issue... It means I compiled it in JRE 1.7.0 but you have (likely) 1.6.0 I can't compile it at the moment, but when I get home I can
I've updated the plugin to work with JRE 1.6.0. Download: http://mc.turt2live.com/plugins/AntiShare/AntiShare%20-%201.0.1.jar Source: http://mc.turt2live.com/plugins/AntiShare/AntiShare%20-%20Source%20-%201.0.1.zip Change Log: http://mc.turt2live.com/plugins/AntiShare/ChangeLog.txt Previous Versions of the Source and Plugin: http://mc.turt2live.com/plugins/AntiShare/The Elderly File Brigade/ Other Stuff: Static JAR Download: http://mc.turt2live.com/plugins/AntiShare/AntiShare - STATIC.jar Static Source Download: http://mc.turt2live.com/plugins/AntiShare/AntiShare%20-%20Source%20-%20STATIC.zip Description: http://mc.turt2live.com/plugins/AntiShare/Description.txt 90% of those links I'm not sure if you want, but I noticed Sayshal commented here and he loves those links. So I added them so he doesn't spam me for them later :3 Mind testing the newest update I just committed? I can't test it on my server cause I'm on a crappy laptop :/ Use the static link please (Or use the jar name "AntiShare - 1.0.1_1.jar") May I have your permission to post it on BukkitDev? Of course with the thread and your server listed in it EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I tried this plugin with 0 other plugins and haven't not been able to get the no chest interaction to work, blocks the blocks that are in the config but acts like it can't do anything else, so not drops, blocks the blocks, but interactions won't work. This is on 1.0 using the latest craftbukkit
git-Bukkit-1.0.1-R1-23-g83d1251-b1638jnks # AntiShare Configuration: # Events: # 'block_place' - Blocks/items to deny for block placing # 'block_break' - Blocks/items to deny for block breaking # 'death' - Blocks/items to not allow to drop on death # 'drop_item' - Block/items to not allow to drop when a player presses (default) Q # 'interact' - Blocks/items to deny interactions to. (Left/Right click) # -- Want all blocks/items to be denied? Put a * # -- Want no blocks/items to be denied? Put: none # -- Make sure item lists are space-seperated, not commas, periods, or fancy other things!Messages: # All messages are when they are declined an action. # Chat colors are supported using the & sign (eg: &f = white) # Other: # 'only_if_creative' - Auto-decline if they are in creative, permissions still apply. # (eg: A player doesn't have the allow or decline permission to place, and is in creative, places a block: declined) # Permissions: # 'AntiShare.*' - Deny all events # 'AntiShare.place' - Deny block placing # 'AntiShare.break' - Deny block breaking # 'AntiShare.death' - Deny item drops on death # 'AntiShare.drop' - Deny item dropping # 'AntiShare.interact' - Deny interactions # -- If you want to allow an event, change the node to 'AntiShare.allow' (eg: 'AntiShare.allow.place' would allow placing) # 'AntiShare.reload' - Permission to use /antishare # Commands: # '/antishare' - Reloads configuration # Aliases: '/as', '/antis', '/ashare' # Notes: # - Permissions default to all deny as true while all allow as OP or higher. # - 'only_if_creative' will override the permissions meaning if a player is in survival-mode while 'only_if_creative' is true then # the deny permissions will be ignored (eg: That survival player places a block: it is placed) # - The default settings decline interactions with furnaces, chests, dispensers, and chest-minecarts # - The event 'block_break' is set to 'none' because in creative-mode, no blocks are dropped when broken events: block_break: none block_place: 57 41 42 4 death: '*' drop_item: '*' interact: 23 61 62 54 342 messages: block_break: You can't do that! block_place: You can't do that! death: You can't do that! drop_item: You can't do that! interact: You can't do that! other: only_if_creative: true