CraftGuard
CraftGuard is a plugin that easily allows you to control crafting, smelting, using, and various player actions easily through item lists.
- Modules system to allow you to choose which actions you want to check
- Support for inheritance between lists
- Support for metadata
- Automatic whitelist : you can choose to automatically allow or disallow actions on items that aren't in any list
- And much more !
Coming from CraftGuard 1.x ? see the Upgrade page.
New user ? See the First start page.
Links :
Wiki (help) - Issue Tracker - Source code - Downloads
(Video editing in progress, the video should be availiable in few days)
Latest updates & Changelog
This is the first (beta) release of CraftGuard2 ! It adds the following features since Craftguard 1.x :
- New module system : block not only crafting and smelting but also placing, breaking, repairing, and using items, everything highly configurable and with lists !
- Improved list structure
- Added new commands
- Done a lot of optimisation
- Added new configuration option And much more !
What's next ?
Here is a list of the features i plan to add to CraftGuard :
- Brewing module
- "Permission mode" : use permission nodes instead of lists.yml
- Adding custom crafts and smeltings
- (Support for custom guis) ??
- More !
Statistics
Report a bug/A suggestion
Please use our new bug tracker at GitHub. It requires a GitHub account which takes only a minute to create, and is free. Alternatively, you can also post your issues on BukkitDev bug tracker.
Source code
All the source is availiable under GNU General Public License version 3 (GPLv3) here
Like Belkar said a plugin for enchantment and brewing restrictions would be really nice, like the on from heroes. But heroes is not really customizable. But nevertheless awesome plugin ;)
one of my favourite plugin<3
Enfin ! Depuis le temps que je cherche un bon plugin pour limiter les crafts de cette façon ! Merci !
L'économie de mon serveur va enfin être utile :p
@regis9000pro
C'est bizzare, c'était censé marcher correctement et ça n'a aucun sens que ça marche avec des étoiles, je vais voir ça
~
That's strange, it was supposed to work with everything, i will investigate.
Salut frozen Je ne sait pas si c'est normal mais pour les planches je suis obligé de mettre 5:* pour donner le droit de craft tout les metadata, en marquant juste 5 sa ne marche pas. A part cela vraiment bravo pour ton travail. Cordialement regis.
I speak french because i'm french to and i hate speaking english
IMPORTANT :
Sorry to everyone who downloaded the new 1.3.3, something f***ed up with jar export and i sent test version with debug messages instead of the public version. I am sending a new version ASAP, sorry for that.
@ToddVee
Bug fixed in 1.3.3 !
@_Belkar_
Interesting... But maybe i'll make another plugin for it, so people could choose exactly the features they need.
@insers
Has been fixed in 1.3.2, you should download it.
i got some time errors like this im using 1.3 plugin and 1.2.5 bukkit
2012-04-05 12:34:47 [SEVERE] Could not pass event PrepareItemCraftEvent to CraftGuard org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at org.bukkit.craftbukkit.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:494) at net.minecraft.server.CraftingManager.craft(CraftingManager.java:252) at net.minecraft.server.ContainerPlayer.a(ContainerPlayer.java:60) at net.minecraft.server.InventoryCrafting.splitStack(InventoryCrafting.java:117) at net.minecraft.server.SlotResult.c(SourceFile:61) at net.minecraft.server.ContainerPlayer.a(ContainerPlayer.java:125) at net.minecraft.server.Container.clickItem(Container.java:129) at net.minecraft.server.Container.b(Container.java:223) at net.minecraft.server.Container.clickItem(Container.java:138) at net.minecraft.server.Container.b(Container.java:223) at net.minecraft.server.Container.clickItem(Container.java:138) at net.minecraft.server.Container.b(Container.java:223) at net.minecraft.server.Container.clickItem(Container.java:138) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1078) at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at fr.frozentux.craftguard.CraftGuardListeners.onCraftItem(CraftGuardListeners.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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:301) ... 24 more
Awesome plugin. I really like it. The configuration of all classes is a bit time consuming but the result is very well working. Maybe you could add a feature that allows only specified classes to break certain blocks or to interact with them (like: only smithies can interact with furnaces, or only alchemists can work with brewing stands or enchantment tables)
@ToddVee
That's strange, since I had tested it before releasing the last version. I will check out this and fix that ASAP (not before Wednesday unfortunately).
Thanks for reporting !
hi
this is a great plugin and since we try to set up an economy system that cant be undermined because people simply craft things themselves. I think I found a bug that you should fix asap. It is possible to deny smelting things. If you place coal (as substance to burn stuff) and something you want to burn AFTER placing the coal, however, you're allowed anyways. And that should be fixed please =)
nice work, guys!
@YocYoc
Thanks for reporting. It's probably due to the way i check what slot of inventory is clicked. I will work on this this week end.
I have a strange error in the server log each time I clic on a block or items which is on the first square on my current inventory (the buttom left square) :
Any idea ?
(CB1.2.3-dev and 1.2.4-RB, CraftGuard 1.3.1)
Everything seems to work, I only have this error.
New 1.3.1 out ! If the way crafts are checked in 1.3 is annoying you, get the update !
@insers
Thanks, i'm updating the description !
confirmed works on 1.2.4!
What permissions plugins to you link with ? Is it supposed to work with PermissionsEX (with superperms compatibility enabled)? CraftGuards starts, I use this configuration :
and added : - craftguard.villageois in my Villageois group but I can craft everything. Thank you for your help.
[EDIT] I'm sorry, my mistake. I didn't watch your video where it is explained how permissions works. In fact, if you add a craft permission to a group, and you don't belong to that group, you can't craft it. That's an evidence as soon as you think about it :D
working Thanks :)