DayZ
160 个评价
Universal Api
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod Type: Mechanics
文件大小
发表于
更新日期
294.732 KB
2020 年 9 月 24 日 下午 1:34
2022 年 5 月 13 日 上午 8:49
17 项改动说明 ( 查看 )

订阅以下载
Universal Api

描述
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]
6 条留言
TTV/DJ_SKY6 8 月 24 日 上午 5:13 
love this mod having some trouble with roles i used the role id but it dose not like it every thing els working well
︻デ[] R1000 一 1 月 10 日 下午 8:09 
Bro Windos protect my pc from openning :steamthumbsdown:
Bleezo 2024 年 12 月 14 日 上午 1:43 
anton im pretty sure he made a api thing in his mod ima go look
Anton-ST 2024 年 11 月 10 日 上午 5:42 
After installing the Univerdal API mod, the chat in the Advanced Group mod from LBmaster stops working. How to solve this problem?
DeGrincH 2023 年 11 月 15 日 下午 2:07 
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. 2022 年 5 月 7 日 下午 1:35 
When used in conjunction with the Dubs Framework mod, it gives an error. https://ibb.co/bNJ9CCF