Changelog
- Added support for FikaServerTools (NAT punching tools) on Linux
- Insurance will now track properly between the players in a raid, this means players won't get insured items back that other players picked up
- Sent
Items
are now stored for 7 days instead of 2 - Dev profile and Non-standard profiles will now handle having their settings changed back and forth a lot better
- Player friend relations are now automatically removed if a player's profile no longer exists
- Fixed an issue that allowed players to send friend requests to bots
- Major feature: Added our custom notification manager, this will allow for the sending of various notifications including push notifications (The example for that can be found below!)
- Added support for the
Fika Presence
online player list (There's an example below for how to query it's data outside of the game!) - Fixed a bug that stopped custom chat bots from being added
Examples
Sending a push notification:
PowerShell:
Invoke-WebRequest -Headers @{"requestcompressed"="0"} -Method "POST" http://your.server.ip.addr:6969/fika/notification/push -Body '{"notification": "Hello from the Fika notification manager!", "notificationIcon": 0}'
CURL:
curl -X POST -H "requestcompressed: 0" -H "Content-Type: application/json" -d "{\"notification\": \"Hello from the Fika notification manager!\", \"notificationIcon\": 0}" http://your.server.ip.addr:6969/fika/notification/push
Note: The icon can be anything from 0 to 14, the definitions for them can be found here
Querying data from the online player list:
PowerShell:
Invoke-WebRequest -Headers @{"responsecompressed"="0"} -Method "GET" http://your.server.ip.addr:6969/fika/presence/get
CURL:
curl -X GET -H "responsecompressed: 0" http://your.server.ip.addr:6969/fika/presence/get
Note: The JSON data received from the request can be found here