Limited Creative
Limited Creative
prevents any way of creative player to pass items to survival-mode, without need of a separate creative-world.
Overview
Scenario: You're starting your first survival server, just finished the spawn, the first players join and one asks: "hey sup, g1v3 me cr3at1v3. i made u teh imba *whatever*-building"
. Well, if you really decide to say okay to that, 5 minutes later, that players has stacks of diamondblocks, -armor and -tools in there bags. Next step? Reset your world and completely start over, which is never fun!
But Limited Creative is here to save you.
So how does Limited Creative prevents players from abusing creative-mode within your world:
- Switching back to survival? previous survival-inventory restored
- Trying to put items in a chest? denied
- Trying to drop something on the ground or hopper? denied
- Trying to put items into storage-carts or sell to villagers or similar? denied
- Using commands not intended for creative players? denied
- Using economy to sell for plugins? denied
- Wants to go anywhere in creative mode? denied
- Trying to place expensive blocks somewhere? allowed, for sure, that's what creative is for, but the block won't drop anything if destroyed in survival!
The restrictions aren't only for restricted players. I also like to have some of them as the owner. For example separated inventories: No need to rearrange your quick-bar after switching back to survival mode. No more bother because you thrown away a stack of grilled steaks for a single wool-block on switching back ;)
Or building a minecart track as op. While breaking blocks often carts, rails torches, redstone and much more fall to ground... no longer! LC prevents all that drops, or just removes them when you walk over.
Features
- Inventories-Module
- Display configured armor on creative players for visual distinction
- Remember creative inventory or not
- Separate adventure from survival or not
- Limit-Module
- prevent dropping of items in creative mode (even on death)
- prevent access to all types of chests in creative mode
- prevent usage of interactive signs (to stop economy in creative)
- prevent dealing or retrieving damage to/from other players (that means: no PvP between creative and survival player)
- blacklisting the use/create of items/blocks as well as breaking blocks
- blacklisting the interaction with selected entities
- optional prevent pick up of items in creative mode or remove items on pick up
- WorldGuard Region-Module
- that means: enable automatic creative-mode for selected players in regions you want
- blocks in creative regions never drop anything (independent who placed it or which game mode the destroyer is in)
- prevents pistons from getting blocks out of creative areas
- optional: let player switch game mode in creative-area (/lc creative/survival) without permission
- Command Blocker-Module
- While in creative mode, certain commands can blocked for users via configuration
- Either blocks simple strings or complex regular expressions
- Bypass certain parameter commands via permission
- GameMode-Permissions-Module
- Adds players to a configured permission-group as long as they are in creative
- This allows you to negate all permissions that creative players shouldn't use, like economic features
- Requires Vault and a Permission-Plugin supported by Vault
- BlockState-Module Disabled by default in config.yml
- Remembers if blocks are set by creative players
- Prevents the drop of blocks created by creative players, even if it is not in a region
- Works with pistons, tnt, item frames, falling sand/gravel and attached items like redstone/torches
- Supports MySQL and SQLite (definition form bukkit.yml)
- A tool (wood pickaxe by default; right-click) tells an op who created the block in which gamemode.
- A command (/lc bs) to modify the saved state in the database, via WorldEdit-Selections
All features are optional and can be independent disabled in config.
Utilizing the only for LC developed library plib, LC provides easy usability for admins:
- Self explaining config.yml, with every setting documented
- Full configurable from commandline/ingame commands
- Detailed command explanation for every (sub-)command (
/lc help
) - On the fly module enable- and disabling via configuration-commands
Documentation
While most of the plugin (config and commands) are self explaining, you can click on the features above for further description (incomplete). Also following some more references:
Commands
Configuration
Permissions
FAQ (Frequently Asked Questions)
Miscellaneous
Translation / Supporting the Plugin
Please help translating the plugin, by clicking on your Language at the Translation-Page. You can then enter the localized strings for you language. It should be easy to you to add some strings of your mother language. Improvements to English language is also welcome.
Also I would like to add some new Screenshots, maybe a Video. So feel free to send me what you imagine represents this Plugin.
Collecting Statistics
This plugin collects some basic statistics about the amount of servers using this plugin, as well as MCStats.
What is send: Server-Name, -Address and -Version, List of installed Plugins, LimitedCreative-Version, Count of players online. These Information aren't published and can only be seen by me, the Author (Possible).
The MCStats are complete anonymous and can be seen by everyone here.
You can disable all collection with /lc config metrics false
and /lc config save
Before doing that I please you to read further about the Metrics.
Known Problems/Bypasses/Incompatibilities
Attention: WorldGuard has its own "game-mode" flag. That flag doesn't relate to LC in any way! Be sure to use "//
region flag <id> gamemode creative
" instead of /region ...; Otherwise the LC restrictions won't affect that region.
Currently no ways to bypass restrictions as a creative player are known
as of Nov 2, 2013 (some reports are currently under evaluation)
Links/Contact/Donation
- PayPal-Donation
- Free-of-cost-Donation: Register on Dropbox and unlock me additional storage
- IRC-Chat: #[email protected]
- E-Mail / Jabber: [email protected]
- Skype: [email protected] / jascha.starke
- Suggestions/Bugs - How to Use debug for additional information
- Source on GitHub
- Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
http://ci.ja-s.de:8080/
Special thanks to all Donators:
90$ zeshan321
50$ http://www.cosmicmc.com/ (MinecraftAllen)
25$ Suzy
5$ Punkred
<sub>Timerange: Jan. 2012 till Dec. 2013</sub>
How to handle errors/problems
I will no longer bearing huge error msgs in the comments. Make a ticket for that if you want me to react on that. If there is an error message in the comments i may delete the comment without annotation.
@tappestry oh god, damn it. thanks for the report. Fixed with v0.9.7
had a player inform me that when having a stack of wool in survival inventory, when switching to creative and back will change their stack to 1. this is with the current release 9.6b
@Sonorpearl Oh, didn't thought on snowballs, will fix that.
@rythar No chance, that's part of the minecraft server source (even the client knows blocks break instant in creative). Only way is to be not creative.
I love your plugin its working great for me. Any way you can add an option to disable instant break in creative?
23:59:59 [SEVERE] Could not pass event org.bukkit.event.entity.EntityDamageByEntityEvent to LimitedCreative org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.EntitySnowball.a(EntitySnowball.java:42) at net.minecraft.server.EntityProjectile.y_(EntityProjectile.java:156) at net.minecraft.server.World.entityJoinedWorld(World.java:1262) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:110) at net.minecraft.server.World.playerJoinedWorld(World.java:1244) at net.minecraft.server.World.tickEntities(World.java:1151) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:528) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024) ... 11 more Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSnowball cannot be cast to org.bukkit.entity.Player at de.jaschastarke.minecraft.limitedcreative.LCPlayer.onDamage(LCPlayer.java:280) at de.jaschastarke.minecraft.limitedcreative.listeners.LimitListener.onEntityDamageByEntity(LimitListener.java:144) at de.jaschastarke.minecraft.limitedcreative.listeners.LimitListener.onEntityDamage(LimitListener.java:128) ... 15 more
@Galexrt It shouldn't conflict, as seperate (separate?) creative doesn't use minecrafts "creative mode". It only offers god mode and super pick via permission (you may use worldedit instead). There is no commonality except the "creative" in the plugin name xD
is this compatible to this plugin seperate creative??
this is totally off topic but dropbox sucks. sugarsync gives you 5 gigs free storage right off 500 megs per referral up to 32 gigs and theres several other ways to get storage max is around 40 gigs a signing up with a referral link give you 500 megs too.
non referral referral link
Amazing work with this, previously I have been hardcoding this into my custom plugin for my server, this saves a lot of time! thanks!
@Digitalink2008 Yes, there is a fix in current source.
Any word on if Bukkit will commit your bugfix in R5 ?
So, I install the plugin, but everyone's inventory still remains the same. and there are no tutorials on configuration.
@Possible
LOL Possible,
No matter how many times you post that link people still ask you to track every block a creative player places. I know its gotta annoy you but its kinda funny. They just don't realize what they are asking for.
:P
@ThaSourceGaming A modified client shouldn't affect anything of that. Also does the inventorie-files not have any coherence with the drop-limitation. May they have to much permissions? Please file a Ticket with as much information you have (use debug for additional information).
@Brock_Blocking http://dev.bukkit.org/server-mods/limited-creative/#w-whats-not-upcoming
Top notch. Nice integration with WG. I'm always amazed when a command works. I hope one day creative mode drops are taken away from the main game. Whats up with that anyway? It's nightmare for servers ;D
For some reason, VIP/Creative members can drop items still. I dont know how but they just drop it.
Ok that only happens when their files arent in inventories, and for some reason, some clients dont get registered in "inventories" folder and i dont know how to fix it, which makes creative bypass EVERYTHING!.
Also this person who bypassed the thing has cracked client i think, but many of my members have cracked clients so i dont know... Please try to fix it asap. Because they dont get registered to inventories folder and even when i add them to it, it still bypasses.
@Possible
Well, I shut down my pc and the next morning when I run the server, that problem was solved. But now I've got other issues. The player doesn't lose his stuff he stored in creative mode when he becomes survival. Also the plugin doesn't create an 'inventories'-folder for saving creative mode stuff, so I don't think the plugin saves the items. It's weird that my first problem is solved and these new problems (I tried restarting my pc again, but didn't help) came. I used the default values in the config.yml.
I use a 64 bit computer, I don't know if that makes any difference. But I think others don't have these problems.
Should I write a ticket? (there was no error in console)
@G4meM0ment No up to date one. Only old releases, which are lacking of features/bugfixes. http://dev.bukkit.org/server-mods/limited-creative/files/
Do you have a version for 1.0?
@thomasw96 Sounds like a Bug, that i never heard again before. Have you looked for errors in the server-log? When there are some errors or other informations that help to investigat this, please file a ticket.