Player Chatcontrol

Chat through a player

Total Downloads: 1,537 - First Release: Mar 29, 2015 - Last Update: Jun 4, 2015

4.5/5, 8 likes
  1. how ? this would be realy helpfull !
     
  2. it would need an extra plugin/function tho.
     
  3. Any chance you could help with that ? it is the only thing that i would need to continue/finish the work on my Survival Deathmatch mode.
     
  4. how do you want to call that? As a console command? Chat command? or what
     
  5. console command would be the best. since i would run a TimedExectute to send the /rank and /top to all Players at the end of the round
     
  6. ok.
    create a .cs file with the following code & the name "CommandToAll.cs"
    Code:
    using Rust;namespace Oxide.Plugins
    {
        [Info("Command to all", "LaserHydra", "0.0.0")]
        class CommandToAll : RustPlugin
        {
            [ConsoleCommand("cmd")]
            void cmdCallCommand(CommandSystem.Arg arg)
            {
                string command = arg.GetString(0, "command");
                player.SendConsoleCommand("chat.say /" + command);
            }
        }
    }
    
    call it with the console command
    cmd rank
    or cmd stats
    or such then
     
    Last edited by a moderator: Aug 11, 2015
  7. wow... thanks !
    [DOUBLEPOST=1439302255][/DOUBLEPOST]Hey... I tried to use it in a plugin file but somehow its not working ? HAve you tested it ? or could you maybe send me the file ?
     
  8. check for an error in the logs/console
     
  9. Hydra can you add console command for this plugin instead of /chat, use chat "player" "chat" in console
     
  10. command prolly gonna be
    player.chat <Player> <Text>
     
  11. so this doesnt work anymore.
     
  12. Wulf

    Wulf Community Admin

    Could you provide any details, errors, etc?
     
  13. nope. i do /chat "name" "text" and nothing pops up, no errors, checked the logs says its working fine and no errors
     
  14. Would be good have permission set this for current groups/users, I had to read thought the post to find out that it is set off the Auth LvL, should have that on the Overview Page!

    Other wise quite a trolly plugin! Not sure what else I would use this for!
     
  15. Could we add permission to this!?!
     
  16. LaserHydra. I would really love to see this feature! If i can make the player say something/run a command through console, that would be awesome! Also instead of simply just names, can you add support for steam64 id?
     
  17. anyway to add a perm system so i can grant to players
     
  18. Please update this plugin.
    Don't get a config file.