tomsik68 / HelpPlus

HelpPlus is an automatic command-collecting and documenting plugin for bukkit.
http://dev.bukkit.org/server-mods/help-plus/
4 stars 0 forks source link

HelpPlus 0.52 crashes when dynmap is loaded ***on craftbukkit 1.1*** #1

Closed poizan42 closed 12 years ago

poizan42 commented 12 years ago

I know that 1.1 i not supported yet, so it is possible its just some compatibility problems. HelpPlus seems to work fine when dynmap is not loaded. Output:

>help
23:34:16 [WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException: Unhandled exception executing command 'help' in plugin Essentials v2.7.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: org.bukkit.command.CommandException: Unhandled exception executing command 'help' in plugin HelpPlus v0.52
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:303)
        at com.earth2me.essentials.Essentials.onCommand(Essentials.java:290)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 7 more
Caused by: com.avaje.ebean.ValidationException: validation failed for: sk.tomsik68.helpplus.CommandInfo: [errorKey=length.max
type=sk.tomsik68.helpplus.CommandInfo property=usage value=/<command> hide - hides the player from the map.
/<command> hide TheDude - hides the player 'TheDude' on the map.
/<command> show - shows the player on the map.
/<command> show TheDude - shows the player 'TheDude' on the map.
/<command> render - Renders the tile at your location.
/<command> fullrender - Render all maps for entire world from your location.
/<command> fullrender world - Render all maps for entire world 'world'.
/<command> fullrender world:mapname - Render map 'mapname' of world 'world'.
/<command> radiusrender ## - Render at least ## block radius from your location on all maps.
/<command> radiusrender ## mapname - Render at least ## block radius from your location on map 'mapname'
/<command> radiusrender worldname x z ## - Render at least ## block radius from location x,z on world 'worldname'
/<command> radiusrender worldname x z ## mapname - Render at least ## block radius from location x,z on world 'worldname' on map 'mapname'
/<command> updaterender - Render updates starting at your location on all maps.
/<command> updaterender mapname - Render updates starting at your location on give map
/<command> updaterender worldname x z - Render updates starting at location x,z on world 'worldname' for all maps
/<command> updaterender worldname x z mapname - Render updates starting at location x,z on world 'worldname' for given map
/<command> cancelrender - Cancels any active renders on current world
/<command> cancelrender world - Cancels any active renders of world 'world'
/<command> stats - Show render statistics.
/<command> stats world - Show render statistics for maps on world 'world'.
/<command> triggerstats - Show render trigger statistics
/<command> resetstats - Reset render statistics.
/<command> resetstats world - Reset render statistics for maps on world 'world'.
/<command> sendtoweb msg - Send message to web users
/<command> purgequeue - Set tile update queue to empty
/<command> pause - Show render pause state
/<command> pause <all|none|full|update> - Set render pause state
/<command> ids-for-ip <ipaddress> - Show player IDs that have logged in from given IP address
/<command> ips-for-id <playerid> - Show IP addresses that have been used for the given player ID
/<command> add-id-for-ip <playerid> <ipaddress> - Add player ID to given IP address
/<command> del-id-for-ip <playerid> <ipaddress> - Delete player ID from given IP address

]
        at com.avaje.ebeaninternal.server.core.PersistRequestBean.validate(PersistRequestBean.java:507)
        at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeInsertBean(DefaultPersistExecute.java:89)
        at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:527)
        at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:557)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.insert(DefaultPersister.java:404)
        at com.avaje.ebeaninternal.server.persist.DefaultPersister.forceInsert(DefaultPersister.java:293)
        at com.avaje.ebeaninternal.server.core.DefaultServer.insert(DefaultServer.java:1644)
        at sk.tomsik68.helpplus.HelpPlus.addCommand(HelpPlus.java:277)
        at sk.tomsik68.helpplus.HelpPlus.onCommand(HelpPlus.java:132)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 10 more
poizan42 commented 12 years ago

Okey... so this is actually a problem with the usage information being to big in dynmaps because they group all the commands as subcommands to a few commands.

tomsik68 commented 12 years ago

I've fixed that once forever! :) check BukkitDev for new download.