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!
@idhdec
Ah sorry, just looked at the code, typo on my behalf. Sorry about that I'll put an update out later today.
I will also try to add your suggestion before hand. Thank you for letting me know about the issue!
Hi, I was just wondering if the block protection is working as intended?
At the moment, a creative player is able to place a block (such as a diamond, gold or emerald block) and have a survival player mine it (or mine it themselves when their game mode is changed to survival) to receive the block. This means a creative mode player can place many diamond blocks somewhere and have their friend mine them or come back later to mine them up, effectively taking blocks out of creative mode (tested on v1.4.0).
I was wondering if it's possible to have the plugin make any block placed by a creative mode player not drop anything when it is destroyed by anyone?
I would also like to offer another idea for the plugin - a feature that would prevent a user from placing certain blocks (e.g. beacons, enchantment tables) when in creative mode would be great!
@DerekZil
Thanks for letting me know, I was not aware of this. I will get to work on it in the morning, should have an update out to fix it soon.
Thank you.
@Flashera
v1.3.4 Should be out tomorrow, that should fix it. Sorry for any inconvenience.
The configs do not load properly 0.0
@Craig_M14
I love this plugin so much, but you need to fix the separate inventory. :P
Players can take back armor with them to Survival. o_O
@idhdec
Hi there, I have added your feature and hopefully works out well. I would like to thank you again for your suggestions. Version 1.3.3 of the plugin should contain all of your suggestions so keep checking the page as Bukkit should upload it soon!
Thank you for using CreativeMonitor.
Wow! Thanks a lot for responding so fast and fixing the issue!
I would like to offer a further suggestion for the plugin:
Please could you add a feature which prevents a creative mode user from accessing certain commands? On my server I run an auction plugin that allows users to add items in their inventory to be auctioned using commands. While in creative mode, users are able to add items from the creative inventory. If there was a way to add commands that would be blocked e.g. "/market create 100" that would be great! There may be other instances where users may want to block similar commands.
Thanks again!
@idhdec
Hi, I have worked on your suggestions and I seem to have fixed the issue. A new version should be on Bukkit soon. Glad you enjoy the plugin and thank you for your suggestions!
Hi, thanks for making this plugin! I've been using it on my server however I noticed a way of passing items out of creative mode.
I noticed that an item can be placed in an item frame in creative mode which can then be broken in survival mode (can be broken by any player) to receive the item. Please could you add an option to prevent item frame access while in creative mode?
Secondly, Please could you extend the block protection option to prevent the creative mode player who places a block from switching to survival mode and breaking and receiving the drop? Basically make it work the same as when another player breaks the block and no drop appears.
@Rossco5378
A huge thank you to you both!
@Incompy
Much of this plugin could be created through simple Google searches. However if you feel inclined to view the source there are plenty of Java decompilers out there you could get your hands on that would assist you in viewing the code for CreativeMonitor.
May I take a look at the source? I'm beginning to code plugins and I couldn't find any reliable way to make an if statement to cancel a player event.
@davenger
An update is now out :)
@davenger
Ok I will get Craig_M14 To Implement That Option Into CreativeMonitor. When the update is out you will need to enable this in the config. Also If you are in creative, you shouldn't be able to access enderchests.
@Rossco5378
Thanks for the response. As I stated though there is nothing wrong with your plugin. What I'm asking for is a feature to be added to your plugin. What I need is for Creative Monitor to work with Better Enderchests so that when a player goes back into survival mode it will delete the items that were added to the Better Enderchest while the player was in creative mode.
@davenger
Hi there, we are unable to replicate this issue could you pm me your server ip so I can come on and see the bug for myself so I can get Craig_M14 (Day1nDay0ut) working on this issue.
I have an issue that is no way a fault in your plugin, but I use a plugin on my server called BetterEnderchest here's the link. http://dev.bukkit.org/server-mods/ender-chest/ Well the issue I have is people are able to put items into that enderchest and still have them after going back to survival. I'm wondering is there any way you can integrate that plugin's capability's into your plugin so that it can no longer happen?
@Incompy
All blocks placed by a creative player are non droppable blocks. The protectedBlockData.yml is just for logs. If you require more help just reply to the message :)
@Craig_M14
So, just list all the item IDs of the blocks I don't want dropped when broken by a player in survival breaks the block a player in creative places?
Or does it just log data?