admin_command_access_rights.sql 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. --
  2. -- For further information on the usage of this table, please refer to the
  3. -- documentation comments in the access_levels.sql file
  4. --
  5. -- -----------------------------------------------
  6. -- Table structure for admin_command_access_rights
  7. -- -----------------------------------------------
  8. CREATE TABLE IF NOT EXISTS `admin_command_access_rights` (
  9. `adminCommand` varchar(255) NOT NULL default 'admin_',
  10. `accessLevels` varchar(255) NOT NULL,
  11. PRIMARY KEY (`adminCommand`)
  12. );
  13. INSERT IGNORE INTO `admin_command_access_rights` VALUES
  14. -- ADMIN
  15. ('admin_admin','1'),
  16. ('admin_admin1','1'),
  17. ('admin_admin2','1'),
  18. ('admin_admin3','1'),
  19. ('admin_admin4','1'),
  20. ('admin_admin5','1'),
  21. ('admin_gmliston','1'),
  22. ('admin_gmlistoff','1'),
  23. ('admin_silence','1'),
  24. ('admin_diet','1'),
  25. ('admin_tradeoff','1'),
  26. ('admin_reload','1'),
  27. ('admin_set','1'),
  28. ('admin_set_menu','1'),
  29. ('admin_set_mod','1'),
  30. ('admin_saveolymp','1'),
  31. ('admin_manualhero','1'),
  32. ('admin_sethero','1'),
  33. ('admin_endolympiad','1'),
  34. -- ANNOUNCEMENTS
  35. ('admin_list_announcements','1'),
  36. ('admin_reload_announcements','1'),
  37. ('admin_announce_announcements','1'),
  38. ('admin_add_announcement','1'),
  39. ('admin_del_announcement','1'),
  40. ('admin_announce','1'),
  41. ('admin_announce_menu','1'),
  42. -- BAN
  43. ('admin_ban','1'),
  44. ('admin_ban_acc','1'),
  45. ('admin_ban_char','1'),
  46. ('admin_ban_chat','1'),
  47. ('admin_jail','1'),
  48. ('admin_unban','1'),
  49. ('admin_unban_acc','1'),
  50. ('admin_unban_char','1'),
  51. ('admin_unban_chat','1'),
  52. ('admin_unjail','1'),
  53. -- BBS
  54. ('admin_bbs','1'),
  55. -- BUFF
  56. ('admin_getbuffs','1'),
  57. ('admin_stopbuff','1'),
  58. ('admin_stopallbuffs','1'),
  59. ('admin_areacancel','1'),
  60. -- CACHE
  61. ('admin_cache_htm_rebuild','1'),
  62. ('admin_cache_htm_reload','1'),
  63. ('admin_cache_reload_path','1'),
  64. ('admin_cache_reload_file','1'),
  65. ('admin_cache_crest_rebuild','1'),
  66. ('admin_cache_crest_reload','1'),
  67. ('admin_cache_crest_fix','1'),
  68. -- CHANGE ACCESS LEVEL
  69. ('admin_changelvl','1'),
  70. -- CREATE ITEM
  71. ('admin_itemcreate','1'),
  72. ('admin_create_item','1'),
  73. -- CURSED WEPONS
  74. ('admin_cw_info','1'),
  75. ('admin_cw_remove','1'),
  76. ('admin_cw_goto','1'),
  77. ('admin_cw_reload','1'),
  78. ('admin_cw_add','1'),
  79. ('admin_cw_info_menu','1'),
  80. -- DELETE
  81. ('admin_delete','1'),
  82. -- DISCONNECT
  83. ('admin_character_disconnect','1'),
  84. -- DOOR CONTROL
  85. ('admin_open','1'),
  86. ('admin_close','1'),
  87. ('admin_openall','1'),
  88. ('admin_closeall','1'),
  89. -- EDIT CHAR
  90. ('admin_edit_character','1'),
  91. ('admin_current_player','1'),
  92. ('admin_nokarma','1'),
  93. ('admin_setkarma','1'),
  94. ('admin_character_list','1'),
  95. ('admin_character_info','1'),
  96. ('admin_show_characters','1'),
  97. ('admin_find_character','1'),
  98. ('admin_find_ip','1'),
  99. ('admin_find_account','1'),
  100. ('admin_save_modifications','1'),
  101. ('admin_rec','1'),
  102. ('admin_settitle','1'),
  103. ('admin_changename','1'),
  104. ('admin_setsex','1'),
  105. ('admin_setcolor','1'),
  106. ('admin_setclass','1'),
  107. ('admin_fullfood','1'),
  108. -- EDIT NPC
  109. ('admin_edit_npc','1'),
  110. ('admin_save_npc','1'),
  111. ('admin_show_droplist','1'),
  112. ('admin_edit_drop','1'),
  113. ('admin_add_drop','1'),
  114. ('admin_del_drop','1'),
  115. ('admin_showShop','1'),
  116. ('admin_showShopList','1'),
  117. ('admin_addShopItem','1'),
  118. ('admin_delShopItem','1'),
  119. ('admin_editShopItem','1'),
  120. ('admin_close_window','1'),
  121. -- EFFECTS
  122. ('admin_invis','1'),
  123. ('admin_invisible','1'),
  124. ('admin_vis','1'),
  125. ('admin_visible','1'),
  126. ('admin_invis_menu','1'),
  127. ('admin_earthquake','1'),
  128. ('admin_earthquake_menu','1'),
  129. ('admin_bighead','1'),
  130. ('admin_shrinkhead','1'),
  131. ('admin_gmspeed','1'),
  132. ('admin_gmspeed_menu','1'),
  133. ('admin_unpara_all','1'),
  134. ('admin_para_all','1'),
  135. ('admin_unpara','1'),
  136. ('admin_para','1'),
  137. ('admin_unpara_all_menu','1'),
  138. ('admin_para_all_menu','1'),
  139. ('admin_unpara_menu','1'),
  140. ('admin_para_menu','1'),
  141. ('admin_polyself','1'),
  142. ('admin_unpolyself','1'),
  143. ('admin_polyself_menu','1'),
  144. ('admin_unpolyself_menu','1'),
  145. ('admin_clearteams','1'),
  146. ('admin_setteam_close','1'),
  147. ('admin_setteam','1'),
  148. ('admin_social','1'),
  149. ('admin_effect','1'),
  150. ('admin_social_menu','1'),
  151. ('admin_effect_menu','1'),
  152. ('admin_abnormal','1'),
  153. ('admin_abnormal_menu','1'),
  154. ('admin_play_sounds','1'),
  155. ('admin_play_sound','1'),
  156. ('admin_atmosphere','1'),
  157. ('admin_atmosphere_menu','1'),
  158. -- ELEMENT
  159. ('admin_setlh','1'),
  160. ('admin_setlc','1'),
  161. ('admin_setll','1'),
  162. ('admin_setlg','1'),
  163. ('admin_setlb','1'),
  164. ('admin_setlw','1'),
  165. ('admin_setls','1'),
  166. -- ENCHANT
  167. ('admin_seteh','1'),
  168. ('admin_setec','1'),
  169. ('admin_seteg','1'),
  170. ('admin_setel','1'),
  171. ('admin_seteb','1'),
  172. ('admin_setew','1'),
  173. ('admin_setes','1'),
  174. ('admin_setle','1'),
  175. ('admin_setre','1'),
  176. ('admin_setlf','1'),
  177. ('admin_setrf','1'),
  178. ('admin_seten','1'),
  179. ('admin_setun','1'),
  180. ('admin_setba','1'),
  181. ('admin_enchant','1'),
  182. -- EVENT ENGINE
  183. ('admin_event','1'),
  184. ('admin_event_new','1'),
  185. ('admin_event_choose','1'),
  186. ('admin_event_store','1'),
  187. ('admin_event_set','1'),
  188. ('admin_event_change_teams_number','1'),
  189. ('admin_event_announce','1'),
  190. ('admin_event_panel','1'),
  191. ('admin_event_control_begin','1'),
  192. ('admin_event_control_teleport','1'),
  193. ('admin_add','1'), ('admin_event_see','1'),
  194. ('admin_event_del','1'),
  195. ('admin_delete_buffer','1'),
  196. ('admin_event_control_sit','1'),
  197. ('admin_event_name','1'),
  198. ('admin_event_control_kill','1'),
  199. ('admin_event_control_res','1'),
  200. ('admin_event_control_poly','1'),
  201. ('admin_event_control_unpoly','1'),
  202. ('admin_event_control_prize','1'),
  203. ('admin_event_control_chatban','1'),
  204. ('admin_event_control_finish','1'),
  205. -- EX & SP
  206. ('admin_add_exp_sp_to_character','1'),
  207. ('admin_add_exp_sp','1'),
  208. ('admin_remove_exp_sp','1'),
  209. -- FIGHT CALCULATOR
  210. ('admin_fight_calculator','1'),
  211. ('admin_fight_calculator_show','1'),
  212. ('admin_fcs','1'),
  213. -- FORT SIEGE
  214. ('admin_fortsiege','1'),
  215. ('admin_add_fortattacker','1'),
  216. ('admin_add_fortdefender','1'),
  217. ('admin_add_fortguard','1'),
  218. ('admin_list_fortsiege_clans','1'),
  219. ('admin_clear_fortsiege_list','1'),
  220. ('admin_move_fortdefenders','1'),
  221. ('admin_spawn_fortdoors','1'),
  222. ('admin_endfortsiege','1'),
  223. ('admin_startfortsiege','1'),
  224. ('admin_setfort','1'),
  225. ('admin_removefort','1'),
  226. -- GEODATA
  227. ('admin_geo_z','1'),
  228. ('admin_geo_type','1'),
  229. ('admin_geo_nswe','1'),
  230. ('admin_geo_los','1'),
  231. ('admin_geo_position','1'),
  232. ('admin_geo_bug','1'),
  233. ('admin_geo_load','1'),
  234. ('admin_geo_unload','1'),
  235. -- GEO EDITOR
  236. ('admin_ge_status','1'),
  237. ('admin_ge_mode','1'),
  238. ('admin_ge_join','1'),
  239. ('admin_ge_leave','1'),
  240. -- GM
  241. ('admin_gm','1'),
  242. -- GM CHAT
  243. ('admin_gmchat','1'),
  244. ('admin_snoop','1'),
  245. ('admin_gmchat_menu','1'),
  246. -- HEAL
  247. ('admin_heal','1'),
  248. -- HELP PAGE
  249. ('admin_help','1'),
  250. -- INSTANCES
  251. ('admin_setinstance','1'),
  252. ('admin_ghoston','1'),
  253. ('admin_ghostoff','1'),
  254. ('admin_createinstance','1'),
  255. ('admin_destroyinstance','1'),
  256. ('admin_listinstances','1'),
  257. -- INVUL
  258. ('admin_invul','1'),
  259. ('admin_setinvul','1'),
  260. -- KICK
  261. ('admin_kick','1'),
  262. ('admin_kick_non_gm','1'),
  263. -- KILL
  264. ('admin_kill','1'),
  265. ('admin_kill_monster','1'),
  266. -- LEVEL
  267. ('admin_add_level','1'),
  268. ('admin_set_level','1'),
  269. -- LOGIN
  270. ('admin_server_gm_only','1'),
  271. ('admin_server_all','1'),
  272. ('admin_server_max_player','1'),
  273. ('admin_server_list_clock','1'),
  274. ('admin_server_login','1'),
  275. -- MAMMON
  276. ('admin_mammon_find','1'),
  277. ('admin_mammon_respawn','1'),
  278. ('admin_list_spawns','1'),
  279. ('admin_msg','1'),
  280. -- MANOR
  281. ('admin_manor','1'),
  282. ('admin_manor_approve','1'),
  283. ('admin_manor_setnext','1'),
  284. ('admin_manor_reset','1'),
  285. ('admin_manor_setmaintenance','1'),
  286. ('admin_manor_save','1'),
  287. ('admin_manor_disable','1'),
  288. -- MENU
  289. ('admin_char_manage','1'),
  290. ('admin_teleport_character_to_menu','1'),
  291. ('admin_recall_char_menu','1'),
  292. ('admin_recall_party_menu','1'),
  293. ('admin_recall_clan_menu','1'),
  294. ('admin_goto_char_menu','1'),
  295. ('admin_kick_menu','1'),
  296. ('admin_kill_menu','1'),
  297. ('admin_ban_menu','1'),
  298. ('admin_unban_menu','1'),
  299. -- MOB GROUP
  300. ('admin_mobmenu','1'),
  301. ('admin_mobgroup_list','1'),
  302. ('admin_mobgroup_create','1'),
  303. ('admin_mobgroup_remove','1'),
  304. ('admin_mobgroup_delete','1'),
  305. ('admin_mobgroup_spawn','1'),
  306. ('admin_mobgroup_unspawn','1'),
  307. ('admin_mobgroup_kill','1'),
  308. ('admin_mobgroup_idle','1'),
  309. ('admin_mobgroup_attack','1'),
  310. ('admin_mobgroup_rnd','1'),
  311. ('admin_mobgroup_return','1'),
  312. ('admin_mobgroup_follow','1'),
  313. ('admin_mobgroup_casting','1'),
  314. ('admin_mobgroup_nomove','1'),
  315. ('admin_mobgroup_attackgrp','1'),
  316. ('admin_mobgroup_invul','1'),
  317. -- MONSTER RACE
  318. ('admin_mons','1'),
  319. -- PATHNODE
  320. ('admin_pn_info','1'),
  321. ('admin_show_path','1'),
  322. ('admin_path_debug','1'),
  323. ('admin_show_pn','1'),
  324. ('admin_find_path','1'),
  325. -- PETITION
  326. ('admin_view_petitions','1'),
  327. ('admin_view_petition','1'),
  328. ('admin_accept_petition','1'),
  329. ('admin_reject_petition','1'),
  330. ('admin_reset_petitions','1'),
  331. -- PFORGE
  332. ('admin_forge','1'),
  333. ('admin_forge2','1'),
  334. ('admin_forge3','1'),
  335. -- PLEDGE
  336. ('admin_pledge','1'),
  337. -- POLYMORPH
  338. ('admin_polymorph','1'),
  339. ('admin_unpolymorph','1'),
  340. ('admin_polymorph_menu','1'),
  341. ('admin_unpolymorph_menu','1'),
  342. ('admin_transform','1'),
  343. ('admin_untransform','1'),
  344. ('admin_transform_menu','1'),
  345. ('admin_untransform_menu','1'),
  346. -- QUEST
  347. ('admin_quest_reload','1'),
  348. ('admin_script_load','1'),
  349. -- REPAIR CHAR
  350. ('admin_restore','1'),
  351. ('admin_repair','1'),
  352. -- RES
  353. ('admin_res','1'),
  354. ('admin_res_monster','1'),
  355. -- RIDE
  356. ('admin_ride_horse','1'),
  357. ('admin_ride_wyvern','1'),
  358. ('admin_ride_strider','1'),
  359. ('admin_unride_wyvern','1'),
  360. ('admin_unride_strider','1'),
  361. ('admin_unride','1'),
  362. ('admin_ride_wolf','1'),
  363. ('admin_unride_wolf','1'),
  364. -- SHOP
  365. ('admin_buy','1'),
  366. ('admin_gmshop','1'),
  367. -- SHUTDOWN
  368. ('admin_server_shutdown','1'),
  369. ('admin_server_restart','1'),
  370. ('admin_server_abort','1'),
  371. -- SIEGE
  372. ('admin_siege','1'),
  373. ('admin_add_attacker','1'),
  374. ('admin_add_defender','1'),
  375. ('admin_add_guard','1'),
  376. ('admin_list_siege_clans','1'),
  377. ('admin_clear_siege_list','1'),
  378. ('admin_move_defenders','1'),
  379. ('admin_spawn_doors','1'),
  380. ('admin_endsiege','1'),
  381. ('admin_startsiege','1'),
  382. ('admin_setsiegetime','1'),
  383. ('admin_setcastle','1'),
  384. ('admin_removecastle','1'),
  385. ('admin_clanhall','1'),
  386. ('admin_clanhallset','1'),
  387. ('admin_clanhalldel','1'),
  388. ('admin_clanhallopendoors','1'),
  389. ('admin_clanhallclosedoors','1'),
  390. ('admin_clanhallteleportself','1'),
  391. -- SKILL
  392. ('admin_show_skills','1'),
  393. ('admin_remove_skills','1'),
  394. ('admin_skill_list','1'),
  395. ('admin_skill_index','1'),
  396. ('admin_add_skill','1'),
  397. ('admin_remove_skill','1'),
  398. ('admin_get_skills','1'),
  399. ('admin_reset_skills','1'),
  400. ('admin_give_all_skills','1'),
  401. ('admin_remove_all_skills','1'),
  402. ('admin_add_clan_skill','1'),
  403. -- SPAWN
  404. ('admin_show_spawns','1'),
  405. ('admin_spawn','1'),
  406. ('admin_spawn_monster','1'),
  407. ('admin_spawn_index','1'),
  408. ('admin_unspawnall','1'),
  409. ('admin_respawnall','1'),
  410. ('admin_spawn_reload','1'),
  411. ('admin_npc_index','1'),
  412. ('admin_spawn_once','1'),
  413. ('admin_show_npcs','1'),
  414. ('admin_teleport_reload','1'),
  415. ('admin_spawnnight','1'),
  416. ('admin_spawnday','1'),
  417. -- SUMMON
  418. ('admin_summon','1'),
  419. -- TARGET
  420. ('admin_target','1'),
  421. -- TELEPORT
  422. ('admin_show_moves','1'),
  423. ('admin_show_moves_other','1'),
  424. ('admin_show_teleport','1'),
  425. ('admin_teleport_to_character','1'),
  426. ('admin_teleportto','1'),
  427. ('admin_move_to','1'),
  428. ('admin_teleport_character','1'),
  429. ('admin_recall','1'),
  430. ('admin_walk','1'),
  431. ('admin_explore','1'),
  432. ('teleportto','1'),
  433. ('recall','1'),
  434. ('admin_recall_npc','1'),
  435. ('admin_gonorth','1'),
  436. ('admin_gosouth','1'),
  437. ('admin_goeast','1'),
  438. ('admin_gowest','1'),
  439. ('admin_goup','1'),
  440. ('admin_godown','1'),
  441. ('admin_tele','1'),
  442. ('admin_teleto','1'),
  443. ('admin_instant_move','1'),
  444. -- TEST
  445. ('admin_test','1'),
  446. ('admin_stats','1'),
  447. ('admin_skill_test','1'),
  448. ('admin_st','1'),
  449. ('admin_mp','1'),
  450. ('admin_known','1'),
  451. -- TVT EVENT
  452. ('admin_tvt_add','1'),
  453. ('admin_tvt_remove','1'),
  454. ('admin_tvt_advance','1'),
  455. -- UNBLOCK IP
  456. ('admin_unblockip','1'),
  457. -- ZONE
  458. ('admin_zone_check','1'),
  459. ('admin_zone_reload','1');