[MECH] CreativePlus v1.2 - Make your server like a creative server [953]

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

  1. Offline

    captainawesome7

    CreativePlus - Creative Server Elements in Beta!
    Version: 1.2
    Overview:
    CreativePlus is a plugin that is very similar to my other plugin, CreativeBuild. BUT, CB is made mainly for a server with multiple worlds, and one of them is a CB world. C+, however, is geared more towards servers where Creative Minecraft elements are a large part of playing.​
    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 (You can use this to give yourself items)​
    Features:
    • Optional Permissions supports!
    • If no permissions, manually define which users can use C+
    • Infinite items (toggleable)
    • Instant Block Breaking (toggleable)
    • Item Drops are Toggleable (to avoid inventory flooding when using instabreak)
    • Multi-world support (Define which worlds can use C+)
    • Inventory Block/Item menues!
    • Option to disable fall damage
    • Option to disable all player damage
    • Option to disable fire
    Configuration:
    Config (open)

    A file called Config.txt will appear in /plugins/CreativePlus. The file will contain this:
    Code:
    #This is the Creative+ config file.
    
    #Set some general config options below:
    UsePermissions=true
    BlockPlayerDamage=true
    BlockFallDamage=false
    BlockFire=true
    EnableOnJoin=true
    
    #Define your worlds in which Creative+ are enabled below:
    creative=true
    
    #If you don't use permissions, add Usernames that are allowed to use creative build below:
    
    C+ will automatically detect permissions, and use it, but if you have Permissions and set UsePermissions to false it will use the user list in the Config.txt. If you don't have permissions, it doesn't matter what value you put for UsePermissions. If you block Player Damage, obviously it will block Fall Damage for players as well. If BlockFire=true, fire will be put out in ~.5 seconds. You can put as many worlds and users as you want. If EnableOnJoin=true, and the player is in a world that does not use C+, it will not be enabled, and obviously, if they don't have permission, it won't be enabled either.

    Commands + Permissions Nodes:
    Cmds+Perms (open)

    General Commands:
    • /cleari - creativeplus.clear - Clears your inventory
    • /con - creativeblus.all - Enables all aspects of C+
    • /coff - creativeplus.all - Disables all aspects of C+
    • /dropson - creativeplus.drops - Turns on block drops
    • /dropsoff - creativeplus.drops - Turns off block drops
    • /ibon - creativeplus.instabreak - Turns on Instant Block Breaks
    • /iboff - creativeplus.instabreak - Turns off Instant Block Breaks
    • /itemson - creativeplus.infinite - Turns on infinite items
    • /itemsoff - creativeplus.infinite - Turns off infinite items
    Inventory Commands:
    • /cblocks - creativeplus.blocks - Gives you the Blocks inventory menu
    • /cblocks2 - creativeplus.blocks - Gives you the overflow Blocks menu
    • /cores - creativeplus.ores - Gives you the Ores blocks/items menu
    • /cfood - creativeplus.food - Gives you the Food items menu
    • /cwool - creativeplus.wool - Gives you the Wool blocks menu
    • /cdyes - creativeplus.dye - Gives you the Dyes items menu
    • /cred - creativeplus.redstone - Gives you the redstone related blocks/items menu
    • /cfight - creativeplus.redstone - Gives you the fight/combat items menu
    • /cmisc - creativeplus.misc - Gives you the Miscellaneous items menu

    Video By @loalbertmartinezrds:
    Video (open)



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

    Planned Changes
    Version 1.3
    • Any Ideas?
    Changelog:
    Version 1.2
    • Fixed the bedrock breaking bug, now bedrock is once again not able to be broken!
    Version 1.1
    • Added inventory menus!
    • *NOTE* When you type a new inventory command it will clear everything BUT your quickbar
    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 :)
     
    KragTheDark, CoolOppo, xydra and 2 others like this.
  2. Offline

    captainawesome7

    @Tosh94 Hmm, maybe I put a wrong line in, let me look at it
     
  3. Offline

    Ian Laplante

    Hi, I can't seem to enable CB on my server, everytime I try and use command /con says "Creative+ is not enabled on this world" even though in the config I enabled it.

    EDIT: figured it out, can't have the name world otherwise it doesn't recognize it.
     
  4. Offline

    Trenix

    This was very confusing to setup. I actually started to rage from it. You said...
    I'm assuming "permissions" is a plugin. However in the config it must be set to true for you to be manually add usernames to use the creative build.
    Some suggestions, give us a menu ingame for the commands. Also give us the option to allow everyone to have the creative build feature.
     
  5. Offline

    iketheGiant

    I'm also having this problem.
     
  6. Offline

    CoolOppo

    Really Nice plugin! I'm going to try to make a video really soon to demonstrate the awesomeness of this!
     
  7. Offline

    Ozo

    I've got an idea, add /csave to save your current inventory/hotbar setup! and then /cload to load the last saved slots :)
     
  8. Offline

    PYROMANIAC702

    I believe this is a typo in the permissions node.
     
  9. Offline

    dep2011

    nope, 'blus' for on and 'plus' for off

    Edit : I agree thats strange the way he's made 2 permission nodes different for on and off where as for the others it's just the same permission node for on and off,

    i think the /cfight permission node is wrong due to it saying 'redstone'
     
  10. Its actually a spelling mistake...
    Direct from code:

    creativeplus.all
     
  11. Offline

    PYROMANIAC702

    Great! Now all we need is for him to correct it.
     
  12. Offline

    Jackzilla88

    I just went through all my plugins, and found that this one disabled damage even when players were not on the Creative World. If you need to see my permissions, let me know. Possible conflicting plugins: CommandBook, Multiverse, MultiInv, WorldGuard, WorldEdit
     
  13. Offline

    Jellyfrog

    Im blind or no category has torch? /cmisc should have it!
     
  14. Offline

    68x

    When your plugin is used with BigBrother, the blocks that are being broken by Instant break are not being registered.
     
  15. Offline

    dep2011

    in bukkit build 860 unlimited blocks only works on the first inventory box :/
     
  16. Offline

    BFC_Mike

    Code:
    14:20:29 [INFO] [Creative+] Error while reading config.txt!
    14:20:29 [SEVERE] java.io.FileNotFoundException: plugins/CreativePlus/Config.txt (Too many open files)
    14:20:29 [SEVERE]       at java.io.FileInputStream.open(Native Method)
    14:20:29 [SEVERE]       at java.io.FileInputStream.<init>(FileInputStream.java:106)
    14:20:29 [SEVERE]       at java.io.FileInputStream.<init>(FileInputStream.java:66)
    14:20:29 [SEVERE]       at me.captain.Creative.Config.getProperty(Config.java:47)
    14:20:29 [SEVERE]       at me.captain.Creative.CEL.onEntityDamage(CEL.java:20)
    14:20:29 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
    14:20:29 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    14:20:29 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    14:20:29 [SEVERE]       at net.minecraft.server.EntityLiving.Q(EntityLiving.java:130)
    14:20:29 [SEVERE]       at net.minecraft.server.Entity.o_(Entity.java:196)
    14:20:29 [SEVERE]       at net.minecraft.server.EntityLiving.o_(EntityLiving.java:230)
    14:20:29 [SEVERE]       at net.minecraft.server.EntityHuman.o_(EntityHuman.java:96)
    14:20:29 [SEVERE]       at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:197)
    14:20:29 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:286)
    14:20:29 [SEVERE]       at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    14:20:29 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    14:20:29 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    14:20:29 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    14:20:29 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    14:20:29 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    14:20:29 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:20:29 [SEVERE] net.minecraft.server.MinecraftException: Failed to check session lock, aborting
    14:20:29 [SEVERE]       at net.minecraft.server.PlayerNBTManager.b(SourceFile:76)
    14:20:29 [SEVERE]       at net.minecraft.server.World.k(World.java:2128)
    14:20:29 [SEVERE]       at net.minecraft.server.World.w(World.java:189)
    14:20:29 [SEVERE]       at net.minecraft.server.World.save(World.java:179)
    14:20:29 [SEVERE]       at net.minecraft.server.World.doTick(World.java:1612)
    14:20:29 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:389)
    14:20:29 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    14:20:29 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:20:29 [SEVERE] Unexpected exception
    net.minecraft.server.MinecraftException: Failed to check session lock, aborting
            at net.minecraft.server.PlayerNBTManager.b(SourceFile:76)
            at net.minecraft.server.World.k(World.java:2128)
            at net.minecraft.server.World.w(World.java:189)
            at net.minecraft.server.World.save(World.java:179)
            at net.minecraft.server.World.doTick(World.java:1612)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:389)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I get that error frequently.

    Current plugins:
    WorldGuard, ThunderTools, WarnFreeze, BananaChunk, Vanilla, MyHome, CommandBook, BukkitContrib, RemoteToolkitPlugin, MultiVerse, MyWarp, WorldEdit, MobRider, LogBlockQuestioner, MonsterBox, StealthLogin, VanishNoPickup, MagicCarpet, DropChest, MultiInv, CreativePlus, Lockette, ChopTree, mcbans, Permissions, Honeypot, LogBlock
     
  17. Offline

    seriosbrad

    I'm getting that same error, it goes on in the log until I reboot the server. Then when we start up again and start using the plugin we all crash and the server hangs.

    RB #860
     
  18. Offline

    uglypeople

    #This is the Creative+ config file.

    #Set some general config options below:
    UsePermissions=false
    BlockPlayerDamage=false
    BlockFallDamage=true
    BlockFire=true
    EnableOnJoin=true

    #Define your worlds in which Creative+ are enabled below:
    WorldNameHere=true
    AnotherWorldNameHere=true

    #If you don't use permissions, add Usernames that are allowed to use creative build below:
    User1=true
    User2=true
    User3=true



    It doesnt block fall dmg :C
    Do i need to enable ''BlockPlayerDamage''?

    I tried block damage, it didnt work, but fire works :)

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

    captainawesome7

    What other plugins do you have that modify onEntityDamage
     
  20. Offline

    uglypeople

    Possible u can add like i can use a specific tool to get Instant Break? its rly annyoing when i keep opening doors and such and they break :/
     
  21. Offline

    captainawesome7

    U do know you can right click right?
     
  22. Offline

    uglypeople

    Ye but its annoying when its on everything, i used the instantbreak single plugin, but it would be cool if u added that plugin to this, i know u think im stupid... but im just used to open with left click
     
  23. Offline

    captainawesome7

    Well the whole point of the instabreak on this plugin was the ability to break anything without a super pickaxe, I like to build and break without switching tools. So no, I won't be adding that.
     
  24. Offline

    uglypeople

    Can u atleast add in Config to disable instantbreak...?
     
  25. Offline

    samknash222

    Hi! I found your plugin(CreativeBuild first then this one) but neither of them work. CreativeBuild actually prevents me from logging onto my server and CreativePlus just plain won't work. C+ is configured correctly but it still gives me the error saying I don't have permission to enable it. Can you help?
     
  26. Offline

    captainawesome7

    100% User error or plugin confilcts
    The post above gives me no info to go on
     
  27. Offline

    samknash222

    Sorry. I'm new to this kind of thing. What information should I give?
     
  28. Offline

    captainawesome7

    all of it
     
  29. Offline

    samknash222

    K.

    Realm name: The Realm of Knash
    Installed plugins:
    GodPowers
    SuperPowers
    AncientGates
    GetID
    BigBrother
    Citizens
    LogBlock
    AdminChat
    BlueTelePads
    MyHome
    Prefixer
    ColorMe
    QuantumConnectors
    AdminRage
    TelePlusPlus
    Repair
    Stargates
    BackToBody
    CreativePlus
    Runecraft

    Config.txt looks like this:

    #This is the Creative+ config file.

    #Set some general config options below:
    UsePermissions=true
    BlockPlayerDamage=false
    BlockFallDamage=false
    BlockFire=false
    EnableOnJoin=true

    #Define your worlds in which Creative+ are enabled below:
    The Realm of Knash=true
    AnotherWorldNameHere=true

    #If you don't use permissions, add Usernames that are allowed to use creative build below:
    dominationdb=true
    ishfulness=true
    spazzasaurus=true
    havocprime=true
    User4=true

    Error I(dominationdb) recieve when attempting to turn on CreativePlus with the /con command: You don't have permission to: Turn on creative+

    Is that all the info you need? If not please tell me what I am missing. Oh and I am on Craftbukkit build 860
     
  30. Offline

    captainawesome7

    Are you OP on the server? I recommend installing Permissions 2.7.x
     
  31. Offline

    samknash222

    Yes I am an op. Besides installing permissions do you know what I could do to fix this?
     

Share This Page