View Single Post
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-19-2019 , 08:09   Simple Commands Helper
Reply With Quote #1

Note: I did not see anything like that here, I might be blind too (i'm so tired right now), so i'm sorry if I did that mistake.

Description:
I made that plugin some days ago and decided to post it here
It's just a simple plugin that reads an ini file with registered commands. It's useful to 5x5 matches which owners just wants simple commands instead of all these colorful messages on auto-pugs out there.

How to register:

; If you want to register a command to read a .cfg file, do that:
; "COMMAND NAME" "1" "foldername/configfile.cfg" (NOTE THAT ALL FILES IS ALREADY SENT TO 'configs' folder)
; ---------------
; If you want to register a simple command to change a map, do that:
; ".de_train" "0" "changelevel de_train"
; ---------------


So, in execution, if I want to register a simple command that restart the server:

Example 1: ".restart" "1" "sv_restart 1"
- With this, saying .restart on the chat you'll be able to reset the game.

Example 2: ".warmup" "0" "matchconfigs/warmup.cg"
- With this, saying .warmup on the chat you'll be able to execute a config file.


==================
Attached Files
File Type: sma Get Plugin or Get Source (commandReader.sma - 233 views - 2.2 KB)
File Type: ini commandReaderIni.ini (609 Bytes, 148 views)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 01-19-2019 at 08:17.
EFFx is offline