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

---

Installation

Voraussetzungen

Install Steps

  1. Herunterladen the module from releases
  1. Extract to your server:
  2. `` game/csgo/addons/counterstrikesharp/plugins/CS2-SimpleAdmin_FunCommands/ ``

  1. Neustart your server or reload plugins:
  2. `` css_plugins reload ``

  1. Verify the module loaded:

---

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:

---

Noclip

Enable noclip mode (fly through walls).

css_noclip <#userid or name>

Berechtigung: @css/cheats

Beispiele:

css_noclip #123
css_noclip PlayerName

Effects:

---

Einfrieren

Freeze a player in place.

css_freeze <#userid or name> [duration]

Berechtigung: @css/slay

Parameters:

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:

---

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:

---

Waffe geben

Give a weapon to a player.

css_give <#userid or name> <weapon>

Berechtigung: @css/cheats

Weapon names:

Rifles:

SMGs:

Heavy:

Pistols:

Grenades:

Equipment:

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:

Beispiele:

css_hp #123 100    # Full health
css_hp PlayerName 200  # 200 HP
css_hp @all 1      # 1 HP everyone

Common values:

---

Geschwindigkeit setzen

Modify a player's movement speed.

css_speed <#userid or name> <speed>

Berechtigung: @css/slay

Parameters:

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:

---

Schwerkraft setzen

Modify a player's gravity.

css_gravity <#userid or name> <gravity>

Berechtigung: @css/slay

Parameters:

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:

---

Geld setzen

Set a player's money amount.

css_money <#userid or name> <amount>

Berechtigung: @css/slay

Parameters:

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:

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:

---

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:

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:

  1. In admin config, add permission override for css_god:
  2. ``json { "css_god": ["@css/vip"] } ``

  1. VIPs will now see God Mode in the menu

---

Berechtigungen Required

BefehlDefault BerechtigungDescription
css_god@css/cheatsGod mode
css_noclip@css/cheatsNo clip
css_freeze@css/slayFreeze players
css_unfreeze@css/slayUnfreeze players
css_respawn@css/cheatsRespawn players
css_give@css/cheatsGive weapons
css_strip@css/slayStrip weapons
css_hp@css/slaySet health
css_speed@css/slaySet speed
css_gravity@css/slaySet gravity
css_money@css/slaySet money
css_resize@css/slayResize 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

  1. Don't use during serious matches - Breaks game balance
  2. Announce fun rounds - Let players know it's for fun
  3. Reset after use - Return to normal settings
  4. 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

  1. Limit @css/cheats - Only trusted admins
  2. @css/slay is safer - For HP/speed/gravity
  3. Monitor usage - Check logs for abuse

---

Fehlerbehebung

Speed/Gravity not persisting

Solution:

God mode not working

Check:

Can't give weapons

Check:

Noclip doesn't work

Check:

---

Modulentwicklung

This module serves as a reference implementation for creating CS2-SimpleAdmin modules.

Key concepts demonstrated:

View source code for implementation details.

---

Übersetzungen

The module includes translations for 13 languages:

Translation files location:

plugins/CS2-SimpleAdmin_FunCommands/lang/

---

---

Version History

v1.0.0 - Initial release

---

Support

Issues: GitHub Issues

Questions: GitHub Discussions