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 :)
@RetroCharles
Yeah, the latest update has been out for more than a week without any significant bug reports so... seems okay
Hey superpeanut, I was about to comment on one of my player losing inventories again, but then I read about your latest update. Thanks for taking a look at it. And this plugin is very useful. Thanks for keeping up with this plugin. Hopefully this latest update won't mess up the inventories during those random times :)
-Charles
@krchrlt
Update to the latest
@superpeanut911
I have been able to recreate that glitch many times and other people on our server have been able to do it too. Idk What else to do.
Please check this out http://dev.bukkit.org/server-mods/nocreativepvp/tickets/2-creative-players-can-open-enderchests/
@superpeanut911
tone? Sorry for my bad english. I learn english how i can. If player can put 342 and 343 on rails, then can put diamond and other blocks for other players. It very bad for economics.
@photocritic
I don't like that tone... Demanding me to fix it... >_< Those are entities. The blacklist only checks for blocks. I may do something to add entities but...
Player also can place block from blacklist 342 and 343 on the rails! Fix it!
Multi-world do not support ((
Thanks, this looks like a solid Crea restr. plugin . :)
Just uploaded v1.5.4! If you had any issues with the inventory switching, this should fix them all!
@hutt132
Yes armor is not separated atm
When I type /gm to change gamemodes it brings armor I'm wearing from creative to survival.
@RetroCharles
Yeah the inventory file saves with NBT data,it is supposed the be a bunch of random stuff like that. I feel like the issue is that it's not saving often enough... and a reload may roll it back or do something to it. For next version i'll have it save the contents more often.
@superpeanut911
Yes the inventory file is still there. With coding that I have no clue on what it means haha. example: AAAABBBCCEEEDD
By the way, I had a feeling it could be the /reload command making other plugins out of function. I'll be sure to post a ticket if I've find it being really constant in regular day basis.
Thank you so much for your speedy reply, I am still waiting on other comments that I've made from different plugins that are not consistent in replying to their users. So thank so much for replying back as soon as possible.
Excellent plugin by far.
@RetroCharles
I have gotten a few issues about the inventory changing, but I have not been able to reproduce any of the problems :/ Is the Inventories file in the RestrictCreative directory still there? If you have any info, post a ticket with detailed steps on how they got it. If it's just random... idk. Also, don't use /reload. It creates memory leaks the way bukkit works. Use /rc reload to reload configs or the plugin's reload cmd if the author added one. You can set the inventory swapping to false in the config if it's causing a problem though. I'll get a friend of mine to look over the inventory switching later, see if he finds something
Uhm not sure what might be going on, but I've had 3 incidents where I changed players gamemode to creative the players items are erased completely. When I put them back to Survival, their inventory is empty.
Additional Information: + Using Essentials to change gamemode. + Sometimes plugins works perfectly fine, and has incidents they've got their inventories cleared. + I use /reload for server every now and then to refresh new/changed config files of plugins.
If there is anything that I can do to make sure this doesn't happen again, I'd appreciate it.
-Charles
rito,ty please get that fixed as soon as pos :)
@roughtoast
Okay... The permission node for mob spawning doesn't seem to be working... I'll fix that but drop in a ticket for the inventory things, be detailed on what happens exactly please b/c mine is working perfectly fine
erm iv had it quite a few times on my server,restrict creative is the only plugin that i have that edits invs well that and essentials but that dosnt really do it would you like to test this on my server? also with the new mobegg thing iv added in the node to my permissionEX file and when i spawn the mob using the egg its making the mobs noise but no mob ip:142.4.62.145:25565