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.
@Lezyamin You have to use the
//region
(double slash) command to define the flags. Thats because WorldGuard isn't extendable. If "//
region flag <regionname> creative allow" doesn't work, use "/limitedcreative region flag <regionname> creative allow".I have set up the plugin, set up my region, but it does not recognise the flag creative. Please can someone help me
@hwei Yes thanks. Already got it, and will be solved next version. Actually i am looking into the "prevent any dropping"-feature. But may take a few days till version cames out.
@Possible
Put two or more block in a line like this: http://i.imgur.com/5C3T0.png
Is it possible to provide a flag to prevent all types of dropping inside creative regions, including physical effects? (Could not find such flag in WorldGuard...)
:)
@hwei Yes, there are still a few items that can be dropped, because the events can not be associate with a player (water flow, breaking the attached block, sand & torches). These limitations are not easy to overcame. But please show me a Screenshot of a setup to bush blocks out of creative. Will try to fix that soon!
Edit: nevermind, got it. should be doable ;)
@Possible
This plugin is awesome, but we still found many bugs in our test. :(
In v0.9-beta, pistons can still push any block outside. Just try to push more than one block at a time. And this can NOT be solved by blacklist. Because you can push a piston inside creative area from outside.
Water flow will also cause attached items to drop.
Players can get infinite sand or gravel by dropping them onto a torch or rail.
Flowing can be solved by blacklist: Get infinite melon slices using pistons and melon blocks. Get infinite item form spawned mobs using mob-eggs.
@BlueNinjaTiger Yes, it works with MultiVers. To allow full access in the creative-world, you have to enable permissions and use a permission plugin supporting per-world-permission. than you may add limitedcreative.nolimit.* to your creative world (PEX only, for other plugins you need to add all nolimits separate).
Does this work with Multiverse, i.e. would I be able to use this to control players' creative abilities in a survival world while allowing them full access in a creative world?
@Possible
Lovely. Is there any way to reduce RAM usage of this plugin? It hoards more than LogBlock and DynMap combined for me o_O
@ihasamoose It does. When you have WorldEdit/WorldGuard installed, LC uses their "WEPIF" to handle Permissions. If not, it falls back to default bukkit permissions, so you need the "Permissions.jar" bundled with PEX installed. I use PEX to, so the plugin is developed against it ;)
This doesn't seem to support Permissions Ex.
I'd love it if this could happen in the future.
@Kwuality Pistons: Yay, doesn't thought about that yet. Will definitive look into that.
JukeBoxes: Hmm, may be. Doesn't really matter in my opinion.
Levers/Switches: Good hint. Absolutely no idea why you may need it, but will add that.
Edit/Update:
Pistons are fixed in v0.9 (as its approved by bukkitdev). They are nolonger able to move blocks out, or pull blocks into a creative region. Levers and buttons option and permissions are added. Also: Dealing damage to mobs may also optional be disabled. And Blacklisting items/blocks are now allowed to be specified with data value
Pistons seem to be a ware around this to push creative items into a non-creative area... Also Juke Boxes can shoot out discs (duplication).
Maybe allow a permission to prevent people in creative mode from interacting with Levers or switches?
@Digitalink2008
On the issue i raised before about the limit permissions I'm thinking i misunderstood. I thought I could have a creative player completely unable to place or break blocks. In effect just god and flight. But I now see that the nolimits apply to governing the blacklists. That makes plenty of sense and I can report it works just fine with my setup.
Thanks Possibe, D.
@Possible
ok that works, but they can still build outside of the area in creative mode, i want to only allow them the use of creative inside this area.
any help?
@lixah If they are already member of the region, all you need is:
(assuming you didn't changed the default: "
//
region flag <id> creative-group member")@possible
sorry i must be being thick, but i can't get this to work for me at all, let me jsut explain a bite better what im trying to do. I'm trying to create a buildzone where only 1 group (builders:group) may build, i don't want them to be able to build anywhere else, at least in game mode creative.
this is what i did, create a zone in worldguard, add the group 'builder' to the members of that group.
then i do region flag <id> ???? <builders?>
sorry if this is completely wrong, im just getting so confused.
@lixah /region addmember <regionid> <username> or /region addmember <regiond> g:<groupname>
(mention the single /, because it is the single slash, because its handled by worldguard itself)
http://dev.bukkit.org/server-mods/limited-creative/pages/region/
I seriously don't get how to set a particular group/other variable to only be able to use creative mode in a region defined by worldguard.
any help?
@pyrosine