📁 Files & Database

Description about the Proxy files of ControlX.

Config

The file config.yml is the main file of the plugin, there are many option that you can change how you want.

The options are described directly in the file.

config.yml
#     ____            _             ___  __
#    / ___|___  _ __ | |_ _ __ ___ | \ \/ /
#   | |   / _ \| '_ \| __| '__/ _ \| |\  /
#   | |__| (_) | | | | |_| | | (_) | |/  \
#    \____\___/|_| |_|\__|_|  \___/|_/_/\_\
#
# Mady by TWProject ❤️ [DavideTW,RobyFasa]
#
# DISCORD: https://discord.tw-project.it/
# DOCS: https://docs.tw-project.it/
#

# ---------------------------------------- #
#                                          #
#           LICENSE & DATABASE             #
#                                          #
# ---------------------------------------- #

license: "null" # The license of the plugin, if you dont have it, contact us in our Discord.

database:
  MySQL:
    host: "localhost"
    database: "ControlX"
    username: "username"
    password: "password"
    port: 3306

# ---------------------------------------- #
#                                          #
#               MAIN OPTION                #
#                                          #
# ---------------------------------------- #

control:
  server: DEFAULT # Name of the ScreenShare Server
  command:
    deny: true # true if you want to deny command in ScreenShare
    alias: # Alias of command /Control, without /
      - ss
    whitelist: # List of the command whitelisted in ScreenShare
      - /Invsee
    disconnect: # The commands executed from the console if a "hacker" disconnect while control, set to - "" if you want to disable this
      - "ban %hacker% Slog from hack control"

return:
  staffer: true # true if you want to send back the staffer at the server he was ( on command /Finish or on an eventual slog of the player checked )
  hacker: true # true if you want to send back the player checked at the server he was( on command /Finish of the staffer )

# ---------------------------------------- #
#                                          #
#            TITLE & SUBTITLE              #
#                                          #
# ---------------------------------------- #

title:
  enabled: true # true if you want to enable the title in the Screen of the player checked.
  title: '&4Hack Control!' # The message of the title, ChatColor enabled
  subtitle: "&cDon't slog!" # The message of the subTitle, ChatColor enabled
  stay: 100 # in Ticks
  fadein: 10
  fadeout: 10

# ---------------------------------------- #
#                                          #
#              SAVING DATA                 #
#                                          #
# ---------------------------------------- #

save:
  control-info: true # true if you want to save information ( like date,duration etc ) of ScreenShare

Messages

The file messages.yml is the file that contains all the messages from the plugin. There are 2 avaiable translation by default, you can change it in the file config.yml.

You can translate every message how you want, but by default the plugin create the file messages in English.

If you want to select the other language, change it, delete the file messages.yml and restart the proxy.

Last updated

Was this helpful?