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.
You should have an option to make it so if player is already in PvP mode, he has to wait 10 seconds or so without PvPing so he can go back to creative mode.
Because currently in my server players pvp with survival and the VIP has creative, so when they are close to dying they go on creative mode to fill health. There should be some sort of delay between switching or so... Please add it!...
Any chance you can add an option so when someone logs in they are set back to whatever the world mode is.
limit/remove_drops has no effect. when set to either true or false, both cases remove the item and report "Fetching addPacket for removed entity: CraftItem" to the console. This was in version 1.2.0 on CB2034. Permissions/enabled was false.
Also with permissions/enabled set to true, and with myself having limitedcreative.nolimit.chest, i was unable to access chests.
Aaaaand furthermore, even with creative armor disabled, the plugin attempts to set the armor, but is unable to do so, resulting in this error: http://pastebin.com/1XRdzJ9X
Update: since switching to CB 2060, I have not had any of these problems, they may appear when using /lc reload so you may want to check that
You should add restrictions to the new items in 1.2.3 that EXP potions that creative can give out.
And add restriction options for spawning Eggs.
Also did you fix the inventories folder not reading certain players?
Exactly what linoko said:
You should dissable exp bottles in the config file. Annother problem you might get is spawning creepers, and killing them, so you should dissable all spawn eggs to. This is some things you can do untill they get seperate exp
@naithantu
You should dissable exp bottles in the config file. Annother problem you might get is spawning creepers, and killing them, so you should dissable all spawn eggs to. This is some things you can do untill they get seperate exp :)
exp bottle id: 384 spawn egg: 383
People with creative mode can give themselves experience potions and throw those at other people for infinite experience, block this please. :)
Apart from that, perfect plugin, just what I was looking for :D
Add MySQL support?
Great plugin can't wait for it to be working with 1.2
Ive only done limited testing on my 1.2.3 R0 beta serve possible but everything looks in order thus far.
Great job man.
when users go from survival to creative (server is by default survival) i get this errors in console:
Im using te follow versions:
Bukkit: 1.2.3-R0.1 (Build #02034) This plugin: A: v1.2.0-alpha for CB 1.1-R6 Mar 02, 2012 Worldguird: 5.5.2 ( World edit: 5.3
Thanks for the help!
On cb1938 using v0.9.7 I am able to set region flags, but from ingame when I do region info ID, I get the message "An internal error occurred when attempting this command" and this error appears on console:
23:04:26 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command '/region' in plugin LimitedCreative v0.9.7-beta at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:784) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:744) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:176) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.NullPointerException at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:202) at de.jaschastarke.minecraft.worldguard.CCommand.onInfo(CCommand.java:140) at de.jaschastarke.minecraft.worldguard.CCommand.onCommand(CCommand.java:112) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
@Jacob71 If you are using multiverse, you shouldn't use the
__global__
region, because multiverse handles the gamemode-change between creative and survival worlds. If you are not using multiverse the global region is the correct way.there shouldn't be any problems. changing the world should enforce the gamemode.
@skeight Yes, thats a MultiVerse issue. You may also affect the behavior with the LC options "regionoptional" and "regionoptionalremember". But giving the multiverse bypass permission is the best solution.
@skeight
Nevermind. This was caused by a missing multiverse permission specifically
mv.gamemode.bypass.<WORLDNAME>
In case someone else has the same problem. Working great now!
I have a weird problem where people are losing the ability to go creative.
I am using the latest craftbukkit dev build #2037, Limited Creative 1.2.0 Alpha, WorldGuard 5.5.2-Snapshot.
I setup regions for users in 20x20 plots with //expand vert to give them from bedrock to height limit. When it's first setup it works fine but if they leave the game and come back then it stop working and they don't go in creative.
At first I was using their usernames as the region names which may have been causing a conflict as users with capital letters in their name weren't effected by this weird bug.
Any insight into this?
I tried deleting the regions and re-adding but when I look at regions.yml the deleted regions are still in there.
I'm really confused and I am hoping you can provide some insight into this problem... Not sure if this requires a ticket or if I just screwed things up using the names and maybe I have to reset all the plots... ? (delete players/regions yml files and restart from scratch).
Is it possible to make it so if someone has creative in one world, then go to another world, that they'll lose creative? I want there to be no way to get creative in that world, I want it to be 100% survival for every player, even the staff (including myself). I've tried this with global region, but I don't think I did it right. What should I do? Also, thank you for this awesome plugin! :D
@Possible
Aww sweet Thanks!
@ihasamoose Can't help you with that: File a Ticket with at least: Startup-Message of LimitedCreative; Error returned when you try the command; Errors in server.log; Exact build-numbers of LC, WorldGuard and Bukkit; LC config.yml
@bladedpenguin You can either set the world gamemode with MultiVers or you try setting the creative mode via LC and the WorldGuard global region (http://wiki.sk89q.com/wiki/WorldGuard/Regions/Introduction#Global_region)
Is it possible to simply designate a world? I want both an entire world, and certain regions within another world.
region flag <region> gamemode creative doesn't work for me