View Issue Details

IDProjectCategoryView StatusLast Update
0000097WolfAdminCommandspublic2020-04-15 16:29
ReporterTimo Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Summary0000097: Make an easier interface for new commands
DescriptionCurrently commands have to be written in a Lua script and added like any commands. However, this may also involve changes to auth/auth.lua, making it difficult to update WolfAdmin at once. An alternative should be created so administrators (without Lua knowledge) can easily create commands (and control access).

Suggestion: create a new file called commands.toml that takes the following syntax:

[[command]]
type = [client|server|admin]
syntax = [command name] (arg1) ... (argN)
exec = [list of functions separated with semicolons;]
permission = (permission used to check access for command)
help = [help text that is shown in !help]
TagsNo tags attached.
ModN/A
Mod version
Standaloneyes

Relationships

related to 0000013 resolvedTimo Dynamic loading of commands 
related to 0000051 resolvedTimo Load client and server commands dynamically 
related to 0000069 resolvedTimo Provide alternative to shrubbot 
related to 0000106 new Rewrite commands interface 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-01-31 18:01 Timo New Issue
2019-01-31 18:19 Timo Description Updated
2019-01-31 18:24 Timo Relationship added related to 0000013
2019-01-31 18:25 Timo Relationship added related to 0000051
2019-01-31 18:25 Timo Relationship added related to 0000069
2019-03-26 14:50 Timo Relationship added related to 0000106
2020-04-15 16:29 Timo Target Version 1.3.0 =>