12345678910111213141516171819202122232425262728293031323334353637383940 |
- package config
- //BannedIP is exported function
- type BannedIP []struct {
- IP string `json:"ip"`
- Created string `json:"created"`
- Source string `json:"source"`
- Expires string `json:"expires"`
- Reason string `json:"reason"`
- }
- //BannedPlayer is exported function
- type BannedPlayer []struct {
- UUID string `json:"uuid"`
- Name string `json:"name"`
- Created string `json:"created"`
- Source string `json:"source"`
- Expires string `json:"expires"`
- Reason string `json:"reason"`
- }
- //Op is exported function
- type Op []struct {
- UUID string `json:"uuid"`
- Name string `json:"name"`
- Level int `json:"level"`
- BypassesPlayerLimit bool `json:"bypassesPlayerLimit"`
- }
- //Whitelist is exported function
- type Whitelist []struct {
- UUID string `json:"uuid"`
- Name string `json:"name"`
- }
- //ServerConfig is exported function
- type ServerConfig struct {
- Key string `json:"key"`
- Value string `json:"value"`
- }
|