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 :)
@superpeanut911
The server is running on 7GB RAM and E5 Xeon 3.4 GHz CPU and it's working fine. We don't have any lag but that sometimes wipe peoples inventories. We didn't delete any of the inventory files. It also just happens sometimes not always.
It haven't happend anymore but I'll see if it happens.
@OPJewelz
I was not able to reproduce that problem... did you delete the inventory files? It may also be a server lag thing. The plugin deletes your inventory when you switch, then it gives you the inventory saved. Maybe it's lag and the inventory didn't show up? Try restarting the server/redownloading the plugin.
@superpeanut911
They just switched from Creative to survival and their survival inventory got removed. That's all they did. They were first in survival, got to creative then when they got out of creative the inventories was removed.
@OPJewelz
What did they do before it got wiped?
Some of my players inventory get's wiped when they change from Creative to Survival. Can you help with that?
@superpeanut911
hey i have already the plugin but i want to know how to disable creative to all mods and admisn except for owners(me). how should i configure it
@OPJewelz
Ohhh... Not sure if I can really... I can't think of any ways get what they take out from the top of my head but... i'm sure i can figure it out. I'll try.
@drtshock
I do have a github, I just really havn't pushed a commit towards it since 1.3 version of the plugin soo... I don't use it
Do you have a github page?
@superpeanut911
Not what they place but if we want to have a PVP world and we want to know what Staff takes out of the creative menu so we know if they take 64 Diamonds to cheat in a survival world. That if I am right HawkEye or LogBlock does not record.
@gumgumpuntnl
I was going to add that but it got really complicated on where to put the true/false check in the code to make it work. I will in later versions though
Is it possible to add a true/flase setting to the config file for the inventory switch?
This because i use an other plugin for switching inventory's (depending on the players world).
@DLStriker
I figured out a system on how to. It's out with v 1.5! Download it now
-> http://dev.bukkit.org/server-mods/nocreativepvp/files/14-restrict-creative-v-1-5/Inventory seperation is so confusing for me O.o. I was able to save the inventory to a file. Working on loading it from the file ;) v 1.5 should be out soon with inv sep if I can figure this out soon :D
@OPJewelz
Something to log what people in creative break/place? Why don't you just use Hawkeye or Logblock
A suggestion maybe for a feature, you could add so it stores in a log what blocks you take in creative so we can see what they take.
@SDDJ
Thanks for the report! Please use pastie.org or something next time though to not fill the entire comments box :/ That error has been fixed in v 1.4.6 which I am uploading now... But players in creative can still hurt mobs with bows. I'll try to fix that asap. I have midterm exams so not much time on my hands to code atm :/ Also, Can you give me the error about the potions? I am trying to throw potions at mobs and everywhere and not getting anything?
Getting this error while using bukkit 1.4.6 R0.3:
and this:
I'm also getting one for potions.
@superpeanut911
Yay, so, not meaning to be pushy or rude, but how soon do u think the split inventories will be out?
@SDDJ
I thought about adding it but, advertising purposes... lol. I'm sure people atleast like to know which plugin is blocking them. I may add an option to change it but... idk
Could you add a way to change the prefix of the messages? I understand how it could be helpful for advertisement purposes, but it'd be nice to have it be something like [NOPE] or something instead :P