CreativeMonitor
CreativeMonitor
About
This is a fairly new plugin, made to allow you to give players creative mode purely for building. It allows you to give players on your server creative mode without the risk of the player giving themselves hundreds of diamonds, or giving players fully enchanted armor! It prevents a players from using any form of item passing method.
What It Does
This plugin checks worlds you specify and will make all players in creative and in that world unable to interact with chests, furnaces, hoppers, and any other storage block or entity! It also prevents the players from attacking other players, if they are in a survival world and stops Gamemode PVP. What else does this plugin do? It stops the player in creative from dropping items and it stops them from throwing potions, fireballs and using items such as spawn eggs. This is the best new plugin to allow players to have creative in your server!
Uses
I wrote this plugin for my server, so that we could give our donators creative in the survival worlds without having to worry about them giving out items or giving themselves overpowered tools. We also use the plugin on the server for the creative plot world, it allows our players to play in creative without spamming the server with entities and reduces our risk of lag!
Permissions/Commands
Commands
Currently there are very few commands. At the moment the plugin has /CreativeMonitor (Can be shortened to /cm) Reload. This is to reload your config.yml after any changes.
Permissions
Currently the only permissions supported are 'creativemonitor.bypass' for players to bypass all the prohibitions of the plugin and freely use creative, and 'creativemonitor.reload' to allow access to the '/cm reload' command. Recently added is the creativemonitor.gamemodebypass to allow bypassing of the Gamemode-Inventory Clearing.
Config.yml
The config will consist currently of
activeworlds: - world - world_nether - world_the_end - skyworld message: enabled: true prefix: '&5[CreativeMonitor]' message: '&eSorry, you cannot do this in Creative!' switch: enabled: true message: '&eSwitching to Survival... Clearing Inventory!' blockProtection: enabled: true pluginSupport: BetterEnderChests: true BookshelfGUI: true blockedCommands: - 'sell' blockedItems: blockedPlacements: 52 blockInteractions: 54, 146, 61, 62, 130, 23, 158, 154 entityInteractions: 342, 408, 389 otherInteractions: 383, 373, 327, 385, 384, 397, 381
For a full list of what each part does, please visit the Config page!
Note: Can any bugs with the blockedItems section be reported ASAP. Thank you!
To Do List
Anything here is what I plan to add to the plugin at a later date.
- Urgent: Add support of entities in the blockedPlacements section
- Merge some blocked Menus.
- Finalize User customization on what players can/can't use and access in creative.
- Add more customization options for users.
- Messages will stop being passed to the player after a set number of a period of time.
- Possibly implement creative inventories as well as survival ones (?)
Credits
This plugin was created by me for our donators on Skittles Server. We would appreciate if you visit our website at Skittles-Server.net and check out the server! We would also be happy receive any donations, it helps fund our energy drinks to write more plugins and run the server ;D
Thank you!
@davenger
Can I please get the ip of your server so I can pop on and see the error for my self, Once again we can not seem to replicate this error, this may be because of a conflicting plugin
@davenger
Ok I Will Get Fixed ASAP, Is there any errors in the console ?
Ok i'm running into a new bug. Whenever a player is in Creative they now can not enter any commands even one's that are not listed in the config to block. They can't even get out of creative mode. The error is saying "Sorry, you cannot do this in Creative!" which is what the plugin is supposed to report for blocked commands. So i'm stumped cause I only have like 7 commands blocked, but like I said it's blocking every command.
@idhdec
Just been looking a bit and with world guard you can define a flag to that region so when you enter the region you are switched to creative. I'm guessing Grief Prevention doesn't have that option available to players. Could you pm me your server ip so i could come on and we could discuss this im much more detail ? Would be much appreciated
Hi,
Both Grief Prevention and World Guard allow users to make plots/land claims in the world similar to Plotme except users can create their claims in the world wherever they like and in different sizes (in the case of Grief Prevention, users can dynamically increase the size of their claim the longer they play on the server). I use Grief Prevention on my server as it is one of the easiest grief protection plugins to use as users do not need a knowledge of commands to create a claim.
I was wondering if the plugin could use the claims that are created by these plugins and allow the owner or a trusted user (the user can define a trusted user/owner in the World Guard & Grief Prevention plugins) to toggle creative mode while in the claim.
@idhdec
Hi there thanks again for reporting this bug I will get it fixed ASAP. Will just add a feature where blocks placed by creative player cant be moved by pistons. About the suggestion are you talking about PlotMe (http://dev.bukkit.org/bukkit-mods/plotme/) Plots or a option to add flags to a region ? Thanks.
Further to my post below, the block moved by the piston can only be mined by a player in survival mode (the block is destroyed as normal in creative mode).
Hi, Thanks for fixing the commands feature!
I would like to report a new way of passing items out of creative mode: Once a block is placed with creative mode, a user can place a piston next to the block and push the block. Once the block has been pushed, it is possible to break the block and receive the drop.
I would also like to offer a suggestion for a future feature of the plugin!
It would be great if the the plugin could allow compatibility with the Grief Prevention & WorldGuard plugins (http://dev.bukkit.org/bukkit-mods/grief-prevention/). The idea is to add a feature that would allow users (who have a permission) to use a command to toggle their game mode to creative when they are standing in a plot if they are the owner or trusted member of the plot. It would also switch the game mode of the user when they leave the plot.
I don't know if the suggestion is possible but it would be great as it would allow users (such as donators or builders) to help build while preventing passing items out of creative mode.
Thanks again!
@KWngdx
Ok, I will try and get that feature added
I just want player in creative could not sell anything by signshop. otherwise,in survival they can buy alost of things.
thanks again!囧rz
@KWngdx
Sorry for not making this clear in the last message but in what way and why would you like signshop added ? Is there a bug involved or is there compatibility issues.
@KWngdx
Hi, Thanks for reporting this bug i will get Craig_M14 Working on this issue ASAP and an update should be out soon
If i put some block of diamond in crafiting table,and use TMI switched my gamemode to survival,the block of diamond will drop out! The same:anvil and enchantment table. I hope you can solve this problem. And I wish this plugin could support signshop,thank you! My English is not good,sorry:-)
@idhdec
I will get Craig_M14 working on this issue ASAP, an update will be out soon. Thanks for reporting this issue.
@davenger
I will get Craig_M14 working on this issue ASAP, an update will be out soon. Thanks for reporting this issue.
Thanks for fixing the block drops it's working perfectly now. Also thank you for implementing the prevented blocks feature! it works great!
I can confirm davanger's problem below, and I have been playing around in the config - it seems that the plugin only blocks the command listed on the first line of the blocked commands config (in the default config it is the sell command). If you add more blocked commands underneath it, they are not blocked. Hope this helps fix the issue!
Thanks again!
Seems one of the updates has broken the BetterEnderchests integration. I try adding the 3 commands for betterenderchest's to the blocked commands part of the config and they still can type the commands. I am running 1.4.1c I have attached my config.yml, and have a pastebin link here http://pastebin.com/download.php?i=VvL7rPaj
@Craig_M14
No problem haha, if I find any other things I'll PM you. :P
@DerekZil
The line "Could not restore inventory! [NPE]" should only occur after the first time a player switches to survival again. Neither myself or the tester have been able to replicate the throwing of potions or XP bottles, could you check the IDs for these are in your config under "otherInteractions", or possibly reload a fresh config. Finally I shall have an update soon to fix the XP.
Sorry for any issues.
Now it says: Could not restore inventory! [NPE]
They can now keep their Xp and throw Xp Bottles and Potions.
The armor is fixed though.