nodebb-plugin-niki-loyalty 1.3.14 → 1.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/library.js CHANGED
@@ -11,17 +11,17 @@ const Plugin = {};
11
11
  // ⚙️ AYARLAR & KURALLAR (GAME LOGIC)
12
12
  // =========================
13
13
  const SETTINGS = {
14
- dailyCap: 35, // Günlük Maksimum Limit (Ne kadar kazanırsa kazansın buradan fazla alamaz)
14
+ dailyCap: 70, // Günlük Maksimum Limit (Ne kadar kazanırsa kazansın buradan fazla alamaz) - 2x artırıldı
15
15
  };
16
16
 
17
- // Puan Tablosu ve Limitleri (Toplam Potansiyel ~45 Puan)
17
+ // Puan Tablosu ve Limitleri (Toplam Potansiyel ~90 Puan) - 2x artırıldı
18
18
  const ACTIONS = {
19
- login: { points: 5, limit: 1, name: 'Günlük Giriş 👋' }, // 5 Puan
20
- new_topic: { points: 5, limit: 1, name: 'Yeni Konu 📝' }, // 5 Puan
21
- reply: { points: 5, limit: 2, name: 'Yorum Yazma 💬' }, // 5 x 2 = 10 Puan
22
- read: { points: 1, limit: 10, name: 'Konu Okuma 👀' }, // 1 x 10 = 10 Puan
23
- like_given: { points: 2.5, limit: 2, name: 'Beğeni Atma ❤️' }, // 2.5 x 2 = 5 Puan
24
- like_taken: { points: 5, limit: 2, name: 'Beğeni Alma 🌟' } // 5 x 2 = 10 Puan
19
+ login: { points: 10, limit: 1, name: 'Günlük Giriş 👋' }, // 10 Puan (2x)
20
+ new_topic: { points: 10, limit: 1, name: 'Yeni Konu 📝' }, // 10 Puan (2x)
21
+ reply: { points: 10, limit: 2, name: 'Yorum Yazma 💬' }, // 10 x 2 = 20 Puan (2x)
22
+ read: { points: 2, limit: 10, name: 'Konu Okuma 👀' }, // 2 x 10 = 20 Puan (2x)
23
+ like_given: { points: 5, limit: 2, name: 'Beğeni Atma ❤️' }, // 5 x 2 = 10 Puan (2x)
24
+ like_taken: { points: 10, limit: 2, name: 'Beğeni Alma 🌟' } // 10 x 2 = 20 Puan (2x)
25
25
  };
26
26
 
27
27
  // Ödüller
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-niki-loyalty",
3
- "version": "1.3.14",
3
+ "version": "1.3.16",
4
4
  "description": "Niki The Cat Coffee Loyalty System - Earn points while studying on IEU Forum.",
5
5
  "main": "library.js",
6
6
  "nbbpm": {
@@ -256,7 +256,7 @@ $(document).ready(function () {
256
256
 
257
257
  let dailyScore = parseFloat(data.dailyScore);
258
258
  let scoreText = Number.isInteger(dailyScore) ? dailyScore : dailyScore.toFixed(1);
259
- $('#widget-daily-text').text(scoreText + ' / 35');
259
+ $('#widget-daily-text').text(scoreText + ' / ' + data.dailyCap);
260
260
 
261
261
  // 3. DETAYLI SAYAÇLAR (Counts)
262
262
  const c = data.counts || {}; // Backend'den gelen sayaç objesi