Mods / FendragonPlayerTimeReward
- Tags:
- Author:
- UA_Shaman
- Side:
- Both
- Created:
- Jan 8th at 2:34 PM
- Last modified:
- Sep 27th at 9:48 AM
- Downloads:
- 1409
-
Recommended download (for Vintage Story 1.22.0 - 1.22.7):
FendragonPlayerTimeReward-v.0.0.7.zip 1-click install
WIP (Work In Progress)
Fendragon Player Time Reward (FPTR)
-ENG-
Is a server–client mod for Vintage Story that rewards players for time spent playing on the server.
The mod tracks playtime per day, grants configurable rewards, and have visual + audio feedback when a reward is received.
Fixes, edits, development and testing are done specifically for/on the server:
Fendragon Story Tale
🔹 What the mod does 🧐
-
Tracks real online time per player (only while the player is online)
-
Uses Kyiv time (Europe/Kyiv) to separate playtime by days
-
Grants configurable rewards at specific minute thresholds (e.g. 60, 120, 180 minutes)
-
Each reward is given only once per player per day
-
Automatically creates daily save files and archives previous days
-
Fully safe for restarts and server crashes
🔹 Server features 💽
-
Server-only configuration (players cannot modify it)
-
Configurable:
-
reward intervals and items
-
save/check intervals
-
Kyiv time source (local or internet time)
-
-
Admin commands:
-
/fptr timeplayer <name>– view another player’s playtime -
/fptrconfigserverrebuid– rebuild/update server config without restart
-
🔹 Client features 🤗
-
Client-side reward feedback (fully optional and configurable):
-
on/off reward sound
-
on/off reward image
-
configurable location for image
-
-
Each player has their own client config
-
Client commands:
-
/fptrsoundtest– test reward sound -
/fptrimagetest– test reward image -
/fptrconfigclientrebuid– rebuild client config
-
🔹 Commands 📝
-
/fptr time– show your playtime for the current Kyiv day -
/fptr timeplayer <name>– admin only -
Client test and config commands (see above)
🔹 Data storage 📚
-
Daily files stored in:
/Saves/FendragonPTR/ -
Current day and archived day files are handled automatically
- The config files are located at:
/ModConfig/Fendragon/
🔹 Compatibility 🔌
-
Server-side safe
-
Multiplayer friendly
-
Does not modify gameplay mechanics
-UA-
Це серверно-клієнтський мод для Vintage Story, який видає нагороди гравцям за проведений час на сервері.
Мод відстежує ігровий час за день, автоматично видає нагороди та має візуальні й звукові сповіщення.
Виправлення, редагування, розробка та тестування виконуються спеціально для/на сервері:
Fendragon Story Tale![[Discord]](https://i.imgur.com/hbs3hRb.png)
🔹 Що робить мод 🧐
-
Відстежує реальний онлайн-час гравця (лише коли гравець онлайн)
-
Працює по днях за київським часом (Europe/Kyiv)
-
Видає налаштовані нагороди за досягнення порогів у хвилинах (60, 120, 180 тощо)
-
Кожна нагорода видається лише один раз на гравця за день
-
Автоматично створює щоденні файли та архівує попередні
-
Безпечно працює при рестартах сервера
🔹 Серверні можливості 💽
-
Окремий серверний конфіг (гравці не мають до нього доступу)
-
Налаштовується:
-
нагороди та пороги часу
-
інтервали збереження і перевірки
-
джерело київського часу (локальний або інтернет-час)
-
-
Команди адміністратора:
-
/fptr timeplayer <name>– перегляд часу іншого гравця -
/fptrconfigserverrebuid– оновлення серверного конфігу без перезапуску
-
🔹 Клієнтські можливості 🤗
-
Клієнтський візуальний та звуковий фідбек нагород:
-
вкл/викл звук нагороди
-
вкл/викл відображення малюнка про нагороду
-
налаштовується розташування малюнка
-
-
Кожен гравець має власний клієнтський конфіг
-
Клієнтські команди:
-
/fptrsoundtest– тест звуку -
/fptrimagetest– тест малюнку -
/fptrconfigclientrebuid– оновлення клієнтського конфігу
-
🔹 Команди 📝
-
/fptr time– показати свій ігровий час за поточний київський день -
/fptr timeplayer <name>– лише для адміністраторів -
Клієнтські тестові та конфіг-команди (див. вище)
🔹 Зберігання даних 📚
-
Файли зберігаються у:
/Saves/FendragonPTR/ -
Поточний день та архіви обробляються автоматично
- Файли конфігів знаходяться:
/ModConfig/Fendragon/
🔹 Сумісність 🔌
-
Безпечний для серверів
-
Повністю мультиплеєрний
-
Не змінює ігрову механіку
-
Працює в одиночній грі та на виділених серверах
I apologize for possible long updates or developments, I live in Ukraine 💛💙.
I hope you understand that there may be delays with updates and why. Thank you.
Прошу вибачення за можливі довгі оновлення та розробку, я живу в Україні 💛💙.
Сподіваюся, ви розумієте, що можуть бути затримки з оновленнями та чому саме. Дякую.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 0.0.7 | fendragonptr | 14 | Sep 27th at 9:48 AM | FendragonPlayerTimeReward-v.0.0.7.zip | 1-click install | ||
|
-UA- | |||||||
| 0.0.6 | fendragonptr | 951 | May 4th at 3:57 PM | FendragonPTR-v.0.0.6.zip | 1-click install | ||
|
Little fix | |||||||
| 0.0.5 | fendragonptr | 37 | Apr 26th at 8:00 AM | FendragonPTR-v0.0.5.zip | 1-click install | ||
|
- UA - | |||||||
| 0.0.4 | fendragonptr | 273 | Jan 17th at 11:50 AM | FendragonPTR-v.0.0.4.zip | 1-click install | ||
|
-UA- | |||||||
| 0.0.3 | fendragonptr | 47 | Jan 13th at 7:55 PM | FendragonPTR-v.0.0.3.zip | 1-click install | ||
|
-UA- | |||||||
| 0.0.2 | fendragonptr | 42 | Jan 13th at 6:36 PM | FendragonPTR-v.0.0.2.zip | 1-click install | ||
|
-UA- | |||||||
| 0.0.1 | fendragonptr | 45 | Jan 8th at 2:39 PM | FendragonPTR-v.0.0.1.zip | 1-click install | ||
|
-ENG- | |||||||




Could I lk interest you in exchanging the horrible AI generated thumbnail and banner stuff for pictures of the actual mod or some art? It really condemns a rather interesting mod to Mediocrity, and I'd be super down to help you with it
Do you want to create artwork for the mod? You are more than welcome to do so, provided the result is genuinely better than what AI generates.
I don't have much time, so I don't prioritize artwork; I handle it quickly and only when I have spare time away from coding and development.
Hey there, pretty interesting mod.
UA_Shaman
However, strangely, the rewards aren't working as expected: I should be earning 20 gears every hour.
But I only get 1 gear the first hour, and then nothing at all in the following hours. I get the animation and sound, but 0 gears.
Any ideas?
Show you config file pls
{
"Help": [
"=== FendragonPlayerTimeReward: Commands ===",
"Player: /fptr time - show play hour, /fptrconfigclientrebuid - rebuild Player config",
"Admin: /fptr timeplayer <playername> - see Player time, /fptrconfigserverrebuid - rebuild Server config",
"Test: /fptrsoundtest - sound test, /fptrimagetest - image test",
"Image textures are hardcoded in mod (reward.png, reward-1.png, reward-2.png, reward-3.png).",
"RewardImageDurationMs controls TOTAL duration for whole block of 4 images.",
"Reveal timing is AUTO: interval = (RewardImageDurationMs/1000)/4. For 1s steps set RewardImageDurationMs=4000.",
"Admins control: rewards, image duration/on-off, sound asset/volume/on-off.",
"Players control: image X/Y + size locally (moves whole 4-layer block).",
"=========================================="
],
"SaveIntervalMinutes": 1,
"RewardCheckIntervalSeconds": 30,
"UseInternetKyivTime": true,
"InternetTimeApiUrl": "https://worldtimeapi.org/api/timezone/Europe/Kyiv",
"InternetTimeSyncMinutes": 360,
"Rewards": [
{
"MinutesRequired": 60,
"ItemCode": "game:gear-rusty",
"Quantity": 20}
],
"RewardImageEnabled": true,
"RewardImageDurationMs": 4000,
"RewardSoundEnabled": true,
"RewardSoundAsset": "fendragonptr:sounds/reward",
"RewardSoundVolume": 1.0
}
Aekiel
From the config I see that you have only one reward set, when 60 minutes pass you will receive 20 rusty gears. And that's it!.
If you want to have a reward every hour, then you need to write something like this:
"MinutesRequired": 60,
"ItemCode": "game:gear-rusty",
"Quantity": 20
},
{
"MinutesRequired": 120,
"ItemCode": "game:gear-rusty",
"Quantity": 20
},
{
"MinutesRequired": 180,
"ItemCode": "game:gear-rusty",
"Quantity": 20
},
etc....
In this case, you will receive 20 rusty gears every hour. You need to register every hour until the day is reset. Then everything will be new.
UA_Shaman I Have what I think should have worked but I am still not able to get these. I can use "coinage:coin-uranium-sm" just fine, it's when trying to add the pressed coin with the type and shape!
UA_Shaman Thank you I am still trying to figure out how this mod works. Is there any restrictions on to what this mod can work with or giveitem? and can you do a combo of rewards and how would that format look like in the config? One of the things we are trying to do with this mod is hand out a coin from coinage and the giveitem command is coinage:coin-uranium-sm{"coinType": 2, "coinShape": 2} but when I add it to the mod it will simply not do anything for that one! Once again I am sorry but I feel like I have tried everything at this point!
I am now trying it with : coinage:coin-uranium-sm{coinType: 2, coinShape: 2} intstead
Sorry for the late response as I leave my server open for players and and dont have much time to bring it down to edit and config. But I did go in and delete the cache for fendragon ftp and didnt make any changes, however as I am typing this I realize I missed the Save part So I am giving that a try next chance!
TheeButterMan
Try deleting the Cache deck and the Save/FendragonPTR deck. And test again.
Hello I am new to your mod as we have only been using it for about a week or so on our Community server. while we were getting things figured out I had left the config to default configuration until I knew what I was going to do with the rewards and what not. I went in the config and trippled the reward values so setting the interval to 240 and the quantity to 3, We rebooted the server and players tested this and got the reward as planned but they also seem to still be getting the original reward at the 1 hour mark making it 4 gears in total. Is there some file that is being save that needs to be removed or updated so that this doesn't happen again and that the only get the one specified reward.
here is the current config that we are using :
"Help": [
"=== FendragonPlayerTimeReward: Commands ===",
"Player: /fptr time - show play hour, /fptrconfigclientrebuid - rebuild Player config",
"Admin: /fptr timeplayer - see Player time, /fptrconfigserverrebuid - rebuild Server config",
"Test: /fptrsoundtest - sound test, /fptrimagetest - image test",
"Image textures are hardcoded in mod (reward.png, reward-1.png, reward-2.png, reward-3.png).",
"RewardImageDurationMs controls TOTAL duration for whole block of 4 images.",
"Reveal timing is AUTO: interval = (RewardImageDurationMs/1000)/4. For 1s steps set RewardImageDurationMs=4000.",
"Admins control: rewards, image duration/on-off, sound asset/volume/on-off.",
"Players control: image X/Y + size locally (moves whole 4-layer block).",
"=========================================="
],
"SaveIntervalMinutes": 1,
"RewardCheckIntervalSeconds": 30,
"UseInternetKyivTime": true,
"InternetTimeApiUrl": "https://worldtimeapi.org/api/timezone/Europe/Kyiv",
"InternetTimeSyncMinutes": 360,
"Rewards": [
{
"MinutesRequired": 240,
"ItemCode": "game:gear-rusty",
"Quantity": 3
}
],
"RewardImageEnabled": true,
"RewardImageDurationMs": 4000,
"RewardSoundEnabled": true,
"RewardSoundAsset": "fendragonptr:sounds/reward",
"RewardSoundVolume": 1.0
}