Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [MP/ZM] Black Ops II Chat Commands

[MP/ZM] Black Ops II Chat Commands

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
17 Posts 9 Posters 6.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Resxtundefined Online
    Resxtundefined Online
    Resxt Plutonium Staff
    wrote on last edited by
    #1

    Hey,

    I took some time to work on a chat commands script and I decided that it's good enough to release it.
    The idea behind this is to split the core system and each command in separate files to make it easy to work with, both for the end user and for developers (or people trying to create their own commands)

    The main script called chat_commands provides most of what's used by other commands.
    It does all the chat handling, the permission system, handles the errors, provides the utils functions that each command can use and so on.

    Each command has its own file which makes it very easy to configure, to pick the ones you want, to review and edit their code and even to create your own.

    It works both in custom games and on dedicated servers and it also supports both MP and ZM.


    Feel free to request any feature/improvement you would like to see added or to ask for commands to be added.
    Feedback and bug/issue reports are also appreciated.

    Thanks to LKurama for helping me testing!


    6a353a87-a16d-47f1-bb98-8b8e89529e54-image.png

    fe7d3073-9e7b-4a20-ba46-82575066c4f2-image.png

    75483511-3320-4b69-9dc8-486aed79a2a6-image.png

    c6ff1424-e105-4ca6-aaba-ab81c888d19d-image.png

    8c40b6e9-1769-4cc2-b829-9723b29adf91-image.png


    All information and downloads on my Github repository
    For any information regarding how to download or install scripts go to the root of the repository


    This chat commands system is also available on MW3.
    If you're interested just click on the icon below

    a9e99b6e-c311-408f-b7cf-469855cf5a1b-image.png

    Lemonundefined CaralloCheirentoundefined 2 Replies Last reply
    8
    • A Former User? Offline
      A Former User? Offline
      A Former User
      wrote on last edited by
      #2

      Very interesting, Resxt.

      1 Reply Last reply
      0
      • Lemonundefined Offline
        Lemonundefined Offline
        Lemon Contributor
        replied to Resxt on last edited by
        #3

        Resxt it gives me script errors

        Resxtundefined 1 Reply Last reply
        0
        • Resxtundefined Online
          Resxtundefined Online
          Resxt Plutonium Staff
          replied to Lemon on last edited by Resxt
          #4

          Lemonn_ you most likely installed chat_commands in mp or zm and didn't update the includes accordingly.
          I'll update the readme soon to explain that

          Edit: readme updated

          1 Reply Last reply
          0
          • Bodnjenieundefined Offline
            Bodnjenieundefined Offline
            Bodnjenie
            wrote on last edited by
            #5

            how do i set permissions i have enabled "_permission_enabled" but dont no were to add myname to this "cc_permission_4"

            1 Reply Last reply
            0
            • Excitingtronundefined Offline
              Excitingtronundefined Offline
              Excitingtron
              wrote on last edited by
              #6

              Cant figure out how to give myself permissions. I get a script compile error. What is the correct way to implement? Currently I have set cc_permission_4 : myusername in the chat commands GSC in the InitChatCommandDvar is this the right spot?

              Resxtundefined 1 Reply Last reply
              0
              • Resxtundefined Online
                Resxtundefined Online
                Resxt Plutonium Staff
                replied to Excitingtron on last edited by
                #7

                Excitingtron "a script error" is very vague, can't really help here.
                If you get an error without editing any of the scripts then I assume you didn't follow the install instructions and didn't read the instructions for when you don't either.

                The chat_commands.gsc script is made to be placed in the scripts folder.
                If you place it in scripts\mp or scripts\zm then you need to edit the include of all the command script you add

                Read the [IMPORTANT] part
                https://github.com/Resxt/Plutonium-T6-Scripts/tree/main/chat_commands#chat_commandsgsc


                If this is not the issue then you will need to provide more details like a screenshot of the error.

                As for the permission you can do it several ways and it depends on if you're using a server or custom games.
                You can either edit the CFG of your server or add SetDvar("cc_permission_4", "Resxt"); at the very bottom of this function
                https://github.com/Resxt/Plutonium-T6-Scripts/blob/main/chat_commands/chat_commands.gsc#L34
                Also please note that like explained on the repository the permission system is disabled by default to make it easier for beginners
                You will need to change cc_permission_enabled to 1 as well

                1 Reply Last reply
                0
                • CaralloCheirentoundefined Offline
                  CaralloCheirentoundefined Offline
                  CaralloCheirento
                  replied to Resxt on last edited by
                  #8

                  Resxt hi, i correctly installed the scripts (i think), and the game console says that they're successfully loaded into the game, but only the ones with "cc_" can be enabled. When i enter the prefix ones, the game says "unknown command". Do you have any idea what am i doing wrong?

                  1 Reply Last reply
                  0
                  • RYNO7965undefined Offline
                    RYNO7965undefined Offline
                    RYNO7965
                    wrote on last edited by
                    #9

                    Does this not work anymore? God and Ufo are stuck on off and the !setpoints commands doesn't work at all. Any one else having issues?

                    Resxtundefined 2 Replies Last reply
                    0
                    • Resxtundefined Online
                      Resxtundefined Online
                      Resxt Plutonium Staff
                      replied to RYNO7965 on last edited by Resxt
                      #10

                      RYNO7965 the latest Plutonium update introduced issues with the compiler.
                      Before that update and since my chat commands release everything has been working fine and I didn't make any change.

                      So the only thing to do is revert back to the previous Plutonium version (no I can't help with this) or wait for Plutonium to push an update that reverts the changes they made to the compiler.

                      Maybe you can try compiling all the chat commands you use including the main file with gsc-tool and see how it goes, might work.

                      1 Reply Last reply
                      0
                      • Resxtundefined Online
                        Resxtundefined Online
                        Resxt Plutonium Staff
                        replied to RYNO7965 on last edited by
                        #11

                        RYNO7965 Plutonium pushed the update. I tried it again and it works like before (version r3613)

                        1 Reply Last reply
                        0
                        • Resxtundefined Online
                          Resxtundefined Online
                          Resxt Plutonium Staff
                          wrote on last edited by
                          #12

                          I just pushed chat_commands 1.1.2 that allows you to type the beginning of a player's name instead of having to always type his full name. It's a small update but it will make it a lot better to use now so I recommend that you update chat_commands.gsc to get that feature

                          1 Reply Last reply
                          0
                          • Sxbotageundefined Offline
                            Sxbotageundefined Offline
                            Sxbotage
                            wrote on last edited by
                            #13

                            is there a script like this for t5 zm

                            Resxtundefined 1 Reply Last reply
                            0
                            • Resxtundefined Online
                              Resxtundefined Online
                              Resxt Plutonium Staff
                              replied to Sxbotage on last edited by
                              #14

                              God Himself not to my knowledge but this should be doable. I won't make it tho

                              1 Reply Last reply
                              0
                              • Draakoorundefined Draakoor referenced this topic on
                              • poseid0n420undefined Offline
                                poseid0n420undefined Offline
                                poseid0n420
                                wrote on last edited by
                                #15

                                There is a way to make commands private? When I write any command it’s sent on public chat everyone can see it. Thanks!

                                Resxtundefined 1 Reply Last reply
                                0
                                • Resxtundefined Online
                                  Resxtundefined Online
                                  Resxt Plutonium Staff
                                  replied to poseid0n420 on last edited by
                                  #16

                                  poseid0n420 Put a / before your message, it should hide it while still sending the message/command

                                  poseid0n420undefined 1 Reply Last reply
                                  0
                                  • poseid0n420undefined Offline
                                    poseid0n420undefined Offline
                                    poseid0n420
                                    replied to Resxt on last edited by
                                    #17

                                    Resxt said in [MP/ZM] Black Ops II Chat Commands:

                                    poseid0n420 Put a / before your message, it should hide it while still sending the message/command

                                    thanks!

                                    1 Reply Last reply
                                    0

                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Donate