Spielerbefehle
Befehle for managing and manipulating players on your server.
Many of these commands are included in the base plugin. For extended fun commands (god mode, noclip, freeze, etc.), see the Fun-Befehle-Modul.
Spielerverwaltung
Slay Spieler
Kill a player instantly.
css_slay <#userid or name>
Berechtigung: @css/slay
Beispiele:
css_slay #123
css_slay PlayerName
css_slay @ct # Slay all CTs
css_slay @t # Slay all terrorists
Use cases:
- Punishment for rule breaking
- Ending rounds quickly
- Removing camping players
---
Slap Spieler
Slap a player, dealing damage and pushing them.
css_slap <#userid or name> [damage]
Berechtigung: @css/slay
Parameters:
damage- HP damage to deal (default: 0)
Beispiele:
css_slap #123 # Slap with no damage
css_slap PlayerName 10 # Slap for 10 HP damage
css_slap @all 5 # Slap everyone for 5 damage
Effects:
- Spieler is pushed in a random direction
- Optional damage dealt
- Makes slap sound
Use cases:
- Funny punishment
- Getting player attention
- Moving AFK players
---
Spieler Attributes
Set Spieler Health
Set a player's health points.
css_hp <#userid or name> <health>
Berechtigung: @css/slay
Beispiele:
css_hp #123 100 # Set to full health
css_hp PlayerName 1 # Set to 1 HP
css_hp @ct 200 # Give all CTs 200 HP
Valid range: 1 - 999+
---
Set Spieler Speed
Modify a player's movement speed.
css_speed <#userid or name> <speed>
Berechtigung: @css/slay
Parameters:
speed- Speed multiplier (1.0 = normal, 2.0 = double speed, 0.5 = half speed)
Beispiele:
css_speed #123 1.5 # 150% speed
css_speed PlayerName 0.5 # 50% speed (slow motion)
css_speed @all 2.0 # Double speed for everyone
css_speed #123 1.0 # Reset to normal speed
Common values:
0.5- Slow motion1.0- Normal (default)1.5- Fast2.0- Very fast3.0- Extremely fast
Note: Speed persists across respawns until reset.
---
Set Spieler Gravity
Modify a player's gravity.
css_gravity <#userid or name> <gravity>
Berechtigung: @css/slay
Parameters:
gravity- Gravity multiplier (1.0 = normal, 0.5 = moon jump, 2.0 = heavy)
Beispiele:
css_gravity #123 0.5 # Moon jump
css_gravity PlayerName 2.0 # Heavy gravity
css_gravity @all 0.1 # Super jump for everyone
css_gravity #123 1.0 # Reset to normal
Common values:
0.1- Super high jumps0.5- Moon gravity1.0- Normal (default)2.0- Heavy/fast falling
Note: Gravity persists across respawns until reset.
---
Set Spieler Money
Set a player's money amount.
css_money <#userid or name> <amount>
Berechtigung: @css/slay
Beispiele:
css_money #123 16000 # Max money
css_money PlayerName 0 # Remove all money
css_money @ct 10000 # Give all CTs $10,000
Valid range: 0 - 65535 (CS2 engine limit)
---
Team Management
Switch Spieler Team
Move a player to a different team.
css_team <#userid or name> [ct/t/spec] [-k]
Berechtigung: @css/kick
Parameters:
ct- Counter-Terrorist teamt- Terrorist teamspec- Spectators-k- Kill player during switch (optional)
Beispiele:
css_team #123 ct # Move to CT
css_team PlayerName t # Move to T
css_team @spec t # Move all spectators to T
css_team #123 ct -k # Move to CT and kill
Konfiguration:
"TeamSwitchType": 1
Determines team switch behavior.
---
Rename Spieler
Temporarily rename a player.
css_rename <#userid or name> <new name>
Berechtigung: @css/kick
Beispiele:
css_rename #123 "NewName"
css_rename PlayerName "RenamedPlayer"
css_rename @all "Everyone"
Notes:
- Rename is temporary (resets on reconnect)
- For permanent rename, use
css_prename
---
Permanent Rename
Permanently force a player's name.
css_prename <#userid or name> <new name>
Berechtigung: @css/ban
Beispiele:
css_prename #123 "EnforcedName"
css_prename PlayerName "NewIdentity"
Notes:
- Name is enforced even after reconnect
- Stored in database
- Spieler cannot change it
- Useful for offensive names
---
Weapon Management
Waffe geben
Give a weapon to a player.
css_give <#userid or name> <weapon>
Berechtigung: @css/cheats
Weapon names:
- Rifles:
ak47,m4a1,m4a1_silencer,aug,sg556,awp - SMGs:
mp5sd,mp7,mp9,p90,ump45 - Heavy:
nova,xm1014,mag7,m249,negev - Pistols:
deagle,elite,fiveseven,glock,hkp2000,p250,tec9,usp_silencer - Grenades:
flashbang,hegrenade,smokegrenade,molotov,incgrenade,decoy - Equipment:
kevlar,assaultsuit,defuser,knife
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
Effects:
- Removes all weapons
- Leaves player with knife only
- Removes grenades and equipment
---
Teleportation
Teleport to Spieler
Teleport yourself to another player.
css_tp <#userid or name>
css_tpto <#userid or name>
css_goto <#userid or name>
Berechtigung: @css/kick
Beispiele:
css_tp #123
css_goto PlayerName
Use cases:
- Checking player behavior
- Admin help
- Spectating suspicious players
---
Teleport Spieler to You
Bring a player to your location.
css_bring <#userid or name>
css_tphere <#userid or name>
Berechtigung: @css/kick
Beispiele:
css_bring #123
css_tphere PlayerName
css_bring @all # Bring everyone to you
Use cases:
- Moving stuck players
- Gathering players
- Admin events
---
Respawn Spieler
Respawn a dead player.
css_respawn <#userid or name>
Berechtigung: @css/cheats
Beispiele:
css_respawn #123
css_respawn PlayerName
css_respawn @ct # Respawn all dead CTs
Notes:
- Spieler spawns at spawn point
- Equipped with default weapons
- Can break competitive balance
---
Spieler-Auswahl
All player commands support advanced targeting:
Target Syntax
@all- All players@ct- All Counter-Terrorists@t- All Terrorists@spec- All spectators@alive- All alive players@dead- All dead players@bot- All bots@human- All human players@me- Yourself#123- Specific user IDPlayerName- By name (partial match supported)
Multiple Targets
css_slay @ct # Kills all CTs
css_hp @all 200 # Give everyone 200 HP
css_speed @t 2.0 # Make all Ts fast
---
Benötigte Berechtigungen
| Befehl | Required Berechtigung | Description |
|---|---|---|
css_slay | @css/slay | Kill players |
css_slap | @css/slay | Slap players |
css_hp | @css/slay | Set health |
css_speed | @css/slay | Modify speed |
css_gravity | @css/slay | Modify gravity |
css_money | @css/slay | Set money |
css_team | @css/kick | Change team |
css_rename | @css/kick | Temporary rename |
css_prename | @css/ban | Permanent rename |
css_give | @css/cheats | Give weapons |
css_strip | @css/slay | Remove weapons |
css_tp | @css/kick | Teleport to player |
css_bring | @css/kick | Bring player |
css_respawn | @css/cheats | Respawn players |
---
Bewährte Vorgehensweisen
Punishment Befehle
Slay:
- Use for rule violations
- Better than kick for minor issues
- Allows player to stay and learn
Slap:
- Lighter punishment
- Good for warnings
- Can be funny/entertaining
Gameplay Modification
HP/Speed/Gravity:
- Use for events/fun rounds
- Don't abuse during competitive play
- Reset to normal after use
Respawn:
- Very disruptive to gameplay
- Use sparingly
- Good for fixing bugs/mistakes
Team Management
Team switching:
- Balance teams fairly
- Don't abuse for winning
- Use
-kflag for competitive integrity
---
Konfiguration
Team Switch Behavior
"TeamSwitchType": 1
Controls how team switching works.
---
Fehlerbehebung
Speed/Gravity not persisting
Solution: These are maintained by a timer. If they reset:
- Check Serverkonsole for errors
- Ensure plugin is loaded correctly
- Try reapplying the modification
Can't teleport
Check:
- Target player is connected
- You have correct permissions
- Both players are valid
Give weapon not working
Check:
- Weapon name is correct
- Spieler is alive
- Spieler has inventory space
---
Verwandte Befehle
- Fun-Befehle-Modul - Extended fun commands (freeze, god mode, noclip)
- Ban-Befehle - Punishment commands
- Basisbefehle - Server management