RSSy MYGO.pl Opublikowano Grudzień 3, 2016 o 15:51 RSSy Udostępnij Opublikowano Grudzień 3, 2016 o 15:51 [CS:GO] Timed CTBansDeveloped by GryTrean Description: This plugin allows server administrators to ban a player or SteamID from joining the CT team for an entered amount of rounds. This plugin is still under development and minor bugs might still be found. Plugin is tested and should work with other plugins without any problems.Features: CTBans for any amount of rounds MySQL connected Ban Reason Ban-Status command SteamID banning/unbanning Multiple CT-Join blocking (round start, round end, swapteam) Commands: sm_ctban <player> <rounds> <reason> - Bans a PLAYER from the CT Team for X ROUNDS. The last argument is to set a reason for the ban - Shows when player gets banned and when he/she checks ban status sm_ctunban <player> - Unbans a PLAYER from the CT Team. sm_ctstatus - If you are banned, returns the reason of the ban. If you are not, informs you that you can join the CT Team. To allow players to CTBan others, give them the "ADMFLAG_SLAY" flagThe plugin does at this moment not contain any CVARS or Translation files. These are planned to be created in the upcoming versions. Installation: Drop ctbans.smx to /sourcemod/plugins Eventually drop ctbans.sp to /sourcemod/scripting Add this to databases.cfg (of course with your information instead of the given Code: "ctbans" { "driver" "default" "host" "localhost" "database" "sourcemod" "user" "root" "pass" "" } Restart the server (for the highest chance of working. Not sure if just reloading the plugin will properly connect to MySQL). Planned Updates: Checking other players ban-status Perm-Bans Your ideas :) Changelog: Code: 03.11.2016 * Started Developing the plugin03.12.2016 * Intial plugin release on AlliedModders Screenshots:CTBan Spoiler CTUnban Spoiler Swithteam while banned & CTStatus Spoiler Thank you for taking your time and reading this. I hope you will like the plugin, it might also be smart to tell you, that this is the actual first plugin I upload here. I have some more JailBreak plugins on my disk (more than 3000 lines of code!) which I will be glad to sell by a nice price. I hope I didnt forget anything, if you have any questions, just write in the comments below and I will try to answer. I also appreciate all donates I get. I give out plugins for free which are not always that easy to make. Thank you! Donate: Attached Files [ENG] ctban.smx (9.0 KB) Get Plugin or Get Source ([ENG] ctban.sp - 9.6 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się