Skip to content

Commit 09c9afb

Browse files
committed
chore: switch to default true values
1 parent 5a9c6e4 commit 09c9afb

File tree

2 files changed

+37
-15
lines changed

2 files changed

+37
-15
lines changed

GamingAPIPlugins/plugins/GamingAPI.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,31 +62,31 @@ private void Init()
6262
public class Configuration
6363
{
6464
[JsonProperty(PropertyName = "If true, when a player writes in the chat the event will be saved")]
65-
public bool onChat = false;
65+
public bool onChat = true;
6666
[JsonProperty(PropertyName = "If true, when a player farms a resource the event will be saved")]
67-
public bool onResourceGathered = false;
67+
public bool onResourceGathered = true;
6868
[JsonProperty(PropertyName = "If true, when a player respawns the event will be saved")]
69-
public bool onRespawn = false;
69+
public bool onRespawn = true;
7070
[JsonProperty(PropertyName = "If true, when a player disconnects the event will be saved")]
71-
public bool onPlayerDisconnected = false;
71+
public bool onPlayerDisconnected = true;
7272
[JsonProperty(PropertyName = "If true, when a player connects the event will be saved")]
73-
public bool onPlayerConnected = false;
73+
public bool onPlayerConnected = true;
7474
[JsonProperty(PropertyName = "If true, when the server wipes the event will be saved")]
75-
public bool onWipe = false;
75+
public bool onWipe = true;
7676
[JsonProperty(PropertyName = "If true, when a player crafts an item the event will be saved")]
77-
public bool onCrafted = false;
77+
public bool onCrafted = true;
7878
[JsonProperty(PropertyName = "If true, when a player is banned the event will be saved")]
79-
public bool onBanned = false;
79+
public bool onBanned = true;
8080
[JsonProperty(PropertyName = "If true, when a player is reported the event will be saved")]
81-
public bool onReportedd = false;
81+
public bool onReportedd = true;
8282
[JsonProperty(PropertyName = "If true, when a server command is run the event will be saved")]
83-
public bool onServerCommand = false;
83+
public bool onServerCommand = true;
8484
[JsonProperty(PropertyName = "If true, when a player hits another player the event will be saved")]
85-
public bool onPlayerHit = false;
85+
public bool onPlayerHit = true;
8686
[JsonProperty(PropertyName = "If true, when a player picks up an item the event will be saved")]
87-
public bool onItemPickup = false;
87+
public bool onItemPickup = true;
8888
[JsonProperty(PropertyName = "If true, when a player loots an item the event will be saved")]
89-
public bool onitemLooted = false;
89+
public bool onitemLooted = true;
9090

9191
public static Configuration DefaultConfig()
9292
{

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# rust-server-plugin
2-
The rust server plugin utilizing Umod for for sharing events.
1+
# UMod GamingAPI Plugin
2+
The rust server plugin utilizing UMod for GamingAPI.
3+
4+
## Configuration
5+
6+
The plugin is setup for you to control which events you want your server to save, certain services can require you to enable certain ones in order to function, but that is up to the individual service.
7+
8+
```json
9+
{
10+
"If true, when a player writes in the chat the event will be saved": true,
11+
"If true, when a player farms a resource the event will be saved": true,
12+
"If true, when a player respawns the event will be saved": true,
13+
"If true, when a player disconnects the event will be saved": true,
14+
"If true, when a player connects the event will be saved": true,
15+
"If true, when the server wipes the event will be saved": true,
16+
"If true, when a player crafts an item the event will be saved": true,
17+
"If true, when a player is banned the event will be saved": true,
18+
"If true, when a player is reported the event will be saved": true,
19+
"If true, when a server command is run the event will be saved": true,
20+
"If true, when a player hits another player the event will be saved": true,
21+
"If true, when a player picks up an item the event will be saved": true,
22+
"If true, when a player loots an item the event will be saved": true
23+
}
24+
```

0 commit comments

Comments
 (0)