MarwFeatures/Stats/resources/stats.sql

7 lines
195 B
SQL

INSERT INTO `{prefix}stats`
(`uuid`, `date`, `kills`, `deaths`) VALUES
(?, ?, ?, ?)
ON DUPLICATE KEY
UPDATE
`kills` = `kills` + VALUES(`kills`),
`deaths` = `deaths` + VALUES(`deaths`);