You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2022-09-12T10:20:20]: Loading server configurations...
58
+
[2022-09-12T10:20:20]: Server configurations loaded successfully!
59
+
[2022-09-12T10:20:20]: Starting a nonlocal server...
60
+
[2022-09-12T10:20:20]: Server started successfully!
61
+
[2022-09-12T10:20:21]: Server should be now accessible from address 192.0.2.0 and port 50000.
62
62
```
63
63
64
64
* If you are listing your server in the Attorney Online master server, make sure its details are set up correctly. In particular, make sure that your server name and description are correct, as that is how players will find your server. If everything was set up correctly, you will see something like this appear:
65
65
66
66
```
67
-
[2022-08-21T10:20:21]: Attempting to connect to the master server at https://servers.aceattorneyonline.com/servers with the following details:
68
-
[2022-08-21T10:20:21]: *Server name: My First DR Server
69
-
[2022-08-21T10:20:21]: *Server description: This is my flashy new DR server
70
-
[2022-08-21T10:20:22]: Connected to the master server.
67
+
[2022-09-12T10:20:21]: Attempting to connect to the master server at https://servers.aceattorneyonline.com/servers with the following details:
68
+
[2022-09-12T10:20:21]: *Server name: My First DR Server
69
+
[2022-09-12T10:20:21]: *Server description: This is my flashy new DR server
70
+
[2022-09-12T10:20:22]: Connected to the master server.
71
71
```
72
72
73
73
- The server will make a single ping to [ipify](https://api.ipify.org) in order to obtain its public IP address. If it fails to do that, it will let you know that, as it means there is probably something wrong with your internet connection and that other players may not be able to connect to your server.
@@ -76,9 +76,9 @@ It is highly recommended you read through all the installation steps first befor
76
76
* To stop the server, press Ctrl+C once from your terminal. This will initiate a shutdown sequence and notify you when it is done. If the shutdown finished successfully, you will see something like this appear:
77
77
78
78
```
79
-
[2022-08-21T22:23:04]: You have initiated a server shut down.
[2022-09-12T22:23:04]: Server has successfully shut down.
82
82
```
83
83
84
84
* If you do not see anything after a few seconds of starting a shutdown, you can try spamming Ctrl+C to try and force a shutdown or directly close out your terminal. This is not recommended due to the cleanup process not finishing correctly but it is doable.
@@ -186,6 +186,8 @@ Additional notes are listed at the end of the command list. Unless otherwise spe
186
186
- Returns the server's Message of the Day.
187
187
***music_list** "music list name"
188
188
- Sets your music list to the given one, or restores the original one if not given any.
189
+
***music_list_info**
190
+
- Returns your current music list.
189
191
***music_lists**
190
192
- Lists all available music lists as established in `config/music_lists.yaml`.
191
193
***notecard** "content"
@@ -355,6 +357,10 @@ GMs can:
355
357
- Sets the current area to have bloodtrails leading to the listed areas. If no areas are given, the area is set to have an unconnected pool of blood.
356
358
***bloodtrail_smear** "area 1", "area 2", ...
357
359
- Smears the blood trails in the given areas (or the current one if not given any areas).
360
+
***bg_period** "period name" "bg name"
361
+
- Sets the special background to be displayed in the area whenever there is a clock in the area with the given period.
362
+
***bg_period_end** "period name"
363
+
- Removes the special background to be displayed in the area whenever there is a clock in the area with the given period, so that it instead displays the normal background of the area.
358
364
***can_passagelock**
359
365
- Changes the current area's setting to allow non-staff members to change passages starting in the area with /bilock or /unilock. By default area setting is indicated in the server's area list.
360
366
***can_rollp**
@@ -668,13 +674,25 @@ GMs can:
668
674
- If not given a target area, it will use the server's default area (usually area 0).
669
675
***area_list** "area list"
670
676
- Sets the server's current area list.
671
-
- If not given an area list, it will restore the original area list as it was on server bootup.
677
+
- If not given an area list, it will use the default file `config/areas.yaml`.
678
+
***area_list_info**
679
+
- Returns the server's current area list.
672
680
***area_lists**
673
681
- Lists all available area lists as established in `config/area_lists.yaml`.
682
+
***bg_list** "list"
683
+
- Sets the server's current background list.
684
+
- If not given a background list, it will use the default file `config/backgrounds.yaml`.
685
+
***bg_list_info**
686
+
- Returns the server's current background list.
674
687
***blockdj** "ID/IPID"
675
688
- Mutes the target from changing music.
676
689
***charlog** "ID/IPID"
677
690
- Lists all character changes (including iniswaps and character name changes) a target has gone through since connecting, including the time they were changed.
691
+
***char_list** "list"
692
+
- Sets the server's current character list.
693
+
- If not given a character list, it will use the default file `config/characters.yaml`.
694
+
***char_list_info**
695
+
- Returns the server's current character list.
678
696
***cleargm** "ID"
679
697
- Logs out the target from their GM rank, or all GMs in the server if not given a target, and puts them in RP mode if needed.
Copy file name to clipboardExpand all lines: config_sample/README.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,28 +3,30 @@
3
3
## Before you get started...
4
4
With your copy of this software, you should check that you have the following files in `\config_sample\`:
5
5
6
-
*`config.yaml`
7
-
*`area_lists.yaml`
8
-
*`area_templates.yaml`
9
-
*`areas.yaml`
10
-
*`backgrounds.yaml`
6
+
*`config.yaml`
7
+
*`area_lists.yaml`
8
+
*`area_templates.yaml`
9
+
*`areas.yaml`
10
+
*`backgrounds.yaml`
11
11
*`gimp.yaml`
12
-
*`iniswaps.yaml`
13
-
*`music.yaml`
14
-
*`music_lists.yaml`
12
+
*`iniswaps.yaml`
13
+
*`music.yaml`
14
+
*`music_lists.yaml`
15
15
16
-
As well as two folders:
16
+
As well as these folders:
17
17
18
-
*`area_lists`
19
-
*`music_lists`
18
+
*`area_lists`
19
+
*`background_lists`
20
+
*`character_lists`
21
+
*`music_lists`
20
22
21
23
Make sure you have all of the above inside this folder (otherwise, the server may hang or crash while starting).
22
24
23
-
In order to customize your server, you would be modifying the files in this configuration folder. You should be able to edit these files with any text editor, including Notepad, Notepad++, Nano, Vim, etc.
25
+
In order to customize your server, you would be modifying the files in this configuration folder. You should be able to edit these files with any text editor, including Notepad, Notepad++, Nano, Vim, etc.
24
26
25
27
### YAML
26
28
27
-
* The configuration files follow YAML syntax. YAML is a human-readable markup language, so you should be able to pick up the syntax rather quickly. However, if you feel like a short tutorial could come handy, the guide from [Rollout](https://rollout.io/blog/yaml-tutorial-everything-you-need-get-started/) is a great starting point. You can also use external YAML linters such as the one [here](https://codebeautify.org/yaml-validator) in order to check if your YAML syntax is valid.
29
+
* The configuration files follow YAML syntax. YAML is a human-readable markup language, so you should be able to pick up the syntax rather quickly. However, if you feel like a short tutorial could come handy, the guide from [Rollout](https://rollout.io/blog/yaml-tutorial-everything-you-need-get-started/) is a great starting point. You can also use external YAML linters such as the one [here](https://codebeautify.org/yaml-validator) in order to check if your YAML syntax is valid.
28
30
* By convention, TsuserverDR uses two spaces to indent (not tabulations).
29
31
***As long as some configuration files have invalid YAML syntax or attributes TsuserverDR does not like, your server will very likely not start.** The server will try its best to let you know what is wrong, but this is not guaranteed.
30
32
@@ -36,7 +38,7 @@ Each file contains an example configuration. Further instructions should be loca
36
38
- Contains server configuration attributes such as server name, player limit, the port it should use to listen to connections, whether it should be advertised in the AO master server list, etc.
37
39
38
40
***area_lists.yaml**
39
-
- Lists the area lists the server supports.
41
+
- Lists the area lists the server supports.
40
42
- This is the list that is returned when moderators use `/area_lists`. No validation is performed to check if some area list is in this list of area lists.
41
43
42
44
***area_templates.yaml**
@@ -45,14 +47,14 @@ Each file contains an example configuration. Further instructions should be loca
45
47
***areas.yaml**
46
48
- Contains the default server area list.
47
49
- This is the area list that is loaded when the server starts, as well as the area list the server falls back to when moderators use `/area_list` on its own.
48
-
50
+
49
51
***backgrounds.yaml**
50
52
- Lists the background names the server supports.
51
53
- This is the list that is used to validate attempts from regular players to change the background with `/bg`.
52
54
53
55
***gimp.yaml**
54
56
- Lists a pool of messages. If a player is gimped, their messages will be replaced with a randomly chosen message from this list.
55
-
57
+
56
58
***iniswaps.yaml**
57
59
- Lists the allowed iniswapping combinations.
58
60
- This is the list the server uses to check in areas that prevent iniswapping to check if they should allow a particular iniswap to exist.
0 commit comments