VIP与op权限说明
本帖最后由 wjyan 于 2009-4-10 21:55 编辑一般vip和op的权限都在cstrike/addons/amxmodx/configs/下面的user.ini文件里设置,那么里面的abcdefg如何控制呢,找到cstrike/addons/amxmodx/configs/下面的cmdaccess.ini, 里面有各种插件设置开启需要的权限:
"amx_statscfgmenu" "h" ; statscfg.amxx
"amx_statscfg" "h" ; statscfg.amxx
"amx_reloadadmins" "h" ; admin.amxx
"amx_addadmin" "l" ; admin.amxx
"amx_kick" "c" ; admincmd.amxx
"amx_ban" "d" ; admincmd.amxx
"amx_banip" "d" ; admincmd.amxx
"amx_addban" "d" ; admincmd.amxx
"amx_unban" "d" ; admincmd.amxx
"amx_slay" "e" ; admincmd.amxx
"amx_slap" "e" ; admincmd.amxx
"amx_leave" "c" ; admincmd.amxx
"amx_pause" "g" ; admincmd.amxx
"amx_who" "y" ; admincmd.amxx
"amx_cvar" "g" ; admincmd.amxx
"amx_plugins" "y" ; admincmd.amxx
"amx_modules" "y" ; admincmd.amxx
"amx_map" "f" ; admincmd.amxx
"amx_cfg" "h" ; admincmd.amxx
"amx_nick" "e" ; admincmd.amxx
"amx_last" "d" ; admincmd.amxx
"amx_rcon" "l" ; admincmd.amxx
"amx_showrcon" "l" ; admincmd.amxx
"amx_help" "" ; adminhelp.amxx
"amx_setlang" "g" ; multilingual.amxx
"amx_langmenu" "" ; multilingual.amxx
"amxmodmenu" "u" ; menufront.amxx
"amx_menu" "" ; menufront.amxx
"amx_cmdmenu" "u" ; cmdmenu.amxx
"amx_cfgmenu" "u" ; cmdmenu.amxx
"amx_speechmenu" "u" ; cmdmenu.amxx
"amx_cvarmenu" "g" ; cmdmenu.amxx
"amx_kickmenu" "c" ; plmenu.amxx
"amx_banmenu" "d" ; plmenu.amxx
"amx_slapmenu" "e" ; plmenu.amxx
"amx_teammenu" "m" ; plmenu.amxx
"amx_clcmdmenu" "m" ; plmenu.amxx
"amx_mapmenu" "f" ; mapsmenu.amxx
"amx_votemapmenu" "j" ; mapsmenu.amxx
"amx_plugincvarmenu" "g" ; pluginmenu.amxx
"amx_plugincmdmenu" "u" ; pluginmenu.amxx
"amx_say" "i" ; adminchat.amxx
"amx_chat" "i" ; adminchat.amxx
"amx_psay" "i" ; adminchat.amxx
"amx_tsay" "i" ; adminchat.amxx
"amx_csay" "i" ; adminchat.amxx
"amx_votemap" "j" ; adminvote.amxx
"amx_votekick" "j" ; adminvote.amxx
"amx_voteban" "j" ; adminvote.amxx
"amx_vote" "j" ; adminvote.amxx
"amx_cancelvote" "j" ; adminvote.amxx
"amx_pausecfg" "g" ; pausecfg.amxx
"amx_pausecfgmenu" "g" ; pausecfg.amxx
"amx_off" "g" ; pausecfg.amxx
"amx_on" "g" ; pausecfg.amxx
"amx_teleportmenu" "h" ; telemenu.amxx
"amx_restmenu" "h" ; restmenu.amxx
"amx_restrict" "h" ; restmenu.amxx
"amx_hpk" "h" ; amx_hpk.amxx
"mystats" "" ; uber_stat.amx
"stats" "" ; uber_stat.amx
"zp_toggle" "l" ; zombie_plague40.amxx
"amx_weapon_physics_menu" "e" ; weaponphys.amxx
"zp_zombie" "d" ; zombie_plague40.amxx
"zp_human" "d" ; zombie_plague40.amxx
"zp_nemesis" "d" ; zombie_plague40.amxx
"zp_survivor" "d" ; zombie_plague40.amxx
"zp_respawn" "d" ; zombie_plague40.amxx
"zp_swarm" "d" ; zombie_plague40.amxx
"zp_multi" "d" ; zombie_plague40.amxx
"zp_plague" "d" ; zombie_plague40.amxx
"zp_givepoint" "m" ; zp_level.amxx
"amx_givepacks" "m" ; zp_givepacks.amxx
"amx_portal" "m" ; portal.amxx
"amx_ptarget" "m" ; portal.amxx
"amx_aportal" "m" ; portal.amxx
"amx_blackhole" "m" ; portal.amxx
"amx_r_portal" "m" ; portal.amxx
"amx_r_ptarget" "m" ; portal.amxx
"amx_r_aportal" "m" ; portal.amxx
"amx_r_blackhole" "m" ; portal.amxx
"amx_portalmenu" "m" ; portal.amxx
"amx_adminpassword" "l" ; admins_manager.amxx
"amx_adminaccount" "l" ; admins_manager.amxx
"amx_nade_mode_menu" "n" ; nademodes.amxx
"amx_nmm" "n" ; nademodes.amxx
"amx_traps" "c" ; amx_traps.amxx
"ndg_he" "" ; zombie_plague40.amxx
"ndg_flash" "" ; zombie_plague40.amxx
"ndg_smoke" "" ; zombie_plague40.amxx
"ndg_msg" "" ; zombie_plague40.amxx
"+bmgrab" "u" ; blockmaker_v4.01.amxx
"-bmgrab" "u" ; blockmaker_v4.01.amxx
"amx_spawn_editor" "d" ; Map_Spawns_Editor.amxx
"amx_editor_menu" "d" ; Map_Spawns_Editor.amxx
"sentry_build" "" ; sentryguns.amxx
"sentry_menu" "" ; sentryguns.amxx
"um_addxp" "a" ; Upgrades.amxx
"um_setlevel" "a" ; Upgrades.amxx
"um_mapitems" "a" ; Upgrades.amxx
"zp_money" "l" ; zp_admin_money.amxx
"ft_give" "d" ; zp_extra_flamethrower.amxx
"setlvl" "a" ; scxpm.amxx
"addmedal" "a" ; scxpm.amxx
"removemedal" "a" ; scxpm.amxx
"godmode" "a" ; scxpm.amxx
"noclipmode" "a" ; scxpm.amxx
"selectskills" "" ; scxpm.amxx
"resetskills" "" ; scxpm.amxx
"playerskills" "" ; scxpm.amxx
"skillsinfo" "" ; scxpm.amxx
"scxpminfo" "" ; scxpm.amxx
"bft" "z" ; zp_extra_flamethrower.amxx
"amx_querycredits" "g" ; credits.amxx
"amx_givecredits" "d" ; credits.amxx
"amx_removecredits" "d" ; credits.amxx
"amx_listmaps" "" ; maphandler.amxx
"listmaps" "" ; maphandler.amxx
"amx_mapcycle" "h" ; maphandler.amxx
"amx_randommap" "f" ; maphandler.amxx
"pickserver" "" ; xredirect-beta.amxx
"redirect_announce_now" "c" ; xredirect-beta.amxx
"redirect_user" "c" ; xredirect-beta.amxx
"zp_give_packs" "l" ; zp_bank.amxx
"zp_take_packs" "l" ; zp_bank.amxx
"zp_reset_bank" "l" ; zp_bank.amxx
"zp_spendingspree" "l" ; zp_bank.amxx
"ZQ_SOS_Give_addxp" "l" ; ZQ_SOS_Level.amxx
"ZQ_SOS_Give_setlevel" "l" ; ZQ_SOS_Level.amxx
中间的字母就表示可以打开菜单针对的vip需要的权限,“”表示普通玩家可以打开的菜单,需要修改所给的权限可以在这里设置好后,在user.ini给予相应的权限 :hug:虾米啊 好奇心非常重..... 好奇心非常重~~~~~~~~{:2_30:} 搞的这么复杂干什么。服务器插件不同,列表都不同。
执行一个命令就可以知道这些了。
在服务器控制台输入amxx cmds
返回
Registered commands:
name access type plugin
admin_command server plugin_blatt_mo
amx_addban d consoleadmincmd.amxx asdddddddddddd 好奇心非常重 什么东东 好奇心非常重..... 顶你个肺