1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

You can now use common admin commands via console.

Discussion in 'Discussion' started by Mr. Meow, Oct 12, 2014.

  1. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    I've just pushed an update to main Clockwork repo, that will allow server owners to use certain admin commands right from the server console or RCon.
    Just use "cwc COMMAND ARGUMENTS".

    Here's the list of all available commands:
    cwc COMMAND <ARGUMENTS> (EXAMPLE)

    Sets Player's Usergroup:
    cwc setgroup <player> <group> (bot admin)

    Demotes player to user:
    cwc demote <player> (bot)

    Sets player's cash to certain amount:
    cwc setcash <player> <amount> (bot 1000)

    Adds player to certain whitelist:
    cwc whitelist <player> <whitelist> (bot "Metropolice Force")

    Removes player from certain whitelist:
    cwc unwhitelist <player> <whitelist> (bot "Metropolice Force")

    Bans player:
    cwc ban <player> <duration> <reason> (bot 0 cuz I can)

    Kicks player:
    cwc kick <player> <reason> (bot cuz I can)

    Sets player's character name:
    cwc setname <player> <name> (bot "Best Bot Ever")

    Sets player's character model:
    cwc setmodel <player> <model> (bot models/Humans/Group01/Male_01.mdl)

    Restarts the map:
    cwc restart <delay> (10)

    Gives flags to player:
    cwc giveflags <player> <flags> (bot ept)

    Takes flags from player:
    cwc takeflags <player> <flags> (bot ept)

    [​IMG]


    It's currently awfully written, but I will rewrite it eventually.
     
    • Agree Agree x 1
  2. duck

    duck Phant0m Legend

    Why update the Git if it's not properly written.
     
  3. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Why not? I want to let people use and enjoy it, while rewriting it to be cleaner for developer.
     
  4. duck

    duck Phant0m Legend

    You can release a temporary plugin lol.
     
    • Box Box x 1
  5. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Why making it plugin if there's no actual need to disable it? It works, and works well for average end user.
     
  6. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    It is flawless though. I would have never pushed not working or broken code. It's just awfully written, and if a developer will ever want to modify it, he will have much problems.
     
  7. Funky

    Funky Clockwork Customer

    When is a clean version of this going to be released? I want to be able to add my own commands. EDIT: Also can you make this so I can give it to people via their STEAM ID so they can receive stuff while offline?
     

Previous Readers (Total: 0)