User
Pass
2FA
 
 

Folosirea comenzilor de admin tip AmXModX

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash
Author Message3417
Gandalf26

[wizard]



Status: Offline
(since 28-07-2015 20:32)
Joined: 18 Apr 2015
Posts: 524, Topics: 38
Location: Bucuresti

Reputation: 63.8
Votes: 5

   
Post Posted: 07-05-2015, 17:43:47 | Translate post to: ... (Click for more languages)

Haideti sa structuram comenzile de admin in mai multe categorii. In final vom vedea o rubrica despre cum un detinator de FTP (fondator) adauga un admin si cum acesta isi acceseaza comenzile. Vom prezenta mai mult in limba engleza, dintr-un motiv foarte simplu: jocul nu este romanesc !
Prima data pentru a le afla amx_help in consola si ne va arata primele 10 comenzi pe care le putem folosi. Pentru a le vedea pe urmatoarele tastam amx_help 11 si asa mai departe.

Introducere

Introducerea comenzilor in consola se face in acest fel:

amx_comanda "option1" "option2" <option3>

Este obligatoriu sa folosim semne de tipul "" sau <> pentru a ne citi comenzile.


Comenzi admin


*Pentru toata lumea: name=nume reason=motiv userID=se afla prin comanda "status"
*Pentru restul cuvintelor neintelese se foloseste "google translate"

Command Format Access Description
amx_kick <name or #userid> [reason] ADMIN_KICK Kicks a player.
amx_ban <name or #userid> [reason] ADMIN_BAN Bans a player.
amx_addban <authid or ip> <minutes> [reason] ADMIN_BAN Adds a ban to the server banlist.
amx_unban <authid or ip> ADMIN_BAN Unbans a player.
amx_slay <name or #userid> ADMIN_SLAY Slays a player.
amx_slap <name or #userid> [damage] ADMIN_SLAY Slaps a player for variable damage.
amx_leave <tag> [tag1] [tag2] [tag3] ADMIN_KICK Kicks all players not wearing one of the tags.
amx_pause ADMIN_CVAR Pauses or unpauses the game.
amx_who ADMIN_ADMIN Displays who is on the server.
amx_cvar <cvar> [value] ADMIN_CVAR Changes or displays a cvar value.
amx_map <mapname> ADMIN_MAP Changes map.
amx_nick <original name> <new name> ADMIN_LEVEL_A Changes Users Name.
amx_cfg <filename> ADMIN_CFG Executes a server-side config file.
amx_rcon <rcon command line> ADMIN_RCON Executes a command on the server console.
amx_plugins ADMIN_ADMIN Lists all loaded plugins.
amx_modules ADMIN_ADMIN Lists all loaded modules.

Comenzi de chat

Command Format Access Description
amx_say <message> ADMIN_CHAT Sends a message to all players through normal say.
amx_chat <message> ADMIN_CHAT Sends a message to all admins through normal chat.
amx_psay <name or #userid> <message> ADMIN_CHAT Sends a private message to a player.
amx_tsay <color> <message> ADMIN_CHAT Sends a left side HUD message to all players.
amx_csay <color> <message> ADMIN_CHAT Sends a center HUD message to all players.

Comenzi de vot

Command Format Access Description
amx_votemap <map> [map] [map] [map] ADMIN_VOTE Starts a vote for a map.
amx_votekick <name or #userid> ADMIN_VOTE Starts a vote to kick a player.
amx_voteban <name or #userid> ADMIN_VOTE Starts a vote to ban a player.
amx_vote <question> <answer1> <answer2> ADMIN_VOTE Starts a custom poll.
amx_cancelvote ADMIN_VOTE Cancels the last poll in progress.

Comenzi pentru status[/color]

Command Description
say /hp Displays information about your killer.
say /statsme Displays your stats.
say /stats Displays other players' stats.
say /top15 Displays the top 15 players.
say /rank Displays your rank on the server.
say /me Displays your damage attack.


[color=white]Comenzi de "spus"


Command Description
say nextmap Displays the next map in the mapcycle.
say timeleft Displays the time left in the map.
say thetime Displays the current time.

Comenzi pentru meniu

Note: ACCESS_LEVEL_A is not "a", it is "m". See Access Levels.

Command Accesss Description
amxmodmenu ADMIN_MENU Displays the main AMX Mod X menu.
amx_cvarmenu ADMIN_CVAR Displays the CVAR menu.
amx_mapmenu ADMIN_MAP Displays the map change menu.
amx_votemapmenu ADMIN_MAP Displays the map voting menu.
amx_kickmenu ADMIN_KICK Displays kick menu.
amx_banmenu ADMIN_BAN Displays ban menu.
amx_slapmenu ADMIN_SLAY Displays slap/slay menu.
amx_teammenu ADMIN_LEVEL_A Displays team switch menu.
amx_clcmdmenu ADMIN_LEVEL_A Displays client commands menu.
amx_cmdmenu ??? Displays server commands menu.
amx_restmenu ADMIN_CFG Displays weapon restriction menu.
amx_teleportmenu ADMIN_CFG Displays teleport menu.
amx_pausecfgmenu ADMIN_CFG Pause/unpause plugins with menu.
amx_statscfgmenu ADMIN_CFG Displays stats configuration menu.

amx_cfgmenu - displays configs menu
amx_langmenu
amx_menu - displays menus available to client
amx_plugincmdmenu - displays the plugin command menu
amx_plugincvarmenu - displays the plugin cvar menu
amx_speechmenu - displays speech menu

Comenzi pentru cofigurare

Command: amx_pausecfg
Format: <command> [name]
Access: ADMIN_CFG
Description: Pauses a plugin.

Lista de comenzi:

off - Pauses all plugins not in the list.
on - Unpauses all plugins.
stop <file> - Stops a plugin.
pause <file> - Pauses a plugin.
enable <file> - Enables a plugin.
save - Saves a list of stopped plugins.
clear - Clears a list of stopped plugins.
list [id] - Lists plugins.
add <title> - Marks a plugin as unpauseable.

Command: amx_statscfg
Format: <command> [parameters]
Access: ADMIN_CFG
Description: Changes a stats setting.

Command list:

on <variable> - Enable specific option.
off <variable> - Disable specific option.
save - Save stats configuration.
load - Load stats configuration.
list [id] - List stats statuses.
add <name> <variable> - Add stat variable to the list.

RCON Commands

Command: amxx
Format: <command> [parameters]
Access:
Description: Command list available:

amxx version - Display version.
amxx modules - Display modules.
amxx plugins - Display plugins.
amxx gpl - Display the GNU General Public License
amxx cvars - Display AMX Mod X registered CVARs.
amxx cmds - Display AMX Mod X registered commands.
amxx pause - Pause a running plugin.
amxx unpause - Unpause a running plugin.the list.

Comenzi FTP

Adding an Admin

First, open the amxmodx/configs/users.ini file with your favorite text editor. Scroll to the bottom. Admin entries are stored with four options: Authentication, Password, Access Right, Connection Properties.

In the early days of Half-Life 1 it was common to have admins authenticate by name. However, now it is recommended to auth by steamid. An example of a typical admin entry is:

"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"

Entries are one-per-line, and each of the four options are space separated, contained in double-quotes. This one means:

The user has SteamID STEAM_0:0:123456
The user has no password (steamid-authentication)
Access rights are levels a through u
The user is a steamid ("c") and has no password ("e")

It is also possible to authenticate by username:

"BAILOPAN" "mypass" "abcdefghijklmnopqrstu" "a"

To authenticate, BAILOPAN would put this in his client's autoexec.cfg, where "_pw" is the value of "amx_password_field" in amxx.cfg.

setinfo "_pw" "mypass"

For information on what access levels mean, see Access Levels.

Note: It is important that you do not use the 'z' flag for admins.
Removing an Admin

Find the admin's entry in your amxmodx/configs/users.ini file, and put a semicolon in front of it. For example:

;"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"

That will prevent the entry from being read.
Warning: This template (and by extension, language format) should not be used, any pages using it should be switched to Template:Languages

View this page in: English Russian 简体中文(Simplified Chinese)

Admins (SQL)

AMX Mod X lets you store admin accounts in a MySQL database. This is ideal if you have multiple servers with common administrators.
Configuring Server

First, make sure you have configured your server for SQL by reading Configuring AMX Mod X: SQL. Then, enable the admin_sql.amxx plugin instead of admin.amxx, by opening amxmodx/configs/plugins.ini. You should change the first two entries to look something like this:

;admin.amxx ; Disabled
admin_sql.amxx ; SQL admins

Maintaining Admins

Once the server loads for the first time, it will automatically create the table specified with amx_sql_table.

You can either add an admin through an SQL tool like an SQL Console or phpMyAdmin, or you can add an admin using amx_addadmin.

If you choose to use SQL directly (or an interface), you must learn the table layout. There are four columns, each corresponding to one of the four properties listed above in Adding an Admin. For example:

INSERT INTO admins VALUES("STEAM_0:1:23456", "", "abcdefghijklmnopqrstu", "ce");

Note: It is important that you do not use the 'z' flag for admins.

For information on what access levels mean, see AMX Mod X Access Levels.
Warning: This template (and by extension, language format) should not be used, any pages using it should be switched to Template:Languages

View this page in: English Russian 简体中文(Simplified Chinese)

Console Command

You can also use the console command amx_addadmin for adding admins. It will work for both SQL and users.ini, depending on which plugin you have enabled. An example of using the command in-game:

amx_addadmin "BAILOPAN" "abcdefghijklmnopqrstu"

Using the command from the server/rcon console:

amx_addadmin "STEAM_0:1:23456" "abcdefghijklmnopqrstu"

Access Levels

These access levels are the default access levels for the base AMX Mod X plugins. 3rd party plugins may have different usages for them, although in general users try to stick to the intentions for each flag.

Access Flag Purpose
a immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
b reservation (can join on reserved slots)
c amx_kick command
d amx_ban and amx_unban commands
e amx_slay and amx_slap commands
f amx_map command
g amx_cvar command (not all cvars will be available)
h amx_cfg command
i amx_chat and other chat commands
j amx_vote and other vote commands
k access to sv_password cvar (by amx_cvar command)
l access to amx_rcon command and rcon_password cvar (by amx_cvar command)
m custom level A (for additional plugins)
n custom level B
o custom level C
p custom level D
q custom level E
r custom level F
s custom level G
t custom level H
u menu access
z user (no admin)


Connection Flags

These flags control how AMX Mod X attempts to authorize a connecting admin.

Connection Flag Purpose
a disconnect player on invalid password
b clan tag
c this is steamid/wonid
d this is ip
e password not checked (only name/ip/steamid needed)

Accesarea comenzilor de admin

Aici este foarte simplu, numai intram in detalii deoarece deja sunteti foarte ametiti mai ales daca este printre putinele dati in care ati citit asa ceva.
Pur si simplu Administratorul/Fondatorul va avea nevoie de un NICKNAME si o PAROLA pentru a le introduce in FTP asa cum am prezentat mai sus. Nickname-ul va putea fi folosit numai cu acea parola astfel: INTRATI IN JOCUL CS 1.6 - DESCHIDETI CONSOLA - scrieti setinfo _pw "parola" - ENTER.
La unele servere este posibil sa scrieti altceva (exp: setinfo_ ind).

Multumiri http://www.amxmodx.org





0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by Gandalf26, 07 May 2015 15:45



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash  


The time now is 18-06-2025, 23:09:18
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x