Skip to content

Commit

Permalink
rewrite command processor and i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
sekaiwish committed Oct 14, 2024
1 parent 0af565a commit c46d8de
Show file tree
Hide file tree
Showing 6 changed files with 622 additions and 394 deletions.
80 changes: 34 additions & 46 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,64 +114,52 @@
"RelayChannelID": ""
}
},
"Commands": [
{
"Name": "Help",
"Commands": {
"help": {
"Enabled": true,
"Description": "Show enabled chat commands",
"Prefix": "help"
}, {
"Name": "Rights",
"Description": "Show enabled chat commands"
},
"rights":{
"Enabled": false,
"Description": "Overwrite the Rights value on your account",
"Prefix": "rights"
}, {
"Name": "Raviente",
"Description": "Overwrite the Rights value on your account"
},
"ravi": {
"Enabled": true,
"Description": "Various Raviente siege commands",
"Prefix": "ravi"
}, {
"Name": "Teleport",
"Description": "Various Raviente siege commands"
},
"teleport": {
"Enabled": false,
"Description": "Teleport to specified coordinates",
"Prefix": "tele"
}, {
"Name": "Reload",
"Description": "Teleport to specified coordinates"
},
"reload": {
"Enabled": true,
"Description": "Reload all players in your Land",
"Prefix": "reload"
}, {
"Name": "KeyQuest",
"Description": "Reload all players in your Land"
},
"kqf":{
"Enabled": false,
"Description": "Overwrite your HR Key Quest progress",
"Prefix": "kqf"
}, {
"Name": "Course",
"Description": "Get or Set your HR Key Quest progress"
},
"course": {
"Enabled": true,
"Description": "Toggle Courses on your account",
"Prefix": "course"
}, {
"Name": "PSN",
"Description": "Toggle Courses on your account"
},
"psn": {
"Enabled": true,
"Description": "Link a PlayStation Network ID to your account",
"Prefix": "psn"
}, {
"Name": "Discord",
"Description": "Link a PlayStation Network ID to your account"
},
"discord": {
"Enabled": true,
"Description": "Generate a token to link your Discord account",
"Prefix": "discord"
}, {
"Name": "Ban",
"Description": "Generate a token to link your Discord account"
},
"ban": {
"Enabled": false,
"Description": "Ban/Temp Ban a user",
"Prefix": "ban"
}, {
"Name": "Timer",
"Description": "Ban/Temp Ban a user"
},
"timer": {
"Enabled": true,
"Description": "Toggle the Quest timer",
"Prefix": "timer"
"Description": "Toggle the Quest timer"
}
],
},
"Courses": [
{"Name": "HunterLife", "Enabled": true},
{"Name": "Extra", "Enabled": true},
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ type Config struct {
DebugOptions DebugOptions
GameplayOptions GameplayOptions
Discord Discord
Commands []Command
Commands map[string]Command
Courses []Course
Database Database
Sign Sign
Expand Down
Loading

0 comments on commit c46d8de

Please sign in to comment.