[MECH] CreativeBuild v1.5 - Infinite Items, InstaBreak, and No Drops [928]

Discussion in 'Inactive/Unsupported Plugins' started by captainawesome7, May 11, 2011.

  1. Offline

    captainawesome7

    CreativeBuild - Build Creatively!
    Version: 1.5
    Overview:
    CreativeBuild is a plugin that makes building on your Beta Minecraft server more like creative. Items are infinite, breaking is almost instant, and there are no drops (to avoid inventory flooding).​
    Other Plugins:
    Because this plugin does certain thins, it is very helpful to have these two plugins:​
    MultiInv (If you have two worlds and one with CB, players can give items and not have them in the regular world)​
    SimpleGive (Because item drops are off by default, you can use this to give yourself items)​
    Version Specific Features Below:
    1.0 (open)

    Everybody can break instantly and build with infinite items.
    To clear your inventory, type /cbclear​
    The command is accesible by everyone.​

    1.1 (open)

    Adds permissions:​
    creativebuild.build - Allows players to build with infinite blocks​
    creativebuild.break - Allows players to break blocks with 1 hit​
    creativebuild.clear - Allows players to clear their inventory with /cbclear​

    1.2 (open)

    Changes permissions nodes:​
    creativebuild.cb​
    creativebuild.clear​
    If you already have creativebuild.cb you will have cb enabled when you join the server. If you don't want it on, you can disable it with /cboff. You can also enable it with /cbon. Both of these commands are compatible with playernames, so /cbon captainawesome7 would enable it for captainawesome7. Also, console /cbon or /cboff is supported.​

    1.3 (open)

    Adds two more commands, to toggle block drops on/off:​
    /dropson​
    /dropsoff​
    ^uses creativebuild.cb node^​

    1.4/1.5 (open)

    Adds a config file and multiworld support. The config file will be at plugins/CreativeBuild/config.txt. It will contain:
    Code:
    #This is the CreativeBuild config file.
    #Define your worlds in which CreativeBuild are enabled below (you can have as many as you want):
    WorldNameHere=true
    AnotherWorldNameHere=true
    
    To add a world, replace WorldNameHere with the world name, and if you want 5 worlds to have CB just add 5 lines, each with worldname=true. If you don't want CB support on a world, just don't add it, you don't need to put world=false.

    Downloads
    The source code is included in the .jar (/me/captain/CreativeBuild/)

    Planned Changes
    None
    Changelog:
    Version 1.5
    • Fixed Bedrock bug where you could break it if you broke a nearby block first
    Version 1.4
    • Added multi world support and a config file
    Version 1.3
    • Added commands to for block drops, /dropson and /dropsoff
    • ^Uses the creativebuild.cb node^
    Version 1.2
    • Adds commands to toggle CreativeBuild. Changes permissions nodes to:
    • creativebuild.cb
    • creativebuild.clear
    • If you have creativebuild.cb you will have cb enabled when you log in
    • Download a different version if you don't want this
    Version 1.1
    • Includes Permissions (Download v1.0 if you don't want this)
    Version 1.0
    • Release!
    Extra:
    If anybody wants to make a quick video about how this plugin works/how to use it, I can put it in the OP for you and give you a shout-out :)
     
  2. Offline

    Teteros

    This plugin is awesome! Unfortunately I can't use it on my server :( because any user can break bedrock destroy protected areas (worldguard) and break protected blocks (worldguard as well) but cant place protected blocks (worldguard again :p)
     
  3. Offline

    captainawesome7

    You can just use permissions..
     
  4. Offline

    wolfgangab3

    Ok im trying to resolve an issue with my server and i believe this plugin is the problem...
    Whenever a player that isnt an OP right-clicks on a block it tells them they dont have permission. Ive already ruled out all of my other plugins that deal with clicks, so if you have any idea if it could be your plugin/how to fix it you would be amazing
     
  5. Offline

    captainawesome7

    That makes absolutely no sense, because I don't even implement that in my plugin. There is nothing about right clicking in there...
     
  6. Offline

    godsyn

    Bug report.
    CB: 766
    CreativeBuild: 1.4
    Issue:
    • Bedrock can be broken.
    Expected behavior:
    • Bedrock should never be broken.
    Steps to reproduce:
    • Spawn bedrock.
    • Create wall (or floor) of bedrock.
    • Spawn wool (I've only tested with wool, other blocks may work).
    • Place wool on wall (floor) of bedrock.
    • Rapidly break placed wool while facing bedrock.
    • Bedrock will be removed in addition to the wool.
    Additional:
    • Perhaps an additional check is needed. When "attacking" bedrock directly, it is not broken. It would also be nice to conform to community standard and use lowercase names for file naming.
    Config.txt (open)
    Code:
    #This is the CreativeBuild config file.
    #Define your worlds in which CreativeBuild are enabled below:
    worldart=true
     
  7. Offline

    captainawesome7

    It is on block damage, so if a player doesnt attack the block directly none of the code in the plugin should apply.
    @godsyn
     
  8. Offline

    Knapier89

    Why must the solution be so simple! LOL thanks.
     
  9. Offline

    turtlesoupz

    Hey, I'm new to the forums, and to minecraft, and to bukkit. A warm welcome maybe? ;D

    I created an account mainly because I'm having some trouble getting this plugin to work, and an account with the way bukkit works seems necessary. I admit, I am new to doing all this but I have bukkit functioning on my server, and I understand the navigation of the servers somewhat already because I come from coding rsps in the past. My problem is similiar to Knapier's, but still no fix, the plugin does not work and I did rename the world from having a space. Any suggestions?

    I have other plugins on the server, is there any plugins that interfere? I hope I don't seem stupid, but I don't know what else to do to solve the problem.

    Edit: Also it seems as though another plugin thats somewhat alike to this gives me the same problem, I just can't get it to work. The problem is most likely user error, so any help you have for me is appreciated lol. I tried the fastmining plugin as well and when I try to enable it I'm told I don't have the permission to. I assume maybe the same problem is happening with both, Is this related to the permissions plugin? Am I required to have the permissions plugin?


     
  10. @turtlesoupz Are you sure none of your other plugins are still working with your old world names? Check their configs and change accordingly. Also it's usually a good idea to mention the version of Bukkit you're using when talking about errors.
     
  11. Offline

    turtlesoupz

    @AS1LV3RN1NJA Yes I am sure, and I'll keep that in mind for future problems, I have the most current build (766); however I've solved my problem.

    The original permissions plugin I found didn't allow me to download it because the link was broken. I thought it was the only one, but after searching I found what I assume is the correct permissions plugin, installed it on the server and added myself into the users, and now all problems from before are gone. I guess it is required, or maybe I was just doing something wrong before having the permissions plugin? All in all, my post is virtually pointless now, oh well, trial and error I suppose, anyway thanks for the plugin captain, it makes it a lot easier when you have big build projects.

    Thanks for the help.
     
  12. Offline

    captainawesome7

    @turtlesoupz You need to be a server OP if you don't have the Permissions plugin installed :)

    Well, I was able to reproduce it extremely easily. I am going to work on a fix later today and have it out at ~4:00.

    Fixed in 1.5 :D
    I just added:
    Code:
            if(block.getType() == Material.BEDROCK) {
                event.setCancelled(true);
                return;
            }
    It no longer breaks bedrock :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  13. Offline

    godsyn

    Local tests show the issue is resolved. Thank you.
     
  14. Offline

    turtlesoupz

    @captainawesome7 That's where I'm confused, I was op+ on my server, so I don't understand why it wouldn't work without the permissions plugin. Any ideas of why? Either way I've solved my problems by adding the permissions plugin, and this plugin is going to save me loads of time, I appreciate it, and also the other plugins of yours I use. Followed, and I'll be sure to share if I think of anything for future releases. Thanks again bro.
     
  15. Offline

    godsinferno

    Just so everyone knows this works with 798 just fine.
     
  16. Offline

    godsyn

    Suggestion: update your topic to reflect latest build.
     
  17. Offline

    Chuffmunky

    Great plugin. The only problem I see is it's too easy to accidentally destroy 2 blocks with 1 click; need a configurable delay of some sort
     
  18. Offline

    captainawesome7

    @Chuffmunky not happening, if you somehow can't control how many times you click a mouse you probably shouldn't be playing minecraft
    On another note, I'm not going to make instant break not instant..

    What

    Creative+ (that's as far as I'm taking either of these two plugins command wise)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  19. Offline

    godsyn

    [​IMG]
     
  20. Offline

    captainawesome7

    Latest Build usually refers to CB
    :p
     
  21. Offline

    Peacelower

    I was wondering if you could make an extra variable for turning of instant block kill ? that would be awesome
     
  22. Offline

    captainawesome7

  23. Offline

    CoolOppo

    What if you could turn block drops on or off by default by editing it in the config?
     
  24. Offline

    Thejimsternater

    Permissions??? So admins and regular players are seperated! would be nice.
     
  25. Offline

    captainawesome7

    RTRD likes this.
  26. Offline

    Thejimsternater

    What? did i miss something?
     
  27. Offline

    zachoooo

    Update Please! It still works on 818, but whenever i reload it stops working.
     
  28. Offline

    captainawesome7

    Yeah. Alot. READ THE OP:
    Changes permissions nodes:
    creativebuild.cb
    creativebuild.clear
    If you already have creativebuild.cb you will have cb enabled when you join the server. If you don't want it on, you can disable it with /cboff. You can also enable it with /cbon. Both of these commands are compatible with playernames, so /cbon captainawesome7 would enable it for captainawesome7. Also, console /cbon or /cboff is supported.
    And in about 5 other places:
    Includes Permissions (Download v1.0 if you don't want this)
    And:​
    • Adds commands to toggle CreativeBuild. Changes permissions nodes to:
    • creativebuild.cb
    • creativebuild.clear
    • If you have creativebuild.cb you will have cb enabled when you log in
    • Download a different version if you don't want this

    did you get post raped by the forum software? (Why is this in my thread?)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  29. Offline

    zachoooo

    Update to 818 plox! Also it breaks when you reload for me :/
     
  30. Offline

    Ashens

    Yes, using 818 and 819 the plugin works partially:
    When switching to another world with CreativeBuild set, it has no effect (super pickaxe and infinite items are not active) until disconnecting and reconnecting.
     
  31. @Ashens Well that is weird.
     

Share This Page