View Issue Details

IDProjectCategoryView StatusLast Update
0000051WolfAdminCommandspublic2019-01-31 18:25
ReporterTimo Assigned ToTimo  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Target Version1.1.0Fixed in Version1.1.0 
Summary0000051: Load client and server commands dynamically
DescriptionLike the existing !admin commands, now also load the other commands dynamically to allow easy extension of the commands set.
TagsNo tags attached.
ModN/A
Mod version
Standaloneno

Relationships

related to 0000047 resolvedTimo Make certain console commands available from chat 
related to 0000097 new Make an easier interface for new commands 

Activities

Timo

2016-02-18 20:54

administrator   ~0000050

Changed the directory layout slightly:

* client commands are loaded from commands/client/*.lua
* server commands are loaded from commands/server/*.lua
* admin commands are loaded from commands/admin/*.lua

commands.register has also been removed in favour of

* commands.addclient
* commands.addserver
* commands.addadmin

to add client, server and admin commands, respectively. commands.lua has been moved into the commands directory to keep the root dir clean.

Related Changesets

WolfAdmin: master ae8ae5a4

2016-02-18 20:42

Timo

Details Diff
load client and server commands dynamically (issue 0000051) Affected Issues
0000051
mod - luascripts/main.lua Diff File

WolfAdmin: master eabf1a5f

2016-02-18 21:45

Timo

Details Diff
move server and client commands out of commands.lua (issue 0000051) Affected Issues
0000051
add - luascripts/commands/client/ac.lua Diff File
add - luascripts/commands/client/pm.lua Diff File
add - luascripts/commands/client/r.lua Diff File
add - luascripts/commands/client/wolfadmin.lua Diff File
mod - luascripts/commands/commands.lua Diff File
add - luascripts/commands/server/cannounce.lua Diff File
add - luascripts/commands/server/cchat.lua Diff File
add - luascripts/commands/server/ccp.lua Diff File
add - luascripts/commands/server/ccpm.lua Diff File
add - luascripts/commands/server/cmusic.lua Diff File
add - luascripts/commands/server/csay.lua Diff File

Issue History

Date Modified Username Field Change
2016-02-18 18:52 Timo New Issue
2016-02-18 18:52 Timo Status new => assigned
2016-02-18 18:52 Timo Assigned To => Timo
2016-02-18 20:07 Timo Relationship added related to 0000047
2016-02-18 20:54 Timo Note Added: 0000050
2016-02-18 20:54 Timo Status assigned => resolved
2016-02-18 20:54 Timo Fixed in Version => 1.1.0
2016-02-18 20:54 Timo Resolution open => fixed
2019-01-31 18:25 Timo Relationship added related to 0000097