Name: Creative Item Limits Bukkit Version: 1597 Description: When they are in Creative: They can not Drop, Pickup, Use Chest, Use Furnases, Use Crafting Table. When they change back to Survival it changes their inventory to their old survival inventory. So like they have two inventory. Creative one and Survival one. Node: Code: Creative.itemspawn.item-x Any Other Info on this tell me. Bump EDIT by Moderator: merged posts, please use the edit button instead of double posting.
InventoryChangeEvent InventoryClickEvent InventoryTransactionEvent Play around with those. if(event.getPlayer().hasPermission("someperm.someperm")return; if(event.getPlayer().getGameMode == GameMode.SURVIVAL) return; event.setCancelled(true); event.getPlayer().sendMessage("CHEATER!!!");
Could you attempt to make a plugin like that? Like i wanna make sure only certain ranks can take out items and blocks. what? No. I meant not allow them to have it in their inventory.
You could also limit what kinds of items they can take out by loading a list at the beginning and comparing item ids.
Is this possible now? Sence there is a RB out. Bump. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
What is the underlying problem that you are having? Since you aren't finding the answer like this, perhaps you could try to approach the problem another way.
None of the inventory events have been implemented yet. You would need Spout for this, and the clientside SpoutCraft too.
Wait a second, doesn't worldguard block players from obtaining certain things in their inventories though, with the blacklist feature?
Well, I want them to be able to obtain the item if they are in Survival. I got an Idea. When they are in Creative: They can not Drop, Pickup, Use Chest, Use Furnases, Use Crafting Table. When they change back to Survival it changes their inventory to their old survival inventory. So like they have two inventory. Creative one and Survival one. Im puting this in the topic.
I will try take a look at this, I have done a NoDrop plugin today, might just add the NoPickup into it as well
I added a nopickup function to my new plugin NoDrop on this bukkitdev page I will look into the multiple inventory and interaction with furnaces ect.