Posts: 21
Threads: 3
Joined: Sep 2014
Thanks: 2
Given 4 thank(s) in 4 post(s)
Hi I got a question about info.lua.
Do I just have to register the commands in the info.lua or do I need to register the commands using the BindCommand function and the info.lua is just a info table?
Another question releated to info.lua, the Alias var in commands, can it be an array or is it only a string?
Posts: 952
Threads: 16
Joined: May 2013
Thanks: 66
Given 105 thank(s) in 89 post(s)
Can we get the server to do this automatically?
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1050 thank(s) in 840 post(s)
We could, theoretically, when it finds out that the plugin has the Info.lua file, it could process it this way. But when should the server do that? Before calling Initialize()? Or after?
Posts: 21
Threads: 3
Joined: Sep 2014
Thanks: 2
Given 4 thank(s) in 4 post(s)
09-16-2014, 03:54 AM
(This post was last modified: 09-16-2014, 03:56 AM by tryy3.)
Hmm... after checking the Article on the Info.lua I got two questions,
1) When/where is AdditionalInformation displayed? is it only for external services, like if you want to use it on a website or can you actually see the text in a command or something?
2) Can you have multiple lines in AdditionalInformation Table? like if you add a \n will that make it a new line?
Maybe add Author property too?