MarwFeatures/Auth/resources/session.sql

7 lines
227 B
SQL

INSERT INTO `{prefix}sessions`
(`uuid`, `server`, `serverNick`, `ip`, `date`, `playtime`) VALUES
(?, ?, ?, ?, ?, ?, ?, ?)
ON DUPLICATE KEY
UPDATE
`playtime` = `playtime` + VALUES(`playtime`),
`date` = VALUES(`date`);