UltraLogger
Latest build : 2.1 Craftbukkit : 1.5.2
More than 10k downloads !! Thank you !!!
Beta UltraLogger v2.2 available here, you must delete your old configuration file
What is it ?
This is a logger plugin, a logger plugin logs informations to anything related to your servers so you know what was done on your server when ever you want.
Better than Big Brother !
The utlimate logger, nothing can be done without be logged !
A video tutorial on this plugin by never2nv on UltraLogger v1.0 :
The logs are flat files or can be logged into a MySQL database, the flat files are saved in a directory called Log that is in your server directory, you can read them with your prefered text editor, for more information about MySQL logging see this page
Features
- And soon much more !
- Rollback block commands
- Auto save
- In game history of blocks by right clicking an item, the player must be an OP or must have the permission ul.history
- MySQL support for all loggers see the page : here
- You can force saving flat files by reloading your server
- When something is logged the date and the time is specified
- If a player is an op or has the permission ul.admin the [Admin] prefix will be shown in the log
- The gamemode will be displayed like : (CREATIVE) or (SURVIVAL) and the world beetween brackets.
- Update Checker checks if you have the lastest build of this plugin
- Anti command logger ( commands you do NOT want to be logged ) File : silent_commands.txt
- Log Customization, you can configure what your loggers log and create new ones. see this page for futher information
- You can enable or disable MySQL loggers in the config.yml file
Commands
command | information |
---|---|
//ulundo <x> <y> <z> [x] [y] [z] | undo the latest block placement/destruction at the specified x,y,z but if two locations are written that will do the same thing for all blocks beetween these locations ( like in WorldEdit the two locations taht you choose with the wooden axe)(your action can be cancelled by typing the redo command but after disconnection you couldn't cancel) |
//ulredo <x> <y> <z> [x] [y] [z] | the same command as undo but redo what you've canceled with the undo |
Permissions
permission | information |
---|---|
ul.* | allow the player to use all the features of UL ( grants all permissions of UL except the perms to avoid to be logged ) |
ul.history | allow the player to see the history of a location |
ul.admin | players with this permission will be shown with the admin prefix in the logs |
ul.rollback | allow players to use rollback commands |
ul.avoid.X | allow players to avoid to be logged on the event with id=X or on all the events that contains the group X. For further information see here |
Config file
YOU MUST DELETE YOUR OLD CONFIG FILE
The config can only be edited when your server is stopped
#General properties #Check or not if you are using latest build available check_updates=true #Enable or disable ingame use of an item to see what happened at the specified location history_logger=true #The id of the item with you can see the log of a location item_revealer=280 #File logger properties ---------------------------------------------------------------------------------------------------- #Time in seconds beetween each auto-saves of the logs auto_save=3600 #Overwrite or not the last logs overwrite=false #Maximum number of lines of a log file ( 0 for no limit ), it will erase the first 10% lines of the log max_lines=0 #Do NOT modify this value please, it is used to know last time UL created the log folder last_created=1366823381660 #The number of day until UL creates a new log folder folder_duration=7 #For more information on configuration see http://dev.bukkit.org/server-mods/ultralogger/pages/logger-configuration/ log_block=1@11 log_chat=69 log_command=70 log_craft=12@15 log_entity=&entity log_inventory=&inventory log_player=&player log_vehicle=59@62 log_weather=63@65 log_world=66@68 #Event groups ---------------------------------------------------------------------------------------------------------------- group_entity=16@32 group_inventory=33@35 group_player=36@58+71+72 #SQL logger properties ------------------------------------------------------------------------------------------------------- #While host value is equal to "blank" or "null", SQL will be disabled host=blank port=3306 name=root pass=1234 database=blank table_prefix=UL #SQL Loggers couldn't be fully configured so only enable/disable sql_block=true sql_chat=true sql_command=true sql_craft=true sql_enchantment=true sql_entity=true sql_inventory=true sql_player=true sql_plugin=true sql_vehicle=true sql_weather=true sql_world=true
Coming soon
- One log for each player feature ( beta 2.2 )
- LogViewer
- Please post suggestions
Support us !
You can easily support us by using one of the icons below :
Made by supercrew632 :
The BBCode to add is :
The HTML code to add is :
<a href="http://dev.bukitt.org/bukkit-plugins/ultralogger"><img src="http://dev.bukkit.org/media/images/58/242/icon_UL.jpg"></img></a>
Repo
Credits
To @_Justyce_ and @roelmb
does this work for 1.5.1?
and is it possible to rollback only a single worldguard region? i plan it make a labyrinth of trap rooms. and i am am able to use a rollback command to reset each room to its untouched state. that would open up a great deal more possibilities for traps.
@tko409
It's normal, in fact it will lag because UltraLogger will automatically fix this error
@mauro16b
In silent_commands.txt you should put a list of commands like :
login
ban
command without the "/"
I get this error occasionally and it will lag the server for a couple minutes then go away. What would this mean?
http://pastebin.com/aWGWWL6P
Just a question: which syntax I must use into silent_commands.txt? Cause I write in commands (1 x line) but when I restart server or reload plugins, i found this file empty..... Ehi guys, this plugin is EPIC. If you use an SQL and config it, you can play without lags. And you have full control of the server. Really good job authors :)
@MegaCrafter24
Dangerous to update to 1.5 without a stable build at least i prefer to wait for at least a beta build 1.5 before updating
update to 1.5.1 please?
@gvlfm78
May not this way but a permission that you give to players that you don't want to log ?
Could you add a feature (to be enabled or not) to only log players which are in a list configurable in the config file. I need this because my server is a grief server, but the admins are actually griefing each other, and I don't want to log every single person on the server but only the admins.
@vindicator209
That's not the same error and normally this error does not affect other loggers, else i've tried to fix the precedent error in the build attached ( 'ive no answer of my tester currently so if anyone wants to try this build )
@_Justyce_ Actually it's only a guess that it's a memory leak. The program doesn't go through crash/shutdown procedures, but simply locks up and doesn't take input. However, the rest of the server is slowed, to the point where I can barely use SSH, requiring a reboot.
If it helps, I disabled all loggers in the config except "Block-logger" and "World-logger".
These are the errors that come up right before the server goes down:
@vindicator209
It's the error reported by burgershot15 that causes a memory leak and eventually renders the server inoperable ?
@_Justyce_
Please update this soon. Although it does not immediately crash the server, it seems to cause a memory leak and eventually renders the server inoperable. That being the case, I can't use this plugin.
I got a random problem. It doesnt crash or anything but it enables and disables in certain times.
2013-02-18 07:41:44 [SEVERE] Exception in thread "AWT-EventQueue-0"
2013-02-18 07:41:44 [SEVERE] org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register org.ultralogger.logger.ChatLogger@5a28af39 while not enabled
2013-02-18 07:41:44 [SEVERE] at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:499)
2013-02-18 07:41:44 [SEVERE] at org.ultralogger.logger.ChatLogger.<init>(ChatLogger.java:26)
2013-02-18 07:41:44 [SEVERE] at org.ultralogger.MainLogger.enableFileLoggers(MainLogger.java:309)
2013-02-18 07:41:44 [SEVERE] at org.ultralogger.MainLogger.enable(MainLogger.java:178)
2013-02-18 07:41:44 [SEVERE] at org.ultralogger.MainLogger.access$3(MainLogger.java:171)
2013-02-18 07:41:44 [SEVERE] at org.ultralogger.MainLogger$2.actionPerformed(MainLogger.java:272)
2013-02-18 07:41:44 [SEVERE] at javax.swing.Timer.fireActionPerformed(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at javax.swing.Timer$DoPostEvent.run(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.event.InvocationEvent.dispatch(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventQueue.access$000(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
2013-02-18 07:41:44 [SEVERE] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2013-02-18 07:41:44 [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source)
2013-02-18 07:41:46 [SEVERE] Exception in thread "AWT-EventQueue-0"
2013-02-18 07:41:46 [SEVERE] org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register org.ultralogger.logger.ChatLogger@54c2f234 while not enabled
2013-02-18 07:41:46 [SEVERE] at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:499)
2013-02-18 07:41:46 [SEVERE] at org.ultralogger.logger.ChatLogger.<init>(ChatLogger.java:26)
2013-02-18 07:41:46 [SEVERE] at org.ultralogger.MainLogger.enableFileLoggers(MainLogger.java:309)
2013-02-18 07:41:46 [SEVERE] at org.ultralogger.MainLogger.enable(MainLogger.java:178)
2013-02-18 07:41:46 [SEVERE] at org.ultralogger.MainLogger.access$3(MainLogger.java:171)
2013-02-18 07:41:46 [SEVERE] at org.ultralogger.MainLogger$2.actionPerformed(MainLogger.java:272)
2013-02-18 07:41:46 [SEVERE] at javax.swing.Timer.fireActionPerformed(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at javax.swing.Timer$DoPostEvent.run(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.event.InvocationEvent.dispatch(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventQueue.access$000(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
2013-02-18 07:41:46 [SEVERE] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2013-02-18 07:41:46 [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source
@vindicator209
Mhh, i'll completely remake the history construction of the save file and do not delete entirely your Log folder when UL doesn't want to start try to only delete dont_modify_me
@Habbomod
Why ? Noormally, only the owner have the access t the console and it's the owners that look into UL's logs.
@_Justyce_
Got another one for ya, didn't crash the server but;
There isn't console log :(
Please add it
@_Justyce_
I think I'm seeing something similar, the server hangs when loading UltraLogger after an improper shutdown, and won't start unless I delete the Logs folder.
@BlockyDigital
It's due to ingame history but normaly UL automatically fix the errors OutOfBoundsException, in case if it's appear every time you run your server this is a real prob. if you don't mind you can delete your file dont_modify_me but if you mind give it to me i'll try to fix the error ;)
Sorry to bother, but this always pops up when starting the server:
5:33:22 PM [INFO] [UltraLogger] Enabling UltraLogger v1.7.1
5:33:23 PM [SEVERE] java.lang.StringIndexOutOfBoundsException: String index out of range: -7
5:33:23 PM [SEVERE] at java.lang.String.substring(Unknown Source)
5:33:23 PM [SEVERE] at org.ultralogger.more.History.fromString(History.java:84)
5:33:23 PM [SEVERE] at org.ultralogger.more.HistoryManager.load(HistoryManager.java:186)
5:33:23 PM [SEVERE] at org.ultralogger.more.HistoryManager.<init>(HistoryManager.java:52)
5:33:23 PM [SEVERE] at org.ultralogger.MainLogger.enableFileLoggers(MainLogger.java:300)
5:33:23 PM [SEVERE] at org.ultralogger.MainLogger.onEnable(MainLogger.java:160)
5:33:23 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
5:33:23 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
5:33:23 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
5:33:23 PM [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
5:33:23 PM [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
5:33:23 PM [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
5:33:23 PM [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
5:33:23 PM [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
5:33:23 PM [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
5:33:23 PM [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
5:33:23 PM [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
5:33:23 PM [INFO] [UltraLogger] v1.7.1 has been enabled
Anyone know why this is showing up?
@Povax
When admins will approve the update