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. Looks Pretty Cool , Dude!
     
  3. Offline

    Junrall

    Yes, very cool!

    Can you prevent explosions from creating drops from blocks placed in creative mode?

    Thanks :p
     
  4. Offline

    Ahniolator

    If it's TNT you are talking about, I'm not sure I can prevent those specific TNT entities from exploding, but I can make it so you can't place them as a short term solution.
     
  5. Offline

    Junrall

    What I mean is let TNT and creapers destroy the blocks... just don't the blocks drop anything when destroyed by explosions.
     
  6. Offline

    Ahniolator

    I see what you mean, and it's just something that I overlooked :p I'll get on that :)
     
  7. Offline

    SondreHG

    AWESOME MAN!

    Ill try it out when I get back home!
     
  8. Need to make only-creative worlds ! :x
     
  9. Offline

    Ahniolator

    Added to ToDo page
     
  10. Offline

    frdfsnlght

    Interesting plugin. I've already had one of my plugin's users ask if it's possible to integrate with yours. So...

    My plugin can teleport players, even to other servers, and can send their inventory along. Assuming your plugin is running on the servers on both ends, is there anything I can do to get creative/survival item "tagging" across the link?

    And, I suppose if your plugin is only running on one side, is there anything useful I could do for incoming/outgoing players?
     
  11. Offline

    Ahniolator

    I'm fairly certain that if both of the servers are not running MultiInv, and the inventories are being sent in between servers using your plugin, that there shouldn't be a problem unless their game mode gets switched "in-transit" so to speak. You could probably use the prelogin event to set the game mode to the one on the server that they were previously on before the login event occurs. Or you could do a check to see if the game mode they would be coming in on is the same one they are leaving from and if it doesn't match up, don't let them teleport. Otherwise I would probably have to change the way I save inventories to a database and have the locations for that configurable. I haven't done anything like that yet, so it could take longer than expected.

    As for the one-sided situation, just run a check to see if the game mode they will be on once they get there is the same as the one where mine is not running. If they don't match, don't allow the teleport.

    If there is anything that you want me to elaborate on, feel free to ask. I answered these questions based on theory because I don't actually know how your plugin works.
     
  12. Offline

    frdfsnlght

    So it sounds like you're not "tagging" inventories, but just keeping track of a game mode and a set of inventory items for each one? If that's true, then maybe I just need to be able to get the game mode. Do you have an API for that? And an API for setting the game mode?
     
  13. Offline

    Ahniolator

    The bukkit api does this already.

    Code:java
    1. GameMode mode = player.getGameMode();
    2. if (mode.equals(GameMode.CREATIVE) {
    3. //Do Stuff
    4. } else if (mode.equals(GameMode.SURVIVAL) {
    5. //Do Other Stuff
    6. }


    They also have an onGameModeChange event for players as well

    Code:java
    1. @Override
    2. public void onGameModeChange(GameModeChangeEvent) {
    3. GameMode mode = event.getToGameMode();
    4. if (mode.equals(GameMode.CREATIVE) {
    5. //Do Stuff
    6. } else if (mode.equals(GameMode.SURVIVAL) {
    7. //Do Other Stuff
    8. }
    9. }


    v1.23 || September 27, 2011:​
    • Fixed explosions giving drops for "Creative" blocks

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

    VeryInsane

    Something I would like on my server is to have it so my [Members] can't break say the [Moderators] etc blocks they place. Maybe in-cooperate a flexible system that you can configure to do whatever you want like Members cant break other Members blocks, unless they're Respected then they can break Members blocks. It's confusing when I explain It, I know. By the way, I use bPermissions.
     
  15. Offline

    frdfsnlght

    Ah. I didn't realize game mode was a per-player thing. I've never really looked at it before. Thanks for the info. Seems I should be able to do something useful with this.
     
  16. Offline

    Ahniolator

    Fixed update notifications. I had to change the host where the version files are kept

    Fixed an error where the console got spammed on inventory saving/loading

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

    alfskan

    Is there no permission for '/bcs toggle' ?

    The permission link on OP just has bypass permissions.

    When player typed '/bcs toggle', it said 'you do not have the correct permissions!'

    using CB1185, permissions 3.x.

    p.s- '/bcs toggle' command is just for admins?
    If so, is there a way to toggle per player?
     
  18. Offline

    Ahniolator

    /bcs toggle is an admin command just like the regular game mode command, but you can specify players like this:

    /bcs toggle ahniolator

    Caps don't matter when specifying a player unless you get the name wrong.
     
  19. Offline

    Rustyhoff

    I suppose it wouldnt be possible to disable plugin use to the survival players?
     
  20. Offline

    Ahniolator

    What do you mean by that?
     
  21. Offline

    Rustyhoff

    like i dont want the temptation to use plugins such as world edit or something like that when in survival. like make it so its almost like vanilla for the survival players?
     
  22. Offline

    Junrall

    Nice work dude! Now I can give this to VIPs and not worry about them handing out goodies to the Regulars.:D
    Thank you sooo much for this plugin!
     
  23. Offline

    Ahniolator

    You're welcome! I enjoyed making it :D

    Couldn't you just use the permissions that come with the plugins to make it so they can't use their features?

    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

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

    alfskan

    permissions 3.x doesnt supported?

    if not supported, can you publish bcs.commands.toggle permission default true version?

    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.

    If I use multi-world and multi-inv, they can't interfere with each other without this plugin.

    But your plugin can prevent interfere each other in 1 world.

    But before,

    1. creative players can damaged(or can't damage other players and mobs)

    2. plugin has to has its own blacklist.(If 1 is added, creative players can use high grade weapon in pvp or pve freely. and If use worldguard blacklist, survival players can't use them either.)

    3. /bcs toggle has to charged with iconomy(they can abusing with this command for pvp, pve)

    p.s- sorry for my poor english.

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

    Rustyhoff

    Not sure if it will give me the results I'm looking for, I'll look into it though. But this plugin is the other half to what I was looking for, so thanks!!
     
  26. Offline

    Ahniolator

    In a nutshell - You don't want players in Creative Mode to be able to deal damage?
     
  27. Offline

    RaggedWorm

    That would be something I am looking for too. It's a little one sided to have invincible players killing survival ones.

    This plugin is awesome! I run a dual mode server and have been looking for something like this to come out since 1.8 went live. There is still one thing I am looking for, a way to make game mode zone-based and an automatic in due to zone. I know your plugin is not zone-based but is this something you might add to your plugin? Maybe something that reacts to an invisible line on the map on the x or z axis?
     
  28. Offline

    Ahniolator

    v1.3 || September 28, 2011​
    • Creative players cannot damage other entities or be targeted by other entities anymore

    v1.31 || September 28, 2011​
    • Made creative player attacking configurable, and fixed the reload command

    Sorry for releasing so many updates. I'm catching more bugs and other things than I expected that I should've fixed before releasing new features

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

    L24D

    @Ahniolator
    I actually have a really great suggestion, if it's possible. It should be...
    - As a special case, would it be possible to have a toggle in the config to allow creative players to be invincible or not?
    - And secondly, have some way to create a command to allow creative mode to be toggled via a non-op command?
    (ex: /bcscreative <player> and /bcssurvival <player>)

    That would be amazing, I've got something special in mind for my server, and i need to find some way to have those implemented somehow, by someone :p

    Thanks bunches! :D
     
  30. Offline

    Ahniolator

    1. I don't believe this is possible
    2. If you use permissions, this has already been implemented
     

Share This Page