DayZ
Universal Api
Showing 1-10 of 17 entries
< 1  2 >
Update: 13 May, 2022 @ 8:49am

1.3.2
Change Log
-- Mod
Fixing Conflict created by Dab's Framework
-- Desktop Manager & Webservice
Upgraded some NPM packages

Update: 4 Mar, 2022 @ 10:11am

1.3.1
Change Log
-- Mod Some minor code Opmization Started removing some of the requirements for CF(not complete yet cf still required) Fixed Format number to allow negitives Added new QueryUpdate functions for new query update endpoint Better logging in json converter -- Desktop Manager & Webservice Fixed some outdated Dependancies Fixing issues with Query Endpoint Fixing isues with Transaction Endpoint Added endpoint for updateing based on a query

Update: 14 Feb, 2022 @ 8:00am

Change Log 1.3.0

Installation
1. Install MongoDB Community Edition
2. Install UApiWebServiceInstaller.exe
3. Open firewall port 433
4. Configure UniversalApi.json on DayZ Server with Server IP and Auth Token

Tutorial Video
https://www.youtube.com/watch?v=oMq3TIYuZXo
Discord Setup Tutorial
https://www.youtube.com/watch?v=oMq3TIYuZXo

MongoDB Installation Link
https://www.mongodb.com/try/download/community

Mod
Send Notification Utlitily function added Convert int to formated number string function it adds `,` to numbers eg 1000 to 1,000 Added CheckRoleDiscord function to check if a player has a certain role in discord, allow for api to specified so you don't need to connect to the server yet call it Added UApiGlobalHandler template class for saving to the globals Fixing compiler error for 1.16 Fixed GetUTCUnix int help function Fixed UApi DB Handler Incerment function

Desktop Manager & Webservice
Added Let's Encypt and new Let's Encypt config options to allow you to generate SSL certs Added Public Discord Role Check endpoint to check if a player has a discord role, just return Success or fail Updated NPM modules/Drivers

Update: 1 Dec, 2021 @ 10:45am

1.2.0
Fixed Steam Query Bug
Added Crypto Currency API
Added Player Currency API
Updated Node Modules

Installation
1. Install MongoDB Community Edition
2. Install UApiWebServiceInstaller.exe
3. Open firewall port 433
4. Configure UniversalApi.json on DayZ Server with Server IP and Auth Token

Tutorial Video
https://www.youtube.com/watch?v=oMq3TIYuZXo
[h4]Discord Setup Tutorial [/h3]
https://www.youtube.com/watch?v=oMq3TIYuZXo

MongoDB Installation Link
https://www.mongodb.com/try/download/community

Change Log
[h4]WebService[/h4]
Upgrade Node Modules including MongoDB drivers and Discord.JS Fixed potential API Server Crash Added Config option to allow server owners to prevent users from re registering there discord if already connected Added Crypto/Currency conversion endpoint
[h4]Mod[/h4]
Fixed Null Pointer on shutdown Fixed Null Pointers with Discord Roles Fixed and Worked on Public API Routes Fixed Get Steam Id Utility function Fixed issues when it didn't detect server correctly Fixed some wrong URLs Added Simple Store Class Added Client logs for Discord Cache Added Logging Base Class Added Script Execution Helper Functions and classes Fixed Steam Query Function not calling correctly Added in game currency api for dealing with adding and removing currency from players Added Cyrpto currency functions for converting currencies live to IRL values Vanilla Random Seed will now be updated with a quantum random number for Universal APIs Random number API allowing for better random ness for numbers generated even without the QRandom Functions Added Unix Time Stamp Helper functions to Utility functions Added Config Helper functions

Update: 18 Aug, 2021 @ 6:24pm

1.1.3
Change Log
Mod
Fix compiler error with Database Handler Class

Update: 12 Aug, 2021 @ 12:22pm

1.1.1

This update expands a lot of the discord functionality and brings the mod wrapper to a standard. also has some minor fixes

Change Log
WebService
Updated to Node 16.6.2 Updated Discord.js to 13.0.1 Fixed some bugs Updated Mongodb Node Packages Added inline documentation(More to come) Fixed a potential DDoS vulnerability Optimized Code for better readability Allow for passing of Max and Min values to Transaction that will prevent updating beyond. Removed Old Auth Method from webservice Added Mute Discord User endpoint Added Kick Discord user endpoint Added Move Discord user endpoint Added Get Discord User's Voice Channel Endpoint Added Set Discord Users Nickname Endpoint Unified discord responses NotSetup and NotFound Removing discord GetWithPlainId Endpoint from as no longer needed Adding AuthorsGUID and RepliedTo to Channel Message Endpoint
Desktop Manager
Updated to Node 16.6.2 Added a Database editor for player and object data Fixed Donation Links Added Schema for System Config with descriptions Fixed Status Checks on about page not showing correctly Changed auto update checks from 1hr to 20 minutes Removed Checking for update message from console
Mod
Added new Error Return UAPI_JSONERROR for if it failed to convert json to object Transaction Function now allows for min and max values Transaction(oid, element, value, min, max, cbInstance, cbFunction) File and Code optimization/re-organization for better readability Added Cancel Function to DBHandler class to cancel calls Added Json Callback class just cause Better Error Handling and catching Adjusting Token Renewals to use Quantum random instead. Renamed Callback Instance and Function to be more descriptive Fixed Cleanliness not saving to ItemStore Class Added Functions to Discord for new Endpoints (GetUsersChannel, MoveTo, KickUser, MuteUser, SetNickname)

Update: 5 Aug, 2021 @ 1:13pm

RELEASE 1.0.0

IF YOU ARE NOT RUNNING LATEST VERSION OF THE UNIVERSAL API WEB SERVICE THE MOD WILL BREAK

WebService
Code Optimization Adjusting Logging Adjusting Status Returns Fixed Discord Perms Checking Fixed error message with discord bot Improved usability of Update Endpoint Implmented a new Random/Full endpoint which generates quantum random numbers from -2147483647 to 2147483647 (max and min ints for Enfusion) Player DB and Discord now supports Plain Id(Steam) or GUID(BI) and are interchangable (Plain Id's are just converted to GUID's)
Desktop Version
Fixed Status/About page not accounting for custom ports
Mod (From Version 0.9.4)
Code Optimization & Reorganization Re-Working all refs to minimize memory leaks Support for saving CarScript to the ItemStore Auth Key now passed via the content-type header instead of as URL parameter Added Version Checking to check which version the Universal API WebService is being used Reworked endpoints coding to optimize for modder readablity Saved Persistant IDs to ItemStore Fixed Old Typo in Globals Endpoint Added Function for sending DM's to users via discord(Player can be Online or Offline) Removed ability to pass custom auth keys Added define UNIVERSALAPI_STABLE Moved Easy post and Easy Get to UApi().Post() and UApi().Get() Added Constants for Update Operations Added new Math.QRandom(), Math.QRandomInt(min, max), Math.QRandomFloat(min, max), and Math.QRandomFlip() functions that will use random numbers generated by the Quantum Random endpoint(Numbers are cached after api starts if you try to call before then it will return a regualar random int) Moved UApi().QnA to UApi().api().QnA() Discord Object(if configured) now cached to client on start Removed GetUserWithPlainId from discord functions as GetUser works with plain id or guid Now check API Status and will throw errors if api is out of date or bad auth key New UApiCallback template class to be used with new functions to allow you to call back your classes instead of just the the strings

Update: 7 Jul, 2021 @ 12:25pm

Version 0.9.4
-- Change Log Mod

Added a Query Template Class to help people more easily use Query Function Added Globals Call Back Functions Added True Random Function generate truely random numbers from QRNG@ANU JSON API https://qrng.anu.edu.au/contact/api-documentation/ Reworked Auth to remove the need to store Idenities server side Changing License GNU AFFERO GENERAL PUBLIC LICENSE

Remeber to Update the WebService
-- Change Log WebService
Added new WhiteList settings for Rate Limiter allowing you to add IPs to by pass rate limiter Added warning/error message when port is in use Updated Rate Limiter Package Version Added Logging to server query endpoint Adding links and donation info to about page Fixed Bug where config didn't save Adding a True Random Endpoint Update MongoDB Drivers Changing License GNU AFFERO GENERAL PUBLIC LICENSE

-- Change Log Desktop Web Service
Added Copy button to copy global config to clip board Added Paste button to allow you to paste the config back in Added Schema to Database editor to allow for live feedback on invalid data Changed save button to just be an icon Adding Auto Updater To Desktop WebService

Update: 1 Jul, 2021 @ 2:31pm

-- Change Log Mod:
Added a Item Store Json holder for future mods to be able to save items to the MongoDB Database also used in maplink
UApiEntityStore itemstore = new UApiEntityStore(EntityAI item);
itemstore.ToJson(); //Create a json string usable to save to the database
Added custom Json Handler
Added new status call back UAPI_EMPTY for when the response from the API was empty
Changed error code return to print the string code instead of the number
Optimized the client side `UniversalApiReady` function
Allow to cancel new call back with UApi().RequestCallCancel(int callid); to help prevent crashing in some instances
Fixed API call endpoints
Added Server Query Function to use the Webservice to Query dayz servers for player counts, status and queues|
Adding support for translate functions to use libretranslate
Adding Toxicity Detection function using new endpoint with TensorFlowJS and Toxicity Detector


-- Change Log WebService:
Added Server Query Endpoint
Fixed some cases where discord bot wouldn't error on login
Updated MongoDB Driver Version
Stopping saving empty objects to database on load endpoint
Added Support for Libre Translate for Translate Endpoint
Changed Default Translation Endpoint to be my Libre Translate API
Added TensorFlow JS and Toxicity Endpoint
Added a rate limiter to help with DDoS attacks (request limits can be overridden)

-- Windows Desktop Installer Version Only
Supported more now
Added A delete option to delete data from the database for easier way to wipe mod data
Added A Global's Editor so you can now edit the globals from the application
Now forces Darkmod (light mod just looked like shit LOL)
Fixed Config Overriding on updates

Update: 2 Apr, 2021 @ 12:22pm

FIXING MEMORY LEAKS

Full new method for Interacting with the Object and Player database (More documentation to come)
Hopefully making it easier for modders to use the database backend
UApi().DB(PLAYER_DB).Load(string mod, string oid, Class instance, string function, string jsonString= "{}") //Where default object is optional
UApi().DB(PLAYER_DB).Save(string mod, string oid, string jsonString, Class instance = NULL, string function = "") //where call back is optional


Added an endpoint for checking if a player has discord without needing to auth(allowing to check before player connects to server and received config)