Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed css_admin command to open the admin menu #49

Merged
merged 55 commits into from
Feb 13, 2024

Conversation

Dliix66
Copy link
Contributor

@Dliix66 Dliix66 commented Jan 31, 2024

⚠️This is still WORK IN PROGRESS !

New features:

  • Move help command to css_adminhelp
  • css_admin now opens a menu
    • Manage Players
      • Slap
      • Slay
      • Kick
      • Ban
      • Gag
      • Mute
      • Silence
      • Force Team
    • Manage Server
      • Change Map
      • Restart Game
    • Fun Actions
      • Give
      • Strip
      • HP
      • God
      • Noclip
      • Freeze
      • Unfreeze
      • Respawn
      • Speed
    • Manage Admins
      • Add Admin
      • Remove Admin
      • Reload admins
  • Added French localization for the already existing keys

Fixes:

  • Changed css_who code to ease the update and answer to the command
  • Fixed Slap not updating HP on the target
  • Fixed css_hp using the give/remove weapon hack to update HUD
  • Fixed Slap causing aim to be reset on every instance
  • Added css_restart to restart the game (css_restartgame, css_rr, css_rg)
  • Fixed Kick targets

Config updates:

  • Added DefaultMaps and WorkshopMaps to add maps available in the menu (as we can’t get full list automatically yet)
  • Added UseChatMenu to select what type of menu you would like to avoid conflicts with other mods (Chat or CenterHTML)

Please note:

  • I do not add 'rare' commands such as ban from ID, unban... etc
  • It will require some new localisation keys
  • Menus should be respecting the immunity and flags, but I did not test all possibilities

Examples:

image
image
image
image

@daffyyyy
Copy link
Owner

Waiting for #48 first

@daffyyyy daffyyyy merged commit 5b36a5f into daffyyyy:main Feb 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants