Inactive [GEN] DefaultCommands v4.0.0 - The "default" plugin [1.4.5-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by vildaberper, Mar 2, 2011.

  1. Offline

    AntiTW

    Hi, I just tried changing the * into the worlds name but that doesn't work either.. (it was a typo indeed, sorry about that):

    Permissions entry:

    - 'dc.weather.Legit'

    This is not that important though, now I am the only one who is god Muhahaha ;) but I ran into another problem which is more significant. When I die ( or someone else) they respawn with the items in their inventory from the other world. To explain myself: I have 2 worlds and when I die in world 2 I respawn in world 2 with the inventory of world 1. Dont know if you recognize this error, probably something wrong on my side.

    Thanks in advance
     
  2. Offline

    DragonMasterNYC

    I'm not quite sure how to explain this, but my server just lagged out to the point where I had to restart it, more like killing the process because it wouldn't stop on its own after 10 minutes.

    When it loaded back up I noticed that my inventory was from last Friday. So naturally I checked the inventory files in your plugin folder. Nothing was saved after the 17th, but the funny part is we have been in and out of the server all weekend and I've restarted it twice without any problems.

    So now I have to hear everyone that they lost their inventories, not sure what I'm going to do for them just yet.

    Might be a problem something to do with your last update or with my other plugins.

    Might be time to add a backup system for plugins and the world, already have one for world, but the less plugins the better.

    Currently downloading log to see what exactly happened when I tried to restart the server. I'll post the log when I finish the downloading it.

    Update: Console spammed "[WARNING] Can't keep up! Did the system time change, or is the server overloaded?" for 20 minutes before this

    Code:
    2011-06-20 23:19:15 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-20 23:19:22 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-06-20 23:19:22 [SEVERE]     at java.util.Arrays.copyOf(Arrays.java:2746)
    2011-06-20 23:19:22 [SEVERE]     at java.util.ArrayList.ensureCapacity(ArrayList.java:187)
    2011-06-20 23:19:22 [SEVERE]     at java.util.ArrayList.add(ArrayList.java:378)
    2011-06-20 23:19:22 [SEVERE]     at java.util.Collections$SynchronizedCollection.add(Collections.java:1593)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:85)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:630)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.EntityTrackerEntry.a(EntityTrackerEntry.java:141)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.EntityTrackerEntry.track(EntityTrackerEntry.java:108)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.EntityTracker.a(EntityTracker.java:116)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:404)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-20 23:19:22 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-20 23:19:22 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2746)
        at java.util.ArrayList.ensureCapacity(ArrayList.java:187)
        at java.util.ArrayList.add(ArrayList.java:378)
        at java.util.Collections$SynchronizedCollection.add(Collections.java:1593)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:85)
        at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:630)
        at net.minecraft.server.EntityTrackerEntry.a(EntityTrackerEntry.java:141)
        at net.minecraft.server.EntityTrackerEntry.track(EntityTrackerEntry.java:108)
        at net.minecraft.server.EntityTracker.a(EntityTracker.java:116)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:404)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-20 23:20:41 [INFO] Forcing save..
    2011-06-20 23:20:45 [INFO] Save complete.
    2011-06-20 23:20:45 [INFO] Stopping the server..
    2011-06-20 23:20:45 [INFO] Stopping server
    
    There is nothing else on this server except the Minecraft server, everything else including my databases are on a separate server. Now I'm not even sure if this is a plugin problem, but more of a server problem. If I or my associate finds anything else I will post back.

    Thanks in advance
    Dragon
     
  3. Offline

    vildaberper

    That looks like a server problem. "OutOfMemoryError"

    Ill look into it, thanks. :)

    More info please!
     
  4. Offline

    Orcem12

    Hey there Vildaherper I found out that this plugin doesn't not work with Towny. You receive "Unknown Command" for almost every command. I altered the code a bit so now it does but I was just letting you know. I really prefer not to use Essentials over Default commands :p Love your work more. I would recommend fixing it quickly don't want to lose all the people to Essentials!

    Edit: I hope you don't mind me altering your coding...I just can't stay away xD.
     
  5. Offline

    vildaberper

    There is config for it (unknown_command), but I could hardcode it in if you like. :D
    Code:
    pseudocode:
    List<String> exclude = new LinkedList<String>();
    if(pm.getPlugin("Towny") != null){
    // Add townys commands to exclude list
    }
    if(!exclude.contains(command)){
    // Show unknown_command
    }
     
  6. Offline

    DragonMasterNYC

    My associate looked into it as well last night, we came up with the same conclusion, but we are trying to figure out what caused this since the server is set to use 2GB of RAM. Should be more than enough since we have used it for months now, but then again sometimes you need more. I'm sending this info to the maker of Big Brother, but it was the last plugin to fire not but 1 second before the server started to run away. I'm thinking of just dropping the plugin entirely since I find good plugins that conflict with it.

    But I do have a small request since the inventory doesn't save to the world directory with your plugin, could we have an option to let the inventory save as it normally would. I have a backup plugin but it only works on the world directories.

    Thanks for your time
    Dragon
     
  7. Offline

    Orcem12


    HAHAHA that would be great thanks :) It wasn't a problem for me that's what I did :) I just don't want you to lose to essentials :p I love your work a lot more :D, Example give by Dragon.
     
  8. Offline

    DragonMasterNYC

    So far I've never had a problem with this plugin, Essentials was a headache for me and my team too many plugins. We need more plugins like this to simplify everything into 1 simple plugin like this. Just like the game itself this plugin is not done. Plus Vildaherper is not getting paid for it and he is doing a great job at it, as of now this is just one of those plugins I can't turn my back on it works, there are always gonna be a few problems but nothing major. All we can do as a community to help him is give him any info to iron the bugs out and help him make the plugin better than it is.

    As for the inventory issues I'll just work it out with my users since it's no biggy. They are kinda used to chunk errors at least once every other month, I would rather not have to rebuild the town, but now with the backup plugin nothing to worry about. With the seed we use there is an abundance of ore all over the map, richest seed I've found yet.
     
  9. Offline

    Plancke

    Code:
    18:51:30 [SEVERE] java.io.IOException: Not in GZIP format
    18:51:30 [SEVERE]       at java.util.zip.GZIPInputStream.readHeader(Unknown Sour
    ce)
    18:51:30 [SEVERE]       at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    18:51:30 [SEVERE]       at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    18:51:30 [SEVERE]       at net.minecraft.server.CompressedStreamTools.a(SourceFi
    le:8)
    18:51:30 [SEVERE]       at net.minecraft.server.PlayerNBTManager.c(SourceFile:95
    )
    18:51:30 [SEVERE]       at net.minecraft.server.World.<init>(World.java:87)
    18:51:30 [SEVERE]       at net.minecraft.server.WorldServer.<init>(WorldServer.j
    ava:29)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(CraftS
    erver.java:384)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(CraftS
    erver.java:358)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(CraftS
    erver.java:354)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.Misc.addWorld(Misc.ja
    va:1465)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(S
    aveLoad.java:332)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.SaveLoad.loadAll(Save
    Load.java:58)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.DefaultCommands.onEna
    ble(DefaultCommands.java:117)
    18:51:30 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:125)
    18:51:30 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:799)
    18:51:30 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:253)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:140)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:118)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:283)
    18:51:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    18:51:30 [SEVERE] java.io.IOException: Not in GZIP format
    18:51:30 [SEVERE]       at java.util.zip.GZIPInputStream.readHeader(Unknown Sour
    ce)
    18:51:30 [SEVERE]       at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    18:51:30 [SEVERE]       at java.util.zip.GZIPInputStream.<init>(Unknown Source)
    18:51:30 [SEVERE]       at net.minecraft.server.CompressedStreamTools.a(SourceFi
    le:8)
    18:51:30 [SEVERE]       at net.minecraft.server.PlayerNBTManager.c(SourceFile:10
    7)
    18:51:30 [SEVERE]       at net.minecraft.server.World.<init>(World.java:87)
    18:51:30 [SEVERE]       at net.minecraft.server.WorldServer.<init>(WorldServer.j
    ava:29)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(CraftS
    erver.java:384)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(CraftS
    erver.java:358)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(CraftS
    erver.java:354)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.Misc.addWorld(Misc.ja
    va:1465)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(S
    aveLoad.java:332)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.SaveLoad.loadAll(Save
    Load.java:58)
    18:51:30 [SEVERE]       at com.vildaberper.DefaultCommands.DefaultCommands.onEna
    ble(DefaultCommands.java:117)
    18:51:30 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:125)
    18:51:30 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:799)
    18:51:30 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:253)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:140)
    18:51:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:118)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    18:51:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:283)
    18:51:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    18:51:30 [SEVERE] Error occurred while enabling DefaultCommands v3.5.0 (Is it up
     to date?): null
    java.lang.NullPointerException
            at net.minecraft.server.WorldServer.c(WorldServer.java:120)
            at net.minecraft.server.World.a(World.java:1950)
            at net.minecraft.server.Chunk.addEntities(Chunk.java:470)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServ
    er.java:78)
            at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProvid
    erServer.java:117)
            at net.minecraft.server.World.getChunkAt(World.java:252)
            at net.minecraft.server.World.getTypeId(World.java:195)
            at net.minecraft.server.World.isEmpty(World.java:199)
            at net.minecraft.server.World.a(World.java:166)
            at net.minecraft.server.WorldProvider.a(SourceFile:51)
            at net.minecraft.server.World.canSpawn(World.java:158)
            at net.minecraft.server.World.c(World.java:144)
            at net.minecraft.server.World.<init>(World.java:109)
            at net.minecraft.server.WorldServer.<init>(WorldServer.java:29)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:384)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:358)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:354)
            at com.vildaberper.DefaultCommands.Misc.addWorld(Misc.java:1465)
            at com.vildaberper.DefaultCommands.SaveLoad.loadConfig(SaveLoad.java:332
    )
            at com.vildaberper.DefaultCommands.SaveLoad.loadAll(SaveLoad.java:58)
            at com.vildaberper.DefaultCommands.DefaultCommands.onEnable(DefaultComma
    nds.java:117)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:799)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Code:
    18:38:19 [INFO] Chunk (0, 3) stored at  (1, 1)
    18:38:19 [SEVERE] java.lang.Throwable
    18:38:19 [SEVERE]       at org.bukkit.craftbukkit.util.LongHashtable.get(LongHas
    htable.java:32)
    18:38:19 [SEVERE]       at net.minecraft.server.ChunkProviderServer.getOrCreateC
    hunk(ChunkProviderServer.java:115)
    18:38:19 [SEVERE]       at net.minecraft.server.World.getChunkAt(World.java:252)
    
    18:38:19 [SEVERE]       at net.minecraft.server.World.b(World.java:1891)
    18:38:19 [SEVERE]       at net.minecraft.server.World.getEntities(World.java:927
    )
    18:38:19 [SEVERE]       at net.minecraft.server.Entity.move(Entity.java:396)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityLiving.a(EntityLiving.java
    :589)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityLiving.u(EntityLiving.java
    :711)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityMonster.u(EntityMonster.ja
    va:30)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityZombie.u(EntityZombie.java
    :34)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityPigZombie.u(EntityPigZombi
    e.java:54)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityLiving.o_(EntityLiving.jav
    a:231)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityMonster.o_(EntityMonster.j
    ava:34)
    18:38:19 [SEVERE]       at net.minecraft.server.EntityPigZombie.o_(EntityPigZomb
    ie.java:32)
    18:38:19 [SEVERE]       at net.minecraft.server.World.entityJoinedWorld(World.ja
    va:1114)
    18:38:19 [SEVERE]       at net.minecraft.server.WorldServer.entityJoinedWorld(Wo
    rldServer.java:62)
    18:38:19 [SEVERE]       at net.minecraft.server.World.playerJoinedWorld(World.ja
    va:1096)
    18:38:19 [SEVERE]       at net.minecraft.server.World.cleanUp(World.java:1073)
    18:38:19 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:395)
    18:38:19 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:309)
    18:38:19 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    this gets spammed every second twice
    CB 860
    Defaultcommands 3.4.1
    [​IMG]
     
  10. Offline

    DragonMasterNYC

    Looks like a chunk error to me.

    Can you join the server and if you can is anything out of place, like a chunk of snow in the desert, or a random mountain in a relatively flat area.
     
  11. Offline

    Orcem12

    If that is the case I offer all my resources to help out.

    Is there more to this error? Try reinstalling Default Commands. For the second error that is a corrupted chunk restore a backup. Look for a giant hole in your map usually near high memory usage areas Example: Shops, Waterfalls, Mountains, etc.
     
  12. Offline

    Plancke

    it worked when i stopped server yesterday and i start it back up and now ti is erroring but i'll check for a chunk fail but how do i solve it when i found the chunk then?
     
  13. Offline

    DragonMasterNYC

    The only way would be to roll the server back to a previous state, that is if you have a backup system in place not sure if nay of your plugins do it, but it looks like your hosting on your own system. From my experience when a chuck error happens and you don't have a backup of the world directories there isn't much you can do, that I know of.
     
  14. Offline

    vildaberper

    Ill add a backup feature that saves both the world and inventory. :)

    Youve got a chunk error. "/
     
  15. Offline

    Ao1993

    Hey there, would you be able to help?

    I see that I can change my commands so that i don't need to type "/dc", I'd much prefer "/". Can you talk me through how?
    Also, I'm guessing when you update this, I should install the new update? Is it just as simple as removing the old one via "delete" and just adding this one in?
     
  16. Offline

    vildaberper

    It comes with all those aliases in Commands.yml, so you dont have to remove it. :)

    Yep, but in the next version itll be even more simple, just /dc update. :D
     
  17. Offline

    AntiTW

    Thanks, you're the best.

    By the way, hooking into a point Ocrem12 made.. I would be happy to contribute to this plugin. I dont have any experience in modding at all but I'm quite familiar with almost all important programming languages.

    Regards,
    Anti
     
  18. Offline

    JeremyLeory96

    Latest Version, latest craftbukkit

    When using OP Permissions, it seems that it gives everybody permission to do any command! That's a big issue on my server!
     
  19. Offline

    Orcem12

    Alright essentials is a pain for me xD Did you hardcore that Towny in yet? If you would like I can do it for you ;)
     
  20. Offline

    kosq4ok

    Hello, I have this problem, I installed the plugin in the folder plugin cast came into the game and write / fly
    it gives me / dcfly [player]
    why can not I will do this?
    help:'(
     
  21. Offline

    Fr33T

    Would be really cool if you could make a command wich stops fire from spreading :)
     
  22. Offline

    kevan

    How do you add custom maps to the server with this plugin?
     
  23. Offline

    Plancke

    just drag the map into your server folder and then in-game type /join <nameofmap>

    How do i fix this chunk error?
     
  24. Offline

    vildaberper

    Nice to know, Ill pm you if I need any help. :)

    Edit Config.yml, remove the nodes you dont want regular users to have. :)

    Ill do it today. :)
    Can you send me a list of commands from towny?
    I only found /towny when I looked at it. "/

    I doubt that thats everything.
    Do you have spaces in your username? DefaultCommands doesnt support them.

    There is config for it in Config.yml. :)
    In-game config editing is coming though!

    Just drag the world directory into your server directory and do /create nameoftheworld envorimentoftheworld. :)

    Ive never had to fix chunk errors myself, but I found this thread in the MC forum: http://www.minecraftforum.net/topic/137381-official-corrupted-save-recovery-thread/
     
  25. Offline

    Ron472

    How do you permanently delete a created world? When i /delworld a world it "removes" it from the list, but it stays in the root files. After a server restart the world re-appears in the world list, and generates new terrain for it.
    Even if i manualy delete all world folders in the server root, it keeps re-generating. Is this a bug or is there an other way to delete a world?
     
  26. Offline

    vildaberper

    If you type /delworld <world> remove, itll remove the world directory.
    What other plugins do you use? Sounds like theres another plugin that loads the world.
     
  27. Offline

    Orcem12


    Sure thing vilda composing them all together now.

    PMing them to you now
     
  28. Offline

    Fr33T

    Sorry for bothering but i cant find it in the Config (The Fire/FireSpread) and i dont know how to change it. And im just wondering if you can protect regions in the plugin and if so, how?
     
  29. Offline

    vildaberper

    "block_fire_spread: false", its almost at the top. Just replace false with true and youre set.
    Cant protect regions or even make them yet, but there will be region management in the future. :)
     
    Fr33T likes this.
  30. Offline

    Fr33T

    ok good, but thanks anyways :D
     

Share This Page