[INACTIVE][ADMN/SEC/WEB] DataLog - replaced by HawkEye [1000]

Discussion in 'Inactive/Unsupported Plugins' started by oliverw92, Apr 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    oliverw92

    Vaupell, Pinkpixels, Sleaker and 2 others like this.
  2. Offline

    Sleaker

    @oliverw92 - why does DataLog have control events/rules? Not seeing what this does except put more unecessary event calls onto the server. perhaps make it only register events that actually have Rules..

    I would think if you wanted rule based block control you would do it in a BlockProtection plugin... not a data logging plugin. hmmm
     
  3. Offline

    oliverw92

    @Sleaker - for the blacklist rules. You can control any event DataLog can log using the blacklist. It is kind of like a more advanced version of WorldGuard rules.
     
  4. Offline

    ssechaud

    I am using CB 1000 and Datalog 1.3.1 and I am getting this error in the server log, any ideas how I can fix this?

    Code:
    18:17:56 [SEVERE] Could not pass event PLAYER_INTERACT to DataLog
    java.lang.NullPointerException
    	at uk.co.oliwali.DataLog.listeners.ControlPlayerListener.onPlayerInteract(ControlPlayerListener.java:60)
    	at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    	at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    	at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:782)
    	at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  5. Offline

    oliverw92

    Oops, missed that.

    Version v1.3.2
    • Fixed an NPE
    No need to update the interface.
     
  6. V 1.3.2, excellent. Downloading and installing now.

    Didn't see it in the changelog, so I'm guessing that the seemingly excessive amount of SQL connections bit isn't quite sorted yet?
     
  7. I keep getting an internal server error when i attempt to use commands, e.g /datalog tool. Its definitely logging, my database memory is increasing, i just cant use the commands, any help?
     
  8. Offline

    oliverw92

    Make sure you are on the latest version and make sure you are doing a full reboot when you update.
     
  9. Offline

    DJ_Idol

    Download link is broken, just wanted to let you know. :)
     
  10. Offline

    oliverw92

    Whoops, looks like it must have corrupted. I'll reupload it

    Ok I'm pretty sure I have completely fixed the rollback issues. Just did a test - I made a hole in the ground using around 4000 tnt that exploded over 55,000 blocks. Rollbacked the entire thing - no server lag at all during the searching or rolling back, and the rollback itself took less than a second whilst causing no lag.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  11. I'm still getting the same error... 'An internal error occured while attempting to perform this command"
     
  12. Offline

    oliverw92

    What happens when you do /dl help
     
  13. If comes up with all the commands in the list, but at the bottom it still gives the error, 'An internal error occurred while attempting to perform this command'
    Thanks a lot for the help in advance by the way :)
     
  14. Offline

    oliverw92

    Well there should be an error in the console, can you show me that
     
  15. Code:
    2011-07-30 12:33:05 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'dl' in plugin DataLog v1.3.2
    Then later on...
    Code:
    Caused by: java.lang.NullPointerException
        at uk.co.oliwali.DataLog.util.Permission.hasPermission(Permission.java:53)
        at uk.co.oliwali.DataLog.util.Permission.tool(Permission.java:102)
        at uk.co.oliwali.DataLog.commands.ToolCommand.permission(ToolCommand.java:45)
        at uk.co.oliwali.DataLog.commands.HelpCommand.execute(HelpCommand.java:21)
        at uk.co.oliwali.DataLog.commands.BaseCommand.run(BaseCommand.java:60)
        at uk.co.oliwali.DataLog.DataLog.onCommand(DataLog.java:164)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-07-30 12:33:08 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'dl' in plugin DataLog v1.3.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at uk.co.oliwali.DataLog.util.Permission.hasPermission(Permission.java:53)
        at uk.co.oliwali.DataLog.util.Permission.tool(Permission.java:102)
        at uk.co.oliwali.DataLog.commands.ToolCommand.permission(ToolCommand.java:45)
        at uk.co.oliwali.DataLog.commands.BaseCommand.run(BaseCommand.java:58)
        at uk.co.oliwali.DataLog.DataLog.onCommand(DataLog.java:164)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    This is what it says when i try and use a command from datalog, any help?
     
  16. Offline

    oliverw92

    What Permission plugin do you use?
     
  17. Permissions( v3.0a+MP)
     
  18. Offline

    oliverw92

    Hm I don't use Permissions v3 so i'll have to test that. I'll see what I can do.
     
  19. Thanks a lot, what permissions do you use, i can allways try using the one Datalog prefers :)
     
  20. Offline

    oliverw92

    PermissionsEx. I personally think Permissions v3 is a massive fail. PEX is the way to go. Everything is in one file and is stupidly simple. The in-game commands work really well too
     
    Bronski likes this.
  21. Ok, i might give it a shot, PermissionEx, its basically the same? As in, same config style or? Alot different?
     
  22. Offline

    oliverw92

    The config style is almost identical to Permissions v2.7 . The only changes are for multi-world support - it is better than permissions v3. E.g. we have a builder rank on our server that only applies to the creative world. This is the builder group:

    Code:
        builder:
            prefix: '&7'
            inheritance:
            - default
            worlds:
                creative1:
                    permissions:
                    - commandbook.give.*
                    - commandbook.items.*
                    - -commandbook.items.46
                    - -commandbook.items.7
                    - toolbox.commands.more
                    - toolbox.commands.pick
                    - toolbox.commands.mimic
                    - toolbox.tools.scroller
                    - toolbox.tools.duplicator
                    - toolbox.tools.paintbrush
    It only applies to the world creative1, and to give it to a player i just type /pex user <name> group add builder

    Then there is the default group, which should have the main permissions across all worlds, but in PVP we don't want chest locking on:

    Code:
        default:
            default: true
            permissions:
            - mcdocs.*
            - commandbook.spawn
            - commandbook.say.*
            - commandbook.msg
            - commandbook.whereami.*
            - multihome.home
            - signtrader.Use
            - whoareyou.list
            - whoareyou.world
            - portalstick.placeportal
            - portalstick.teleport
            - war.player
            - nSpleef.member.*
            - lockette.user.create.*
            - telerequest.respond
            - minecartmania.signs.*
            - modifyworld.*
            - BlueTelePads.Use
            - -minecartmania.signs.create.lockcartsign
            - -minecartmania.signs.create.unlockcartsign
            worlds:
                pvp4:
                    permissions:
                    - -lockette.user.create.*
                    - factions.participate
     
  23. Offline

    Boon Pek

    Hello there, first setup and getting errors when connecting to my remote host:

    Code:
    2011-07-30 21:36:29 [INFO] Starting minecraft server version Beta 1.7.3
    2011-07-30 21:36:29 [INFO] Loading properties
    2011-07-30 21:36:29 [INFO] Starting Minecraft server on *:25575
    2011-07-30 21:36:29 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-07-30 21:36:29 [INFO] Preparing level "world"
    2011-07-30 21:36:29 [INFO] Preparing start region for level 0 (Seed: -1571749237152965173)
    2011-07-30 21:36:30 [INFO] BukkitContrib 0.1.7 has been initialized
    2011-07-30 21:36:30 [INFO] [DataLog] Starting DataLog initiation process...
    2011-07-30 21:36:30 [SEVERE] Error occurred while enabling DataLog v1.3.2 (Is it up to date?): null
    java.lang.NullPointerException
    	at uk.co.oliwali.DataLog.util.Config.<init>(Config.java:185)
    	at uk.co.oliwali.DataLog.DataLog.onEnable(DataLog.java:78)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-30 21:36:30 [INFO] [PlayerEditor] PlayerEditor v0.9.1 is intializing
    2011-07-30 21:36:30 [INFO] [PlayerEditor] MySQL Initializing
    2011-07-30 21:36:30 [INFO] [PlayerEditor] MySQL connection successful
    2011-07-30 21:36:30 [INFO] [PlayerEditor] PlayerEditor v0.9.1 is finished initializing.
    2011-07-30 21:36:30 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-07-30 21:36:30 [INFO] Done (0.069s)! For help, type "help" or "?"
    
     
  24. Ye, basically looks exactly the same, does it still have inheritance and stuff like that? this is my default.

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.home'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.list'
                - 'essentials.msg'
                - 'worldguard.stack'
                - 'essentials.afk'
                - 'falsebook.blocks.lift'
                - 'falsebook.blocks.gate'
                - 'falsebook.blocks.bridge'
                - 'deathmessageplugin.sendmessage'
                - 'deathmessageplugin.getmessage'
                - 'mywarp.warp.basic.warp'
                - 'lockette.user.create.*'
    
    Seems extremely similar
     
  25. Offline

    oliverw92

    Thanks, I'll release an update in a minute

    It is almost identical to that, except it doesn't have the 'build' thing - it has its own system for that.
     
  26. Offline

    Boon Pek

    Okays, thank you! I'm curious as to know the cause for this error. Would you not mind enlightening me here? :p
     
  27. Offline

    oliverw92

    When the config file is generated it has two stages - one where it checks if a config entry exists, and another where it stores the value from file into a variable. I had the part that checks whether the rule entry exists in the wrong place, so it was never being created. This meant it was throwing the NPE when it got to the place where it reads from the file into the variable because the entry didn't exist.
     
  28. I am so glad you got me to use PermissionEX instead, it works so much better, the server seems to run smoother! 0.o, Datalog is working fine now, Thank you so much! [diamond][diamond][diamond][diamond][diamond]

    !!!!
     
  29. Offline

    Boon Pek

    Actually, after some experimentation, that error occurred after I removed the entire "fireblock" segment :p sorry for the lack of sufficient information :/
     
  30. Offline

    oliverw92

    Oh - that still shows there is an error in my code though :p You should at least be able to have no rules lol. I'll fix that
     
  31. I ran into this as well. Workaround:
    Code:
    rules:
        name: none
    For me, the plugin does complain about it, but it doesn't throw a wobbler and not load.
     
Thread Status:
Not open for further replies.

Share This Page