Compare commits

...

402 Commits

Author SHA1 Message Date
Dawid Bepierszcz
91615ffc67 Update VERSION 2026-01-27 13:50:27 +01:00
Dawid Bepierszcz
eb9b438315 Update CS2-SimpleAdmin.cs 2026-01-27 13:47:41 +01:00
Dawid Bepierszcz
3d23b8981b Update VERSION 2026-01-27 12:21:07 +01:00
Dawid Bepierszcz
39cbfdab1e Update CS2-SimpleAdmin.cs 2026-01-27 12:20:56 +01:00
Dawid Bepierszcz
4599f08fd7 Update basecommands.cs 2026-01-27 12:20:29 +01:00
Dawid Bepierszcz
4c43f14c82 Update VERSION 2026-01-27 09:52:44 +01:00
Dawid Bepierszcz
f16f8cf1a5 Update CS2-SimpleAdmin.cs 2026-01-27 09:52:31 +01:00
Dawid Bepierszcz
193685826c Update ServerManager.cs 2026-01-27 09:51:12 +01:00
Dawid Bepierszcz
fe73fa9917 Refactor admin and server loading timing logic
Adjusted timers for admin and server data loading to improve reliability and reduce delays. Admin data is now loaded more promptly on map changes and during command execution. ServerManager now initializes the cache after setting the server ID, and redundant admin reloads have been removed. Version bumped to 1.7.8-beta-10.
2026-01-26 01:19:25 +01:00
Dawid Bepierszcz
bdada2df1e Update VERSION 2026-01-25 14:41:33 +01:00
Dawid Bepierszcz
310a43fcd9 Update CS2-SimpleAdmin.cs 2026-01-25 14:39:01 +01:00
Dawid Bepierszcz
58243e813a Update StatusBlocker plugin binaries
Replaced StatusBlocker-v1.1.4 binaries for both Linux and Windows in the METAMOD PLUGIN directory. This may include bug fixes or improvements in the updated plugin versions.
2026-01-25 14:36:47 +01:00
Dawid Bepierszcz
d53446e0fe Bump version to 1.7.8-beta-8-recompiled
Updated the ModuleVersion string to reflect a recompiled build. No other changes were made.
2026-01-25 14:10:57 +01:00
Dawid Bepierszcz
2404c1bc03 Update dependencies and StatusBlocker plugin version
Upgraded several NuGet packages in CS2-SimpleAdmin and CS2-SimpleAdminApi projects, including CounterStrikeSharp.API, MySqlConnector, System.Linq.Async, and ZLinq. Replaced StatusBlocker v1.1.3 plugin files with v1.1.4 for both Linux and Windows in the StealthModule.
2026-01-25 14:09:12 +01:00
Dawid Bepierszcz
665962565e Update ban logic and StatusBlocker plugin version
Refactored IP ban checking logic in CacheManager for improved accuracy and maintainability. Replaced StatusBlocker plugin binaries with v1.1.3 for both Linux and Windows.

EOL, no more new features
2025-12-13 16:54:33 +01:00
Dawid Bepierszcz
c2e8b4a898 Refactor player cache and ban checks, update version
Improves player cache handling and ban status checks for race condition safety. Removes unused GodPlayers logic and related event handler. Refactors event handlers for disconnect and team changes, and fixes warn reason field naming. Updates version to 1.7.8-beta-7.
2025-12-02 17:37:14 +01:00
Dawid Bepierszcz
9723a4faee :(
:(
2025-11-13 01:40:50 +01:00
Dawid Bepierszcz
4865b76262 Improve ban cache sync and update dependencies
Enhanced CacheManager to use database time for ban updates, improving multi-server consistency and handling of status changes. Increased PlayerManager's semaphore limit and improved player/bans refresh logic to ensure status changes are detected even when the server is empty. Updated author and version metadata, commented out duplicate event registration, and bumped CounterStrikeSharp.API dependency to 1.0.346.
2025-11-13 01:33:38 +01:00
Dawid Bepierszcz
0dded66e5d Fix closure issues in menus and update dependencies
Captured player and duration variables in menu callbacks to prevent closure-related bugs. Updated package versions in project files and bumped plugin version to 1.7.8-beta-5. Improved player validation and message localization logic.
2025-11-06 02:24:43 +01:00
Dawid Bepierszcz
038641dbdf Comment out MySQL index migration and remove Sqlite optimization
Commented out all index creation statements in the MySQL migration 016 for table and index optimization. Removed the corresponding Sqlite migration 016 entirely. Also replaced TRUNCATE TABLE with DELETE FROM in Sqlite migration 013 for sa_players_ips to improve compatibility.
2025-10-30 18:17:47 +01:00
Dawid Bepierszcz
a03964c08a Add per-player menu localization and refactor menus
Introduces per-player localization for menu categories and items using translation keys and IStringLocalizer, allowing modules and the main plugin to display menu names in the player's language. Refactors menu registration and builder logic to use translation keys, updates API and documentation, and adds database provider upsert query abstraction for player IPs. Also updates version to 1.7.8-beta-4 and corrects a translation string typo.
2025-10-30 01:41:08 +01:00
Dawid Bepierszcz
b0d8696756 Add CS2-SimpleAdmin documentation site
Introduces a new documentation site for CS2-SimpleAdmin using Docusaurus, including developer API references, tutorials, user guides, and module documentation. Removes the CleanModule example and updates FunCommands and ExampleModule. Also updates main plugin and API files to support new documentation and module structure.
2025-10-20 01:27:01 +02:00
Dawid Bepierszcz
21a5de6b3d Update StatusBlocker plugin to v1.1.0
Replaced StatusBlocker v1.0.9 binaries with v1.1.0 for both Linux and Windows in the METAMOD PLUGIN directory.
2025-10-19 18:01:41 +02:00
Dawid Bepierszcz
718536eaef Update player sound effects and StatusBlocker plugin
Changed sound effects for player suicide and slap commands in playercommands.cs. Replaced StatusBlocker v1.0.7 plugin files with v1.0.9 for both Linux and Windows in the StealthModule.
2025-10-19 16:53:17 +02:00
Dawid Bepierszcz
099e91b43b Update FunCommands module project path in build workflow
Corrected the PROJECT_PATH_FUNCOMMANDSMODULE environment variable to point to the new location of the CS2-SimpleAdmin_FunCommands.csproj file within the build workflow configuration.
2025-10-19 16:08:45 +02:00
Dawid Bepierszcz
206c18db66 Add permission override support for menus
Menus can now specify a command name for permission override checking, allowing server admins to control menu visibility via CounterStrikeSharp's admin system. Updated API, MenuManager, and FunCommands module to support this feature. Also updated slap command to emit a sound, fixed SQL migration for IP address type, and bumped version to 1.7.8-beta-2.
2025-10-19 16:06:03 +02:00
Dawid Bepierszcz
78318102fe Refactor fun commands to external module
Commented out fun command implementations (noclip, godmode, freeze, unfreeze, resize) in funcommands.cs and removed their registration from RegisterCommands.cs. These commands are now intended to be provided by the new CS2-SimpleAdmin_FunCommands external module, improving modularity and maintainability.
2025-10-19 03:12:58 +02:00
Dawid Bepierszcz
2edacc2b3f Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2025-10-03 12:10:52 +02:00
Dawid Bepierszcz
e1e66441f2 Remove custom ClearBuildFiles target and cleanup csproj
Commented out the GenerateDependencyFile property and removed the ClearBuildFiles target from the project file. Also reformatted and cleaned up the ItemGroup for migration scripts, improving maintainability.
2025-10-03 12:10:50 +02:00
Dawid Bepierszcz
cc54b9e879 Update README.md 2025-10-03 02:35:45 +02:00
Dawid Bepierszcz
640e618f3b Update README.md 2025-10-03 02:34:03 +02:00
Dawid Bepierszcz
23d174c4a5 Update build.yml 2025-10-03 02:26:07 +02:00
Dawid Bepierszcz
b7371adf26 Update build.yml 2025-10-03 02:23:07 +02:00
Dawid Bepierszcz
9154748ce6 Update build.yml 2025-10-03 02:19:05 +02:00
Dawid Bepierszcz
da9830ee05 Bump version to 1.7.7-alpha-10 and update release workflow
Updated the version to 1.7.7-alpha-10 in both the code and VERSION file. Fixed artifact naming and release name in the GitHub Actions workflow. Also, modified Helper.cs to return DateTime.UtcNow in ActualDateTime().
2025-10-03 02:16:49 +02:00
Dawid Bepierszcz
b41ac992c0 Update README.md 2025-10-03 02:13:51 +02:00
Dawid Bepierszcz
af0bda8f3a Update README.md 2025-10-03 02:04:10 +02:00
Dawid Bepierszcz
e2529cd646 Update build.yml 2025-10-03 01:44:23 +02:00
Dawid Bepierszcz
9d2cd34845 Update build.yml 2025-10-03 01:41:48 +02:00
Dawid Bepierszcz
5701455de0 Refactor database layer and add module/plugin improvements
Reworked the database layer to support both MySQL and SQLite via new provider classes and migration scripts for each backend. Updated the build workflow to support building and packaging additional modules, including StealthModule and BanSoundModule, and improved artifact handling. Refactored command registration to allow dynamic registration/unregistration and improved API event handling. Updated dependencies, project structure, and configuration checks for better reliability and extensibility. Added new language files, updated versioning, and removed obsolete files.

**⚠️ Warning: SQLite support is currently experimental.
Using this version requires reconfiguration of your database settings!
Plugin now uses UTC time. Please adjust your configurations accordingly!
**
2025-10-03 01:37:03 +02:00
Dawid Bepierszcz
b97426313b 1.7.7-alpha
- Fixed steamid only bans
- Added missing multiservermode
- Better caching
2025-05-25 01:00:14 +02:00
Dawid Bepierszcz
3ab63c05db 1.7.7-alpha-small-optimizations
- Clear bans cache on plugin reload
- Changed ip history to int
2025-05-23 03:28:10 +02:00
Dawid Bepierszcz
f654d6b085 1.7.7-alpha-connection-fix
- Fixed lag when player connecting
- Added command to force refresh ban cache (css_reloadbans)
2025-05-21 13:11:01 +02:00
Dawid Bepierszcz
676a18d9b4 1.7.7-alpha-associated-accounts (missing migration) 2025-05-21 03:13:05 +02:00
Dawid Bepierszcz
d75a092047 1.7.7-alpha-associated-accounts
- Added possibility to view player associated account (by ip)
2025-05-21 03:08:02 +02:00
Dawid Bepierszcz
d34ca64970 1.7.7-alpha-fix
- Added missing migration
- Added missing ignoredips
2025-05-21 00:38:54 +02:00
Dawid Bepierszcz
f69f1277f8 1.7.7-alpha
- Fixed (@all,@team,@lifestate) spam with discord webhook
- Currently `small` actions for ban optimizations
2025-05-20 23:51:59 +02:00
Dawid Bepierszcz
b6c876d709 1.7.6a
- Changed PawnIsAlive to LifeState
- Changed AdminCache - now it only removes flags added in the database - not all assigned to player
- Added config variable `IgnoredIps` to ignore ip check on connect, useful when proxying
2025-03-25 11:39:00 +01:00
Dawid Bepierszcz
888d6b0152 1.7.5a
- Changed api domain
- Changed link to wiki
- Added command `css_rresize` to resize player model
- Fixed saving IP addresses, from now they will not be saved if the check option in config is disabled
2025-03-09 01:01:45 +01:00
Dawid Bepierszcz
5d62c743dd AntiDLL Module Fix
Fixed banning when detecting a forbidden event
2025-02-20 01:28:28 +01:00
Dawid Bepierszcz
62b1987fde AntiDLL module
(?) Fix for AntiDLL module
2025-02-19 14:51:36 +01:00
Dawid Bepierszcz
708ae6cb90 1.7.4b
【UPDATE 1.7.4b】

**🆕  What's new and what's changed:**
- Added support for MySQL SSL (DatabaseSSlMode in config)
2025-02-19 12:27:24 +01:00
Dawid Bepierszcz
2d77e86d59 Hotfix for AntiDLL module 2025-02-18 20:18:16 +01:00
Dawid Bepierszcz
babcbc2119 1.7.4a
【UPDATE 1.7.4a】

**🆕  What's new and what's changed:**
- Exposed event `OnAdminShowActivity` - fire when the function of informing players of admin action is performed
- Exposed `ShowAdminActivity`
- Added module to integration with AntiDLL
- Added module to integration with Redis (plugin send info about penalties between all servers)
2025-02-18 20:11:05 +01:00
Dawid Bepierszcz
64e5f1156e 1.7.3a
【UPDATE 1.7.3a】

🆕  What's new and what's changed:
- Fixed problem when you can't add admin because of the same group names on multiple servers from now on it takes in order -> server id and if there is no -> global
- Added ability to add penalties via SteamID
- Added ability to display penalty messages only for admins (ShowActivityType = 3)
- Reverted OnClientConnect to EventPlayerFullConnect
2025-02-09 15:37:01 +01:00
Dawid Bepierszcz
8cc0398f6b 1.7.2c
- Fixed no permissions in menu and perm penalty (due to authorization issue on steam)
- Fixed non-async action in async method
2025-01-26 02:10:33 +01:00
Dawid Bepierszcz
ab14956ae5 1.7.2b
- Revert temp fix for kick
2025-01-16 03:28:17 +01:00
Dawid Bepierszcz
9163caeb0d Update Helper.cs 2025-01-15 13:09:27 +01:00
Dawid Bepierszcz
f2e4b84b29 1.7.2a
- Temp fix for player.Disconnect
- Fix for no reasons
- Fix for no time used
- Added check for hibernation
- Some changes in unwarn action
2025-01-15 12:56:03 +01:00
Dawid Bepierszcz
3f1b6b3bf7 1.7.1a
【UPDATE 1.7.1a】

🆕  What's new and what's changed:
- Fixed 2x player lock text
- Added immunity check when using css_addX
- MenuManagerCS2 has been updated
- Added return of lock ID by api (check example_module)
- Fixed reasons for locks, no longer need to use `“”` if there is a space in them
- Improved handling of lock times, from now on you can use:
-- 1mo - 1 month
-- 1w - 1 week
-- 1d - 1 day
-- 1h - 1 hour
-- 1m - 1 minute
-- 1 - 1 minute
You can also combine it, e.g:
10d5h - 10 days and 5 hours
2w3d - 2 weeks and 3 days
1w1d1h1 - 1 week, 1 day and 1 minute
So for example css_ban player 10d5h Super reason for my ban
- Added a `rcon_password` column in the `sa_servers` table that populates with the rcon password
- Fixed `banid` and banning
- Fixed too fast kick (it was caused by checking players online)

⚠️  **Remember to update all files + api**
2025-01-08 19:24:47 +01:00
Dawid Bepierszcz
8af805632a 1.7.0a
- Fixed css_warn (unfreeze player after 5s)
- Fixed server loading from database (reduced delay)
- Added checking the player in an earlier phase of the connection
- Fixed admin name when using action from menu
2024-12-16 01:55:38 +01:00
Dawid Bepierszcz
8c94a867d3 Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-11-26 23:37:52 +01:00
Dawid Bepierszcz
023e1a031b 1.6.9c
- Added config variable to enable/disable checking for banned multiaccounts by ip `CheckMultiAccountsByIp`
- Fixed css_speed after player hurt
- Finally fixed vote kick (callvote)
- Small fix for admins loading from database
2024-11-26 23:37:49 +01:00
Dawid Bepierszcz
1f1c214357 Merge pull request #183 from 1370533448/patch-1
Update zh-Hans.json
2024-11-26 13:09:00 +01:00
Dawid Bepierszcz
2defb2fe14 Hotfix - server loading
- Fix for server loading
2024-11-22 23:01:31 +01:00
Dawid Bepierszcz
b2ebe136c3 1.6.9a
- Added `IsAdminSilent` to api
- Fixed disabling noclip via admin menu
- Fixed (?) hibernation problem
- Added discord webhook fire when adding ban or mute for offline player
- Updated css and mysqlconnector
2024-11-22 22:31:06 +01:00
Ktm
5668c0ad7b Update zh-Hans.json
Incorrect translation of time and reason leads to incorrect display
2024-11-17 03:41:30 +08:00
Dawid Bepierszcz
70a62d4b63 HOTFIX - Ban via menu 2024-11-10 19:13:39 +01:00
Dawid Bepierszcz
95818e2742 1.6.8a
- Updated css version
- Updated mysqlconnector version
- Added information for the player until when he has a chat blocked
- Closing menu after ban
2024-11-10 17:30:48 +01:00
Dawid Bepierszcz
7154843d1d Update ManageServerMenu.cs 2024-10-31 03:51:49 +01:00
Dawid Bepierszcz
c42d2ddeeb 1.6.7a
```diff
+ Added PluginsManager
```
2024-10-31 03:45:22 +01:00
Dawid Bepierszcz
7a69c5387a 1.6.6a
```diff
+ Reapply gravity/speed with timer
+ Added shake effect for slap
+ Fixed css_gravity and css_speed command
+ Fixed css_give command, for example weapon_knife returns weapon_knife instead of weapon_knife and weapon_knife_t
+ Small code improvements
```
2024-10-31 00:30:16 +01:00
Dawid Bepierszcz
82b82722a6 1.6.5a
- Possibility to force menu type by config
- Possibility to reload admins by css command `css_admins_reload`
2024-10-24 13:39:11 +02:00
Dawid Bepierszcz
b38b9a0751 Updated clean module 2024-10-19 09:07:25 +02:00
Dawid Bepierszcz
5a9367ae89 1.6.4a
- New give command
- Added `@css/permmute` flag to allow perm penalties
- Fixed mute when player silenced
- Added CleanModule - allow to clean weapons on ground
2024-10-19 03:52:33 +02:00
Dawid Bepierszcz
d30ac80a36 Update VERSION 2024-10-08 00:54:34 +02:00
Dawid Bepierszcz
9820d74095 1.6.3b
```diff
+ Small code cleanup
+ FIXED ban check on connect
```
2024-10-08 00:54:20 +02:00
Dawid Bepierszcz
d0207f3d0b Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-10-06 13:48:44 +02:00
Dawid Bepierszcz
2bee514e32 1.6.3a
```diff
+ Recompiled for css 276 - this is the minimum version on which the plugin works
+ Added ability to check player penalties for admin with `@css/kick` flag - css_comms [#userid/name].
+ Added a new setting `ShowBanMenuIfNoTime` which allows you to disable the display of the menu when you don't specify a penalty time
```
2024-10-06 13:48:42 +02:00
Dawid Bepierszcz
9d87fd8701 Merge pull request #161 from yMenn/main
Add Portuguese (Portugal) translations
2024-10-05 12:02:17 +02:00
Dawid Bepierszcz
6847da2af0 1.6.2a
```diff
+ Added duration and reason menu when admin try to ban/mute without specific time
+ Added `NotifyPenaltiesToAdminOnConnect` config setting to disable notifications globally
+ Added immunity check when using game vote to kick player

- Removed `Discord.Net.Webhook` package (too heavy)
```
2024-10-05 11:45:09 +02:00
ymenn
757a39f90e Added pt-PT translations 2024-10-05 10:17:08 +01:00
Dawid Bepierszcz
bd817d6652 1.6.1b
- Fixed rare problem when system uses other timezone than plugin
- Fixed time type in discord webhook
2024-09-29 20:55:03 +02:00
Dawid Bepierszcz
4206ad18b2 Fixed? rename 2024-09-29 18:43:36 +02:00
Dawid Bepierszcz
774d812723 Update playercommands.cs 2024-09-29 18:43:03 +02:00
Dawid Bepierszcz
cf5c1d8440 Fixed? prename 2024-09-29 18:42:04 +02:00
Dawid Bepierszcz
efa2a392d6 Translations 2024-09-29 18:32:50 +02:00
Dawid Bepierszcz
32520c7e84 1.6.1a
🆕  **What's new and what's changed:**
```diff
+ Added `css_hidecomms` command - Disable showing penalties when player connect
+ Added customizable commands in `Commands.json` file in plugin config directory
  - U can disable command by removing aliases or rename/add more aliases (remember to not remove key, edit only Aliases)
+ Added missing `Console` translation `sa_console`
+ Added `LogCommand` to api
```
2024-09-29 18:29:04 +02:00
Dawid Bepierszcz
702a0315b8 Fixed gag 2024-09-28 23:44:12 +02:00
Dawid Bepierszcz
b1ab6e0e0d Alias for css_disconnected
- css_last
- css_lastX (X = value from config)
2024-09-28 18:33:41 +02:00
Dawid Bepierszcz
e272449f3c Added example module 2024-09-28 18:24:29 +02:00
Dawid Bepierszcz
05893a90d3 1.6.0a
```diff
+ `Refactored Code`: Improved code structure for better maintainability.
+ `Player Penalties Command`: Introduced the `css_penalties` command to display player penalties.
+ `Admin Penalties Information`: Added functionality to provide information for admins regarding penalties of connecting players.
+ `Disconnected Players Command`: Added the `css_disconnected` command to show a list of disconnected players.
+ `Colorful Messages`: Implemented the `css_cssay` command to send colorful messages, e.g., `css_cssay {lightgreen}Test`.
+ `Respawn Functionality`: Updated the `css_respawn` command to respawn players at their death location.
+ `Menu Type Management`: Introduced the `css_menus` command to change the menu type via `MenuManagerCS2`.
+ `Dynamic Menu Control`: Enhanced menu interaction with dynamic controls using WASD + ER keys.
+ `Language File Updates`: Updated language files for better localization.
+ `API Integration`: Added a simple API for external interaction.
+ `Configurable Timezone`: Introduced timezone settings in the configuration.
+ `Admin Activity Display Options`: Added configurable settings for displaying admin activity:
  + `0`: Do not show
  + `1`: Hide admin name
  + `2`: Show admin name
+ `Discord Notification Customization`: Made Discord duration notifications customizable with `{relative}` and `{normal}` placeholders.
+ Improved command logging
+

`Configuration Options:`
+ `Timezone`
+ `Other Settings`
+ `Disconnected Players History Count`
+ `Show Activity Type`
```
2024-09-28 18:03:03 +02:00
Dawid Bepierszcz
a3b8d8cfa7 . 2024-09-28 17:50:47 +02:00
Dawid Bepierszcz
1cf541bb51 Merge pull request #154 from KillerRoi/patch-2
Update ar.json
2024-09-03 21:34:48 +02:00
Dawid Bepierszcz
3fb254bd0a Merge pull request #153 from KillerRoi/patch-1
Update en.json
2024-09-03 21:34:30 +02:00
Killer Roi
a26df7fedd Update en.json 2024-09-04 01:04:06 +05:30
Killer Roi
446dc9f4f5 Update ar.json 2024-09-04 01:01:40 +05:30
Killer Roi
3a8e0dd1fc Update en.json 2024-09-04 00:57:44 +05:30
Dawid Bepierszcz
b90ed05d1b Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-08-18 22:24:18 +02:00
Dawid Bepierszcz
6df98fb164 1.5.2c
- Menu overrides for fun commands
2024-08-18 22:23:30 +02:00
Dawid Bepierszcz
100482cb17 Update FunActionsMenu.cs 2024-08-17 21:28:09 +02:00
Dawid Bepierszcz
8f2f95ca23 1.5.2b
- Fix for command overrides in menu
- Fix for kick with banid when player disconnected
2024-08-17 18:43:11 +02:00
Dawid Bepierszcz
79270acafe PenaltyWebhook block thread - fix 2024-08-13 21:14:43 +02:00
Dawid Bepierszcz
f95581e7c0 mysql compatibility 2024-08-12 09:55:52 +02:00
Dawid Bepierszcz
af46f0bca1 Warn migration 2024-08-12 02:05:54 +02:00
Dawid Bepierszcz
f56e3f6fe9 Warns - last?
- Warn list + unwarn
2024-08-12 01:57:30 +02:00
Dawid Bepierszcz
4ef07c8bf7 Warns - second
- Warn menu
- Warn reasons (config)
2024-08-12 00:14:43 +02:00
Dawid Bepierszcz
0674b7e492 Warns - first
-WarnManager
- css_warn
- Warn config
- Warn languages

~ Warn menu
~ Warn table
~ *css_unwarn
~ css_addwarn
2024-08-11 22:54:54 +02:00
Dawid Bepierszcz
c4cb308147 Admin immunity + Discord
- Fixed command logging + small refactor
- Fixed admin immunity
- Separated penalty webhook
- More customizable penalty webhook
2024-08-05 03:28:42 +02:00
Dawid Bepierszcz
bb0a236f28 1.5.1a
- Possibility to use new line in translations
- Improved initializing
- More errors logging
- Localized Message refactor
2024-07-15 21:50:06 +02:00
Dawid Bepierszcz
3bc51330af 1.5.0a v3 2024-07-04 22:02:02 +02:00
Dawid Bepierszcz
5fdefc9614 1.5.0a v2 2024-07-03 23:07:12 +02:00
Dawid Bepierszcz
bcbcb83a35 1.5.0a
- Fixed immunity in menu
- Added new command `css_prename` to  perm rename player (until the server restarts - don't set new name to remove perm rename) // @css/ban)
2024-07-03 22:59:26 +02:00
Dawid Bepierszcz
6cf6b1c919 Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-07-03 19:18:28 +02:00
Dawid Bepierszcz
3b98f19a7c 1.4.9a
- Plugin save all players ips to database, when player banned then all used ips are banned too (for ban evading)
- Minor changes
2024-07-03 19:18:25 +02:00
Dawid Bepierszcz
83fdf1dd56 Merge pull request #133 from Truba55/patch-1
German translation
2024-06-29 15:09:21 +02:00
Dawid Bepierszcz
6fc8b015ba 1.4.8b
- Improved admin loading
2024-06-29 15:06:32 +02:00
Dawid Bepierszcz
6b5e36087e Update Config.cs 2024-06-29 11:35:38 +02:00
Dawid Bepierszcz
a395a7d9c8 1.4.8a
- Removed message of checking server ip
- Fixed some commands
- Changed workshopmaps config
- Probably fixed votes (untested)  - let me know if not
- Minimum css version - 246
2024-06-29 11:33:41 +02:00
Truba55
d7e46525a5 German translation 2024-06-27 15:48:47 +02:00
Dawid Bepierszcz
cdd771511b 1.4.7a
- Fixed crash when using command on invalid player
- Using banid command to reduce number of queries to database (only if unlock commands enabled in css config)
- Minor changes
2024-06-23 12:59:14 +02:00
Dawid Bepierszcz
8e4724fb3e 1.4.6b
- Fix for alternative get server ip method
2024-06-18 03:12:00 +02:00
Dawid Bepierszcz
985b1ae61f 1.4.6a
- Alternative method to get server ip
- Config option to disable update check
- Improved live bans check
- Added new permission `@css/showip` to show ip in `css_who` and `css_players` commands
2024-06-17 11:08:46 +02:00
Dawid Bepierszcz
00facafdcb 1.4.5a
- Added `ReloadAdminsEveryMapChange` - Reloading sql admins on map start
- Ability to use any valid steamid instead of steamid64
- Fixed chat commands when gagged
- Votes now respect `UseChatMenu` config setting
2024-06-09 17:55:33 +02:00
Dawid Bepierszcz
962529e445 1.4.4b - Fix
- Fixed admins / group loading
2024-05-16 22:40:14 +02:00
Dawid Bepierszcz
873fed17c9 1.4.4b
- Fetch admins and groups data only once
- Added missing migration
2024-05-16 21:51:13 +02:00
Dawid Bepierszcz
fc2958c84f Update Config.cs 2024-05-06 22:59:23 +02:00
Dawid Bepierszcz
4244104d6e 1.4.4a
- MultiServerMode fix
- New feature `TimeMode`
2024-05-06 22:56:57 +02:00
Dawid Bepierszcz
d5a6ceacb6 1.4.3d
- Fixed banning without permban flag
- Updated css
2024-05-03 15:08:47 +02:00
Dawid Bepierszcz
14cc9d3b00 1.4.3c
- Fixed rare problems with expiring bans
- More checks for `BanType`
- Minor changes about validating players
- Added `css_players -duplicate` to list players with same ip address
2024-05-02 13:52:53 +02:00
Dawid Bepierszcz
9fb256d39f 1.4.3c
- Fixed rare problems with expiring bans
- More checks for `BanType`
- Minor changes about validating players
- Added `css_players -duplicate` to list players with same ip address
2024-05-02 13:51:07 +02:00
Dawid Bepierszcz
c25d3c4bda 1.4.3b
- Groups support now NULL value as `server_id` (global group)
- Added json output for `css_players`  (Panel request)
- AdminSQLManager Refactor
2024-05-01 22:46:04 +02:00
Dawid Bepierszcz
ebf9e06bcd Update 001_CreateTables.sql 2024-05-01 01:29:33 +02:00
Dawid Bepierszcz
c72c7231f7 Update 001_CreateTables.sql 2024-05-01 01:26:48 +02:00
Dawid Bepierszcz
9c870b8fc3 Merge pull request #105 from Dliix66/feature/adminSplitBan
Feature/admin split ban and more
2024-04-30 14:09:00 +02:00
Dawid Bepierszcz
cf7a87d959 Merge branch 'feature/adminSplitBan' of https://github.com/Dliix66/CS2-SimpleAdmin into pr/105 2024-04-30 14:07:58 +02:00
Dawid Bepierszcz
9759b34505 Update Config.cs 2024-04-30 14:07:34 +02:00
Dawid Bepierszcz
5a90171842 Merge branch 'main' into feature/adminSplitBan 2024-04-30 14:06:26 +02:00
Dawid Bepierszcz
19f8b68c1c 1.4.3a
- New feature permban permission (@css/permban)
- CustomCommand fix
- Version checker
- Minor changes
- Updated to CounterStrikeSharp 225
- Bump version to 1.4.3a
2024-04-30 14:05:20 +02:00
Valentin Barat
342d4f717f Fixed config loading 2024-04-29 14:18:54 +02:00
Dawid Bepierszcz
731bc229d3 1.4.2b
- Fixed migrations for mysql 5.x
2024-04-29 10:56:49 +02:00
Valentin Barat
bb8cec7cf8 Merge branch 'main' into feature/adminSplitBan 2024-04-29 10:31:37 +02:00
Valentin Barat
ad4c721a27 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	Menus/CustomCommandsMenu.cs
2024-04-29 10:31:20 +02:00
Valentin Barat
7efa2cdad3 Fixed perm ban issue with console 2024-04-29 10:27:52 +02:00
Dawid Bepierszcz
c321502937 1.4.2a
- Config upgrade
- Translatable  and customizable menu
- More async
- Minor changes
2024-04-29 00:04:42 +02:00
Valentin Barat
13ab223c86 Merge branch 'main' into feature/adminSplitBan 2024-04-28 02:26:39 +02:00
Dliix66
c73584edae Merge branch 'daffyyyy:main' into main 2024-04-28 02:20:16 +02:00
Dawid Bepierszcz
aefa6c6355 1.4.1a
- Minor changes
2024-04-28 02:16:24 +02:00
Dawid Bepierszcz
806b5038ca Update 004_MoveOldFlagsToFlagsTable.sql 2024-04-27 13:29:56 +02:00
Dawid Bepierszcz
b45e112534 Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-04-27 01:44:24 +02:00
Dawid Bepierszcz
e1650df72e 1.4.1a
- Full AdminManager integration
2024-04-27 01:44:12 +02:00
Dawid Bepierszcz
8caa8669ea Update 005_CreateUnbansTable.sql 2024-04-26 13:03:18 +02:00
Dawid Bepierszcz
516d9d9014 1.4.0b
- Recompiled with css v215
2024-04-26 09:15:25 +02:00
Dawid Bepierszcz
c71391bca4 1.4.0b
- Recompiled with css v215
2024-04-26 09:15:08 +02:00
Dawid Bepierszcz
2c66b899d0 Update Config.cs 2024-04-25 20:35:00 +02:00
Dawid Bepierszcz
1cfff8684f 1.4.0a
- Ability to set the plugin mode (MultiServerMode) - When its `true`, then plugin respects penalties from all servers, when its `false` then plugin respects penalties only from this server
- Renamed command `css_reladmin` to `css_reloadadmins` (It reload admins and groups)
- Groups
2024-04-25 20:33:37 +02:00
Valentin Barat
0bbf1948bf Added localization in EN/FR 2024-04-25 01:02:46 +02:00
Valentin Barat
b4103bfc25 Made base max ban duration to 1day 2024-04-25 00:52:40 +02:00
Valentin Barat
a0b2e59357 Better duration check 2024-04-25 00:47:54 +02:00
Valentin Barat
fb251aadef Added max ban duration and perm ban right 2024-04-25 00:46:23 +02:00
Dliix66
00343b6b66 Merge branch 'daffyyyy:main' into main 2024-04-25 00:26:01 +02:00
Dawid Bepierszcz
270b36fa26 1.3.9a
**MAJOR UPDATE**

- New database schema
- Added `css_admins_flags` table
- Added `css_unmutes` table
- Added `css_unbans` table
2024-04-20 18:56:41 +02:00
Dawid Bepierszcz
7a8fd066f7 1.3.8b
- Plugin checks every minute if a player is banned
- Minor changes
- Removed bot_quota warning
- NET8
2024-04-16 22:08:44 +02:00
Valentin Barat
90556e66b2 Fixed client commands in custom commands 2024-04-14 19:36:28 +02:00
Dawid Bepierszcz
143f0b7e1b Merge pull request #94 from dollannn/main
Feature: Penalty embed
2024-04-02 19:57:22 +02:00
Dawid Bepierszcz
d8a1a1e471 Merge branch 'main' of https://github.com/dollannn/CS2-SimpleAdmin into pr/94 2024-04-02 19:56:25 +02:00
Dawid Bepierszcz
3abf246f9b fixed reloadadmins 2024-04-02 19:55:48 +02:00
Dawid Bepierszcz
d1fdaa4ecf Merge branch 'main' into main 2024-04-02 19:52:22 +02:00
Dawid Bepierszcz
89d27e1bd3 Added translation
- Minor changes
- Version bump
- Added translation
2024-04-02 19:42:16 +02:00
Dawid Bepierszcz
bd82a981f5 Merge pull request #85 from Dliix66/main
Fixed Discord web hooks with the menu and several bug fixes/improvments on the menus
2024-04-02 18:34:18 +02:00
Dollan
052cea5ce3 feat: embed is now integrated with all penalties 2024-04-01 18:30:45 +02:00
Dollan
ba2bf90340 fix: add hostname as embed description 2024-04-01 18:30:03 +02:00
Dollan
8f80e13100 feat: implement penaltylog on gag 2024-03-31 01:23:35 +01:00
Dollan
a377871951 fix: if punishment is 0 ie permanent show permanent 2024-03-31 01:23:15 +01:00
Dollan
8df1e70d5a feat: add penalty embed helper function 2024-03-31 01:06:42 +01:00
Dollan
d8e30e02e9 fix: remove repetitive webhook snippet and replace it with helper function 2024-03-30 22:50:16 +01:00
Dollan
b2c56d3fa1 feat: add helper function to send logs to discord webhook 2024-03-30 22:41:27 +01:00
Dawid Bepierszcz
5609748d19 Update README.md 2024-03-30 10:57:25 +01:00
Dawid Bepierszcz
9d513a92a1 Fix css_sa_upgrade 2024-03-30 10:56:25 +01:00
Dawid Bepierszcz
3a977f688c 1.3.7a
- Throwing more informations
- Updated CounterStrikeSharp
- Fixed problem with expiring bans via `css_addban`
- Added metrics
- Minor changes
2024-03-30 10:49:06 +01:00
Dawid Bepierszcz
143dc138f0 1.3.6.d - fix 2024-03-24 07:13:20 +01:00
Dawid Bepierszcz
a8904f2d8a 1.3.6d - IMPORTANT
- Fixed pool size
- Fixed `css_rename`
- Updated CounterStrikeSharp
- Minor changes
2024-03-23 23:41:17 +01:00
Valentin Barat
39404e52ac Fixed hmtl-incompatible player names 2024-03-21 23:36:56 +01:00
Valentin Barat
0cca38b10b Improved player selection in menus 2024-03-16 16:08:28 +01:00
Valentin Barat
aac5caa565 fixed typo in freeze 2024-03-16 16:02:04 +01:00
Valentin Barat
90c0564f56 Discord webhook from menus 2024-03-16 16:01:26 +01:00
Valentin Barat
0f4a2835d2 Added gravity and set money in fun commands menu 2024-03-16 11:51:44 +01:00
Valentin Barat
c6126ab2ec Fixed Respawn menu that was disabling dead players instead of alive ones 2024-03-16 11:32:58 +01:00
Valentin Barat
60c76562f9 Added ExecuteOnClient option on custom commands 2024-03-13 11:46:09 +01:00
Valentin Barat
ac940259f7 Moved custom commands to its specific menu 2024-03-13 11:43:33 +01:00
Dawid Bepierszcz
cce265c6b7 1.3.6c
- Fixed kick reason
- Small changes
- Fixed map name in css_map command
2024-03-11 01:16:34 +01:00
Dawid Bepierszcz
525905194c 1.3.6b
- Fixed ban checking
- Small changes
- Updated css
2024-03-09 12:06:50 +01:00
Dawid Bepierszcz
2ab2f9c4dc 1.3.6a
- Minor changes
- Added `css_gravity` command
- Added `css_money` command
- Changed Utc time to LocalTime
- Updated translations (ChatGPT generated)
- Updated css version
2024-03-07 13:34:31 +01:00
Dawid Bepierszcz
da6fb2fc22 1.3.5a
- Added custom command to menu
- Better ungag/unmute/unsilence handling
- Fixed css_psay from console
2024-03-02 22:16:38 +01:00
Dawid Bepierszcz
7d5166cf4b Merge pull request #67 from Dliix66/main
Added custom server commands
2024-03-02 22:14:14 +01:00
Dawid Bepierszcz
a8c4c1f9fa - 1.3.4a
- Resolved conflicts?
2024-03-02 21:53:48 +01:00
Dawid Bepierszcz
3c42acf15e Revert "1.3.5a"
This reverts commit f61a5ff6a8.
2024-03-02 21:53:06 +01:00
Dawid Bepierszcz
f61a5ff6a8 1.3.5a
- Resolved conflicts
2024-03-02 21:52:21 +01:00
Dawid Bepierszcz
229b8d73a3 1.3.4a
- Minor changes
- Escape kick reason @poggu suggestion
- Auto-updater for config
- Using UTC time
- Added expiring IP bans after x days (`ExpireOldIpBans` in config => value = days, 0 = disabled)
- Added exception message to database error
- Fixed? ungag/unmute/unsilence commands
- Updated css version to `178`
- Changed `css_adminhelp` command to use new file `admin_help.txt` as output
2024-03-01 12:38:46 +01:00
Valentin Barat
650c115a88 Updated version to 1.4.0a 2024-03-01 02:20:28 +01:00
Valentin Barat
4d3cefc495 Updated config version to 7 2024-03-01 02:13:50 +01:00
Valentin Barat
5d58465c74 Working custom server commands 2024-03-01 02:12:10 +01:00
Dawid Bepierszcz
5bf966f9cd 1.3.3a
- Fixed godmode
- Added logging commands to simpleadmin logs file
- Fixed votes?
- Added updating player_ip and player_name after connect with ban issued by css_addban
2024-02-21 13:14:46 +01:00
Dawid Bepierszcz
619bdfbb14 lang files 2024-02-14 01:56:26 +01:00
Dawid Bepierszcz
f4f669d498 Merge pull request #62 from Dliix66/feature/menu
Fixed maps not being displayed in the menus
2024-02-14 01:54:17 +01:00
Dawid Bepierszcz
8e1a1b2ecf Small changes
- Small changes
- Added `ru` and `pt-br` lang
2024-02-14 01:53:13 +01:00
Valentin Barat
64803ebff2 Updated version to 1.3.2b 2024-02-13 23:54:57 +01:00
Valentin Barat
285429dc66 Fixed instance default value not having the config set 2024-02-13 23:46:46 +01:00
Dawid Bepierszcz
5b36a5fc62 Merge pull request #49 from Dliix66/feature/menu
Changed css_admin command to open the admin menu
2024-02-13 01:37:23 +01:00
Dawid Bepierszcz
4e898a6509 Minor changes 2024-02-13 01:35:45 +01:00
Valentin Barat
af66802b37 Added Change Team 2024-02-13 00:33:07 +01:00
Valentin Barat
6c44281ca5 using Helper.GetValidPlayers() 2024-02-13 00:15:39 +01:00
Valentin Barat
5edddbb70f added kick reason 2024-02-13 00:11:38 +01:00
Valentin Barat
a8a35544c0 Fixed freeze 2024-02-12 23:47:23 +01:00
Valentin Barat
74852f0651 added client only of css_admin 2024-02-12 23:37:55 +01:00
Valentin Barat
1882b14657 Using type instance 2024-02-12 23:32:35 +01:00
Valentin Barat
c3dd3bed10 Added player names in sub menus 2024-02-12 22:53:08 +01:00
Valentin Barat
af73447b9e Added Admins management menu 2024-02-12 22:52:50 +01:00
Valentin Barat
7386a2aae2 Made Admin menu visible only for root 2024-02-12 22:16:07 +01:00
Valentin Barat
effe97a210 enabled fun actions menu 2024-02-12 22:10:00 +01:00
Valentin Barat
3b6b7fbcab Added alive player filter to PlayersMenu 2024-02-12 22:09:52 +01:00
Valentin Barat
9a7a143478 re-refactored css_who 2024-02-12 22:03:09 +01:00
Valentin Barat
fe834d8abc Fixed kick targets 2024-02-12 22:01:25 +01:00
Valentin Barat
eb9519c156 Fun commands done 2024-02-12 22:01:09 +01:00
Valentin Barat
8750a66eef Fun menu done without guns, need to test 2024-02-12 17:46:45 +01:00
Valentin Barat
3317182b9a Created fun menu 2024-02-12 17:00:47 +01:00
Valentin Barat
fa5296fec7 Fixed slap moving the player's aim 2024-02-12 16:44:50 +01:00
Valentin Barat
0a2d19accd Added menu type config 2024-02-12 16:41:00 +01:00
Valentin Barat
c2f7b3be08 added french translation 2024-02-12 16:23:30 +01:00
Valentin Barat
b31bb871a6 Added default Maps in the config 2024-02-12 15:56:45 +01:00
Valentin Barat
00819beec5 restored css_admin to open the menu 2024-02-12 15:42:55 +01:00
Valentin Barat
ae8d9db5e4 Added Silence command in menu 2024-02-12 15:15:49 +01:00
Valentin Barat
a3ebcccb6f Merge finished 2024-02-12 15:11:31 +01:00
Valentin Barat
dd3ccf4069 Merge branch 'main' into feature/menu
# Conflicts:
#	CS2-SimpleAdmin.cs
#	Config.cs
#	Extensions/PlayerExtensions.cs
2024-02-12 14:40:55 +01:00
Valentin Barat
3413200d8e using config maps 2024-02-12 14:21:12 +01:00
Valentin Barat
6dccddf929 Updated config to add workshop maps 2024-02-12 14:21:02 +01:00
Valentin Barat
751c97b4cf Added restart game and change map menus 2024-02-12 14:19:44 +01:00
Dawid Bepierszcz
b4c259595e Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-02-12 14:11:44 +01:00
Dawid Bepierszcz
d8e8073dd6 Fix? for messages 2024-02-12 14:11:34 +01:00
Valentin Barat
377049c020 Added css_restartgame 2024-02-12 14:07:29 +01:00
Dawid Bepierszcz
74c773aaea Merge pull request #58 from daffyyyy/dev
Update CS2-SimpleAdmin.cs
2024-02-12 13:44:54 +01:00
Dawid Bepierszcz
e2df860b6f Update CS2-SimpleAdmin.cs 2024-02-12 13:44:05 +01:00
Dawid Bepierszcz
b1e497ea3f Merge pull request #57 from daffyyyy/dev
1.3.1a
2024-02-12 13:04:27 +01:00
Dawid Bepierszcz
953234078c 1.3.1a
- Added `css_tp`
- Added `css_bring`
- Added logging commands to discord
- Small refactor
2024-02-12 13:03:02 +01:00
Dawid Bepierszcz
bda704e843 test
test
2024-02-12 13:00:38 +01:00
Dawid Bepierszcz
e4e1023684 Update build.yml 2024-02-12 12:58:27 +01:00
Dawid Bepierszcz
5d02343268 Update build.yml 2024-02-12 12:56:57 +01:00
Valentin Barat
778c93b170 Fixed merge issues 2024-02-12 11:46:16 +01:00
Valentin Barat
9cecc19060 Merge branch 'main' into feature/menu
# Conflicts:
#	CS2-SimpleAdmin.cs
2024-02-12 11:41:44 +01:00
Dawid Bepierszcz
f0b5b820e2 Merge pull request #56 from RoyZ-iwnl/main
Create zh-Hans.json
2024-02-12 11:13:09 +01:00
Dawid Bepierszcz
6a182fff9d 1.3.0f
- Fixed `css_kick`
- Fixed gag/mute/silence on connect
- Additional check in immunity
2024-02-11 16:27:54 +01:00
RoyZ
cd8ee681b2 Create zh-Hans.json
add Chinese translation
2024-02-11 14:13:09 +08:00
Dawid Bepierszcz
42849c231f Merge pull request #54 from criskkky/main
1.3.0e
2024-02-11 04:16:38 +01:00
Dawid Bepierszcz
76914be555 Update es.json 2024-02-11 04:15:04 +01:00
cristóbal
aadcaa0e64 1.3.0e
Updated: Spanish Language Support
2024-02-11 00:04:08 -03:00
Dawid Bepierszcz
0b2a520a07 1.3.0e
- Added `css_sa_upgrade` command
2024-02-11 03:39:42 +01:00
Dawid Bepierszcz
79bbe0f4c5 1.3.0e
- Added `css_rename`
- Added `css_silence`
- Added `css_addsilence`
- Added `css_unsilence`
- PlayerPenaltyManager class
- Fix for invalid players

New commands localized only for `pl` and `en`, if u can please make pr for other languages
2024-02-11 03:24:27 +01:00
Dawid Bepierszcz
01ceb104c5 Update Events.cs 2024-02-10 15:31:09 +01:00
Dawid Bepierszcz
e401fe7c8b 1.3.0d
- Fixed noclip
- Fixed freeze
- Fixed vote
2024-02-09 21:54:55 +01:00
Dawid Bepierszcz
fbed647699 1.3.0c
- CounterStrikeSharp v163
2024-02-08 11:11:53 +01:00
Dawid Bepierszcz
aa95815fbd Added info about crashes with bots 2024-02-06 00:57:28 +01:00
Dawid Bepierszcz
3793385ce4 1.3.0b
- Minor changes
- Fixed `css_players`
- Probably fixed problems with taking actions with bots
2024-02-04 21:04:22 +01:00
Valentin Barat
c8c0a3f0ba Updating pawn's HP on slap 2024-02-04 20:36:18 +01:00
Valentin Barat
5991f85919 Fixed defualt kick reason 2024-02-04 20:34:14 +01:00
Valentin Barat
a85e5c69ee Last merge conflicts 2024-02-04 15:49:37 +01:00
Valentin Barat
40ad4b995c Merge branch 'main' into feature/menu
# Conflicts:
#	CS2-SimpleAdmin.cs
2024-02-04 15:10:30 +01:00
Valentin Barat
d3062b5f7e Fixed respawn 2024-02-04 14:54:08 +01:00
Dawid Bepierszcz
131030a2cd 1.3.0a
- Fixed crashing on servers with a lot of players
- Every command chat message respect player language for now css_lang or use https://github.com/aprox2/GeoLocationLanguageManagerPlugin to detect language related on player ip
- Fixed css_respawn
- Fixed css_vote player can't vote multiple times
- Added TeamSwitchType to config, if set to 0 plugin always slay player on css_team command
- Minor changes
2024-02-04 13:25:15 +01:00
Valentin Barat
a9f3196441 Merge done? 2024-02-03 23:37:01 +01:00
Valentin Barat
bdb90b0cc6 Merge branch 'main' into feature/menu
# Conflicts:
#	CS2-SimpleAdmin.cs
2024-02-03 23:30:25 +01:00
Dawid Bepierszcz
93faad27c1 Update build.yml 2024-02-02 23:00:16 +01:00
Dawid Bepierszcz
7251516bb4 Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-02-02 22:57:06 +01:00
Dawid Bepierszcz
175d6df250 1.2.9a - fix
- Fixed native in non-main thread
2024-02-02 22:57:05 +01:00
Dawid Bepierszcz
7e5dc7b612 Update build.yml 2024-02-02 22:16:18 +01:00
Dawid Bepierszcz
0572ad7d32 1.2.9a
- Major changes
- Fixed `css_respawn`
- Added discord webhook
- Refactoring database class
2024-02-02 22:02:09 +01:00
Dawid Bepierszcz
86e837931c 1.2.9a
- Major changes
- Fixed `css_respawn`
- Added discord webhook
- Refactoring database class
2024-02-02 21:59:21 +01:00
Dawid Bepierszcz
b2f1afd7e7 Merge pull request #48 from originalaidn/main
huge modification
2024-02-02 21:53:23 +01:00
AiDN™
705bacccae Merge branch 'daffyyyy:main' into main 2024-02-01 13:30:04 +01:00
AiDN™
58086c4009 added windows signature
0 compile error/warning, but not quite sure if this is the safest/best way to check signatures
2024-02-01 13:29:12 +01:00
AiDN™
f15061793a edited css_say logging 2024-02-01 13:14:19 +01:00
Valentin Barat
5035f88da0 Revert to internal 2024-02-01 00:19:05 +01:00
Dawid Bepierszcz
4e597d73a5 Small changes
- Correct version
- Null warnings
2024-02-01 00:03:34 +01:00
Dawid Bepierszcz
13d36dca12 Revert "Small changes"
This reverts commit 9acab82f86.
2024-02-01 00:01:57 +01:00
Dawid Bepierszcz
9acab82f86 Small changes
- Correct version
- null warnings
2024-01-31 23:57:14 +01:00
Valentin Barat
66f0ebe08c Enabled other menus for visual screenshot 2024-01-31 23:08:26 +01:00
Valentin Barat
0cd1653185 Commented out css_who as its not relevant IMO 2024-01-31 23:06:04 +01:00
Valentin Barat
fb827f4f0d Changed commands to open the menu 2024-01-31 23:04:11 +01:00
Valentin Barat
6848847f21 default null instance 2024-01-31 22:10:45 +01:00
Valentin Barat
a80de2d7dc Change team down 2024-01-31 22:05:48 +01:00
Valentin Barat
a266f776a8 Duration in minutes 2024-01-31 21:45:42 +01:00
Valentin Barat
60ebb698a3 ban/gag/mute 2024-01-31 21:44:38 +01:00
Valentin Barat
5fbd21aec2 Slay and kick done 2024-01-31 18:03:08 +01:00
Valentin Barat
232f487d01 Fixed who 2024-01-31 17:39:03 +01:00
Valentin Barat
f622701f5e Made slap menu 2024-01-31 17:29:28 +01:00
Valentin Barat
65b33c17ea Moved css_who command to ManagePlayersMenu.cs 2024-01-31 17:19:13 +01:00
Valentin Barat
4fd268b235 Base menu structure done 2024-01-31 17:06:54 +01:00
Valentin Barat
bad4289c5c Added instance getter on the base plugin class for the menus 2024-01-31 16:05:08 +01:00
Valentin Barat
fd97e43490 Updated version to 1.3.0 2024-01-31 15:59:19 +01:00
Dawid Bepierszcz
a59cf5a7da Merge pull request #47 from KillerRoi/main
Added Arabic Translation
2024-01-31 12:58:10 +01:00
originalaidn
dd7a2f4c16 huge modification
- modified respawn, now the players need to respawn
- added stealth command as hide, removed the team selection menu (from CSS discord)
- removed silentmode
- added discord webhook logging system (need to set in config -DiscordWebhook and edit Version to 4)

in the future, need to add every color to replace thing and maybe need to remove those replace messages and add to sendwebhook but not yet.
2024-01-31 11:17:12 +01:00
KillerRoi
fbf395d327 Fixed 2024-01-28 20:49:05 +05:30
KillerRoi
8ca82804a2 Fixed sa_adminhelp not being readable 2024-01-28 20:48:02 +05:30
KillerRoi
4b1cb3573b Fixed 2024-01-28 20:47:05 +05:30
KillerRoi
5dc35ddb73 Fixed second line not being able to read 2024-01-28 20:43:11 +05:30
KillerRoi
31592bf1a5 .. 2024-01-28 20:42:24 +05:30
KillerRoi
a3471e2091 .. 2024-01-28 20:40:59 +05:30
KillerRoi
dfd9bd5329 Added Arabic Translation 2024-01-28 20:39:29 +05:30
Dawid Bepierszcz
e028bef5b0 1.2.8d
- Minor changes
- Added the ability to change the map to a workshop map via the `css_map ws:id/name` command
- Fixed the `css_wsmap` command and retained it for backward compatibility
- Changed gags from userid to steamid
2024-01-27 23:56:13 +01:00
Dawid Bepierszcz
67ad1851bf 1.2.8c
- Updated CounterStrikeSharp to 159
- Minor changes
2024-01-26 13:45:16 +01:00
Dawid Bepierszcz
e584316a28 1.2.8b
- Changing connect event, in previous sometimes player == null
2024-01-25 21:09:24 +01:00
Dawid Bepierszcz
450a7804c6 1.2.8a
- Small fixes
2024-01-25 01:00:31 +01:00
Dawid Bepierszcz
855f087a7b 1.2.8a
- Updated minimum CounterStrikeSharp version to **154**
- Fixed? issue with checking ban status for player with authorization problem
- Added additional checks for immunity
- Added new config variable `BanType` if `1` = `SteamID + IP`, if `0` = `SteamID`
2024-01-24 23:50:49 +01:00
Dawid Bepierszcz
b5600d7e73 1.2.7e
- Minor changes
2024-01-20 17:24:18 +01:00
Dawid Bepierszcz
6640d00442 Update README.md 2024-01-20 02:25:05 +01:00
Dawid Bepierszcz
8aee44f709 Create FUNDING.yml 2024-01-20 02:18:41 +01:00
Dawid Bepierszcz
374f6002eb 1.2.7d
- Fix for console commands exception (caused by silentmode)
- Updated css
2024-01-19 21:03:24 +01:00
Dawid Bepierszcz
99ce2cdf6a 1.2.7c
- `css_hide` - Hide on scoreboard
Code stolen from https://github.com/DeadSwimek/cs2-hideadmin
Thanks DeadSwimek ;]
2024-01-17 23:23:31 +01:00
Dawid Bepierszcz
38020e6509 Update README.md 2024-01-17 23:12:22 +01:00
Dawid Bepierszcz
d751bdadbd 1.2.7b
- Back to net7
- SilentMode for admins
- Adding global admins via command
2024-01-17 23:08:52 +01:00
Dawid Bepierszcz
64c806f3d7 Update CS2-SimpleAdmin.cs 2024-01-15 02:39:33 +01:00
Dawid Bepierszcz
8c4cb49d02 1.2.7a
- CounterStrikeSharp 146
2024-01-15 02:39:20 +01:00
Dawid Bepierszcz
2d41a62b52 1.2.6e
- Finally? fixed sqladmins
2024-01-13 23:12:23 +01:00
Dawid Bepierszcz
48baac0a7b Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-01-13 00:19:15 +01:00
Dawid Bepierszcz
8d365b670e 1.2.6d
- Probably workaround for sql admins
2024-01-13 00:19:13 +01:00
Dawid Bepierszcz
6a82d72244 Update README.md 2024-01-10 03:14:01 +01:00
Dawid Bepierszcz
e602eaa445 Update README.md 2024-01-10 03:13:23 +01:00
Dawid Bepierszcz
75f18d3c0a Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-01-10 00:03:37 +01:00
Dawid Bepierszcz
40611e9126 Grammar 2024-01-10 00:03:29 +01:00
Dawid Bepierszcz
fa8b7a877f Merge pull request #29 from rcon420/patch-2
lv grammar changes
2024-01-10 00:01:07 +01:00
Dawid Bepierszcz
71af90031e Database connection exception fix, additional ip check (problem with steam auth) 2024-01-09 23:05:49 +01:00
rcon_password
07924a6a74 lv grammar changes 2024-01-09 22:52:56 +02:00
Dawid Bepierszcz
f78cd888de Fix 2024-01-09 12:08:14 +01:00
Dawid Bepierszcz
d173816492 Update AdminSQLManager.cs 2024-01-08 22:34:11 +01:00
Dawid Bepierszcz
dd5e72e873 Update 1.2.6a
- Added server_id
- Added immunity
2024-01-08 22:29:36 +01:00
Dawid Bepierszcz
cfe79109a8 Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2024-01-05 01:04:13 +01:00
Dawid Bepierszcz
18122cdc08 1.2.5a
-Minor changes
- Fixed `css_speed`
2024-01-05 01:04:08 +01:00
Dawid Bepierszcz
ac92f1cb4e Merge pull request #13 from BMathers35/beta
Turkish language support
2024-01-04 17:06:15 +01:00
Dawid Bepierszcz
6d6ff53b02 Merge pull request #20 from DEADLYDEVIL-IR/main
Persian Language Support
2024-01-04 17:06:05 +01:00
Dawid Bepierszcz
675c7bdcee Merge pull request #23 from criskkky/main
Spanish Language Support
2024-01-04 17:05:40 +01:00
cristóbal
c839e69804 Add files via upload 2024-01-03 22:32:38 -03:00
DEADLYDEVIL
3930d2d4bd add some changes 2023-12-25 21:54:19 +03:30
DEADLYDEVIL
6a5165a513 Add persian lang 2023-12-24 19:11:33 +03:30
daffyyyy
5dc14e3301 12.4b 2023-12-18 14:30:26 +01:00
daffyyyy
27582b72af 1.2.4b
- Cache for mysql admins
2023-12-18 14:29:56 +01:00
daffyyyy
f95031a3f5 1.2.4a
- mysql admins
- minor changes
2023-12-18 13:46:58 +01:00
BMathers
7a73212d2e Turkish language support 2023-12-15 02:16:08 +03:00
daffyyyy
270e3bd858 1.2.3a
- Fixed pern mute when entering the server
- New command `css_strip`
- Changed `css_team` command added `swap` as team, and `-k` argument to kill player
2023-12-14 21:43:40 +01:00
daffyyyy
b8075ffa8c Update lv.json 2023-12-13 20:20:55 +01:00
daffyyyy
28f6cf63fe 1.2.2a UPDATE
- Fixed css_addban, css_addmute
- New command `css_hp`
- New command `css_god`
- New command `css_speed`
2023-12-13 20:20:12 +01:00
Dawid Bepierszcz
e040dbced5 Merge pull request #11 from rcon420/patch-1
Create lv.json
2023-12-13 19:57:00 +01:00
rcon_password
7e7fc5c885 Create lv.json 2023-12-13 18:19:16 +02:00
daffyyyy
15ab2d9e65 Update CS2-SimpleAdmin.cs 2023-12-12 20:06:01 +01:00
daffyyyy
2105d80f52 Fixed css_team message 2023-12-12 20:01:30 +01:00
daffyyyy
d677551463 Update CS2-SimpleAdmin.cs 2023-12-12 19:51:39 +01:00
daffyyyy
efd9ab5c22 css_vote and small fixes 2023-12-12 19:46:19 +01:00
daffyyyy
e6fb8bc402 css_rcon caller fix 2023-12-12 13:31:27 +01:00
daffyyyy
9712f04e38 Update Events.cs 2023-12-12 12:51:31 +01:00
daffyyyy
719caeafef Probably fix for auto ungag? 2023-12-12 12:50:02 +01:00
daffyyyy
22bb7ebac0 Update README.md 2023-12-12 12:31:54 +01:00
daffyyyy
b813a422a2 Update CS2-SimpleAdmin.cs 2023-12-12 12:24:09 +01:00
daffyyyy
36e5cd48a5 Merge branch 'main' of https://github.com/daffyyyy/CS2-SimpleAdmin 2023-12-12 12:22:16 +01:00
daffyyyy
34342c5134 1.2.0a UPDATE
Required CSS 124
2023-12-12 12:20:27 +01:00
Dawid Bepierszcz
5183661c2a Merge pull request #9 from DEADLYDEVIL-IR/main
Added CSS_GIVE
2023-12-10 15:28:17 +01:00
BuildTools
6c075cdafe fixed weapon checking 2023-12-10 01:33:59 +03:30
BuildTools
a56b5f7b3f fixed banned weapon checking 2023-12-10 01:15:52 +03:30
BuildTools
07b79cb91a Added a check for knifes 2023-12-10 00:56:30 +03:30
BuildTools
607c38e992 changed permissions to @css/give 2023-12-09 10:58:21 +03:30
BuildTools
dbdefa8168 fixed writing player name after giving waepon in chat 2023-12-09 10:53:13 +03:30
BuildTools
b8048e1500 Fixed server printing map instead of given weapon 2023-12-09 10:49:19 +03:30
BuildTools
59975bb49d Add the css_give command and add in README.MD 2023-12-09 10:43:33 +03:30
daffyyyy
454643431a Update Events.cs 2023-12-06 03:01:07 +01:00
daffyyyy
6ac370df74 Update CS2-SimpleAdmin.cs 2023-12-06 02:55:07 +01:00
daffyyyy
f3a1200492 Changed adminchat to teamchat 2023-12-06 02:49:31 +01:00
daffyyyy
90ca6c1ac2 Admin chat fix 2023-12-06 02:44:30 +01:00
daffyyyy
29fe968155 css_asay and @message 2023-12-06 02:39:08 +01:00
daffyyyy
fdbf1b1a5c Respecting immunity and css_team command