Comments (5)
Either disable online time logging fully by setting loggin.playerInfo in LB main config to false, or if you need it, check the online time column if there is a null:
SELECT onlinetime FROM lb-players
WHERE playerid = 548;
from logblock.
logPlayerInfo: true This in false ?
My Online time column is null on lb-player,
This command don't work: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-players WHERE playerid = 548 LIMIT 0, 30' at line 1
Thx you Diddiz !
from logblock.
2011-12-07 22:23:08 [INFO] [LogBlock] Permissions plugin found.
2011-12-07 22:23:08 [INFO] [LogBlock] Found 1 imports.
2011-12-07 22:23:08 [INFO] [LogBlock] Trying to import queue-1323292982265-0.sql ...
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 4;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 668;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 781;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 751;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 646;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 812;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 427;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 19;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [INFO] [LogBlock] Scheduled consumer with bukkit scheduler.
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 26;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 709;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players
SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 24;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [INFO] [LogBlock] Successfully imported queue-1323292982265-0.sql.
2011-12-07 22:23:08 [INFO] [LogBlock] Successfully imported stored queue. (0 rows imported, 11 errors)
2011-12-07 22:23:08 [INFO] LogBlock v1.41 by DiddiZ enabled.
from logblock.
SELECT onlinetime FROM lb-players
WHERE playerid = 548;
Yes, set it to false.
Or, just one shot in the dark, try:
UPDATE lb-players
SET onlinetime = '00:00:00' WHERE onlinetime = NULL;
from logblock.
It's ok, very thx for you'r help and rapidity !
from logblock.
Related Issues (20)
- Ender Crystal Logs HOT 1
- Could not insert entries! SQLState: 22003 HOT 4
- No database connection HOT 1
- Do LogBlock log specific item NBT data? HOT 1
- mysql firstlogin, lastlogin, onlinetime, ip HOT 2
- MySQL support broken on paper 1.19.4 HOT 8
- Updater Error HOT 4
- MariaDB 11 Breaking Changes
- java.lang.IllegalArgumentException: Could not parse data: minecraft:cauldron[level=0] HOT 1
- Prefixes for bedrocks players removed HOT 6
- Feature request: Detailed Block Log HOT 1
- Custom Plugins startup directory
- Update HikariCP
- Don't shade, use plugin.yml libraries HOT 1
- Supported api-version
- [Refactoring] SQL HOT 1
- [Refactoring] Translations HOT 1
- Logblock not initializing - duplicate element: SKELETON_WALL_SKULL
- Suggestion: project pages
- Feature: Log player item drops/pickups.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logblock.