File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- extern alias References ;
1+ extern alias References ;
22
33using References ::Newtonsoft . Json ;
44using System . Collections ;
@@ -20,6 +20,13 @@ public class OxideOptions
2020 public bool PluginWatchers ;
2121 public DefaultGroups DefaultGroups ;
2222 public string WebRequestIP ;
23+
24+ public class CommandOptions
25+ {
26+ [ JsonProperty ( PropertyName = "Chat command prefixes" ) ]
27+ public List < string > ChatPrefix { get ; set ; } = new List < string > ( ) { "/" } ;
28+ }
29+
2330 }
2431
2532 [ JsonObject ]
@@ -89,6 +96,12 @@ public class OxideRcon
8996 /// </summary>
9097 public OxideOptions Options { get ; set ; }
9198
99+ /// <summary>
100+ /// Gets or sets information regarding commands
101+ /// </summary>
102+ [ JsonProperty ( PropertyName = "Commands" ) ]
103+ public CommandOptions Commands { get ; set ; }
104+
92105 /// <summary>
93106 /// Gets or sets information regarding the Oxide console
94107 /// </summary>
You can’t perform that action at this time.
0 commit comments