Inactive [FIX/MECH/GEN] BurningCreativeSuite v1.8 - Keeping Creative Players, Creative! [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Ahniolator, Sep 26, 2011.

  1. Offline

    Ahniolator

    [​IMG]
    BurningCreativeSuite
    Creativity Re-Imagined​
    Requires [RB 1.0.1-R1] || Current Version: v1.8​
    I apologize, but due to time constraints and sheer lack of focus on my part, I can no longer maintain this plugin. I will ensure that this plugin stays up-to-date and working for every RB, but I will no longer be working on adding features and general optimization of the script. From this point on I will only be making sure that it works properly, but fear not! This plugin is open-source, so if there are any who wish to help keep this plugin in top-shape, adding new features and optimizing the script to fix the lag issues, please submit a pull request on Git and I will test your work. If it is satisfactory, it will become a part of this plugin. Happy Holidays everyone!
    Link to git repo: Link
    Have a suggestion? Post it here!
    What does this plugin do? To be put simply, you won't ever have to worry about players in Creative Mode interfering with Survival Mode players. Want to have Creative Mode players to live alongside the Survival Mode players without having to worry about Creative Mode players "making it easier" for the Survival Mode players? This plugin will take care of that! Want to keep your hard-earned items separate from your items that you've spawned into the world? This plugin does that too! Still interested? Read below and check it out!



    Features:
    • Prevents players in Creative Mode from giving items to Survival Mode players
    • Prevents players in Creative Mode from breaking bedrock at the bottom of the world
    • Prevents Endermen from picking up/placing blocks in the world. "Now they can only stare at you angrily! ...Then chase you down and kill you. :D"
    • Separates Creative Mode and Survival Mode inventories!
    • Configurable! Everything can be disabled or enabled!
    • Permissions! Players can be given exclusive rights to bypass certain functions when enabled with a permissions node!
    • Can stop and start time!
    Sorry for the mic quality, my good one is broken and I am waiting on the new one to ship.​
    WARNING: It is not recommended that you edit any of the inventory files unless you are deleting them. Corruption could possibly occur and break the plugin
    Change Log:
    v1.8 || December 2, 2011​
    • Fixed enchantments not being saved/loaded
    v1.7 || October 24, 2011​
    • Several bugfixes, tbh I don't remember them all
    v1.69 || October 18, 2011​
    • Fixed bcs.bypass.entityattack permission. You should now be able to attack entities while you have this permission.

    v1.68 || October 17, 2011​
    • Added two new permissions: bcs.bypass.entityattack and bcs.bypass.chestaccess
    v1.67 || October 17, 2011​
    • I'm really sorry this time: Turned off developer mode, and removed loading/saving messages for block data
    v1.66 || October 17, 2011​
    • Sorry to those who just updated: I put the timeout method in the wrong order :p
    v1.65 || October 16, 2011​

    • Changed it so blocks that the plugin does not currently support now just don't get logged. It no longer prevents you from placing them.
    • Added a timeout to the update check portion of the script, it should no longer give long stack-traces due to not being able to connect to my host
    • Changed the way it saves and loads the blocks slightly, it should no longer give ArrayIndexOutOfBoundsExceptions while breaking "creative" doors.
    v1.6 || October 13, 2011​

    • Added new permissions
    • Fixed creative players and minecarts (They can't place/use them anymore without the correct .bypass permission)
    • Added optional preventing creative players from picking up items
    • Updated to new configuration api
    v1.51 || October 3, 2011​
    • Fixed bcs.commands.toggle permission. Should work properly now.
    v1.5 || October 2, 2011​
    • Added support for WorldGuard and LogBlock ( Thanks @Ycros )
    • Multi-threaded update notifications, so if a connection to the host is poor, it does not lag the server.
    v1.4 || September 30, 2011​

    • Reworked the BLOCK_PLACE and BLOCK_BREAK events. Should reduce server load greatly on most servers. (Plugin running faster FTW!)
    • Fixed a bug where blocks that break when the block below them breaks giving drops from "Creative" blocks.
    • Blocked placement of TNT and Beds for Creative players to prevent certain bugs from appearing until they are fixed
    • If an explosion would destroy a "creative" block, the explosion event gets cancelled to prevent a bug from occurring until it is fixed. Players and other entities, however, will still be damaged by the explosion.
    • Added autosaving blocks in the config. The block saving interval is how many blocks must be placed/broken before it saves the creative blocks to a file. (The larger the number, the less server load, but in the event of a server crash more data will be lost.)
    v1.31 || September 28, 2011​
    • Made creative player attacking configurable, and fixed the reload command
    v1.3 || September 28, 2011​
    • Creative players cannot damage other entities or be targeted by other entities anymore
    v1.28 || September 28, 2011​
    • Fixed creative block dropping bug when you re-enable it after disabling
    • Fixed small command errors
    • Added ability to clear a different player's inventory with the /bcs clearinv <player> command
    • Changed the inventory-clearing method that was being used for the clearinv command to tell who cleared the inventory if a player is specified
    • Added bcs.commands.toggle permissions node
    v1.25 || September 27, 2011:​
    • Fixed spamming console on inventory saving/loading
    v1.24 || September 27, 2011:​
    • Fixed update notifications again
    v1.23 || September 27, 2011:​
    • Fixed explosions giving drops for "Creative" blocks
    v1.21 || September 26, 2011:​
    • Fixed an error I made in the 1.2 update
    v1.2 || September 26, 2011:​
    • Fixed update notifications
    • Added time stopping/starting
    v1.1 || September 26, 2011:


    • Added update notifications
    v1.0 || September 25, 2011:


    • Plugin release
     
    tombik likes this.
  2. Offline

    Rustyhoff

    Can you somehow make it so if I break, say, a block under a torch or railroad or something of that sort, that the torch or track wont drop? make it just go away?

    Edit: I think there might be more items that do that.. but can't think of them right now
    Also, I don't need this right away, maybe just with your next big update.
     
  3. Offline

    Ahniolator

    It would be really helpful for me if you could get me a list of all of the items that act that way when the block below it is broken. I've been working on this plugin almost constantly for the past week and I'm starting to feel pretty drained :p
     
  4. Offline

    Junrall

    Maybe not only invincible, but also disable mobs from targeting you.;)

    See what happens when you create an awesome plugin!? Everybody and their dog starts getting into it! LMAO!
     
  5. Offline

    Rustyhoff

    I would love to do that for you! You just relax! This plugin is awesome, and you have been more than helpful with everyone. Let me help you :)

    Edit:
    I think this is the complete list. But like I said, no rush, take a break! Seriously!

    Torches
    Buttons
    Levers
    Pressure Plates
    Doors (they still drop when left clicked as well)
    Minecart Tracks
    Redstone
    Redstone Repeaters
    Flowers
    Mushrooms
    Signs
     
  6. Offline

    McNugg

    I think I may have found a bug and/or performance issue but im not sure...
    After a couple days, my server started getting a noticeable lag between the time you hit a block and the actual breaking of the block. I was able to single it down to this plugin (took out all plugins and added them in one by one) so im like 90% sure its this one. Anyways, I deleted the plugin folder and then ran the server again so that it would make a new one and the lag was gone. I also have multiple creative worlds, so that could be a contributing factor.
     
  7. Offline

    Ahniolator

    I would greatly appreciate if you could narrow down exactly what file you had to delete to remove the lag. Then I could narrow it down to exactly which function of the plugin is causing it and potentially create a fix for it.
     
  8. Offline

    alfskan

    yeah. that is the best way I think.

    and is it hard to support permissions 3.x?
     
  9. Offline

    Ahniolator

    Never mind the last post I made. I've found the source of the lag and am currently working on a fix for it. The source was within the loading and saving of the "creative" blocks that were placed and broken within the world, and the problem simply was: It was loading and saving the data too often.

    A new version should be out soon to fix that problem.

    Is it not supported by this plugin now?

    Don't worry, I'll be fine ;)

    I'm working on the bug you stated earlier, but it also revealed another one that is reminiscent of the one you mentioned, so I've started working on that one as well. I've also changed the way the block placement and breaking methods work, and it should greatly increase server performance when the "placed blocks give no drops" options are disabled. (Not exactly sure how much this will affect larger (multi-world) servers, but there should be a very large speedup for all smaller servers)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  10. Offline

    alfskan

    yes.

    i gave player bcs.commands.toggle permission, but plugin said player has no permission when type /bcs toggle.
     
  11. Offline

    Ahniolator

    From what I understand, Permissions 2.8 and Permissions 3, are both inactive and unsupported now, and these permissions plugins should no longer be used. All of the permissions that I use are compatible with any permissions plugin that utilizes SuperPerms. PEX, bPermissions, PermissionsBukkit, zPermissions, and the default bukkit permissions, for example, all work. I suggest upgrading your permissions plugin to one of these.

    v1.4 || September 30, 2011​
    • Reworked the BLOCK_PLACE and BLOCK_BREAK events. Should reduce server load greatly on most servers. (Plugin running faster FTW!)
    • Fixed a bug where blocks that break when the block below them breaks giving drops from "Creative" blocks.
    • Blocked placement of TNT and Beds for Creative players to prevent certain bugs from appearing until they are fixed
    • If an explosion would destroy a "creative" block, the explosion event gets cancelled to prevent a bug from occurring until it is fixed. Players and other entities, however, will still be damaged by the explosion.
    • Added autosaving blocks in the config. The block saving interval is how many blocks must be placed/broken before it saves the creative blocks to a file. (The larger the number, the less server load, but in the event of a server crash more data will be lost.)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  12. Offline

    Rustyhoff

    Woot!! This is awesome! Thanks!

    But I do have one small thing (sorry :oops:) This is something I didn't even think about withe the "block below breaking giving creative blocks" bug. This also not only apply to the block below for like tracks and torches, but also if the torch is attached to the "side" of a block. This is also true for tracks when they are running diagonal vertically. If you break the block its leaning on, it will create a drop.
     
  13. Offline

    Ahniolator

    I'm already aware of that and have it on my todo list. The reason I released this now instead of fixing that is because I wanted to get a "less laggy" version out there so lag wouldn't be an issue anymore ;)
     
  14. Offline

    Rustyhoff

    Okay! It's not a big problem so good idea! :p
     
  15. Offline

    cruisecho

    I second the idea of making this world based.
    Having a creative world and a survival worlds attached to the same server but having separate inventories sounds amazing.
     
  16. Offline

    alfskan

    will you prevent creative player's damage dealing?:)
     
  17. Offline

    Ahniolator

    Already done

    I plan on adding this, but after I finish my current project ;)
     
  18. Offline

    SpeQzz

    Hi there,

    Is it possible to allow players to only toggle creative mode for themselves, not other players? I want to let people use creative on my server, but without being able to take another player out of creative mode.

    Thanks!
     
  19. Offline

    Ahniolator

    I believe you are looking for the bcs.commands.toggle permission
     
  20. Offline

    SpeQzz

    So you can no longer toggle another player's creative mode with that cmd? The commands list says you can.
     
  21. Offline

    Ahniolator

    Sorry, I wasn't clear in the permission list. You can, but that requires the bcs.admin permission.
     
  22. Offline

    HeXo

  23. Offline

    Ahniolator

  24. Offline

    HeXo

    Ok, the problem is...
    I wanted to block the items, not the blocks because ppl can grab the item (a Diamond Pickaxe for example), place it in a already existing chest, and then use it in Survival mode.

    Hmm, maybe there's a way to block the chests access only in Creative mode?
     
  25. Offline

    Ahniolator

    Already done. Kinda pointless without logging the blocks as creative since then the creative players could just place diamond blocks around the world for the other players
     
  26. Offline

    HeXo

    Yes, i would like to deny certain blocks placement (diamond, iron blocks) AND also make the player unable to spawn/place in chest certain items (diamond, iron tools).

    Is this already possible with this plugin?
     
  27. Offline

    Ahniolator

    1. It already kind of does this. It doesn't deny block placement, but if the block was placed by a player in creative mode it won't drop anything when broken. TNT placement is blocked in creative mode, and

    2. Completely blocks chest (and any other kind of "storage" block) usage by creative players
     
  28. Offline

    blasterweb

    I have Permissions 3.X
    http://forums.bukkit.org/threads/in...sions-3-1-6-the-plugin-of-tomorrow-935.18430/

    i have tried Permissions Ex bPermissions
    It didn't work out very well for Permissions Ex, as I could not have any commands at all, even though i made my self op

    bPermissions has no group inheritance :/

    Which permissions plugin do you recommend? :)

    This is what I want to do:
    I already have to worlds, one creative and one survival. I want the people in creative to have creative mode and the people on survival server to have survival mode, and whenever they change world, they simply also change their inventory, so that if a person in the creative world changes to the survival world, he would lose the creative mode and become normal mode.
    Hope you understand and can help me.
    Thank you.
     
  29. Offline

    Ahniolator

    +See: http://dev.bukkit.org/server-mods/burning-creative-suite/pages/todo/
     
  30. Offline

    L24D

    @Ahniolator
    Hmm, Minor bug, not sure what happened, just ranomly tried to change a player's group via the console, then it hit me with a NPE:

    Code:
    2011-10-12 02:50:49 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:354)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: java.lang.NullPointerException
        at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
        at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 7 more
    Caused by: java.lang.NullPointerException
        at ru.tehkode.permissions.config.ConfigurationNode.removeProperty(ConfigurationNode.java:111)
        at ru.tehkode.permissions.backends.file.FileEntity.setPermissions(FileEntity.java:94)
        at ru.tehkode.permissions.ProxyPermissionGroup.setPermissions(ProxyPermissionGroup.java:131)
        at ru.tehkode.permissions.PermissionGroup.removePermission(PermissionGroup.java:552)
        at ru.tehkode.permissions.bukkit.commands.GroupCommands.groupRemovePermission(GroupCommands.java:462)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
        at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
        ... 9 more


    Thanks! :p

    One more thing, maybe a minor suggestion... Could you add a toggle to allow or deny damage to other players or monsters? Would be super, to make up for the "godmode" they get in creative mode.

    [edit]: OH! one more thing... Apparently there's a problem with the update system:


    Code:
    2011-10-12 02:46:02 [SEVERE] java.net.SocketTimeoutException: Read timed out
    2011-10-12 02:46:02 [SEVERE]     at java.net.SocketInputStream.socketRead0(Native Method)
    2011-10-12 02:46:02 [SEVERE]     at java.net.SocketInputStream.read(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at java.net.SocketInputStream.read(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at java.io.BufferedInputStream.fill(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at java.io.BufferedInputStream.read1(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at java.io.BufferedInputStream.read(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at java.net.URL.openStream(Unknown Source)
    2011-10-12 02:46:02 [SEVERE]     at me.ahniolator.plugins.burningcreativesuite.BurningCreativeSuite.getCurrentVersion(BurningCreativeSuite.java:505)
    2011-10-12 02:46:02 [SEVERE]     at me.ahniolator.plugins.burningcreativesuite.BurningCreativeSuite.checkForUpdates(BurningCreativeSuite.java:485)
    2011-10-12 02:46:02 [SEVERE]     at me.ahniolator.plugins.burningcreativesuite.BCSUpdater.run(BCSUpdater.java:27)
    2011-10-12 02:46:02 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-10-12 02:46:02 [SEVERE]     at java.lang.Thread.run(Unknown Source)
     
  31. Offline

    Ahniolator

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
    ^ That means that it's not my plugin ;)

    Aside from that, I do already have it so players can't deal damage while in creative mode. Have you checked your config against the example one on the BukkitDev page? Whenever I add a feature that is configurable, I don't auto-update the config when the plugin is run on a server. If you still are having trouble, try using the /bcs set default command, and it should make a new config with updated "stuff" in it. :)

    Edit: Fixed post, something odd went on with it

    ^This just means my host is having troubles and you can't connect to it. It's a college-run host, but I get it for free since I'm a student there, so I decided to use it anyway. It should fix itself within 10 minutes or so.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016

Share This Page