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

    phaed

    Really? Better how? This is supposed to be an essentials alternative not an essentials clone. Do not follow what they do as an example of what to do. Essentials is a monstrosity that should not have been created in the first place. Their decision to split it up is a result of the push back they have been getting form the bukkit plugin community. There is no good reason why DefaultCommands should be split in the same fashion, it is just adding overhead where none is needed.
     
  2. Offline

    luna0316

    i agree entirely with this post, i hate how essentials is split up and is actually why i changed to this plugin. also i cant seem to get the command /motd to work on my server, it just says unknown command. any ideas? running world guard/edit, spawnmob, defaultcommands, permissions (and im a admin so yes i have permission) as well as teleplusplus. everything is updated to latest versions
     
  3. Offline

    vildaberper

    There is no /motd yet. :)

    Its just that it gets very messy with 10+ stuff to do for one hook. xD
    But allright, Ill make one big plugin too. :D
     
  4. Offline

    Psycho Robot

    This man speaks the truth. Don't do this!
     
  5. Offline

    phaed

    You can divide up the functionality into different specified classes. Make it more modular. It doesn't all have to go inside your Main class. For instance, My PreciousStones plugin is larger than DefaultCommands in terms of functionality and complexity, yet look how clean the main class is:

    https://github.com/phaed420/Preciou...inth/Phaed/PreciousStones/PreciousStones.java

    I am splitting off the code into specified Manager classes that handle one specific thing. Commands, Settings, etc..

    https://github.com/phaed420/Preciou...d/PreciousStones/managers/CommandManager.java

    Check out the CommandManager which handles the long onCommand if-tree of the different commands. Notice how the functionality for each command is not done right there on that if-tree (which would have made it just as messy), rather I am calling methods from each of the managers that handle that specific functionality and return a result. All you see in the onCommand handler is calls to the managers and messages back to the user. Making it easy to follow and debug. Ideally your event handlers should show what you are doing, not how. It's all about compartmentalizing. Don't split up your old messy code into five smaller messy plugins. Rethink your plugin's architecture.
     
  6. Offline

    MacVaultDweller

    I agree
     
  7. Offline

    vildaberper

    Yeah, but it would still be alot of code.
    This was my first plugin, I was a newb at Java.
    Check out the source of Locker, its much more cleaner and Ill probably write V3 like that. :D
     
  8. Offline

    Huns

    My wrapper takes care of saving the world and doing a backup every 30 minutes, so I tried to set autosave_time to 0.

    The result is that it constantly tried to save the world over and over again, and threw [SEVERE] java.io.IOException: Stream Closed a bunch of times.

    As a temporary measure I set the autosave_time to 999999. I would suggest checking autosave_time and if it's zero to just skip the code block that does that.

    BTW, after I corrected the value to 999999 and typed /reload, it kept trying to autosave. It was probably trying to save the world every single tick and didn't catch the reload statement.

    I would also suggest setting exactspawn to false by default! Players kept dying in lava, and it would just respawn them there again and again. No one could help them until that was turned off. You can see how that would be a problem!
     
  9. Offline

    vildaberper

    Set autosave: false if Features. :)
    On /reload the plugin saves the config and then loads it again. There will be in-game settings in V3!
    And set your spawn some where else than above/in a pit of lava? xD
     
  10. Offline

    blackmist

    Can you add a simple /help feature that lists commands? I would also love to have the /compass feature. And since theres auto save, can you add auto restart too?

    >_< Sorry if this is too much to ask!

    Thanks! [diamond][diamond]
     
  11. Offline

    Huns

    No, I mean people were dying and then spawning where they died. I couldn't figure if it was a bug or something. Thanks for the other advice!
     
  12. Offline

    Alex K

    Hey Man, me again, Your plugin works perfectly on my server, thanks to you. May I suggest a few things through for V3? I'd personally love to see the ability to spawn infinite blocks, just like essentials, where you take /i redwool -1, and it would give you redwool, and I'd also like to see the ability to give colored wools by name and such. That would make this pretty much perfect, thanks again.
     
  13. Offline

    vildaberper

    Yeah, Ill include a pretty extensive items.yml, with damage value support! :D
    Example:
    35:1: whateverthatis
     
  14. Offline

    luna0316

    so having this error upon changing a value from true to false
    Code:
    20:29:32 [INFO] Preparing start region
    20:29:32 [SEVERE] Could not load plugins\DefaultCommands.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: mapping values are not allowed here
     in "<reader>", line 4, column 40:
         ... ctspawn: false    after_autosave: Done!
                                             ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:149)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:111)
            ... 8 more
    and reason why?
     
  15. Offline

    Psycho Robot

    I had the same problem, and I think its unrelated from exactspawn. Its that the plugin seems to clear your spawn when it loads, and then you have to set it up again using /setspawn. Or whatever the command is... Dev, if its possible to NOT have this plugin reset spawn, you should change it!
     
  16. Offline

    vildaberper

    Something is wrong with the .yml, make sure its valid. :)

    Itll be better in V3. :D
     
  17. Offline

    CyrussM

    Fly mode is hard to use and get disable itself when somone leave the server (i drop like a stone ) , after this i cant activate the Fly mode again. no error Message.
     
  18. Offline

    vildaberper

    Hard to use? How?

    I know, its a bug that I dont bother dealing with for now.
    Really need to get V3 out as soon as possible. :)
     
  19. Offline

    luna0316

    so i figured it out, when clicking behind true IE right here TRUE<--- and hit backspace, there are 5 spaces so i have to hit backspace 5 times, however when i click here -->TRUE and use delete and only delete the four letters then put false, it will work. So there is a hidden space next to the True in every line, and deleting this hidden space is what causes that error. But either way i am still getting alot of disconnects after a certain amount of time, since i installed this plugin. here is what it looks like, and btw i know the java error is the disconnecting and thats its normal, but after words people cant connect to my server, and after so many errors i cant input commands through the server as seen from the last line where i tried to say Hi. As well as why are my people moving wrongly? Thanks for any help
    Code:
    22:53:27 [SEVERE] java.net.SocketException: Connection reset by peer: socket wri
    te error
    22:53:27 [SEVERE]       at java.net.SocketOutputStream.socketWrite0(Native Metho
    d)
    22:53:27 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    22:53:27 [SEVERE]       at java.net.SocketOutputStream.write(Unknown Source)
    22:53:27 [SEVERE]       at java.io.DataOutputStream.writeInt(Unknown Source)
    22:53:27 [SEVERE]       at net.minecraft.server.Packet30Entity.a(SourceFile:119)
    
    22:53:27 [SEVERE]       at net.minecraft.server.Packet31RelEntityMove.a(SourceFi
    le:63)
    22:53:27 [SEVERE]       at net.minecraft.server.Packet.a(SourceFile:149)
    22:53:27 [SEVERE]       at net.minecraft.server.NetworkManager.e(SourceFile:130)
    
    22:53:27 [SEVERE]       at net.minecraft.server.NetworkManager.d(SourceFile:9)
    22:53:27 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:83)
    22:53:27 [INFO] Bluepumkin lost connection: disconnect.genericReason
    22:53:43 [INFO] Bluepumkin [/89.218.70.137:13184] logged in with entity id 19437
    0
    22:54:19 [INFO] <ToughRainbows> Does anyone else want a lot?
    22:54:33 [INFO] <GundDown> nICE lADY
    22:54:38 [INFO] <GundDown> *Nice Lady
    22:54:42 [INFO] <GundDown> Get on Skype
    22:55:06 [INFO] ToughRainbows lost connection: disconnect.quitting
    22:55:21 [INFO] ToughRainbows [/108.13.203.6:49322] logged in with entity id 196
    830
    22:55:30 [INFO] <Bluepumkin> haha beds
    22:56:05 [INFO] <ToughRainbows> cool
    22:56:19 [INFO] tophatelephante tried command: homw
    22:57:30 [INFO] ToughRainbows lost connection: disconnect.quitting
    22:57:48 [INFO] <lifeline24> be back l8r
    22:57:51 [SEVERE] java.net.SocketException: Connection reset
    22:57:51 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    22:57:51 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    22:57:51 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    22:57:51 [SEVERE]       at net.minecraft.server.Packet.b(SourceFile:113)
    22:57:51 [SEVERE]       at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    22:57:51 [SEVERE]       at net.minecraft.server.NetworkManager.c(SourceFile:9)
    22:57:51 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    22:57:51 [INFO] lifeline24 lost connection: disconnect.genericReason
    23:09:11 [INFO] GundDown lost connection: disconnect.quitting
    23:09:16 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    23:09:51 [INFO] GundDown [/108.13.203.82:59667] logged in with entity id 220476
    23:10:22 [INFO] SMECKLEDWARF [/173.60.86.137:49167] logged in with entity id 221
    445
    23:11:27 [INFO] <GundDown> Roo?
    23:11:34 [INFO] <GundDown> *Rew
    23:11:39 [INFO] <GundDown> Uuuuaguuaaa  :D
    23:13:55 [INFO] <GundDown> Rew, do you have Skype?
    23:14:01 [INFO] <SMECKLEDWARF> no!
    23:14:07 [INFO] <GundDown> Get skype   o-o
    23:14:12 [INFO] <SMECKLEDWARF> no!
    23:14:13 [INFO] <GundDown> We need to add you
    23:19:46 [INFO] <Bluepumkin> beds yall
    23:19:52 [INFO] SMECKLEDWARF lost connection: disconnect.quitting
    23:20:13 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    23:20:14 [WARNING] Bluepumkin moved wrongly!
    23:20:14 [INFO] Got position -98.5, 74.73749999701977, 312.1000061035156
    23:20:14 [INFO] Expected -98.5, 74.20000004768372, 314.30000001192093
    23:20:17 [INFO] SMECKLEDWARF [/173.60.86.137:49180] logged in with entity id 237
    475
    23:20:33 [INFO] <GundDown> Rew, leave for like, 10 seconds
    23:20:41 [INFO] <SMECKLEDWARF> no
    23:20:42 [INFO] <GundDown> Or jump into a bed
    23:20:45 [INFO] SMECKLEDWARF lost connection: disconnect.quitting
    23:22:10 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    23:22:10 [INFO] /173.60.86.137:49183 lost connection
    23:22:10 [INFO] /173.60.86.137:49190 lost connection
    23:22:10 [INFO] <Bluepumkin> haha
    23:22:11 [INFO] <GundDown> Mikey, get in the fucking call again
    23:22:11 [INFO] <GundDown> I will cut you
    23:22:11 [INFO] <GundDown> with my face bones
    23:22:11 [INFO] <Bluepumkin> ...
    23:22:11 [INFO] <tophatelephante> Hello?
    23:22:11 [INFO] tophatelephante lost connection: disconnect.endOfStream
    23:23:07 [SEVERE] java.net.SocketException: Connection reset
    23:23:07 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    23:23:07 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    23:23:07 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    23:23:07 [SEVERE]       at net.minecraft.server.Packet.b(SourceFile:113)
    23:23:07 [SEVERE]       at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    23:23:07 [SEVERE]       at net.minecraft.server.NetworkManager.c(SourceFile:9)
    23:23:07 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    23:24:12 [SEVERE] java.net.SocketException: Connection reset
    23:24:12 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    23:24:12 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    23:24:12 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    23:24:12 [SEVERE]       at net.minecraft.server.Packet.b(SourceFile:113)
    23:24:12 [SEVERE]       at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    23:24:12 [SEVERE]       at net.minecraft.server.NetworkManager.c(SourceFile:9)
    23:24:12 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    23:27:34 [INFO] GundDown lost connection: disconnect.endOfStream
    23:48:38 [INFO] Bluepumkin [/89.218.70.137:13584] lost connection
    23:48:38 [INFO] SMECKLEDWARF [/173.60.86.137:49191] lost connection
    23:48:38 [INFO] GundDown [/108.13.203.82:60144] lost connection
    23:48:38 [INFO] /71.63.77.23:49652 lost connection
    23:48:38 [INFO] /108.13.203.6:49173 lost connection
    23:48:38 [INFO] /108.13.203.6:49176 lost connection
    23:48:38 [INFO] /89.218.70.137:13595 lost connection
    23:48:38 [INFO] /173.60.86.137:49201 lost connection
    23:48:38 [INFO] /108.13.203.6:49182 lost connection
    23:48:38 [INFO] /108.13.203.82:60206 lost connection
    23:48:38 [INFO] /173.60.86.137:49215 lost connection
    23:48:38 [INFO] /173.60.86.137:49216 lost connection
    23:48:38 [INFO] /108.13.203.6:49186 lost connection
    23:48:38 [INFO] /173.60.86.137:49217 lost connection
    23:48:38 [INFO] /108.13.203.82:60249 lost connection
    23:48:38 [INFO] /173.60.86.137:49218 lost connection
    23:48:38 [INFO] /108.13.203.6:49190 lost connection
    23:48:38 [INFO] /89.218.70.137:13855 lost connection
    23:48:38 [INFO] /89.218.70.137:13936 lost connection
    23:48:38 [INFO] /89.218.70.137:13966 lost connection
    23:48:38 [INFO] /71.63.77.23:50770 lost connection
    23:48:38 [INFO] /89.218.70.137:14417 lost connection
    23:48:38 [INFO] /108.13.203.82:61649 lost connection
    23:48:38 [INFO] /89.218.70.137:14553 lost connection
    23:48:38 [INFO] Bluepumkin lost connection: disconnect.endOfStream
    23:48:40 [INFO] Disconnecting Bluepumkin [/89.218.70.137:13584]: Failed to verif
    y username!
    01:13:21 [INFO] Bluepumkin [/89.218.70.137:14590] lost connection
    01:13:21 [INFO] /173.60.86.137:49548 lost connection
    01:13:21 [INFO] /178.91.227.157:56052 lost connection
    01:13:21 [INFO] /76.89.160.82:1381 lost connection
    01:13:21 [INFO] /76.89.160.82:1385 lost connection
    01:13:21 [INFO] /76.89.160.82:1386 lost connection
    01:13:21 [INFO] /71.63.77.23:54192 lost connection
    01:13:21 [INFO] /71.63.77.23:54228 lost connection
    01:13:22 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    01:14:53 [INFO] lifeline24 [/76.89.160.82:2887] lost connection
    01:15:33 [INFO] tophatelephante [/71.63.77.23:54864] logged in with entity id 23
    8876
    01:15:50 [INFO] lifeline24 [/76.89.160.82:2892] logged in with entity id 239927
    01:15:50 [INFO] Bluepumkin [/178.91.227.157:56650] logged in with entity id 2400
    55
    01:27:37 [INFO] lifeline24 lost connection: disconnect.quitting
    01:28:15 [SEVERE] java.net.SocketException: Connection reset
    01:28:15 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    01:28:15 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    01:28:15 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    01:28:15 [SEVERE]       at net.minecraft.server.Packet.b(SourceFile:113)
    01:28:15 [SEVERE]       at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    01:28:15 [SEVERE]       at net.minecraft.server.NetworkManager.c(SourceFile:9)
    01:28:15 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    01:38:31 [SEVERE] java.net.SocketTimeoutException: Read timed out
    01:38:31 [SEVERE]       at java.net.SocketInputStream.socketRead0(Native Method)
    
    01:38:31 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    01:38:31 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    01:38:31 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    01:38:31 [SEVERE]       at net.minecraft.server.Packet.b(SourceFile:113)
    01:38:31 [SEVERE]       at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    01:38:31 [SEVERE]       at net.minecraft.server.NetworkManager.c(SourceFile:9)
    01:38:31 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    01:53:11 [SEVERE] java.net.SocketException: Connection reset
    01:53:11 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    01:53:11 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    01:53:11 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    01:53:11 [SEVERE]       at net.minecraft.server.Packet.b(SourceFile:113)
    01:53:11 [SEVERE]       at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    01:53:11 [SEVERE]       at net.minecraft.server.NetworkManager.c(SourceFile:9)
    01:53:11 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    07:05:45 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    07:05:45 [INFO] /76.89.160.82:3085 lost connection
    07:05:45 [INFO] /76.89.160.82:3094 lost connection
    07:05:45 [INFO] /178.91.227.157:56727 lost connection
    07:05:45 [INFO] /76.89.160.82:3135 lost connection
    07:05:45 [INFO] /178.91.227.157:56728 lost connection
    07:05:45 [INFO] /76.89.160.82:3173 lost connection
    07:05:45 [INFO] /76.89.160.82:3227 lost connection
    07:05:45 [INFO] /76.89.160.82:3232 lost connection
    07:05:45 [INFO] /173.60.86.137:49289 lost connection
    07:05:46 [INFO] <Bluepumkin> aaron!
    07:05:46 [INFO] <Bluepumkin> bed!
    07:05:46 [INFO] Bluepumkin lost connection: disconnect.genericReason
    >say hi
    >
     
  20. Offline

    vildaberper

    Ive never seen that before, what other plugins do you use?
    I dont think its caused by DefaultCommands.
     
  21. Offline

    luna0316

    im using world guard/edit spawnmob, default commands, dynamap, teleplusplus, cleaner and permissions

    however this whole locking up my server and people disconnecting thing started after i started using default commands, and its kinda hard to trouble shoot as it happens over a few hours :/

    (currently trying to find a plugin for restarting server so it will just reload everything as this seems to keep this error from happening, it seems to be a time based thing)
    ^^ anyone know a good plugin or maybe even a good script for this (windows 7 64 bit)
     
  22. Offline

    ksevelyar

  23. Offline

    RawrSean

    I get this a lot:
    Code:
    13:55:01 [SEVERE] java.io.IOException: The handle is invalid
    13:55:01 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:01 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    13:55:01 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    13:55:01 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:01 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:01 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:01 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:01 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:01 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:01 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.jav
    a:530)
    13:55:01 [SEVERE]       at com.vildaberper.bukkit.DefaultCommands.DefaultCommand
    s.run(DefaultCommands.java:399)
    13:55:01 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    13:55:02 [SEVERE] java.io.IOException: The handle is invalid
    13:55:02 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:02 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:02 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:02 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.jav
    a:530)
    13:55:02 [SEVERE]       at com.vildaberper.bukkit.DefaultCommands.DefaultCommand
    s.run(DefaultCommands.java:399)
    13:55:02 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    13:55:02 [SEVERE] java.io.IOException: The handle is invalid
    13:55:02 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:363)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:310)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:02 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:02 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:02 [SEVERE]       at net.minecraft.server.World.a(World.java:135)
    13:55:02 [SEVERE]       at net.minecraft.server.World.g(World.java:1435)
    13:55:02 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:348)
    13:55:02 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    13:55:02 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    13:55:02 [SEVERE] java.io.IOException: The handle is invalid
    13:55:02 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:02 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:02 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:02 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.jav
    a:530)
    13:55:02 [SEVERE]       at com.vildaberper.bukkit.DefaultCommands.DefaultCommand
    s.run(DefaultCommands.java:399)
    13:55:02 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    13:55:02 [SEVERE] java.io.IOException: The handle is invalid
    13:55:02 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:02 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:02 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:02 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.jav
    a:530)
    13:55:02 [SEVERE]       at com.vildaberper.bukkit.DefaultCommands.DefaultCommand
    s.run(DefaultCommands.java:399)
    13:55:02 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    13:55:02 [SEVERE] java.io.IOException: The handle is invalid
    13:55:02 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    13:55:02 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:02 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:02 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:02 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:02 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.jav
    a:530)
    13:55:02 [SEVERE]       at com.vildaberper.bukkit.DefaultCommands.DefaultCommand
    s.run(DefaultCommands.java:399)
    13:55:02 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    13:55:03 [SEVERE] java.io.IOException: The handle is invalid
    13:55:03 [SEVERE]       at java.io.RandomAccessFile.seek(Native Method)
    13:55:03 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:342)
    13:55:03 [SEVERE]       at net.minecraft.server.RegionFile.a(SourceFile:279)
    13:55:03 [SEVERE]       at net.minecraft.server.ChunkBuffer.close(SourceFile:259
    )
    13:55:03 [SEVERE]       at java.util.zip.DeflaterOutputStream.close(Unknown Sour
    ce)
    13:55:03 [SEVERE]       at java.io.FilterOutputStream.close(Unknown Source)
    13:55:03 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:5
    9)
    13:55:03 [SEVERE]       at net.minecraft.server.ChunkProviderServer.b(ChunkProvi
    derServer.java:156)
    13:55:03 [SEVERE]       at net.minecraft.server.ChunkProviderServer.a(ChunkProvi
    derServer.java:186)
    13:55:03 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.jav
    a:530)
    13:55:03 [SEVERE]       at com.vildaberper.bukkit.DefaultCommands.DefaultCommand
    s.run(DefaultCommands.java:399)
    13:55:03 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    
    Latest version of your plugin, plus latest recommended bukkit.
     
  24. Offline

    vildaberper

    Seems like there is a problem with the autosave.
    Are you sure the whole world is valid?

    Disable autosave if nothing else works. :)
     
  25. Offline

    CrAzYfReAk101

    I don't know if this is an issue for everyone else, but i'm running DefaultCommands, and for some reason every few minutes the game times out for some strange reason... I took it off my server and it's not crashing... Anyone else experiencing these issues, or something similair?
     
  26. Offline

    ksevelyar

    Yep, same problem.
     
  27. Offline

    vildaberper

    No idea why, try downgrading or disabling mute_time, autosave and afk_check.
    Its the multithreading i suppose. "/
     
  28. Offline

    RawrSean

    The autosave works sometimes, and that's very important to me.

    The server also crashes for me, but i'm not totally sure which plugin is causing it, I think it's similar to what they're saying.
     
  29. Offline

    Johnny Lunder

    On my server, whenever there's around 10-15 playerquits, the server freezes without messages due to DefaultCommands.
    Removed it and all is good again.
     
  30. Offline

    Electra

    Great job!
    Thanks a lot ;)
     

Share This Page