Skip to content

Commit 6a9a873

Browse files
committed
Updated configs etc.
1 parent f812c67 commit 6a9a873

6 files changed

Lines changed: 61 additions & 12 deletions

File tree

Configs/Config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"ServerKey": "server1",
3+
"ClusterKey": "cluster1",
4+
"ServerTag": "MAPNAME",
5+
"NamePattern": "{Name} [{ServerTag}]",
6+
"HideServerTagOnLocal": true,
7+
"DatabasePath": "C:\\ARK Servers\\ArkCrossServerChat.db"
8+
}

Configs/PdbConfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"structures": [
3+
"UPrimalGameData"
4+
]
5+
}

Configs/PluginInfo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"FullName":"ARK Cross Server Chat",
3+
"Description": "",
4+
"Version":2.0,
5+
"MinApiVersion":2.14
6+
}

README.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
# ARK Beyond API: Cross Server Chat (Plugin)
1+
# ARK Server API: Cross Server Chat (Plugin)
22

33
## Introduction
44

5-
Adds cross server chat support to ARK Survival Evolved servers using ARK Beyond API. Currently only supports multiple servers on the same machine due to using the Windows PulseEvent Synchronization API (https://msdn.microsoft.com/en-us/library/windows/desktop/ms684914(v=vs.85).aspx).
5+
Adds cross server chat support to ARK Survival Evolved servers using ARK Server API.
6+
7+
Currently only supports multiple servers on the same machine due to using the Windows PulseEvent Synchronization API (https://msdn.microsoft.com/en-us/library/windows/desktop/ms684914(v=vs.85).aspx).
8+
9+
10+
## Installation
11+
12+
1. Install ARK Server API (http://arkserverapi.com).
13+
2. Download and extract ImprovedCommands into `ShooterGame\Binaries\Win64\ArkApi\Plugins`.
14+
3. Optionally configure the plugin in `config.json`.
15+
616

717
## Configuration
818

@@ -12,22 +22,35 @@ If not; each server should have a unique server key and the cluster key should b
1222

1323
`DatabasePath` must be a valid path and the directory must exist. The plugin will not attempt to create the directory.
1424

25+
`NamePattern` controls the formatting of character names.
26+
27+
* `{Name} [{ServerTag}]`: Use server tag as a suffix.
28+
* `[{ServerTag}] {Name}`: Use server tag as a prefix.
29+
* `{Name}`: Don't show server tags.
30+
31+
`HideServerTagOnLocal` may be set to `false` if you want server tags to be shown for chat messages coming from the local server (i.e. the one you are playing on).
32+
1533
```json
1634
{
1735
"ServerKey": "server1",
1836
"ClusterKey": "cluster1",
19-
"DatabasePath": "C:\\ARK Servers\\ArkCrossServerChat.db"
37+
"ServerTag": "MAPNAME",
38+
"NamePattern": "{Name} [{ServerTag}]",
39+
"HideServerTagOnLocal": true,
40+
"DatabasePath": "C:\\ARK Servers\\ArkCrossServerChat.db"
2041
}
2142
```
2243

44+
2345
## Acknowledgements
2446

25-
This plugin is based on Michidu's work on Ark-Server-Plugins and ARK Beyond API. The basic plumbing code is copied directly from those plugins.
47+
This plugin is based on Michidu's work on Ark-Server-Plugins and ARK Server API. The basic plumbing code is copied directly from those plugins.
48+
2649

2750
## Links
2851

29-
My ARK Beyond API Fork (https://github.com/tsebring/ARK-Server-Beyond-API)
52+
ARK Server API (http://arkserverapi.com)
3053

31-
ARK Beyond API by Michidu (https://github.com/Michidu/ARK-Server-Beyond-API)
54+
ARK Server API [GitHub] (https://github.com/Michidu/ARK-Server-API)
3255

33-
Ark-Server-Plugins (https://github.com/Michidu/Ark-Server-Plugins)
56+
Ark-Server-Plugins [GitHub] (https://github.com/Michidu/Ark-Server-Plugins)

config.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

create-release.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
$path = "x64\Release\ArkCrossServerChat"
2+
3+
New-Item -ItemType Directory -Force -Path $path
4+
Copy-Item x64\Release\ArkCrossServerChat.dll $path
5+
Copy-Item x64\Release\ArkCrossServerChat.pdb $path
6+
Copy-Item Configs\Config.json $path
7+
Copy-Item Configs\PluginInfo.json $path
8+
Copy-Item Configs\PdbConfig.json $path
9+
10+
Compress-Archive -Path $path -CompressionLevel Optimal -DestinationPath ArkCrossServerChat-2.00.zip
11+
12+
Remove-Item $path -Force -Recurse -ErrorAction SilentlyContinue

0 commit comments

Comments
 (0)