constants.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /* Modules
  3. ** - access arrays are group ids that users must
  4. ** be a member of in order to access them.
  5. */
  6. $_modules = [
  7. 'dashboard' => [
  8. 'type' => 'module',
  9. 'icon' => 'fad fa-tachometer-alt',
  10. 'title' => 'Dashboard',
  11. 'file' => 'module.dashboard',
  12. 'desc' => 'Server Dashboard',
  13. 'access' => [1,2,3,4,5]
  14. ],
  15. 'tools' => [
  16. 'type' => 'category',
  17. 'icon' => NULL,
  18. 'title' => 'Content Tools',
  19. 'access' => [1,2,3,4,5]
  20. ],
  21. 'items' => [
  22. 'type' => 'module',
  23. 'icon' => 'far fa-swords',
  24. 'title' => 'Item Editor',
  25. 'file' => 'module.editor.items',
  26. 'desc' => 'Edit Items',
  27. 'access' => [3,4,5]
  28. ],
  29. 'npcs' => [
  30. 'type' => 'module',
  31. 'icon' => 'fad fa-dragon',
  32. 'title' => 'NPC Editor',
  33. 'file' => 'module.editor.npc',
  34. 'desc' => 'Edit NPCS',
  35. 'access' => [3,4,5]
  36. ],
  37. 'zones' => [
  38. 'type' => 'module',
  39. 'icon' => 'fad fa-map-marked-alt',
  40. 'title' => 'Zone Editor',
  41. 'file' => 'module.editor.zone',
  42. 'desc' => 'Edit Zones',
  43. 'access' => [3,4,5]
  44. ],
  45. 'mgmt' => [
  46. 'type' => 'category',
  47. 'icon' => NULL,
  48. 'title' => 'Sever Management',
  49. 'access' => [4,5]
  50. ],
  51. 'players' => [
  52. 'type' => 'module',
  53. 'icon' => 'fad fa-users',
  54. 'title' => 'Player Management',
  55. 'file' => 'module.editor.player',
  56. 'desc' => 'Manage Player Characters',
  57. 'access' => [4,5]
  58. ]
  59. ];
  60. ?>