yonilerner/cs2-retakes-allocator

[REQ] Make commands work with `/`

crashzk opened this issue · 6 comments

Make commands work with /

  • /gun
  • /awp
  • /guns

When we use commands with / nothing happens.

It works with / already. As I saw your message on Discord. It related to CS2-Tags plugin. Issue should be closed.

I could be wrong, but I tested it before even installing the CS2-Tags. In any case I will check again and confirm, if it is resolved by removing the CS2-Tags plugin I will close this issue.

It works for me even with the CS2-Tags plugin.

[Client] CounterStrikeSharp was created and is maintained by Michael "roflmuffin" Wilson.
[Client] Counter-Strike Sharp uses code borrowed from SourceMod, Source.Python, FiveM, Saul Rennison, source2gen and CS2Fixes.
[Client] See ACKNOWLEDGEMENTS.md for more information.
[Client] Current API Version: v202 (1.0.202+696ecad)

[Client] List of all plugins currently loaded by CounterStrikeSharp: 16 plugins loaded.
[Client] [#1:LOADED]: "Advertisement" (v1.0.6) by thesamefabius
[Client] [#2:LOADED]: "K4-System" (4.0.4 (release)) by K4ryuu
[Client] Enhances the server with playtime tracking, statistics, commands, and player ranks.
[Client] [#3:LOADED]: "CS2-Tags" (1.0.4c) by daffyy
[Client] Add player tags easily in cs2 game
[Client] [#4:LOADED]: "Instadefuse Plugin" (1.4.2) by B3none
[Client] Allows a CT to instantly defuse the bomb when nothing can prevent defusal.
[Client] [#5:LOADED]: "Retakes Allocator Plugin" (2.3.3) by Yoni Lerner, B3none, Gold KingZ
[Client] https://github.com/yonilerner/cs2-retakes-allocator
[Client] [#6:LOADED]: "Discord Utilities" (1.0.9) by Nocky (SourceFactory.eu)
[Client] [#7:LOADED]: "WeaponPaints" (2.4b) by Nereziel & daffyy
[Client] Skin, gloves, agents and knife selector, standalone and web-based
[Client] [#8:LOADED]: "ResetScore" (1.0.6) by StefanX
[Client] [#9:LOADED]: "Retakes Plugin" (2.0.1) by B3none
[Client] https://github.com/b3none/cs2-retakes
[Client] [#10:LOADED]: "CS2-SimpleAdmin" (1.3.8a) by daffyy & Dliix66
[Client] Simple admin plugin for Counter-Strike 2 :)
[Client] [#11:LOADED]: "AFK Manager" (0.1.1) by NiGHT & K4ryuu
[Client] [#12:LOADED]: "K4-System Matchmaking Ranks" (1.0.0) by K4ryuu
[Client] [#13:LOADED]: "Reserved Slots" (1.0.6) by SourceFactory.eu
[Client] [#14:LOADED]: "Faceit teammates damage modify" (1.0) by HoanNK
[Client] [#15:LOADED]: "Instaplant Plugin" (1.0.0) by B3none
[Client] Allows a terrorist to instantly plant the bomb.
[Client] [#16:LOADED]: "BombsiteAnnouncer" (V. 0.0.3) by audio_brutalci
[Client] Simple bombsite announcer

I removed the CS2 Tags plugin, but the commands /guns, /gunsmenu and any other plugin command using / don't work for me.

CSS Plugins List

  List of all plugins currently loaded by CounterStrikeSharp: 21 plugins loaded.
  [#1:LOADED]: "AFK Manager" (0.1.2) by NiGHT & K4ryuu (forked by Глеб Хлебов)
  [#2:LOADED]: "[VIP] Core" (v1.2.7) by thesamefabius
  [#3:LOADED]: "CustomCommands" (2.1.0) by HerrMagic
    Create your own commands per config
  [#4:LOADED]: "Reserved Slots" (1.0.6) by SourceFactory.eu
  [#5:LOADED]: "InventorySimulator" (1.0.0-beta.21) by Ian Lucas
    Inventory Simulator (inventory.cstrike.app)
  [#6:LOADED]: "[Custom] Plugin Commands Blocker" (V. 1.0.1 [Beta]) by Manifest @Road To Glory
    Prevents players from accessing your server's plugin information through the player console.
  [#7:LOADED]: "[VIP] Test" (v1.0.0) by thesamefabius
  [#8:LOADED]: "CSS-Panel" (1.5.0) by daffyy & Dliix66 & ShiNxz
    Simple admin plugin for Counter-Strike 2 :)
  [#9:LOADED]: "Retakes Plugin" (2.0.2) by B3none
    https://github.com/b3none/cs2-retakes
  [#10:LOADED]: "SteamGroupRestrict" (1.0.0) by BMathers
  [#11:LOADED]: "RockTheVote" (1.8.5) by abnerfs
    https://github.com/abnerfs/cs2-rockthevote
  [#12:LOADED]: "Clutch Announce Plugin" (1.1.0) by B3none
    Announce when someone wins a clutch scenario
  [#13:LOADED]: "Auto Map Changer" (1.0.8A) by skaen
  [#14:LOADED]: "High Ping Kicker" (0.0.6) by conch
    Kicks users with high ping
  [#15:LOADED]: "Retakes Allocator Plugin" (2.3.5) by Yoni Lerner, B3none, Gold KingZ
    https://github.com/yonilerner/cs2-retakes-allocator
  [#16:LOADED]: "Advertisement" (v1.0.6) by thesamefabius
  [#17:LOADED]: "AutoUpdater" (1.0.4) by dranix
    Auto Updater for Counter-Strike 2.
  [#18:LOADED]: "[VIP] Flags" (v1.0.0) by thesamefabius
  [#19:LOADED]: "Instadefuse Plugin" (1.4.3) by B3none
    Allows a CT to instantly defuse the bomb when nothing can prevent defusal.
  [#20:LOADED]: "Auto Delete Logs" (1.0.2) by Gold KingZ
    Auto Delete Logs Files
  [#21:LOADED]: "Faceit teammates damage modify" (1.0) by HoanNK

Meta List

Listing 3 plugins:
  [01] GOTVCrashFix (1.0.0) by Poggu
  [02] CounterStrikeSharp (v213 @ dfc9859) by Roflmuffin
  [03] ServerListPlayersFix (1.0.0.0) by Poggu

I believe it is due to the configuration of the file config.json that I use.

As you can see in the screenshot below, the commands themselves were not registered with /. I'll test registering them to see
image

If so, I believe that what can be done in future versions is to improve this feature, type only the commands that we want to use in the plugins and it will automatically work with ! and /.

@crashzk Sorry for misunderstanding. I have only tried /awp as I'm not using guns command myself. As you said they dont work with /. If you add /guns to the config it should work. Because the plugin not working with CS# command system. It checks chat messages.

This should be working now