RestrictCreative
This plugin does require Java 7!
Want to get the latest updates and get in touch with me quick? Follow @ProPeanutt on twitter!
Are your moderators irresponsible? Donor ranks that involve creative mode but don't want creative users ruining your economy and going on mass killing sprees? Well, if you answered to yes to any of these, this is for you! What does it do? It gives you, the admin, control of what your users can do while in creative! Prevent PvP, Item sharing, and more!
Features
- Prevents all PvP in creative mode
- Permission node for override - OP default
- Chat message sent to player trying to disallowed action!
- Easy Config
- Prevents chest opening in creative mode!
- Command blacklist! Define certain commands users can't use in creative! (/sell disabled by default)
- Prevent item dropping in creative
- Prevent item pick-uping in creative
- Specify what blocks users can place in creative
- Specify what users can break in creative
- Prevent users from hurting mobs
- Creative and Survival mode Inventories are separate!!!!
- Economy! Requires Vault! Configurable amount of $$$$ needed to enter creative! (v1.5.3)
- Blocks mob spawning eggs! (Also blocks them in survival mode, v1.5.3)
Permissions
- restrictcreative.bypass.* - Bypass all checks
- restrictcreative.bypass.pvp - Allows a user to PvP in creative mode!
- restrictcreative.bypass.drop - Allows a user to drop items in creative!
- restrictcreative.bypass.placeblacklist - Bypass the block place blacklist! - Is now placeblacklist for anyone updating from 1.4.2 to 1.4.x!
- restrictcreative.bypass.breakblacklist - Bypass the block place blacklist!
- restrictcreative.bypass.chests - Allows a user to open chests in creative!
- restrictcreative.reload - Allows access to /rc reload, reloads the server
- restrictcreative.bypass.commands - Bypass command blacklist
- restrictcreative.bypass.mobs - Bypass mob damage check!
- restrictcreative.bypass.paygm - Don't have to pay $$$ to enter creative!
- restrictcreative.bypass.spawnegg - Use spawneggs!
Commands
- /rc reload - Reloads the plugin!
- /rc help - Info on plugin
Config
Mostly true/false, Block Place blacklist uses block ID's ONLY! (Tekkit blocks should also work) If you mess up, delete the file and it should generate a new one! For the command blacklist, do NOT add the "/" in front, unless it's a WE command which has 2 /'s. Add 1 / for a WE command.
Planned Features for next release
- Prevent bucket use
- Prevent EXP Bottle use
- Prevent use of signs (buy)
- Prevent potion drinking
- Economy - Costs money to switch gamemodes(DONE V1.5.3)
- Prevent spawneggs(DONE V1.5.3)
- Suggestions?
Known bugs
- Can still hurt mobs with bow/arrow when hurting is disabled
- Armor is not separated Creative/Survival
- Please report bugs!
Stats
Need a custom plugin made? Now accepting small plugin requests! (No full mini-games)
My Servers! The EndercraftBuild network :)
Just uploaded v1.5.2: v 1.5.2 (Jenkins #5)
@krchrlt
Hmm... I'll look into it. It may be a inventory update bug, reconnecting may actually switch the inventories. EDIT: I have been testing that and could not reproduce? So you are in survival, switch to creative really fast and open the inventory in the same instance and it dupes? Didn't dupe for me? Is the server lagging?
@noside12123
there is a way to block the use of certain IDs, but I don't think you can with this plugin.
Reporting bug here.... Because idk where else to do it.
Active survival inventory can be duped into Creative Inventory if the gamemode is switched to creative and the inventory screen is brought up before the game has time to switch gamemodes.
@saiismad823
???????
@kozzy68
Can you provide the console error? pastebin.com it
It does not load with latest RB at all and trows error ... I do have java 7.
Hi is it possible to make inventory change optional ? I know all plugings of this kind have problems with it even after year indev. Its not easy to make it safe I like to disable that.
I am having problems with the inventory not switching when I change between creative and survival. Is there anything I need to configure for this to work? Thanks
@Kelvinc2
No I didn't add support for buckets, it's only looks for blocks. I'll make sure to get a bucket option there. It'l be on my dev build soon
I am having problems with restricting the use of Water Buckets. I used the ID 326 and it should work but it doesn't. Other ID's are working perfectly fine, is there any solution?
@noside12123
It does not block drinking potions... That is the block place blacklist, nothing with the word potion in there. Please actually read the post. I will add that in future releases. And that config is ages old. Delete the config and regenerate it on 1.5.1.
Hello,
I am using your plugin however I don't think it blocks drinking and throwing potions.
Here is my config: http://pastie.org/5964991
If it really doesn't do that please someone help me find a plugin that actually blocks it because I have tried many others such as AntiShare and that does not block it either.
@PurpleVegeta
Did you edit the files or something? I've tested 1.5.1 thoroughly and had no problems? What did the player do before the inventory got wiped/is there an error?
Yeah, I had an invent wipe for 1.5.1. sigh...
@Danteland
Hmm... WorldGuard Zones? I think WG already has a flag that makes a zone creative/survival
You should add zones. So you can make creative and survival zones as well. Would really fit for those who wanna make creative plots in a survival map.
v 1.5.1:
@OPJewelz
Yes. PM me your server IP?
It's still happening a lot. We're not deleting anything in the config nor touchign everything. It's like if it doesn't save it. I redownloaded the plugin and restarted the server. Can we take this in a private chat instead of this?