Plugin Description
#12
We don't need a separate plugin for that, we can make a source file that will expect this table to be called g_PluginInfo and will export them. Easy.
As for the doubleslash commands, even that is possible, although it looks a bit worse:
Commands =
{
  ["/set"] = { ... }
}

I think the categories should be a "member variable" for each command; this way a command doesn't need to be in a category, or could be in multiple categories at once; the exporting code would take care of that. And the categories could get a separate description, too:
g_PluginInfo =
{
  ...
  Commands =
  {
    descend =
    {
      Category = "Navigation";
      Permission = "..."; ...
    },
    ...
  },
  CommandCategories =
  {
    Navigation =
    {
      Desc = "Commands in this category will teleport a player to various important places";
    },
    ...
  },
};
Reply
Thanks given by:


Messages In This Thread
Plugin Description - by ThuGie - 12-29-2013, 06:48 AM
RE: Plugin Description - by xoft - 12-29-2013, 06:52 AM
RE: Plugin Description - by ThuGie - 12-29-2013, 06:54 AM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 07:00 AM
RE: Plugin Description - by xoft - 12-29-2013, 07:53 AM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 08:44 AM
RE: Plugin Description - by SamJBarney - 12-29-2013, 08:02 AM
RE: Plugin Description - by xoft - 12-29-2013, 06:21 PM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 10:48 PM
RE: Plugin Description - by xoft - 12-29-2013, 10:54 PM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 10:57 PM
RE: Plugin Description - by xoft - 12-29-2013, 11:43 PM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 11:51 PM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 01:20 AM
RE: Plugin Description - by xoft - 12-30-2013, 03:31 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 03:57 AM
RE: Plugin Description - by xoft - 12-30-2013, 04:33 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 04:38 AM
RE: Plugin Description - by xoft - 12-30-2013, 05:36 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 05:38 AM
RE: Plugin Description - by xoft - 12-30-2013, 05:42 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 05:45 AM
RE: Plugin Description - by xoft - 12-30-2013, 06:08 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 06:15 AM
RE: Plugin Description - by xoft - 12-30-2013, 06:19 AM
RE: Plugin Description - by ThuGie - 12-30-2013, 08:31 PM
RE: Plugin Description - by xoft - 01-05-2014, 05:33 AM
RE: Plugin Description - by ThuGie - 01-05-2014, 08:14 AM
RE: Plugin Description - by NiLSPACE - 01-05-2014, 08:41 AM
RE: Plugin Description - by ThuGie - 01-05-2014, 09:17 AM
RE: Plugin Description - by xoft - 01-05-2014, 11:55 PM
RE: Plugin Description - by xoft - 01-06-2014, 01:21 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 01:42 AM
RE: Plugin Description - by xoft - 01-12-2014, 02:53 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 03:05 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 07:19 AM
RE: Plugin Description - by xoft - 01-12-2014, 08:12 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 08:19 AM
RE: Plugin Description - by xoft - 01-12-2014, 08:23 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 08:25 AM
RE: Plugin Description - by xoft - 01-12-2014, 08:28 AM



Users browsing this thread: 6 Guest(s)