Fun-Befehle-Modul
Add entertaining and powerful player manipulation commands to your server.
Übersicht
The Fun Befehle module extends CS2-SimpleAdmin with commands for god mode, noclip, freeze, respawn, weapon management, and player attribute modification.
Modul Name: CS2-SimpleAdmin_FunCommands
---
Funktionen
- ⭐ God Mode - Make players invincible
- 👻 No Clip - Allow players to fly through walls
- 🧊 Freeze/Unfreeze - Freeze players in place
- 🔄 Respawn - Bring dead players back
- 🔫 Waffe gebens - Provide any weapon to players
- 🗑️ Waffen entfernen - Remove all weapons
- ❤️ HP setzen - Modify player health
- ⚡ Geschwindigkeit setzen - Change movement speed
- 🌙 Schwerkraft setzen - Modify gravity
- 💰 Geld setzen - Adjust player money
- 📏 Resize Spieler - Change player model size
---
Installation
Voraussetzungen
- CS2-SimpleAdmin installed and working
- CS2-SimpleAdminApi.dll in shared folder
Install Steps
- Herunterladen the module from releases
- Extract to your server:
`` game/csgo/addons/counterstrikesharp/plugins/CS2-SimpleAdmin_FunCommands/ ``
- Neustart your server or reload plugins:
`` css_plugins reload ``
- Verify the module loaded:
- Check Serverkonsole for load message
- Try
css_adminand look for "Fun Befehle" menu
---
Befehle
Godmode
Toggle god mode (invincibility) for a player.
css_god <#userid or name>
css_godmode <#userid or name>
Berechtigung: @css/cheats
Beispiele:
css_god #123
css_god PlayerName
css_god @all # Toggle god mode for everyone
Effects:
- Spieler takes no damage
- Toggles on/off with each use
---
Noclip
Enable noclip mode (fly through walls).
css_noclip <#userid or name>
Berechtigung: @css/cheats
Beispiele:
css_noclip #123
css_noclip PlayerName
Effects:
- Spieler can fly
- Can pass through walls
- Gravity disabled
- Toggles on/off with each use
---
Einfrieren
Freeze a player in place.
css_freeze <#userid or name> [duration]
Berechtigung: @css/slay
Parameters:
duration- Freeze duration in seconds (optional, default: permanent until unfreeze)
Beispiele:
css_freeze #123 # Freeze permanently
css_freeze PlayerName 30 # Freeze for 30 seconds
css_freeze @t 10 # Freeze all terrorists for 10 seconds
Effects:
- Spieler cannot move
- Spieler cannot shoot
- Auto-unfreezes after duration (if specified)
---
Entfrieren
Unfreeze a frozen player.
css_unfreeze <#userid or name>
Berechtigung: @css/slay
Beispiele:
css_unfreeze #123
css_unfreeze PlayerName
css_unfreeze @all # Unfreeze everyone
---
Respawn
Respawn a dead player at last death position.
css_respawn <#userid or name>
Berechtigung: @css/cheats
Beispiele:
css_respawn #123
css_respawn PlayerName
css_respawn @dead # Respawn all dead players
Effects:
- Spieler spawns at death point
- Gets default weapons
- Joins their team
---
Waffe geben
Give a weapon to a player.
css_give <#userid or name> <weapon>
Berechtigung: @css/cheats
Weapon names:
Rifles:
weapon_ak47orak47weapon_m4a1orm4a1weapon_m4a1_silencerorm4a1_silencerweapon_awporawpweapon_augoraugweapon_sg556orsg556weapon_ssg08orssg08(Scout)weapon_g3sg1org3sg1weapon_scar20orscar20
SMGs:
weapon_mp5sdormp5sdweapon_mp7ormp7weapon_mp9ormp9weapon_mac10ormac10weapon_p90orp90weapon_ump45orump45weapon_bizonorbizon
Heavy:
weapon_novaornovaweapon_xm1014orxm1014weapon_mag7ormag7weapon_sawedofforsawedoffweapon_m249orm249weapon_negevornegev
Pistols:
weapon_deagleordeagleweapon_eliteorelite(Dual Berettas)weapon_fivesevenorfivesevenweapon_glockorglockweapon_hkp2000orhkp2000weapon_p250orp250weapon_usp_silencerorusp_silencerweapon_tec9ortec9weapon_cz75aorcz75aweapon_revolverorrevolver
Grenades:
weapon_flashbangorflashbangweapon_hegrenadeorhegrenadeweapon_smokegrenadeorsmokegrenadeweapon_molotovormolotovweapon_incgrenadeorincgrenadeweapon_decoyordecoy
Equipment:
weapon_knifeorknifeweapon_taserortaseritem_defuserordefuseritem_kevlarorkevlaritem_assaultsuitorassaultsuit
Beispiele:
css_give #123 awp
css_give PlayerName ak47
css_give @ct m4a1
css_give @all deagle
---
Waffen entfernen
Remove all weapons from a player.
css_strip <#userid or name>
Berechtigung: @css/slay
Beispiele:
css_strip #123
css_strip PlayerName
css_strip @t # Disarm all terrorists
---
HP setzen
Set a player's health.
css_hp <#userid or name> <health>
Berechtigung: @css/slay
Parameters:
health- Health amount (1-999+)
Beispiele:
css_hp #123 100 # Full health
css_hp PlayerName 200 # 200 HP
css_hp @all 1 # 1 HP everyone
Common values:
1- 1 HP (one-shot mode)100- Normal health200- Double health500- Tank mode
---
Geschwindigkeit setzen
Modify a player's movement speed.
css_speed <#userid or name> <speed>
Berechtigung: @css/slay
Parameters:
speed- Speed multiplier (0.1 - 10.0)1.0= Normal speed2.0= Double speed0.5= Half speed
Beispiele:
css_speed #123 1.5 # 50% faster
css_speed PlayerName 0.5 # Slow motion
css_speed @all 2.0 # Everyone fast
css_speed #123 1.0 # Reset to normal
Common values:
0.5- Slow motion mode1.0- Normal (reset)1.5- Fast mode2.0- Super fast3.0- Extremely fast
---
Schwerkraft setzen
Modify a player's gravity.
css_gravity <#userid or name> <gravity>
Berechtigung: @css/slay
Parameters:
gravity- Gravity multiplier (0.1 - 10.0)1.0= Normal gravity0.5= Moon jump2.0= Heavy
Beispiele:
css_gravity #123 0.5 # Moon jump
css_gravity PlayerName 0.1 # Super jump
css_gravity @all 2.0 # Heavy gravity
css_gravity #123 1.0 # Reset to normal
Common values:
0.1- Super high jumps0.5- Moon gravity1.0- Normal (reset)2.0- Heavy/fast falling
---
Geld setzen
Set a player's money amount.
css_money <#userid or name> <amount>
Berechtigung: @css/slay
Parameters:
amount- Money amount (0-65535)
Beispiele:
css_money #123 16000 # Max money
css_money PlayerName 0 # Remove all money
css_money @ct 10000 # Give all CTs $10,000
---
Spielergröße ändern
Change a player's model size.
css_resize <#userid or name> <scale>
Berechtigung: @css/slay
Parameters:
scale- Size scale (0.1 - 10.0)1.0= Normal size0.5= Half size2.0= Double size
Beispiele:
css_resize #123 0.5 # Tiny player
css_resize PlayerName 2.0 # Giant player
css_resize #123 1.0 # Reset to normal
Common values:
0.5- Tiny mode1.0- Normal (reset)1.5- Big2.0- Giant
---
Konfiguration
Konfiguration file location:
addons/counterstrikesharp/configs/plugins/CS2-SimpleAdmin_FunCommands/CS2-SimpleAdmin_FunCommands.json
Standardkonfiguration
{
"Version": 1,
"GodCommands": ["css_god", "css_godmode"],
"NoclipCommands": ["css_noclip"],
"FreezeCommands": ["css_freeze"],
"UnfreezeCommands": ["css_unfreeze"],
"RespawnCommands": ["css_respawn"],
"GiveCommands": ["css_give"],
"StripCommands": ["css_strip"],
"HpCommands": ["css_hp"],
"SpeedCommands": ["css_speed"],
"GravityCommands": ["css_gravity"],
"MoneyCommands": ["css_money"],
"ResizeCommands": ["css_resize"]
}
Customizing Befehle
Add aliases:
"GodCommands": ["css_god", "css_godmode", "css_immortal"]
Disable feature:
"GodCommands": []
Rename command:
"NoclipCommands": ["css_fly"]
---
Admin-Menü-Integration
The module automatically adds a "Fun Befehle" category to the admin menu with these options:
- Godmode
- Noclip
- Einfrieren
- Respawn
- Waffe geben
- Waffen entfernen
- HP setzen
- Geschwindigkeit setzen
- Schwerkraft setzen
- Geld setzen
- Spielergröße ändern
Access menu:
css_admin # Navigate to "Fun Commands"
---
Berechtigungssystem
Berechtigung Override
Admins can override command permissions using CounterStrikeSharp's admin system.
Beispiel: If you want VIPs to use god mode:
- In admin config, add permission override for
css_god:
``json { "css_god": ["@css/vip"] } ``
- VIPs will now see God Mode in the menu
---
Berechtigungen Required
| Befehl | Default Berechtigung | Description |
|---|---|---|
css_god | @css/cheats | God mode |
css_noclip | @css/cheats | No clip |
css_freeze | @css/slay | Freeze players |
css_unfreeze | @css/slay | Unfreeze players |
css_respawn | @css/cheats | Respawn players |
css_give | @css/cheats | Give weapons |
css_strip | @css/slay | Strip weapons |
css_hp | @css/slay | Set health |
css_speed | @css/slay | Set speed |
css_gravity | @css/slay | Set gravity |
css_money | @css/slay | Set money |
css_resize | @css/slay | Resize player |
---
Anwendungsfälle
Fun-Runden
# Low gravity, high speed round
css_gravity @all 0.3
css_speed @all 1.5
# One-shot mode
css_hp @all 1
css_give @all deagle
# Tiny players
css_resize @all 0.5
Admin Events
# Hide and seek (seekers)
css_speed @ct 1.5
css_hp @ct 200
# Hide and seek (hiders)
css_resize @t 0.5
css_speed @t 0.8
Tests & Debug
# Test map navigation
css_noclip @me
css_god @me
# Test weapon balance
css_give @me awp
css_hp @me 100
---
Bewährte Vorgehensweisen
Competitive Balance
- Don't use during serious matches - Breaks game balance
- Announce fun rounds - Let players know it's for fun
- Reset after use - Return to normal settings
- Save for appropriate times - End of night, special events
Reset Befehle
Always reset modifications after fun rounds:
css_speed @all 1.0
css_gravity @all 1.0
css_resize @all 1.0
Berechtigung Management
- Limit @css/cheats - Only trusted admins
- @css/slay is safer - For HP/speed/gravity
- Monitor usage - Check logs for abuse
---
Fehlerbehebung
Speed/Gravity not persisting
Solution:
- These are maintained by a repeating timer
- If they reset, reapply them
- Check Serverkonsole for timer errors
God mode not working
Check:
- Is player alive?
- Check console for errors
- Try toggling off and on
Can't give weapons
Check:
- Correct weapon name
- Spieler is alive
- Spieler has inventory space
Noclip doesn't work
Check:
- Spieler must be alive
- sv_cheats doesn't need to be enabled
- Check console for errors
---
Modulentwicklung
This module serves as a reference implementation for creating CS2-SimpleAdmin modules.
Key concepts demonstrated:
- Befehl registration from configuration
- Menü creation with SimpleAdmin API
- Per-player translation support
- Proper cleanup on module unload
- Code organization using partial classes
View source code for implementation details.
---
Übersetzungen
The module includes translations for 13 languages:
- English (en)
- Polish (pl)
- Russian (ru)
- Portuguese (pt)
- And 9 more...
Translation files location:
plugins/CS2-SimpleAdmin_FunCommands/lang/
---
Related Dokumentation
- Spielerbefehle - Core player commands
- Modulentwicklung - Create your own modules
- API Reference - CS2-SimpleAdmin API
---
Version History
v1.0.0 - Initial release
- God mode
- Noclip
- Freeze/Unfreeze
- Respawn
- Give/Strip weapons
- HP/Speed/Gravity/Money
- Resize player
- Admin menu integration
- 13 language support
---
Support
Issues: GitHub Issues
Questions: GitHub Discussions