DayZ
137 ratings
Universal Api
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
294.732 KB
24 Sep, 2020 @ 1:34pm
13 May, 2022 @ 8:49am
17 Change Notes ( view )

Subscribe to download
Universal Api

Description
The Universal API and Webservice
The Universal Api Mod and Webservice this is my attempt to make a Universal Api Backend for the server hosters, allowing for a robust, easy to use and set up backend. and for modders an easy to use API wrapper to help them make hived and cross-server mods more easily. With the mod and API I handle authentication and client tokens allowing you to ensure that the data you are accessing and using is secured, preventing rouge and unwanted access to the APIs.

THIS MOD IS NOT PLUG AND PLAY YOU MUST READ ALL DOCUMENTATION FIRST BEFORE INSTALLING ON YOUR SERVER

Some quick links for setting up the webapi backend

How to install the webservice on windows[github.com]

How to install the webservice on Linux[github.com](Scroll up if you don't know how to set up linux)



All the Modder/Developer documentation is available here https://github.com/daemonforge/DayZ-UniveralApi/wiki/Developer-Reference

Database Functions
  • Load/Save Objects(JSON)
  • Update Objects (can set sub Elements/Variables including Pull and Push from Arrays)
  • Transactions (increment float/ints in database with constancy (aka from multiple servers at once)
  • Queries (MongoDB Queries)
Discord Functions
  • Simple Web Interface for players to connect there steam accounts to discord (customizable for server owners)
  • Add/Remove Roles
  • Get User (Returns an object with current Roles and Discord ID/Name)
  • Send Message (Sends DM from bot to player, player doesn't have to be connected to DayZ server at the time)
  • Create/Edit/Delete Channels
  • Send Message to Channels
  • Get Messages from Channels
  • Move User to Voice Channel
  • Mute User in Voice Channel
  • Kick User from Voice Channel
  • Get User's current Voice Channel
Other Stuff
  • Quantum Random Numbers
  • Toxicity Checker (TensorFlow Toxicity)
  • Translate (Libre Translate)
  • And More

If you are a modder interested in how this works and how you can make a hived mod using the Universal API mod please join the discord

How to Support Me
Sponsor Me On Github[github.com]
Donate via Paypal[www.paypal.me]
2 Comments
DeGrincH 15 Nov, 2023 @ 2:07pm 
Do not install this on your linux server if you already have a webserer or service in place.

Zero checks are in place with this installer and it will fuck your entire server. Thanks :)
KOVSH. 7 May, 2022 @ 1:35pm 
When used in conjunction with the Dubs Framework mod, it gives an error. https://ibb.co/bNJ9CCF