ARK加入控制
ARK Join Control

0.0
基于 0 个评价
76561198102235069 Steam工坊
预览截图
1 张图片
左右滑动查看更多 · 点击图片查看原图

模组介绍

也可用于您的 Atlas 服务器:https://steamcommunity.com/sharedfiles/filedetails/?id=1628872141&tscn=1548237727

查看英文原文
Also available for your Atlas server: https://steamcommunity.com/sharedfiles/filedetails/?id=1628872141&tscn=1548237727

Join Control


Reclaim control of your server

The purpose of this mod it to gain control of the players connecting to your server. ARK has an exclusive join system that is unfortunately difficult to use, while it does prevent players from connecting to a server who are not on the list the actual list can not be easily be updated without human intervention.

Join Control will allow admins to setup and control who can connect via a web interface. An example being a web form for a Role Play server that allows players to join after completion. This is limited only by your imagination and technical ability.

Who is the mod for?



This mod is not for every one, firstly it requires that you are able to set up a web server to handle and format JSON data. Setting this up or showing you how to do it is beyond the scope of this web page. You are on your own, google is your friend, although I have provided some example code in the Discussions.



How does it work?



When a player connects to the server it will send an HTTP GET request to the web server, like so:

http://YOUR-URL?steam_id=PLAYERS-STEAM-ID


Your web server will respond with some JSON like this:

{"steam_id":"PLAYERS-STEAM-ID","allowed":"0"}


The allowed field is the join control, 0 = Not Allowed and will be kicked, a 1 will allow the player to remain on the server.


What this mod does not do



Anything else. It does not impose any restrictions on how you receive and respond to the request other that the format of the HTTP requests and the JSON that is returned. You can use any web server, database or language you wish. But you already knew that right? If you didn't then this mod is not for you.



Server Log



All interactions are recorded in the server log, the the full URL and variables in the request, and the received JSON to help with any setup issues you might have. The server should be run with this command line switch:


-servergamelog


Example log output:

2017.07.04_09.22.12: Info - JC - JoinControl - Player attempting to join the server: 76561198102235069
2017.07.04_09.22.12: Info - JC - JoinControl - Sending HTTP GET request: http://************?steam_id=76561198102235069
2017.07.04_09.22.12: Info - JC - JoinControl - Recieved HTTP Response: {"steam_id":"76561198102235069","allowed":"1","kick":"Yeah Nah Bro"}
2017.07.04_09.22.12: Info - JC - JoinControl - Is 76561198102235069 allowed to join: Yes


INI Settings



There are three settings, the URL (must NOT include the http://) and a Kick message. Finally a boolean for using of https or http.



URL=url-goes-here
Kick="You shall not pass"
https=false



Optional custom kick messages



You may if you wish use custom kick message for your players. The order for kick messages is the mod default of "You cannot pass" which can be overridden in the ini file. Finally you can add a special kick message in the JSON that will be used instead of the mod or ini message.


{"steam_id":"PLAYERS-STEAM-ID","allowed":"0","kick":"Yeah Nah Bro"}





This mod/code/work is protected by the Attribution-NonCommercial-NoDerivatives 4.0 International Creative Commons License.

安装指南

Steam工坊安装(推荐)
  1. 点击上方"在Steam工坊中订阅"按钮
  2. Steam客户端会自动打开并订阅该模组
  3. 启动ARK游戏时会自动下载和安装
  4. 在游戏主菜单的"MOD管理器"中激活模组
手动安装方法
1
下载模组文件
点击上方下载按钮获取模组文件
2
定位MOD文件夹
找到游戏安装目录的ShooterGame/Content/Mods文件夹
3
复制文件
将解压后的模组文件复制到Mods文件夹
4
激活模组
在游戏主菜单的MOD管理器中激活
模组信息
作者 76561198102235069
订阅量 6.8K
文件大小 318.34 KB
评分 0.0
Steam ID 949422684
该模组已经过社区验证,安全可靠。
相关模组
Awesome SpyGlass!
0

1404697612 Like a regular SpyGlass, except Awes...

Structures Plus (S+)
0

[b]Building Features:[/b] - Stackable foundatio...

Ultra Stacks
0

[h1][b]Mod ID: 761535755[/b][/h1] [h1][b]Final Ve...