Automated updated process of shell scripts and DOT Files (gentooamd)
This commit is contained in:
parent
a00eda5a97
commit
b49d403167
@ -2,9 +2,9 @@
|
||||
# detailed example.
|
||||
|
||||
# For troubleshooting build issues
|
||||
#COMMON_FLAGS="-march=native -O2 -pipe"
|
||||
COMMON_FLAGS="-march=native -O2 -pipe"
|
||||
|
||||
COMMON_FLAGS="-march=znver4 -O2 -pipe"
|
||||
# COMMON_FLAGS="-march=znver4 -O2 -pipe"
|
||||
CFLAGS="${COMMON_FLAGS}"
|
||||
CXXFLAGS="${COMMON_FLAGS}"
|
||||
FCFLAGS="${COMMON_FLAGS}"
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
#sys-devel/gcc ~amd64
|
||||
#=sys-devel/gcc-14.2.1_p20240817 ~amd64
|
||||
=sys-devel/gcc-15.2.0 ~amd64
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
dev-libs/granite ~amd64
|
||||
gui-libs/gtk4-layer-shell ~amd64
|
||||
@ -1 +1,2 @@
|
||||
virtual/dist-kernel::xarblu-overlay
|
||||
virtual/dist-kernel::gentoo-zh
|
||||
|
||||
1
Gentoo/gentooamd/etc/portage/package.mask/lutris
Normal file
1
Gentoo/gentooamd/etc/portage/package.mask/lutris
Normal file
@ -0,0 +1 @@
|
||||
>app-arch/7zip-24.09
|
||||
@ -9,3 +9,4 @@
|
||||
>=media-libs/mesa-24.0.7 vaapi egl
|
||||
media-video/obs-vkcapture abi_x86_32
|
||||
#>=media-video/obs-vkcapture-1.5.1 abi_x86_32
|
||||
media-video/obs-studio sndio vlc
|
||||
|
||||
@ -1,3 +1 @@
|
||||
# required by gui-apps/swaync-0.10.1-r1::guru
|
||||
# required by swaync (argument)
|
||||
>=gui-libs/gtk-layer-shell-0.8.2 vala introspection
|
||||
gui-libs/gtk4-layer-shell introspection vala
|
||||
|
||||
@ -0,0 +1,27 @@
|
||||
# Remove files that shall not be installed from this list.
|
||||
amdgpu/dimgrey_cavefish_vcn.bin
|
||||
amdgpu/vcn_3_1_2.bin
|
||||
amdgpu/dimgrey_cavefish_smc.bin
|
||||
amdgpu/dimgrey_cavefish_dmcub.bin
|
||||
amdgpu/dimgrey_cavefish_mec2.bin
|
||||
amdgpu/gc_10_3_6_mec.bin
|
||||
amdgpu/sdma_5_2_6.bin
|
||||
amdgpu/gc_10_3_6_me.bin
|
||||
amdgpu/dimgrey_cavefish_mec.bin
|
||||
amdgpu/psp_13_0_5_toc.bin
|
||||
amdgpu/dimgrey_cavefish_ta.bin
|
||||
amdgpu/dimgrey_cavefish_me.bin
|
||||
amdgpu/gc_10_3_6_mec2.bin
|
||||
amdgpu/dimgrey_cavefish_sdma.bin
|
||||
amdgpu/dimgrey_cavefish_sos.bin
|
||||
amdgpu/gc_10_3_6_pfp.bin
|
||||
amdgpu/gc_10_3_6_rlc.bin
|
||||
amdgpu/dimgrey_cavefish_pfp.bin
|
||||
amdgpu/psp_13_0_5_ta.bin
|
||||
amdgpu/dimgrey_cavefish_rlc.bin
|
||||
amdgpu/dimgrey_cavefish_ce.bin
|
||||
amdgpu/dcn_3_1_5_dmcub.bin
|
||||
amdgpu/gc_10_3_6_ce.bin
|
||||
mediatek/WIFI_RAM_CODE_MT7922_1.bin
|
||||
mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin
|
||||
mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@
|
||||
mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin
|
||||
mediatek/WIFI_RAM_CODE_MT7922_1.bin
|
||||
mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
|
||||
mediatek/WIFI_RAM_CODE_MT7922_1.bin
|
||||
mediatek/WIFI_RAM_CODE_MT7922_1.bin
|
||||
amdgpu/dimgrey_cavefish_sos.bin
|
||||
amdgpu/dimgrey_cavefish_ta.bin
|
||||
amdgpu/dimgrey_cavefish_smc.bin
|
||||
amdgpu/dimgrey_cavefish_dmcub.bin
|
||||
amdgpu/dimgrey_cavefish_pfp.bin
|
||||
amdgpu/dimgrey_cavefish_me.bin
|
||||
amdgpu/dimgrey_cavefish_ce.bin
|
||||
amdgpu/dimgrey_cavefish_rlc.bin
|
||||
amdgpu/dimgrey_cavefish_mec.bin
|
||||
amdgpu/dimgrey_cavefish_mec2.bin
|
||||
amdgpu/dimgrey_cavefish_sdma.bin
|
||||
amdgpu/dimgrey_cavefish_vcn.bin
|
||||
amdgpu/psp_13_0_5_toc.bin
|
||||
amdgpu/psp_13_0_5_ta.bin
|
||||
amdgpu/dcn_3_1_5_dmcub.bin
|
||||
amdgpu/gc_10_3_6_pfp.bin
|
||||
amdgpu/gc_10_3_6_me.bin
|
||||
amdgpu/gc_10_3_6_ce.bin
|
||||
amdgpu/gc_10_3_6_rlc.bin
|
||||
amdgpu/gc_10_3_6_mec.bin
|
||||
amdgpu/gc_10_3_6_mec2.bin
|
||||
amdgpu/sdma_5_2_6.bin
|
||||
amdgpu/vcn_3_1_2.bin
|
||||
File diff suppressed because it is too large
Load Diff
523
Gentoo/gentooamd/home/.local/bin/MinecraftClient.backup.ini
Normal file
523
Gentoo/gentooamd/home/.local/bin/MinecraftClient.backup.ini
Normal file
@ -0,0 +1,523 @@
|
||||
# Startup Config File
|
||||
# Please do not record extraneous data in this file as it will be overwritten by MCC.
|
||||
#
|
||||
# New to Minecraft Console Client? Check out this document: https://mccteam.github.io/g/conf.html
|
||||
# Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download
|
||||
[Head]
|
||||
"Current Version" = "GitHub build 285, built on 2025-05-22 from commit f785f50"
|
||||
"Latest Version" = "GitHub build 285, built on 2025-05-22"
|
||||
|
||||
[Main]
|
||||
[Main.General]
|
||||
Account = { Login = "", Password = "" } # Login=Email or Name. Use "-" as password for offline mode. Leave blank to prompt user on startup.
|
||||
Server = { Host = "" } # The address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically)
|
||||
AccountType = "microsoft" # Account type: "mojang" OR "microsoft" OR "yggdrasil". Also affects interactive login in console.
|
||||
Method = "mcc" # Microsoft Account sign-in method: "mcc" OR "browser". If the login always fails, please try to use the "browser" once.
|
||||
AuthServer = { Host = "", Port = 443 } # Yggdrasil authlib server domain name and port.
|
||||
|
||||
# Make sure you understand what each setting does before changing anything!
|
||||
[Main.Advanced]
|
||||
EnableSentry = true # Set to false to opt-out of Sentry error logging.
|
||||
Language = "en_us" # Fill in with in-game locale code, check https://mccteam.github.io/r/l-code.html
|
||||
LoadMccTranslation = true # Load translations applied to MCC when available, turn it off to use English only.
|
||||
ConsoleTitle = "%username%@%serverip% - Minecraft Console Client"
|
||||
InternalCmdChar = "slash" # Use "none", "slash"(/) or "backslash"(\).
|
||||
MessageCooldown = 1.0 # Controls the minimum interval (in seconds) between sending each message to the server.
|
||||
BotOwners = [ "Player1", "Player2", ] # Set the owner of the bot. /!\ Server admins can impersonate owners!
|
||||
MinecraftVersion = "auto" # Use "auto" or "1.X.X" values. Allows to skip server info retrieval.
|
||||
EnableForge = "no" # Use "auto", "no" or "force". Force-enabling only works for MC 1.13+.
|
||||
BrandInfo = "mcc" # Use "mcc", "vanilla" or "none". This is how MCC identifies itself to the server.
|
||||
ChatbotLogFile = "" # Leave empty for no logfile.
|
||||
PrivateMsgsCmdName = "tell" # For remote control of the bot.
|
||||
ShowSystemMessages = true # System messages for server ops.
|
||||
ShowXPBarMessages = true # Messages displayed above xp bar, set this to false in case of xp bar spam.
|
||||
ShowChatLinks = true # Decode links embedded in chat messages and show them in console.
|
||||
ShowInventoryLayout = true # Show inventory layout as ASCII art in inventory command.
|
||||
TerrainAndMovements = false # Uses more ram, cpu, bandwidth but allows you to move around.
|
||||
MoveHeadWhileWalking = true # Enable head movement while walking to avoid anti-cheat triggers.
|
||||
MovementSpeed = 2 # A movement speed higher than 2 may be considered cheating.
|
||||
TemporaryFixBadpacket = false # Temporary fix for Badpacket issue on some servers. Need to enable "TerrainAndMovements" first.
|
||||
InventoryHandling = false # Toggle inventory handling.
|
||||
EntityHandling = false # Toggle entity handling.
|
||||
SessionCache = "disk" # How to retain session tokens. Use "none", "memory" or "disk".
|
||||
ProfileKeyCache = "disk" # How to retain profile key. Use "none", "memory" or "disk".
|
||||
ResolveSrvRecords = "fast" # Use "no", "fast" (5s timeout), or "yes". Required for joining some servers.
|
||||
PlayerHeadAsIcon = true # Only works on Windows XP-8 or Windows 10 with old console.
|
||||
ExitOnFailure = false # Whether to exit directly when an error occurs, for using MCC in non-interactive scripts.
|
||||
CacheScript = true # Cache compiled scripts for faster load on low-end devices.
|
||||
Timestamps = false # Prepend timestamps to chat messages.
|
||||
AutoRespawn = false # Toggle auto respawn if client player was dead (make sure your spawn point is safe).
|
||||
MinecraftRealms = false # Enable support for joining Minecraft Realms worlds.
|
||||
TcpTimeout = 30 # Customize the TCP connection timeout with the server. (in seconds)
|
||||
EnableEmoji = true # If turned off, the emoji will be replaced with a simpler character (for /chunk status).
|
||||
MinTerminalWidth = 16 # The minimum width used when calculating the image size from the width of the terminal.
|
||||
MinTerminalHeight = 10 # The minimum height to use when calculating the image size from the height of the terminal.
|
||||
IgnoreInvalidPlayerName = true # Ignore invalid player name
|
||||
# AccountList: It allows a fast account switching without directly using the credentials
|
||||
# Usage examples: "/tell <mybot> reco Player2", "/connect <serverip> Player1"
|
||||
[Main.Advanced.AccountList]
|
||||
AccountNikename1 = { Login = "playerone@email.com", Password = "thepassword" }
|
||||
AccountNikename2 = { Login = "TestBot", Password = "-" }
|
||||
|
||||
# ServerList: It allows an easier and faster server switching with short aliases instead of full server IP
|
||||
# Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias.
|
||||
# Usage examples: "/tell <mybot> connect Server1", "/connect Server2"
|
||||
[Main.Advanced.ServerList]
|
||||
ServerAlias1 = { Host = "mc.awesomeserver.com" }
|
||||
ServerAlias2 = { Host = "192.168.1.27", Port = 12345 }
|
||||
|
||||
|
||||
|
||||
# Chat signature related settings (affects minecraft 1.19+)
|
||||
[Signature]
|
||||
LoginWithSecureProfile = true # Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true"
|
||||
SignChat = true # Whether to sign the chat send from MCC
|
||||
SignMessageInCommand = true # Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me"
|
||||
MarkLegallySignedMsg = true # Use green color block to mark chat with legitimate signatures
|
||||
MarkModifiedMsg = true # Use yellow color block to mark chat that have been modified by the server.
|
||||
MarkIllegallySignedMsg = true # Use red color block to mark chat without legitimate signature
|
||||
MarkSystemMessage = true # Use gray color block to mark system message (always without signature)
|
||||
ShowModifiedChat = true # Set to true to display messages modified by the server, false to display the original signed messages
|
||||
ShowIllegalSignedChat = true # Whether to display chat and messages in commands without legal signatures
|
||||
|
||||
# This setting affects only the messages in the console.
|
||||
[Logging]
|
||||
DebugMessages = false # Please enable this before submitting bug reports. Thanks!
|
||||
ChatMessages = true # Show server chat messages.
|
||||
InfoMessages = true # Informative messages. (i.e Most of the message from MCC)
|
||||
WarningMessages = true # Show warning messages.
|
||||
ErrorMessages = true # Show error messages.
|
||||
ChatFilterRegex = ".*" # Regex for filtering chat message.
|
||||
DebugFilterRegex = ".*" # Regex for filtering debug message.
|
||||
FilterMode = "disable" # "disable" or "blacklist" OR "whitelist". Blacklist hide message match regex. Whitelist show message match regex.
|
||||
LogToFile = false # Write log messages to file.
|
||||
LogFile = "console-log.txt" # Log file name.
|
||||
PrependTimestamp = false # Prepend timestamp to messages in log file.
|
||||
SaveColorCodes = false # Keep color codes in the saved text.(look like "§b")
|
||||
|
||||
[Console]
|
||||
[Console.General]
|
||||
ConsoleColorMode = "vt100_24bit" # Use "disable", "legacy_4bit", "vt100_4bit", "vt100_8bit" or "vt100_24bit". If a garbled code like "←[0m" appears on the terminal, you can try switching to "legacy_4bit" mode, or just disable it.
|
||||
Display_Input = true # You can use "Ctrl+P" to print out the current input and cursor position.
|
||||
History_Input_Records = 32 # Console.General.History_Input_Records
|
||||
|
||||
# The settings for command completion suggestions.
|
||||
# Custom colors are only available when using "vt100_24bit" color mode.
|
||||
[Console.CommandSuggestion]
|
||||
Enable = true # Whether to display command suggestions in the console.
|
||||
Enable_Color = true
|
||||
Use_Basic_Arrow = false # Enable this option if the arrows in the command suggestions are not displayed properly in your terminal.
|
||||
Max_Suggestion_Width = 30
|
||||
Max_Displayed_Suggestions = 6
|
||||
Text_Color = "#f8fafc"
|
||||
Text_Background_Color = "#64748b"
|
||||
Highlight_Text_Color = "#334155"
|
||||
Highlight_Text_Background_Color = "#fde047"
|
||||
Tooltip_Color = "#7dd3fc"
|
||||
Highlight_Tooltip_Color = "#3b82f6"
|
||||
Arrow_Symbol_Color = "#d1d5db"
|
||||
|
||||
|
||||
[AppVar]
|
||||
# can be used in some other fields as %yourvar%
|
||||
# %username% and %serverip% are reserved variables.
|
||||
[AppVar.VarStirng]
|
||||
your_var = "your_value"
|
||||
"your var 2" = "your value 2"
|
||||
|
||||
|
||||
# Connect to a server via a proxy instead of connecting directly
|
||||
# If Mojang session services are blocked on your network, set Enabled_Login=true to login using proxy.
|
||||
# If the connection to the Minecraft game server is blocked by the firewall, set Enabled_Ingame=true to use a proxy to connect to the game server.
|
||||
# /!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences!
|
||||
[Proxy]
|
||||
Enabled_Update = false # Whether to download MCC updates via proxy.
|
||||
Enabled_Login = false # Whether to connect to the login server through a proxy.
|
||||
Enabled_Ingame = false # Whether to connect to the game server through a proxy.
|
||||
Server = { Host = "0.0.0.0", Port = 8080 } # Proxy server must allow HTTPS for login, and non-443 ports for playing.
|
||||
Proxy_Type = "HTTP" # Supported types: "HTTP", "SOCKS4", "SOCKS4a", "SOCKS5".
|
||||
Username = "" # Only required for password-protected proxies.
|
||||
Password = "" # Only required for password-protected proxies.
|
||||
|
||||
# Settings below are sent to the server and only affect server-side things like your skin.
|
||||
[MCSettings]
|
||||
Enabled = true # If disabled, settings below are not sent to the server.
|
||||
Locale = "en_US" # Use any language implemented in Minecraft.
|
||||
RenderDistance = 8 # Value range: [0 - 255].
|
||||
Difficulty = "peaceful" # MC 1.7- difficulty. "peaceful", "easy", "normal", "difficult".
|
||||
ChatMode = "enabled" # Use "enabled", "commands", or "disabled". Allows to mute yourself...
|
||||
ChatColors = true # Allows disabling chat colors server-side.
|
||||
MainHand = "left" # MC 1.9+ main hand. "left" or "right".
|
||||
[MCSettings.Skin]
|
||||
Cape = true
|
||||
Hat = true
|
||||
Jacket = false
|
||||
Sleeve_Left = false
|
||||
Sleeve_Right = false
|
||||
Pants_Left = false
|
||||
Pants_Right = false
|
||||
|
||||
|
||||
# MCC does it best to detect chat messages, but some server have unusual chat formats
|
||||
# When this happens, you'll need to configure chat format below, see https://mccteam.github.io/g/conf/#chat-format-section
|
||||
[ChatFormat]
|
||||
Builtins = true # MCC support for common message formats. Set "false" to avoid conflicts with custom formats.
|
||||
UserDefined = false # Whether to use the custom regular expressions below for detection.
|
||||
Public = "^<([a-zA-Z0-9_]+)> (.+)$"
|
||||
Private = "^([a-zA-Z0-9_]+) whispers to you: (.+)$"
|
||||
TeleportRequest = '^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them)\.$'
|
||||
|
||||
# =============================== #
|
||||
# Minecraft Console Client Bots #
|
||||
# =============================== #
|
||||
[ChatBot]
|
||||
# Get alerted when specified words are detected in chat
|
||||
# Useful for moderating your server or detecting when someone is talking to you
|
||||
[ChatBot.Alerts]
|
||||
Enabled = false
|
||||
Beep_Enabled = true # Play a beep sound when a word is detected in addition to highlighting.
|
||||
Trigger_By_Words = false # Triggers an alert after receiving a specified keyword.
|
||||
Trigger_By_Rain = false # Trigger alerts when it rains and when it stops.
|
||||
Trigger_By_Thunderstorm = false # Triggers alerts at the beginning and end of thunderstorms.
|
||||
Log_To_File = false # Log alerts info a file.
|
||||
Log_File = "alerts-log.txt" # The name of a file where alers logs will be written.
|
||||
# List of words/strings to alert you on.
|
||||
Matches = [ "Yourname", " whispers ", "-> me", "admin", ".com", ]
|
||||
# List of words/strings to NOT alert you on.
|
||||
Excludes = [ "myserver.com", "Yourname>:", "Player Yourname", "Yourname joined", "Yourname left", "[Lockette] (Admin)", " Yourname:", "Yourname is", ]
|
||||
|
||||
# Send a command on a regular or random basis or make the bot walk around randomly to avoid automatic AFK disconnection
|
||||
# /!\ Make sure your server rules do not forbid anti-AFK mechanisms!
|
||||
# /!\ Make sure you keep the bot in an enclosure to prevent it wandering off if you're using terrain handling! (Recommended size 5x5x5)
|
||||
[ChatBot.AntiAFK]
|
||||
Enabled = false
|
||||
Delay = { min = 60.0, max = 60.0 } # The time interval for execution. (in seconds)
|
||||
Command = "/ping" # Command to send to the server.
|
||||
Use_Sneak = false # Whether to sneak when sending the command.
|
||||
Use_Terrain_Handling = false # Use terrain handling to enable the bot to move around.
|
||||
Walk_Range = 5 # The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be)
|
||||
Walk_Retries = 20 # How many times can the bot fail trying to move before using the command method.
|
||||
|
||||
# Automatically attack hostile mobs around you
|
||||
# You need to enable Entity Handling to use this bot
|
||||
# /!\ Make sure server rules allow your planned use of AutoAttack
|
||||
# /!\ SERVER PLUGINS may consider AutoAttack to be a CHEAT MOD and TAKE ACTION AGAINST YOUR ACCOUNT so DOUBLE CHECK WITH SERVER RULES!
|
||||
[ChatBot.AutoAttack]
|
||||
Enabled = false
|
||||
Mode = "single" # "single" or "multi". single target one mob per attack. multi target all mobs in range per attack
|
||||
Priority = "distance" # "health" or "distance". Only needed when using single mode
|
||||
Cooldown_Time = { Custom = false, value = 1.0 } # How long to wait between each attack. Set "Custom = false" to let MCC calculate it.
|
||||
Interaction = "Attack" # Possible values: "Interact", "Attack" (default), "InteractAt" (Interact and Attack).
|
||||
Attack_Range = 4.0 # Capped between 1 to 4
|
||||
Attack_Hostile = true # Allow attacking hostile mobs.
|
||||
Attack_Passive = false # Allow attacking passive mobs.
|
||||
List_Mode = "whitelist" # Wether to treat the entities list as a "whitelist" or as a "blacklist".
|
||||
Entites_List = [ "Zombie", "Cow", ] # All entity types can be found here: https://mccteam.github.io/r/entity/#L15
|
||||
|
||||
# Automatically craft items in your inventory
|
||||
# See https://mccteam.github.io/g/bots/#auto-craft for how to use
|
||||
# You need to enable Inventory Handling to use this bot
|
||||
# You should also enable Terrain and Movements if you need to use a crafting table
|
||||
[ChatBot.AutoCraft]
|
||||
Enabled = false
|
||||
CraftingTable = { X = 123.0, Y = 65.0, Z = 456.0 } # Location of the crafting table if you intended to use it. Terrain and movements must be enabled.
|
||||
OnFailure = "abort" # What to do on crafting failure, "abort" or "wait".
|
||||
# Recipes.Name: The name can be whatever you like and it is used to represent the recipe.
|
||||
# Recipes.Type: crafting table type: "player" or "table"
|
||||
# Recipes.Result: the resulting item
|
||||
# Recipes.Slots: All slots, counting from left to right, top to bottom. Please fill in "Null" for empty slots.
|
||||
# For the naming of the items, please see: https://mccteam.github.io/r/item/#L12
|
||||
|
||||
[[ChatBot.AutoCraft.Recipes]]
|
||||
Name = "Recipe-Name-1"
|
||||
Type = "player"
|
||||
Result = "StoneBricks"
|
||||
Slots = [ "Stone", "Stone", "Stone", "Stone", ]
|
||||
|
||||
[[ChatBot.AutoCraft.Recipes]]
|
||||
Name = "Recipe-Name-2"
|
||||
Type = "table"
|
||||
Result = "StoneBricks"
|
||||
Slots = [ "Stone", "Stone", "Null", "Stone", "Stone", "Null", "Null", "Null", "Null", ]
|
||||
|
||||
|
||||
# Auto-digging blocks.
|
||||
# You need to enable Terrain Handling to use this bot
|
||||
# You can use "/digbot start" and "/digbot stop" to control the start and stop of AutoDig.
|
||||
# Since MCC does not yet support accurate calculation of the collision volume of blocks, all blocks are considered as complete cubes when obtaining the position of the lookahead.
|
||||
# For the naming of the block, please see https://mccteam.github.io/r/block/#L15
|
||||
[ChatBot.AutoDig]
|
||||
Enabled = false
|
||||
Mode = "lookat" # "lookat", "fixedpos" or "both". Digging the block being looked at, the block in a fixed position, or the block that needs to be all met.
|
||||
# The position of the blocks when using "fixedpos" or "both" mode.
|
||||
Locations = [
|
||||
{ x = 123.5, y = 64.0, z = 234.5 },
|
||||
{ x = 124.5, y = 63.0, z = 235.5 },
|
||||
]
|
||||
Location_Order = "distance" # "distance" or "index", When using the "fixedpos" mode, the blocks are determined by distance to the player, or by the order in the list.
|
||||
Auto_Start_Delay = 3.0 # How many seconds to wait after entering the game to start digging automatically, set to -1 to disable automatic start.
|
||||
Dig_Timeout = 60.0 # Mining a block for more than "Dig_Timeout" seconds will be considered a timeout.
|
||||
Log_Block_Dig = true # Whether to output logs when digging blocks.
|
||||
List_Type = "whitelist" # Wether to treat the blocks list as a "whitelist" or as a "blacklist".
|
||||
Blocks = [ "Cobblestone", "Stone", ]
|
||||
|
||||
# Automatically drop items in inventory
|
||||
# You need to enable Inventory Handling to use this bot
|
||||
# See this file for an up-to-date list of item types you can use with this bot: https://mccteam.github.io/r/item/#L12
|
||||
[ChatBot.AutoDrop]
|
||||
Enabled = false
|
||||
Mode = "include" # "include", "exclude" or "everything". Include: drop item IN the list. Exclude: drop item NOT IN the list
|
||||
Items = [ "Cobblestone", "Dirt", ]
|
||||
|
||||
# Automatically eat food when your Hunger value is low
|
||||
# You need to enable Inventory Handling to use this bot
|
||||
[ChatBot.AutoEat]
|
||||
Enabled = false
|
||||
Threshold = 6
|
||||
|
||||
# Automatically catch fish using a fishing rod
|
||||
# Guide: https://mccteam.github.io/g/bots/#auto-fishing
|
||||
# You can use "/fish" to control the bot manually.
|
||||
# /!\ Make sure server rules allow automated farming before using this bot
|
||||
[ChatBot.AutoFishing]
|
||||
Enabled = false
|
||||
Antidespawn = false # Keep it as false if you have not changed it before.
|
||||
Mainhand = true # Use the mainhand or the offhand to hold the rod.
|
||||
Auto_Start = true # Whether to start fishing automatically after entering a world.
|
||||
Cast_Delay = 0.4 # How soon to re-cast after successful fishing.
|
||||
Fishing_Delay = 3.0 # How long after entering the game to start fishing (seconds).
|
||||
Fishing_Timeout = 300.0 # Fishing timeout (seconds). Timeout will trigger a re-cast.
|
||||
Durability_Limit = 2.0 # Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature.
|
||||
Auto_Rod_Switch = true # Switch to a new rod from inventory after the current rod is unavailable.
|
||||
Stationary_Threshold = 0.001 # Hook movement in the X and Z axis less than this value will be considered stationary.
|
||||
Hook_Threshold = 0.2 # A "stationary" hook that moves above this threshold in the Y-axis will be considered to have caught a fish.
|
||||
Log_Fish_Bobber = false # Used to adjust the above two thresholds, which when enabled will print the change in the position of the fishhook entity upon receipt of its movement packet.
|
||||
Enable_Move = false # This allows the player to change position/facing after each fish caught.
|
||||
# It will move in order "1->2->3->4->3->2->1->2->..." and can change position or facing or both each time. It is recommended to change the facing only.
|
||||
|
||||
[[ChatBot.AutoFishing.Movements]]
|
||||
facing = { yaw = 12.34, pitch = -23.45 }
|
||||
|
||||
[[ChatBot.AutoFishing.Movements]]
|
||||
XYZ = { x = 123.45, y = 64.0, z = -654.32 }
|
||||
facing = { yaw = -25.14, pitch = 36.25 }
|
||||
|
||||
[[ChatBot.AutoFishing.Movements]]
|
||||
XYZ = { x = -1245.63, y = 63.5, z = 1.2 }
|
||||
|
||||
|
||||
# Automatically relog when disconnected by server, for example because the server is restating
|
||||
# /!\ Use Ignore_Kick_Message=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks
|
||||
[ChatBot.AutoRelog]
|
||||
Enabled = false
|
||||
Delay = { min = 3.0, max = 3.0 } # The delay time before joining the server. (in seconds)
|
||||
Retries = 3 # Retries when failing to relog to the server. use -1 for unlimited retries.
|
||||
Ignore_Kick_Message = false # When set to true, autorelog will reconnect regardless of kick messages.
|
||||
# If the kickout message matches any of the strings, then autorelog will be triggered.
|
||||
Kick_Messages = [ "Connection has been lost", "Server is restarting", "Server is full", "Too Many people", ]
|
||||
|
||||
# Run commands or send messages automatically when a specified pattern is detected in chat
|
||||
# Server admins can spoof chat messages (/nick, /tellraw) so keep this in mind when implementing AutoRespond rules
|
||||
# /!\ This bot may get spammy depending on your rules, although the global messagecooldown setting can help you avoiding accidental spam
|
||||
[ChatBot.AutoRespond]
|
||||
Enabled = false
|
||||
Matches_File = "matches.ini"
|
||||
Match_Colors = false # Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work)
|
||||
|
||||
# Logs chat messages in a file on disk.
|
||||
[ChatBot.ChatLog]
|
||||
Enabled = false
|
||||
Add_DateTime = true
|
||||
Log_File = "chatlog-%username%-%serverip%.txt"
|
||||
Filter = "messages"
|
||||
|
||||
# This bot allows you to send and recieve messages and commands via a Discord channel.
|
||||
# For Setup you can either use the documentation or read here (Documentation has images).
|
||||
# Documentation: https://mccteam.github.io/g/bots/#discord-bridge
|
||||
# Setup:
|
||||
# First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA .
|
||||
# /!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent" in order for bot to work! Also follow along carefully do not miss any steps!
|
||||
# When making a bot, copy the generated token and paste it here in "Token" field (tokens are important, keep them safe).
|
||||
# Copy the "Application ID" and go to: https://discordapi.com/permissions.html .
|
||||
# Paste the id you have copied and check the "Administrator" field in permissions, then click on the link at the bottom.
|
||||
# This will open an invitation menu with your servers, choose the server you want to invite the bot on and invite him.
|
||||
# Once you've invited the bot, go to your Discord client and go to Settings -> Advanced and Enable "Developer Mode".
|
||||
# Exit the settings and right click on a server you have invited the bot to in the server list, then click "Copy ID", and paste the id here in "GuildId".
|
||||
# Then right click on a channel where you want to interact with the bot and again right click -> "Copy ID", pase the copied id here in "ChannelId".
|
||||
# And for the end, send a message in the channel, right click on your nick and again right click -> "Copy ID", then paste the id here in "OwnersIds".
|
||||
# How to use:
|
||||
# To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" .
|
||||
# To send a message, simply type it out and hit enter.
|
||||
[ChatBot.DiscordBridge]
|
||||
Enabled = false
|
||||
Token = "your bot token here" # Your Discord Bot token.
|
||||
GuildId = 1018553894831403028 # The ID of a server/guild where you have invited the bot to.
|
||||
ChannelId = 1018565295654326364 # The ID of a channel where you want to interact with the MCC using the bot.
|
||||
OwnersIds = [ 978757810781323276, ] # A list of IDs of people you want to be able to interact with the MCC using the bot.
|
||||
Message_Send_Timeout = 3 # How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second).
|
||||
# Message formats
|
||||
# Words wrapped with { and } are going to be replaced during the code execution, do not change them!
|
||||
# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.
|
||||
# For Discord message formatting, check the following: https://mccteam.github.io/r/dc-fmt.html
|
||||
PrivateMessageFormat = "**[Private Message]** {username}: {message}"
|
||||
PublicMessageFormat = "{username}: {message}"
|
||||
TeleportRequestMessageFormat = "A new Teleport Request from **{username}**!"
|
||||
|
||||
# Automatically farms crops for you (plants, breaks and bonemeals them).
|
||||
# Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat.
|
||||
# Usage: "/farmer start" command and "/farmer stop" command.
|
||||
# NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes.
|
||||
# or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this.
|
||||
# It is recommended to keep the farming area walled off and flat to avoid the bot jumping.
|
||||
# Also, if you have your farmland that is one block high, make it 2 or more blocks high so the bot does not fall through, as it can happen sometimes when the bot reconnects.
|
||||
# The bot also does not pickup all items if they fly off to the side, we have a plan to implement this option in the future as well as drop off and bonemeal refill chest(s).
|
||||
[ChatBot.Farmer]
|
||||
Enabled = false
|
||||
Delay_Between_Tasks = 1.0 # Delay between tasks in seconds (Minimum 1 second)
|
||||
|
||||
# Enabled you to make the bot follow you
|
||||
# NOTE: This is an experimental feature, the bot can be slow at times, you need to walk with a normal speed and to sometimes stop for it to be able to keep up with you
|
||||
# It's similar to making animals follow you when you're holding food in your hand.
|
||||
# This is due to a slow pathfinding algorithm, we're working on getting a better one
|
||||
# You can tweak the update limit and find what works best for you. (NOTE: Do not but a very low one, because you might achieve the opposite,
|
||||
# this might clog the thread for terain handling) and thus slow the bot even more.
|
||||
# /!\ Make sure server rules allow an option like this in the rules of the server before using this bot
|
||||
[ChatBot.FollowPlayer]
|
||||
Enabled = false
|
||||
Update_Limit = 1.5 # The rate at which the bot does calculations (in seconds) (You can tweak this if you feel the bot is too slow)
|
||||
Stop_At_Distance = 3.0 # Do not follow the player if he is in the range of 3 blocks (prevents the bot from pushing a player in an infinite loop)
|
||||
|
||||
# A small game to demonstrate chat interactions. Players can guess mystery words one letter at a time.
|
||||
# You need to have ChatFormat working correctly and add yourself in botowners to start the game with /tell <bot username> start
|
||||
# /!\ This bot may get a bit spammy if many players are interacting with it
|
||||
[ChatBot.HangmanGame]
|
||||
Enabled = false
|
||||
English = true
|
||||
FileWords_EN = "hangman-en.txt"
|
||||
FileWords_FR = "hangman-fr.txt"
|
||||
|
||||
# Relay messages between players and servers, like a mail plugin
|
||||
# This bot can store messages when the recipients are offline, and send them when they join the server
|
||||
# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable this bot only if you trust server admins
|
||||
[ChatBot.Mailer]
|
||||
Enabled = false
|
||||
DatabaseFile = "MailerDatabase.ini"
|
||||
IgnoreListFile = "MailerIgnoreList.ini"
|
||||
PublicInteractions = false
|
||||
MaxMailsPerPlayer = 10
|
||||
MaxDatabaseSize = 10000
|
||||
MailRetentionDays = 30
|
||||
|
||||
# Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot)
|
||||
# This is useful for solving captchas which use maps
|
||||
# The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled.
|
||||
# NOTE:
|
||||
# If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console.
|
||||
# /!\ Make sure server rules allow bots to be used on the server, or you risk being punished.
|
||||
[ChatBot.Map]
|
||||
Enabled = false
|
||||
Render_In_Console = true # Whether to render the map in the console.
|
||||
Save_To_File = false # Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge).
|
||||
Auto_Render_On_Update = false # Automatically render the map once it is received or updated from/by the server
|
||||
Delete_All_On_Unload = true # Delete all rendered maps on unload/reload or when you launch the MCC again.
|
||||
Notify_On_First_Update = true # Get a notification when you have gotten a map from the server for the first time
|
||||
Rasize_Rendered_Image = false # Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord.
|
||||
Resize_To = 512 # The size that a rendered image should be resized to, in pixels (eg. 512).
|
||||
# Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!)
|
||||
# You need to enable Save_To_File in order for this to work.
|
||||
# We also recommend turning on resizing.
|
||||
Send_Rendered_To_Discord = false
|
||||
Send_Rendered_To_Telegram = false
|
||||
|
||||
# Log the list of players periodically into a textual file.
|
||||
[ChatBot.PlayerListLogger]
|
||||
Enabled = false
|
||||
File = "playerlog.txt"
|
||||
Delay = 60.0 # (In seconds)
|
||||
|
||||
# Send MCC console commands to your bot through server PMs (/tell)
|
||||
# You need to have ChatFormat working correctly and add yourself in botowners to use the bot
|
||||
# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable RemoteControl only if you trust server admins
|
||||
[ChatBot.RemoteControl]
|
||||
Enabled = false
|
||||
AutoTpaccept = true
|
||||
AutoTpaccept_Everyone = false
|
||||
|
||||
# Enable recording of the game (/replay start) and replay it later using the Replay Mod (https://www.replaymod.com/)
|
||||
# Please note that due to technical limitations, the client player (you) will not be shown in the replay file
|
||||
# /!\ You SHOULD use /replay stop or exit the program gracefully with /quit OR THE REPLAY FILE MAY GET CORRUPT!
|
||||
[ChatBot.ReplayCapture]
|
||||
Enabled = false
|
||||
Backup_Interval = 300.0 # How long should replay file be auto-saved, in seconds. Use -1 to disable.
|
||||
|
||||
# Schedule commands and scripts to launch on various events such as server join, date/time or time interval
|
||||
# See https://mccteam.github.io/g/bots/#script-scheduler for more info
|
||||
[ChatBot.ScriptScheduler]
|
||||
Enabled = false
|
||||
|
||||
[[ChatBot.ScriptScheduler.TaskList]]
|
||||
Task_Name = "Task Name 1"
|
||||
Trigger_On_First_Login = false
|
||||
Trigger_On_Login = false
|
||||
Trigger_On_Times = { Enable = true, Times = [ 14:00:00, ] }
|
||||
Trigger_On_Interval = { Enable = true, MinTime = 3.6, MaxTime = 4.8 }
|
||||
Action = "send /hello"
|
||||
|
||||
[[ChatBot.ScriptScheduler.TaskList]]
|
||||
Task_Name = "Task Name 2"
|
||||
Trigger_On_First_Login = false
|
||||
Trigger_On_Login = true
|
||||
Trigger_On_Times = { Enable = false, Times = [ ] }
|
||||
Trigger_On_Interval = { Enable = false, MinTime = 1.0, MaxTime = 10.0 }
|
||||
Action = "send /login pass"
|
||||
|
||||
|
||||
# This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel.
|
||||
# /!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel.
|
||||
# -----------------------------------------------------------
|
||||
# Setup:
|
||||
# First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather
|
||||
# Click on "Start" button and read the bot reply, then type "/newbot", the Botfather will guide you through the bot creation.
|
||||
# Once you create the bot, copy the API key that you have gotten, and put it into the "Token" field of "ChatBot.TelegramBridge" section (this section).
|
||||
# /!\ Do not share this token with anyone else as it will give them the control over your bot. Save it securely.
|
||||
# Then launch the client and go to Telegram, find your newly created bot by searching for it with its username, and open a DM with it.
|
||||
# Click on "Start" button and type and send the following command ".chatid" to obtain the chat id.
|
||||
# Copy the chat id number (eg. 2627844670) and paste it in the "ChannelId" field and add it to the "Authorized_Chat_Ids" field (in this section) (an id in "Authorized_Chat_Ids" field is a number/long, not a string!), then save the file.
|
||||
# Now you can use the bot using it's DM.
|
||||
# /!\ If you do not add the id of your chat DM with the bot to the "Authorized_Chat_Ids" field, ayone who finds your bot via search will be able to execute commands and send messages!
|
||||
# /!\ An id pasted in to the "Authorized_Chat_Ids" should be a number/long, not a string!
|
||||
# -----------------------------------------------------------
|
||||
# NOTE: If you want to recieve messages to a group channel instead, make the channel temporarely public, invite the bot to it and make it an administrator, then set the channel to private if you want.
|
||||
# Then set the "ChannelId" field to the @ of your channel (you must include the @ in the settings, eg. "@mysupersecretchannel"), this is the username you can see in the invite link of the channel.
|
||||
# /!\ Only include the username with @ prefix, do not include the rest of the link. Example if you have "https://t.me/mysupersecretchannel", the "ChannelId" will be "@mysupersecretchannel".
|
||||
# /!\ Note that you will not be able to send messages to the client from a group channel!
|
||||
# -----------------------------------------------------------
|
||||
# How to use the bot:
|
||||
# To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" .
|
||||
# To send a message, simply type it out and hit enter.
|
||||
[ChatBot.TelegramBridge]
|
||||
Enabled = false
|
||||
Token = "your bot token here" # Your Telegram Bot token.
|
||||
ChannelId = "" # An ID of a channel where you want to interact with the MCC using the bot.
|
||||
Authorized_Chat_Ids = [ ] # A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram.
|
||||
Message_Send_Timeout = 3 # How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second).
|
||||
# Message formats
|
||||
# Words wrapped with { and } are going to be replaced during the code execution, do not change them!
|
||||
# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.
|
||||
# For Telegram message formatting, check the following: https://mccteam.github.io/r/tg-fmt.html
|
||||
PrivateMessageFormat = "*(Private Message)* {username}: {message}"
|
||||
PublicMessageFormat = "{username}: {message}"
|
||||
TeleportRequestMessageFormat = "A new Teleport Request from **{username}**!"
|
||||
|
||||
# A Chat Bot that collects items on the ground
|
||||
[ChatBot.ItemsCollector]
|
||||
Enabled = false
|
||||
Collect_All_Item_Types = true # If set to true, the bot will collect all items, regardless of their type. If you want to use the whitelisted item types, disable this by setting it to false
|
||||
Items_Whitelist = [ "Diamond", "NetheriteIngot", ] # In this list you can specify which items the bot will collect. To enable this, set the Collect_All_Item_Types to false. (NOTE: This does not prevent the bot from accidentally picking up other items, it only goes to positions where it finds the whitelisted items)\nYou can see the list of item types here: https://raw.githubusercontent.com/MCCTeam/Minecraft-Console-Client/master/MinecraftClient/Inventory/ItemType.cs
|
||||
Delay_Between_Tasks = 300 # Delay in milliseconds between bot scanning items (Recommended: 300-500)
|
||||
Collection_Radius = 30.0 # The radius in which bot will look for items to collect (Default: 30)
|
||||
Always_Return_To_Start = true # If set to true, the bot will return to it's starting position after there are no items to collect
|
||||
Prioritize_Clusters = false # If set to true, the bot will go after clustered items instead for the closest ones
|
||||
|
||||
|
||||
|
||||
523
Gentoo/gentooamd/home/.local/bin/MinecraftClient.ini
Normal file
523
Gentoo/gentooamd/home/.local/bin/MinecraftClient.ini
Normal file
@ -0,0 +1,523 @@
|
||||
# Startup Config File
|
||||
# Please do not record extraneous data in this file as it will be overwritten by MCC.
|
||||
#
|
||||
# New to Minecraft Console Client? Check out this document: https://mccteam.github.io/g/conf.html
|
||||
# Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download
|
||||
[Head]
|
||||
"Current Version" = "GitHub build 285, built on 2025-05-22 from commit f785f50"
|
||||
"Latest Version" = "GitHub build 285, built on 2025-05-22"
|
||||
|
||||
[Main]
|
||||
[Main.General]
|
||||
Account = { Login = "", Password = "" } # Login=Email or Name. Use "-" as password for offline mode. Leave blank to prompt user on startup.
|
||||
Server = { Host = "" } # The address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically)
|
||||
AccountType = "microsoft" # Account type: "mojang" OR "microsoft" OR "yggdrasil". Also affects interactive login in console.
|
||||
Method = "mcc" # Microsoft Account sign-in method: "mcc" OR "browser". If the login always fails, please try to use the "browser" once.
|
||||
AuthServer = { Host = "", Port = 443 } # Yggdrasil authlib server domain name and port.
|
||||
|
||||
# Make sure you understand what each setting does before changing anything!
|
||||
[Main.Advanced]
|
||||
EnableSentry = true # Set to false to opt-out of Sentry error logging.
|
||||
Language = "en_us" # Fill in with in-game locale code, check https://mccteam.github.io/r/l-code.html
|
||||
LoadMccTranslation = true # Load translations applied to MCC when available, turn it off to use English only.
|
||||
ConsoleTitle = "%username%@%serverip% - Minecraft Console Client"
|
||||
InternalCmdChar = "slash" # Use "none", "slash"(/) or "backslash"(\).
|
||||
MessageCooldown = 1.0 # Controls the minimum interval (in seconds) between sending each message to the server.
|
||||
BotOwners = [ "player1", "player2", ] # Set the owner of the bot. /!\ Server admins can impersonate owners!
|
||||
MinecraftVersion = "auto" # Use "auto" or "1.X.X" values. Allows to skip server info retrieval.
|
||||
EnableForge = "no" # Use "auto", "no" or "force". Force-enabling only works for MC 1.13+.
|
||||
BrandInfo = "mcc" # Use "mcc", "vanilla" or "none". This is how MCC identifies itself to the server.
|
||||
ChatbotLogFile = "" # Leave empty for no logfile.
|
||||
PrivateMsgsCmdName = "tell" # For remote control of the bot.
|
||||
ShowSystemMessages = true # System messages for server ops.
|
||||
ShowXPBarMessages = true # Messages displayed above xp bar, set this to false in case of xp bar spam.
|
||||
ShowChatLinks = true # Decode links embedded in chat messages and show them in console.
|
||||
ShowInventoryLayout = true # Show inventory layout as ASCII art in inventory command.
|
||||
TerrainAndMovements = false # Uses more ram, cpu, bandwidth but allows you to move around.
|
||||
MoveHeadWhileWalking = true # Enable head movement while walking to avoid anti-cheat triggers.
|
||||
MovementSpeed = 2 # A movement speed higher than 2 may be considered cheating.
|
||||
TemporaryFixBadpacket = false # Temporary fix for Badpacket issue on some servers. Need to enable "TerrainAndMovements" first.
|
||||
InventoryHandling = false # Toggle inventory handling.
|
||||
EntityHandling = false # Toggle entity handling.
|
||||
SessionCache = "disk" # How to retain session tokens. Use "none", "memory" or "disk".
|
||||
ProfileKeyCache = "disk" # How to retain profile key. Use "none", "memory" or "disk".
|
||||
ResolveSrvRecords = "fast" # Use "no", "fast" (5s timeout), or "yes". Required for joining some servers.
|
||||
PlayerHeadAsIcon = true # Only works on Windows XP-8 or Windows 10 with old console.
|
||||
ExitOnFailure = false # Whether to exit directly when an error occurs, for using MCC in non-interactive scripts.
|
||||
CacheScript = true # Cache compiled scripts for faster load on low-end devices.
|
||||
Timestamps = false # Prepend timestamps to chat messages.
|
||||
AutoRespawn = false # Toggle auto respawn if client player was dead (make sure your spawn point is safe).
|
||||
MinecraftRealms = false # Enable support for joining Minecraft Realms worlds.
|
||||
TcpTimeout = 30 # Customize the TCP connection timeout with the server. (in seconds)
|
||||
EnableEmoji = true # If turned off, the emoji will be replaced with a simpler character (for /chunk status).
|
||||
MinTerminalWidth = 16 # The minimum width used when calculating the image size from the width of the terminal.
|
||||
MinTerminalHeight = 10 # The minimum height to use when calculating the image size from the height of the terminal.
|
||||
IgnoreInvalidPlayerName = true # Ignore invalid player name
|
||||
# AccountList: It allows a fast account switching without directly using the credentials
|
||||
# Usage examples: "/tell <mybot> reco Player2", "/connect <serverip> Player1"
|
||||
[Main.Advanced.AccountList]
|
||||
AccountNikename1 = { Login = "playerone@email.com", Password = "thepassword" }
|
||||
AccountNikename2 = { Login = "TestBot", Password = "-" }
|
||||
|
||||
# ServerList: It allows an easier and faster server switching with short aliases instead of full server IP
|
||||
# Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias.
|
||||
# Usage examples: "/tell <mybot> connect Server1", "/connect Server2"
|
||||
[Main.Advanced.ServerList]
|
||||
ServerAlias1 = { Host = "mc.awesomeserver.com" }
|
||||
ServerAlias2 = { Host = "192.168.1.27", Port = 12345 }
|
||||
|
||||
|
||||
|
||||
# Chat signature related settings (affects minecraft 1.19+)
|
||||
[Signature]
|
||||
LoginWithSecureProfile = true # Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true"
|
||||
SignChat = true # Whether to sign the chat send from MCC
|
||||
SignMessageInCommand = true # Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me"
|
||||
MarkLegallySignedMsg = true # Use green color block to mark chat with legitimate signatures
|
||||
MarkModifiedMsg = true # Use yellow color block to mark chat that have been modified by the server.
|
||||
MarkIllegallySignedMsg = true # Use red color block to mark chat without legitimate signature
|
||||
MarkSystemMessage = true # Use gray color block to mark system message (always without signature)
|
||||
ShowModifiedChat = true # Set to true to display messages modified by the server, false to display the original signed messages
|
||||
ShowIllegalSignedChat = true # Whether to display chat and messages in commands without legal signatures
|
||||
|
||||
# This setting affects only the messages in the console.
|
||||
[Logging]
|
||||
DebugMessages = false # Please enable this before submitting bug reports. Thanks!
|
||||
ChatMessages = true # Show server chat messages.
|
||||
InfoMessages = true # Informative messages. (i.e Most of the message from MCC)
|
||||
WarningMessages = true # Show warning messages.
|
||||
ErrorMessages = true # Show error messages.
|
||||
ChatFilterRegex = ".*" # Regex for filtering chat message.
|
||||
DebugFilterRegex = ".*" # Regex for filtering debug message.
|
||||
FilterMode = "disable" # "disable" or "blacklist" OR "whitelist". Blacklist hide message match regex. Whitelist show message match regex.
|
||||
LogToFile = false # Write log messages to file.
|
||||
LogFile = "console-log.txt" # Log file name.
|
||||
PrependTimestamp = false # Prepend timestamp to messages in log file.
|
||||
SaveColorCodes = false # Keep color codes in the saved text.(look like "§b")
|
||||
|
||||
[Console]
|
||||
[Console.General]
|
||||
ConsoleColorMode = "vt100_24bit" # Use "disable", "legacy_4bit", "vt100_4bit", "vt100_8bit" or "vt100_24bit". If a garbled code like "←[0m" appears on the terminal, you can try switching to "legacy_4bit" mode, or just disable it.
|
||||
Display_Input = true # You can use "Ctrl+P" to print out the current input and cursor position.
|
||||
History_Input_Records = 32 # Console.General.History_Input_Records
|
||||
|
||||
# The settings for command completion suggestions.
|
||||
# Custom colors are only available when using "vt100_24bit" color mode.
|
||||
[Console.CommandSuggestion]
|
||||
Enable = true # Whether to display command suggestions in the console.
|
||||
Enable_Color = true
|
||||
Use_Basic_Arrow = false # Enable this option if the arrows in the command suggestions are not displayed properly in your terminal.
|
||||
Max_Suggestion_Width = 30
|
||||
Max_Displayed_Suggestions = 6
|
||||
Text_Color = "#f8fafc"
|
||||
Text_Background_Color = "#64748b"
|
||||
Highlight_Text_Color = "#334155"
|
||||
Highlight_Text_Background_Color = "#fde047"
|
||||
Tooltip_Color = "#7dd3fc"
|
||||
Highlight_Tooltip_Color = "#3b82f6"
|
||||
Arrow_Symbol_Color = "#d1d5db"
|
||||
|
||||
|
||||
[AppVar]
|
||||
# can be used in some other fields as %yourvar%
|
||||
# %username% and %serverip% are reserved variables.
|
||||
[AppVar.VarStirng]
|
||||
your_var = "your_value"
|
||||
"your var 2" = "your value 2"
|
||||
|
||||
|
||||
# Connect to a server via a proxy instead of connecting directly
|
||||
# If Mojang session services are blocked on your network, set Enabled_Login=true to login using proxy.
|
||||
# If the connection to the Minecraft game server is blocked by the firewall, set Enabled_Ingame=true to use a proxy to connect to the game server.
|
||||
# /!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences!
|
||||
[Proxy]
|
||||
Enabled_Update = false # Whether to download MCC updates via proxy.
|
||||
Enabled_Login = false # Whether to connect to the login server through a proxy.
|
||||
Enabled_Ingame = false # Whether to connect to the game server through a proxy.
|
||||
Server = { Host = "0.0.0.0", Port = 8080 } # Proxy server must allow HTTPS for login, and non-443 ports for playing.
|
||||
Proxy_Type = "HTTP" # Supported types: "HTTP", "SOCKS4", "SOCKS4a", "SOCKS5".
|
||||
Username = "" # Only required for password-protected proxies.
|
||||
Password = "" # Only required for password-protected proxies.
|
||||
|
||||
# Settings below are sent to the server and only affect server-side things like your skin.
|
||||
[MCSettings]
|
||||
Enabled = true # If disabled, settings below are not sent to the server.
|
||||
Locale = "en_US" # Use any language implemented in Minecraft.
|
||||
RenderDistance = 8 # Value range: [0 - 255].
|
||||
Difficulty = "peaceful" # MC 1.7- difficulty. "peaceful", "easy", "normal", "difficult".
|
||||
ChatMode = "enabled" # Use "enabled", "commands", or "disabled". Allows to mute yourself...
|
||||
ChatColors = true # Allows disabling chat colors server-side.
|
||||
MainHand = "left" # MC 1.9+ main hand. "left" or "right".
|
||||
[MCSettings.Skin]
|
||||
Cape = true
|
||||
Hat = true
|
||||
Jacket = false
|
||||
Sleeve_Left = false
|
||||
Sleeve_Right = false
|
||||
Pants_Left = false
|
||||
Pants_Right = false
|
||||
|
||||
|
||||
# MCC does it best to detect chat messages, but some server have unusual chat formats
|
||||
# When this happens, you'll need to configure chat format below, see https://mccteam.github.io/g/conf/#chat-format-section
|
||||
[ChatFormat]
|
||||
Builtins = true # MCC support for common message formats. Set "false" to avoid conflicts with custom formats.
|
||||
UserDefined = false # Whether to use the custom regular expressions below for detection.
|
||||
Public = "^<([a-zA-Z0-9_]+)> (.+)$"
|
||||
Private = "^([a-zA-Z0-9_]+) whispers to you: (.+)$"
|
||||
TeleportRequest = '^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them)\.$'
|
||||
|
||||
# =============================== #
|
||||
# Minecraft Console Client Bots #
|
||||
# =============================== #
|
||||
[ChatBot]
|
||||
# Get alerted when specified words are detected in chat
|
||||
# Useful for moderating your server or detecting when someone is talking to you
|
||||
[ChatBot.Alerts]
|
||||
Enabled = false
|
||||
Beep_Enabled = true # Play a beep sound when a word is detected in addition to highlighting.
|
||||
Trigger_By_Words = false # Triggers an alert after receiving a specified keyword.
|
||||
Trigger_By_Rain = false # Trigger alerts when it rains and when it stops.
|
||||
Trigger_By_Thunderstorm = false # Triggers alerts at the beginning and end of thunderstorms.
|
||||
Log_To_File = false # Log alerts info a file.
|
||||
Log_File = "alerts-log.txt" # The name of a file where alers logs will be written.
|
||||
# List of words/strings to alert you on.
|
||||
Matches = [ "Yourname", " whispers ", "-> me", "admin", ".com", ]
|
||||
# List of words/strings to NOT alert you on.
|
||||
Excludes = [ "myserver.com", "Yourname>:", "Player Yourname", "Yourname joined", "Yourname left", "[Lockette] (Admin)", " Yourname:", "Yourname is", ]
|
||||
|
||||
# Send a command on a regular or random basis or make the bot walk around randomly to avoid automatic AFK disconnection
|
||||
# /!\ Make sure your server rules do not forbid anti-AFK mechanisms!
|
||||
# /!\ Make sure you keep the bot in an enclosure to prevent it wandering off if you're using terrain handling! (Recommended size 5x5x5)
|
||||
[ChatBot.AntiAFK]
|
||||
Enabled = false
|
||||
Delay = { min = 60.0, max = 60.0 } # The time interval for execution. (in seconds)
|
||||
Command = "/ping" # Command to send to the server.
|
||||
Use_Sneak = false # Whether to sneak when sending the command.
|
||||
Use_Terrain_Handling = false # Use terrain handling to enable the bot to move around.
|
||||
Walk_Range = 5 # The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be)
|
||||
Walk_Retries = 20 # How many times can the bot fail trying to move before using the command method.
|
||||
|
||||
# Automatically attack hostile mobs around you
|
||||
# You need to enable Entity Handling to use this bot
|
||||
# /!\ Make sure server rules allow your planned use of AutoAttack
|
||||
# /!\ SERVER PLUGINS may consider AutoAttack to be a CHEAT MOD and TAKE ACTION AGAINST YOUR ACCOUNT so DOUBLE CHECK WITH SERVER RULES!
|
||||
[ChatBot.AutoAttack]
|
||||
Enabled = false
|
||||
Mode = "single" # "single" or "multi". single target one mob per attack. multi target all mobs in range per attack
|
||||
Priority = "distance" # "health" or "distance". Only needed when using single mode
|
||||
Cooldown_Time = { Custom = false, value = 1.0 } # How long to wait between each attack. Set "Custom = false" to let MCC calculate it.
|
||||
Interaction = "Attack" # Possible values: "Interact", "Attack" (default), "InteractAt" (Interact and Attack).
|
||||
Attack_Range = 4.0 # Capped between 1 to 4
|
||||
Attack_Hostile = true # Allow attacking hostile mobs.
|
||||
Attack_Passive = false # Allow attacking passive mobs.
|
||||
List_Mode = "whitelist" # Wether to treat the entities list as a "whitelist" or as a "blacklist".
|
||||
Entites_List = [ "Zombie", "Cow", ] # All entity types can be found here: https://mccteam.github.io/r/entity/#L15
|
||||
|
||||
# Automatically craft items in your inventory
|
||||
# See https://mccteam.github.io/g/bots/#auto-craft for how to use
|
||||
# You need to enable Inventory Handling to use this bot
|
||||
# You should also enable Terrain and Movements if you need to use a crafting table
|
||||
[ChatBot.AutoCraft]
|
||||
Enabled = false
|
||||
CraftingTable = { X = 123.0, Y = 65.0, Z = 456.0 } # Location of the crafting table if you intended to use it. Terrain and movements must be enabled.
|
||||
OnFailure = "abort" # What to do on crafting failure, "abort" or "wait".
|
||||
# Recipes.Name: The name can be whatever you like and it is used to represent the recipe.
|
||||
# Recipes.Type: crafting table type: "player" or "table"
|
||||
# Recipes.Result: the resulting item
|
||||
# Recipes.Slots: All slots, counting from left to right, top to bottom. Please fill in "Null" for empty slots.
|
||||
# For the naming of the items, please see: https://mccteam.github.io/r/item/#L12
|
||||
|
||||
[[ChatBot.AutoCraft.Recipes]]
|
||||
Name = "Recipe-Name-1"
|
||||
Type = "player"
|
||||
Result = "StoneBricks"
|
||||
Slots = [ "Stone", "Stone", "Stone", "Stone", ]
|
||||
|
||||
[[ChatBot.AutoCraft.Recipes]]
|
||||
Name = "Recipe-Name-2"
|
||||
Type = "table"
|
||||
Result = "StoneBricks"
|
||||
Slots = [ "Stone", "Stone", "Null", "Stone", "Stone", "Null", "Null", "Null", "Null", ]
|
||||
|
||||
|
||||
# Auto-digging blocks.
|
||||
# You need to enable Terrain Handling to use this bot
|
||||
# You can use "/digbot start" and "/digbot stop" to control the start and stop of AutoDig.
|
||||
# Since MCC does not yet support accurate calculation of the collision volume of blocks, all blocks are considered as complete cubes when obtaining the position of the lookahead.
|
||||
# For the naming of the block, please see https://mccteam.github.io/r/block/#L15
|
||||
[ChatBot.AutoDig]
|
||||
Enabled = false
|
||||
Mode = "lookat" # "lookat", "fixedpos" or "both". Digging the block being looked at, the block in a fixed position, or the block that needs to be all met.
|
||||
# The position of the blocks when using "fixedpos" or "both" mode.
|
||||
Locations = [
|
||||
{ x = 123.5, y = 64.0, z = 234.5 },
|
||||
{ x = 124.5, y = 63.0, z = 235.5 },
|
||||
]
|
||||
Location_Order = "distance" # "distance" or "index", When using the "fixedpos" mode, the blocks are determined by distance to the player, or by the order in the list.
|
||||
Auto_Start_Delay = 3.0 # How many seconds to wait after entering the game to start digging automatically, set to -1 to disable automatic start.
|
||||
Dig_Timeout = 60.0 # Mining a block for more than "Dig_Timeout" seconds will be considered a timeout.
|
||||
Log_Block_Dig = true # Whether to output logs when digging blocks.
|
||||
List_Type = "whitelist" # Wether to treat the blocks list as a "whitelist" or as a "blacklist".
|
||||
Blocks = [ "Cobblestone", "Stone", ]
|
||||
|
||||
# Automatically drop items in inventory
|
||||
# You need to enable Inventory Handling to use this bot
|
||||
# See this file for an up-to-date list of item types you can use with this bot: https://mccteam.github.io/r/item/#L12
|
||||
[ChatBot.AutoDrop]
|
||||
Enabled = false
|
||||
Mode = "include" # "include", "exclude" or "everything". Include: drop item IN the list. Exclude: drop item NOT IN the list
|
||||
Items = [ "Cobblestone", "Dirt", ]
|
||||
|
||||
# Automatically eat food when your Hunger value is low
|
||||
# You need to enable Inventory Handling to use this bot
|
||||
[ChatBot.AutoEat]
|
||||
Enabled = false
|
||||
Threshold = 6
|
||||
|
||||
# Automatically catch fish using a fishing rod
|
||||
# Guide: https://mccteam.github.io/g/bots/#auto-fishing
|
||||
# You can use "/fish" to control the bot manually.
|
||||
# /!\ Make sure server rules allow automated farming before using this bot
|
||||
[ChatBot.AutoFishing]
|
||||
Enabled = false
|
||||
Antidespawn = false # Keep it as false if you have not changed it before.
|
||||
Mainhand = true # Use the mainhand or the offhand to hold the rod.
|
||||
Auto_Start = true # Whether to start fishing automatically after entering a world.
|
||||
Cast_Delay = 0.4 # How soon to re-cast after successful fishing.
|
||||
Fishing_Delay = 3.0 # How long after entering the game to start fishing (seconds).
|
||||
Fishing_Timeout = 300.0 # Fishing timeout (seconds). Timeout will trigger a re-cast.
|
||||
Durability_Limit = 2.0 # Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature.
|
||||
Auto_Rod_Switch = true # Switch to a new rod from inventory after the current rod is unavailable.
|
||||
Stationary_Threshold = 0.001 # Hook movement in the X and Z axis less than this value will be considered stationary.
|
||||
Hook_Threshold = 0.2 # A "stationary" hook that moves above this threshold in the Y-axis will be considered to have caught a fish.
|
||||
Log_Fish_Bobber = false # Used to adjust the above two thresholds, which when enabled will print the change in the position of the fishhook entity upon receipt of its movement packet.
|
||||
Enable_Move = false # This allows the player to change position/facing after each fish caught.
|
||||
# It will move in order "1->2->3->4->3->2->1->2->..." and can change position or facing or both each time. It is recommended to change the facing only.
|
||||
|
||||
[[ChatBot.AutoFishing.Movements]]
|
||||
facing = { yaw = 12.34, pitch = -23.45 }
|
||||
|
||||
[[ChatBot.AutoFishing.Movements]]
|
||||
XYZ = { x = 123.45, y = 64.0, z = -654.32 }
|
||||
facing = { yaw = -25.14, pitch = 36.25 }
|
||||
|
||||
[[ChatBot.AutoFishing.Movements]]
|
||||
XYZ = { x = -1245.63, y = 63.5, z = 1.2 }
|
||||
|
||||
|
||||
# Automatically relog when disconnected by server, for example because the server is restating
|
||||
# /!\ Use Ignore_Kick_Message=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks
|
||||
[ChatBot.AutoRelog]
|
||||
Enabled = false
|
||||
Delay = { min = 3.0, max = 3.0 } # The delay time before joining the server. (in seconds)
|
||||
Retries = 3 # Retries when failing to relog to the server. use -1 for unlimited retries.
|
||||
Ignore_Kick_Message = false # When set to true, autorelog will reconnect regardless of kick messages.
|
||||
# If the kickout message matches any of the strings, then autorelog will be triggered.
|
||||
Kick_Messages = [ "Connection has been lost", "Server is restarting", "Server is full", "Too Many people", ]
|
||||
|
||||
# Run commands or send messages automatically when a specified pattern is detected in chat
|
||||
# Server admins can spoof chat messages (/nick, /tellraw) so keep this in mind when implementing AutoRespond rules
|
||||
# /!\ This bot may get spammy depending on your rules, although the global messagecooldown setting can help you avoiding accidental spam
|
||||
[ChatBot.AutoRespond]
|
||||
Enabled = false
|
||||
Matches_File = "matches.ini"
|
||||
Match_Colors = false # Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work)
|
||||
|
||||
# Logs chat messages in a file on disk.
|
||||
[ChatBot.ChatLog]
|
||||
Enabled = false
|
||||
Add_DateTime = true
|
||||
Log_File = "chatlog-%username%-%serverip%.txt"
|
||||
Filter = "messages"
|
||||
|
||||
# This bot allows you to send and recieve messages and commands via a Discord channel.
|
||||
# For Setup you can either use the documentation or read here (Documentation has images).
|
||||
# Documentation: https://mccteam.github.io/g/bots/#discord-bridge
|
||||
# Setup:
|
||||
# First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA .
|
||||
# /!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent" in order for bot to work! Also follow along carefully do not miss any steps!
|
||||
# When making a bot, copy the generated token and paste it here in "Token" field (tokens are important, keep them safe).
|
||||
# Copy the "Application ID" and go to: https://discordapi.com/permissions.html .
|
||||
# Paste the id you have copied and check the "Administrator" field in permissions, then click on the link at the bottom.
|
||||
# This will open an invitation menu with your servers, choose the server you want to invite the bot on and invite him.
|
||||
# Once you've invited the bot, go to your Discord client and go to Settings -> Advanced and Enable "Developer Mode".
|
||||
# Exit the settings and right click on a server you have invited the bot to in the server list, then click "Copy ID", and paste the id here in "GuildId".
|
||||
# Then right click on a channel where you want to interact with the bot and again right click -> "Copy ID", pase the copied id here in "ChannelId".
|
||||
# And for the end, send a message in the channel, right click on your nick and again right click -> "Copy ID", then paste the id here in "OwnersIds".
|
||||
# How to use:
|
||||
# To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" .
|
||||
# To send a message, simply type it out and hit enter.
|
||||
[ChatBot.DiscordBridge]
|
||||
Enabled = false
|
||||
Token = "your bot token here" # Your Discord Bot token.
|
||||
GuildId = 1018553894831403028 # The ID of a server/guild where you have invited the bot to.
|
||||
ChannelId = 1018565295654326364 # The ID of a channel where you want to interact with the MCC using the bot.
|
||||
OwnersIds = [ 978757810781323276, ] # A list of IDs of people you want to be able to interact with the MCC using the bot.
|
||||
Message_Send_Timeout = 3 # How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second).
|
||||
# Message formats
|
||||
# Words wrapped with { and } are going to be replaced during the code execution, do not change them!
|
||||
# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.
|
||||
# For Discord message formatting, check the following: https://mccteam.github.io/r/dc-fmt.html
|
||||
PrivateMessageFormat = "**[Private Message]** {username}: {message}"
|
||||
PublicMessageFormat = "{username}: {message}"
|
||||
TeleportRequestMessageFormat = "A new Teleport Request from **{username}**!"
|
||||
|
||||
# Automatically farms crops for you (plants, breaks and bonemeals them).
|
||||
# Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat.
|
||||
# Usage: "/farmer start" command and "/farmer stop" command.
|
||||
# NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes.
|
||||
# or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this.
|
||||
# It is recommended to keep the farming area walled off and flat to avoid the bot jumping.
|
||||
# Also, if you have your farmland that is one block high, make it 2 or more blocks high so the bot does not fall through, as it can happen sometimes when the bot reconnects.
|
||||
# The bot also does not pickup all items if they fly off to the side, we have a plan to implement this option in the future as well as drop off and bonemeal refill chest(s).
|
||||
[ChatBot.Farmer]
|
||||
Enabled = false
|
||||
Delay_Between_Tasks = 1.0 # Delay between tasks in seconds (Minimum 1 second)
|
||||
|
||||
# Enabled you to make the bot follow you
|
||||
# NOTE: This is an experimental feature, the bot can be slow at times, you need to walk with a normal speed and to sometimes stop for it to be able to keep up with you
|
||||
# It's similar to making animals follow you when you're holding food in your hand.
|
||||
# This is due to a slow pathfinding algorithm, we're working on getting a better one
|
||||
# You can tweak the update limit and find what works best for you. (NOTE: Do not but a very low one, because you might achieve the opposite,
|
||||
# this might clog the thread for terain handling) and thus slow the bot even more.
|
||||
# /!\ Make sure server rules allow an option like this in the rules of the server before using this bot
|
||||
[ChatBot.FollowPlayer]
|
||||
Enabled = false
|
||||
Update_Limit = 1.5 # The rate at which the bot does calculations (in seconds) (You can tweak this if you feel the bot is too slow)
|
||||
Stop_At_Distance = 3.0 # Do not follow the player if he is in the range of 3 blocks (prevents the bot from pushing a player in an infinite loop)
|
||||
|
||||
# A small game to demonstrate chat interactions. Players can guess mystery words one letter at a time.
|
||||
# You need to have ChatFormat working correctly and add yourself in botowners to start the game with /tell <bot username> start
|
||||
# /!\ This bot may get a bit spammy if many players are interacting with it
|
||||
[ChatBot.HangmanGame]
|
||||
Enabled = false
|
||||
English = true
|
||||
FileWords_EN = "hangman-en.txt"
|
||||
FileWords_FR = "hangman-fr.txt"
|
||||
|
||||
# Relay messages between players and servers, like a mail plugin
|
||||
# This bot can store messages when the recipients are offline, and send them when they join the server
|
||||
# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable this bot only if you trust server admins
|
||||
[ChatBot.Mailer]
|
||||
Enabled = false
|
||||
DatabaseFile = "MailerDatabase.ini"
|
||||
IgnoreListFile = "MailerIgnoreList.ini"
|
||||
PublicInteractions = false
|
||||
MaxMailsPerPlayer = 10
|
||||
MaxDatabaseSize = 10000
|
||||
MailRetentionDays = 30
|
||||
|
||||
# Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot)
|
||||
# This is useful for solving captchas which use maps
|
||||
# The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled.
|
||||
# NOTE:
|
||||
# If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console.
|
||||
# /!\ Make sure server rules allow bots to be used on the server, or you risk being punished.
|
||||
[ChatBot.Map]
|
||||
Enabled = false
|
||||
Render_In_Console = true # Whether to render the map in the console.
|
||||
Save_To_File = false # Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge).
|
||||
Auto_Render_On_Update = false # Automatically render the map once it is received or updated from/by the server
|
||||
Delete_All_On_Unload = true # Delete all rendered maps on unload/reload or when you launch the MCC again.
|
||||
Notify_On_First_Update = true # Get a notification when you have gotten a map from the server for the first time
|
||||
Rasize_Rendered_Image = false # Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord.
|
||||
Resize_To = 512 # The size that a rendered image should be resized to, in pixels (eg. 512).
|
||||
# Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!)
|
||||
# You need to enable Save_To_File in order for this to work.
|
||||
# We also recommend turning on resizing.
|
||||
Send_Rendered_To_Discord = false
|
||||
Send_Rendered_To_Telegram = false
|
||||
|
||||
# Log the list of players periodically into a textual file.
|
||||
[ChatBot.PlayerListLogger]
|
||||
Enabled = false
|
||||
File = "playerlog.txt"
|
||||
Delay = 60.0 # (In seconds)
|
||||
|
||||
# Send MCC console commands to your bot through server PMs (/tell)
|
||||
# You need to have ChatFormat working correctly and add yourself in botowners to use the bot
|
||||
# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable RemoteControl only if you trust server admins
|
||||
[ChatBot.RemoteControl]
|
||||
Enabled = false
|
||||
AutoTpaccept = true
|
||||
AutoTpaccept_Everyone = false
|
||||
|
||||
# Enable recording of the game (/replay start) and replay it later using the Replay Mod (https://www.replaymod.com/)
|
||||
# Please note that due to technical limitations, the client player (you) will not be shown in the replay file
|
||||
# /!\ You SHOULD use /replay stop or exit the program gracefully with /quit OR THE REPLAY FILE MAY GET CORRUPT!
|
||||
[ChatBot.ReplayCapture]
|
||||
Enabled = false
|
||||
Backup_Interval = 300.0 # How long should replay file be auto-saved, in seconds. Use -1 to disable.
|
||||
|
||||
# Schedule commands and scripts to launch on various events such as server join, date/time or time interval
|
||||
# See https://mccteam.github.io/g/bots/#script-scheduler for more info
|
||||
[ChatBot.ScriptScheduler]
|
||||
Enabled = false
|
||||
|
||||
[[ChatBot.ScriptScheduler.TaskList]]
|
||||
Task_Name = "Task Name 1"
|
||||
Trigger_On_First_Login = false
|
||||
Trigger_On_Login = false
|
||||
Trigger_On_Times = { Enable = true, Times = [ 14:00:00, ] }
|
||||
Trigger_On_Interval = { Enable = true, MinTime = 3.6, MaxTime = 4.8 }
|
||||
Action = "send /hello"
|
||||
|
||||
[[ChatBot.ScriptScheduler.TaskList]]
|
||||
Task_Name = "Task Name 2"
|
||||
Trigger_On_First_Login = false
|
||||
Trigger_On_Login = true
|
||||
Trigger_On_Times = { Enable = false, Times = [ ] }
|
||||
Trigger_On_Interval = { Enable = false, MinTime = 1.0, MaxTime = 10.0 }
|
||||
Action = "send /login pass"
|
||||
|
||||
|
||||
# This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel.
|
||||
# /!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel.
|
||||
# -----------------------------------------------------------
|
||||
# Setup:
|
||||
# First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather
|
||||
# Click on "Start" button and read the bot reply, then type "/newbot", the Botfather will guide you through the bot creation.
|
||||
# Once you create the bot, copy the API key that you have gotten, and put it into the "Token" field of "ChatBot.TelegramBridge" section (this section).
|
||||
# /!\ Do not share this token with anyone else as it will give them the control over your bot. Save it securely.
|
||||
# Then launch the client and go to Telegram, find your newly created bot by searching for it with its username, and open a DM with it.
|
||||
# Click on "Start" button and type and send the following command ".chatid" to obtain the chat id.
|
||||
# Copy the chat id number (eg. 2627844670) and paste it in the "ChannelId" field and add it to the "Authorized_Chat_Ids" field (in this section) (an id in "Authorized_Chat_Ids" field is a number/long, not a string!), then save the file.
|
||||
# Now you can use the bot using it's DM.
|
||||
# /!\ If you do not add the id of your chat DM with the bot to the "Authorized_Chat_Ids" field, ayone who finds your bot via search will be able to execute commands and send messages!
|
||||
# /!\ An id pasted in to the "Authorized_Chat_Ids" should be a number/long, not a string!
|
||||
# -----------------------------------------------------------
|
||||
# NOTE: If you want to recieve messages to a group channel instead, make the channel temporarely public, invite the bot to it and make it an administrator, then set the channel to private if you want.
|
||||
# Then set the "ChannelId" field to the @ of your channel (you must include the @ in the settings, eg. "@mysupersecretchannel"), this is the username you can see in the invite link of the channel.
|
||||
# /!\ Only include the username with @ prefix, do not include the rest of the link. Example if you have "https://t.me/mysupersecretchannel", the "ChannelId" will be "@mysupersecretchannel".
|
||||
# /!\ Note that you will not be able to send messages to the client from a group channel!
|
||||
# -----------------------------------------------------------
|
||||
# How to use the bot:
|
||||
# To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" .
|
||||
# To send a message, simply type it out and hit enter.
|
||||
[ChatBot.TelegramBridge]
|
||||
Enabled = false
|
||||
Token = "your bot token here" # Your Telegram Bot token.
|
||||
ChannelId = "" # An ID of a channel where you want to interact with the MCC using the bot.
|
||||
Authorized_Chat_Ids = [ ] # A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram.
|
||||
Message_Send_Timeout = 3 # How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second).
|
||||
# Message formats
|
||||
# Words wrapped with { and } are going to be replaced during the code execution, do not change them!
|
||||
# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.
|
||||
# For Telegram message formatting, check the following: https://mccteam.github.io/r/tg-fmt.html
|
||||
PrivateMessageFormat = "*(Private Message)* {username}: {message}"
|
||||
PublicMessageFormat = "{username}: {message}"
|
||||
TeleportRequestMessageFormat = "A new Teleport Request from **{username}**!"
|
||||
|
||||
# A Chat Bot that collects items on the ground
|
||||
[ChatBot.ItemsCollector]
|
||||
Enabled = false
|
||||
Collect_All_Item_Types = true # If set to true, the bot will collect all items, regardless of their type. If you want to use the whitelisted item types, disable this by setting it to false
|
||||
Items_Whitelist = [ "Diamond", "NetheriteIngot", ] # In this list you can specify which items the bot will collect. To enable this, set the Collect_All_Item_Types to false. (NOTE: This does not prevent the bot from accidentally picking up other items, it only goes to positions where it finds the whitelisted items)\nYou can see the list of item types here: https://raw.githubusercontent.com/MCCTeam/Minecraft-Console-Client/master/MinecraftClient/Inventory/ItemType.cs
|
||||
Delay_Between_Tasks = 300 # Delay in milliseconds between bot scanning items (Recommended: 300-500)
|
||||
Collection_Radius = 30.0 # The radius in which bot will look for items to collect (Default: 30)
|
||||
Always_Return_To_Start = true # If set to true, the bot will return to it's starting position after there are no items to collect
|
||||
Prioritize_Clusters = false # If set to true, the bot will go after clustered items instead for the closest ones
|
||||
|
||||
|
||||
|
||||
3
Gentoo/gentooamd/home/.local/bin/ProfileKeyCache.ini
Normal file
3
Gentoo/gentooamd/home/.local/bin/ProfileKeyCache.ini
Normal file
@ -0,0 +1,3 @@
|
||||
# Generated by MCC v1.20.4 - Keep it secret & Edit at own risk!
|
||||
# ProfileKey=PublicKey(base64),PublicKeySignature(base64),PublicKeySignatureV2(base64),PrivateKey(base64),ExpiresAt,RefreshAfter
|
||||
ganome@gmail.com=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4w7CNU9VTbwJUx+wiwtASBIERw2m49M5vlrho2tSkD3njGlb/zvI3GGn+bL77AA5W6cnUSoxyHifAjIwPXBqQ9yakKGjmft9bfet56YhOPsr1psThBB28aa+UkoHlMBBSYKxsLTAnvokyrdYOr4/WniW0uTiSR716RRgbMJkLPe9UWnua/g+8rUar5wtAl0LB/KeC/fUWOikXGEKBxxeg+vEbRp/zwixmn+1gRTRHtN3uZG0zkuZAOMAeAj5KGSAsIHC/aANMwcHRFcGaINJqZuL/W2tIVa0eOAIWVJZPhbsfTA3u3DX7auN/xq2q9Dw1xVS0bdz6huqupT+6EzXwQIDAQAB,IZgLuCyZOIKJHUvzXi1mBJMUcc6nqgVgKP5gYpGyZ5pmjp1nbi4Yk8qFGlqj8vlGOaRscQY7ahnhZA86iE/oCqvKMVgjlMpDcZtSOBR4/Rxk8X1C/YVcAHKV8UHErBYHwYXfkY9E0zfljEmKNkycbLETxDfhKqXJd6SFMkTAdIr7rMGkgDwhVjezBJoDR7UO+jDEOoZrLLyu+sTi8iEowsJNb9s1O1dzYD91rfWpOXslr5TOhE0d68+q/aEaDEgmH955x+5R0VD0JT9hTLXbHmBBGf79iSVo9dQtGifjTam0RN4Sb7khDWFvWC8sptPayoLi/iKMUa2ufX5nTjtrw8hfe+jEkdX30yfTr/331OJZVHy+RbPOHK0E5uEfVcnruXyEroZ4LacasycFU8hWUeHGBPPgyyt6U4IWrdzsCTP2pUA/S9pf3jhn2auKQqGHlaiK21nT7I49PnKBtymSyt6lVHb5+YElqmGqUvCGiTNTah9T/z/GNaACVz8zsyAPAtTrhjB8DgJ2qvlRGBue3AFSrx05q5ZwjNJM9RyAixGuZrBsstW+1CE+b/mE5tMB43kSRN/kizy+0k6okcS3tjLkcqOL2C7yhdDPXZclqjfhTg8MBL+wx4AJ30enTlgNjZaskuFet46Aq7NYh7qj3spnnKn1p2yEKmKr+cSGHD4=,CRg9e7NRGfO6R0z8lnku5tYMJYXTe3BqU9eFHSrtPgE0RtG+DbR9RvuPlQhlu+CythgnJ0xrqxXiq7OkOtTSs9Vm88xDIUhIu6/Vb+rJ6cf6ZtaVAJLKKSgbeXzKi73BjKgxJhqcJ/jIODyzLk5+CAvsanIDOFjar23kzyIZH/hnXmfPCfXJcGZqWJYo7xaFcMSkN+eZ7ZzDZU+3p5JDmN25WYxUBsi+8W0ZVcz2OpdyqyX7sI5Yl2q3kA641N8+9XWLYWG6ZFPi7ECzZh9kxZgvNvCr3UI53NmfuqQXkHWoHoivZ7bcgr+UNjV2eNDi4bg040AIeK3o+wa2e7liFF5JKMuN3F0CEBcB07bb3Dp1A1SPAuKV/pYgnLf8MpbS3OjJs35Dh7bpR7QLWX3FldjMXMMuEmyaxs0flPd/cLtwknpYIU9wSoAGKBp89thl6rw5FQeL+xSSL6aITmiCtgQaCk1hyiuRRj3pdk5xXs49mCSWuClDQtYlwKw1re84Gwvm/9XMCGwyCaraLtja1S+vjciGIUTLOxzl3ftiAI9LdhMgxo2FXFsg6mDbP0u8MBSaLM7MZFES6MtNPfjlETDA4BR6SLUruTlpM0V7WBRpvqUWV1mzujxjRg6sm6W4kO5NDof7x4j6llQxrVUm0gjAHptsk/Pxoskg+OzwrXU=,MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDjDsI1T1VNvAlTH7CLC0BIEgRHDabj0zm+WuGja1KQPeeMaVv/O8jcYaf5svvsADlbpydRKjHIeJ8CMjA9cGpD3JqQoaOZ+31t963npiE4+yvWmxOEEHbxpr5SSgeUwEFJgrGwtMCe+iTKt1g6vj9aeJbS5OJJHvXpFGBswmQs971Rae5r+D7ytRqvnC0CXQsH8p4L99RY6KRcYQoHHF6D68RtGn/PCLGaf7WBFNEe03e5kbTOS5kA4wB4CPkoZICwgcL9oA0zBwdEVwZog0mpm4v9ba0hVrR44AhZUlk+Fux9MDe7cNftq43/Grar0PDXFVLRt3PqG6q6lP7oTNfBAgMBAAECggEAAnisdaK+nXAXEmSDiKEtWJCQo0k2PjFIi8lJsxmIqg8B46fB4I2T+gHUybvtgZtEbUjsvZK6POwOi6XhZ2DiPCCEYTcDjAAM6Pxttxc6N94/6liySZTIKQMqNgqbFC1xB8AKkb3eddAoLO3/+Pi2QYX2JpK+Z0nSOF8p078K9ai6oN+7JI1pVfvd2ssUYNwM0WXu0sHj7QZ9YX5QWdA48qSHczq03xf0PYdiPZpEhV8/HE1/HOgRPQxVxKcUkeyr/6ozW/dD4I8CETh9IpQLhjGQB5UG80aalItYSmp6ke77WLPRLpywIjkA8yWvTR7RfkjVRAAhl8XIbSmX6rEYyQKBgQDoZypWi/mfJBvIriCWonNAjAphHv2lPAEdk0kS6HCqt4fwpXIzLtBr6bsuVIuYfZs6xJ3KhEafCCx4MBEhj4JVOBcMC0Vz+8LT/WZmMh2K3xHuXtlV5rLfbxsbsU6zFfVB0Dh3PBtnQjKnFM1DF1SJUFmnR1KNT1DDliX0/gX+KQKBgQD6HKb4IwEVLIx/1xnzfDRwirgGEBl1iWgBuXL7KAphrv6YAL6oDqA8Yc5gxT+3a1xmzDS2Dcbrb6rwT9pE0URuxzzjN4IHmzcKJ/6z1ky3pWxntPbyo02zFDY39MVeMSJDee16y0JUzZDHcVcQ4mn0ZRKn93cus2NKV+nqIzQP2QKBgQDkpctTxvdaiQ4EzLwnN8Coep8jmnf2fyihzmyQe7uNWnAWZNAMZzyLTzPniyqkZr+4fAS6YJWSlVobDT9tg2G5MiwKn3Q/fizaoG6EkT3biUh8+zhceVL23LsQ7cr+CtZ3X8KOHMbhOpHXLHIeVe/IAROTrmobuTM+mpTRirKesQKBgCBCc9LLiQc3IMQYdXNvUMA3VDcL+oyrdWvLhKYaawRgctweNHkuscI4B0t6BZbd1SQ5MI9OxZp2Y8DtO8TmjQIQ1qyj6zSZ84Zu1C5T9L83Kf1SXQu8vnfbooajHpXgln/HiTbuYpbXkNX4q3c1DN+F7dsWUxwF7UeYgUY+1ic5AoGBAIzfw/95NLDubELUhEn4eske1acS91lsMO6Xm6VrfSdbF01he73/mxOSV1RFf5fEO0DongHQE4o8FqEA61pwYdecW0Og3A9rvoE5l/fIUgWiIsqcVhcuubVBuGKU4YF/LAkrV9FJx6/cIKM/NrPje4cAyGf1RH7Hl6RKzdYaAEk7,2025-07-27T17:37:01.209599Z,2025-07-27T09:37:01.209599Z
|
||||
@ -2,3 +2,4 @@
|
||||
# Login=SessionID,PlayerName,UUID,ClientID,RefreshToken,ServerIDhash,ServerPublicKey
|
||||
=eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQ1OTY1NzcyNDEyNyIsImFnZyI6IkFkdWx0Iiwic3ViIjoiZmRiODA4MGUtNWM1NC00MjdkLWI0MzAtMjYxMDhiZGQzNmUwIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMmY4MzQyZmQtMzMwMS00NDI3LTk4ODktZjAxNTUwNGVmYmRmIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJmZTU5ZDc4OGY2NjdlY2RkZGVlNjMwMDU3MWRiNTMxYyIsIm5iZiI6MTcyOTA0MjIyNCwiZXhwIjoxNzI5MTI4NjI0LCJpYXQiOjE3MjkwNDIyMjR9.9k39jCYfSXVUlF1OEnMaryLuroys6a1Axm3gmV7vdQ0,Gnomelite,2f8342fd330144279889f015504efbdf,dfeb1fd48da74864924667ea7b2c155f,M.C505_BL2.0.U.-CqNCQ30dmnPG*cICAyaV6Bp!0wI2ubzQbDv0GeL01B1bY8l2TwqcNjBIzvCXNtdZfNeyeXAo8P1tgHpFE1oJLUSHFGTTfx5vrGtJKvG*454ZkNlGnjRbH7b5ncyCJT!GCm5LwjyUQLDkQ6VZzDTahUsreHMLE7YpVvbt07xZ3*bS2x4*I8kPy5npV0Mbe3LgIv4YCijBdLisqSmIwLCJEeV6n4NeX!mdHjP7b1K3lmwIvFKgMerpYER3NZ3zM2xZBuCOclcWU6BDThLGczL3hEsM9kAcld7ImkhHw41z5VCvbwfmtwsLXt5tfLyy9SkNSXnJuDY*DCTlauPJe!y5P2XzKRfYL3WMWzuwvUt2vhNx,,
|
||||
ganome420@gmail.com=eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQ1OTY1NzcyNDEyNyIsImFnZyI6IkFkdWx0Iiwic3ViIjoiZmRiODA4MGUtNWM1NC00MjdkLWI0MzAtMjYxMDhiZGQzNmUwIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMmY4MzQyZmQtMzMwMS00NDI3LTk4ODktZjAxNTUwNGVmYmRmIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJmZTU5ZDc4OGY2NjdlY2RkZGVlNjMwMDU3MWRiNTMxYyIsIm5iZiI6MTcyOTA0MjI2MCwiZXhwIjoxNzI5MTI4NjYwLCJpYXQiOjE3MjkwNDIyNjB9.QmGjvgjZHJ5cF3dUl2DMZ0FXU9P6kTk1gj45btK2zR0,Gnomelite,2f8342fd330144279889f015504efbdf,54cb44efba0847c8ac4256a316304d3f,M.C505_SN1.0.U.-ChyVibtzBNco*sWoHGnffdtObMOVtMUxd4B5X77I7Ktmr38KDxKLNoARtNJanZBZTIZrL6adeCov5dsCIr9oK31ACvyhKflXdKZRu4zgS!FP!vwvw56xEp0q!XlIleCjoowKvbC1id7TrPlDONJxFyvyzqalMEaO15l4yE77WJq2sAdWlUp2tZNY*JJii7HcsS!DVLc0DDxlj3DuDpB*BvbsjFwqtoS8k0ja5l0zw7S8cxUzboVySTNAfLzxZb6Fn3GYlvhimD8O4voiAKUPUAIR0bc8yMRy6mIJIGsCwAsiTlnKTRpldmlsu11qmg897EH4Cyl4KDmgVqKd5AGdQEHbBfrqeYfB23ajSNaRvhHr,,
|
||||
ganome@gmail.com=eyJraWQiOiIwNDkxODEiLCJhbGciOiJSUzI1NiJ9.eyJ4dWlkIjoiMjUzMzI3NDgxMzY3NTAxMiIsImFnZyI6IkFkdWx0Iiwic3ViIjoiZWViZDEwMGUtNGQ3ZS00MTUxLWFmNDctNDZmYTc4YmQzMDFmIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm11bHRpcGxheWVyIiwib3JkZXJzXzIwMjIiLCJtc2FtaWdyYXRpb25fc3RhZ2U0Il0sInByb2ZpbGVzIjp7Im1jIjoiNjIyOTQxOGItMWFiYy00ZTU4LTlkMzEtZDMxOGI1N2Y2NjkwIn0sInBsYXRmb3JtIjoiUENfTEFVTkNIRVIiLCJwZmQiOlt7InR5cGUiOiJtYyIsImlkIjoiNjIyOTQxOGItMWFiYy00ZTU4LTlkMzEtZDMxOGI1N2Y2NjkwIiwibmFtZSI6Ikdhbm9tZTMxNyJ9XSwibmJmIjoxNzUzNTc4NDI4LCJleHAiOjE3NTM2NjQ4MjgsImlhdCI6MTc1MzU3ODQyOH0.mY4ysM8kmuI1D_-xuEqi03bxj_q4sEwcCIZ2gYRnBSljcbeqrS_uR5UyhEhLcRJlu-mT9xen5qmy7yXkGgbA_7XDJmPMxRRQf0dAXBUAvuLrtLGUotYHReYmogNyC6DGK8rqAb0asoDW4a3jjfe9OArKSHQDgC5Od-VFtYabPSVvlT3a8s5drKgQ7Gq9qtjB3R4pqKFWsI0o-0ZZPlZJz6_c1n_fuLrnzdMRoX9EZmNVND-WGZsiUXUmM1hAV08oBMXl40tfKCqR0EOJNfQKzPuVqbTIaK7IHnOYA74OHBwh_ogix-_R2rd3P0m3u-t0HaHqWmsz_lXJpqbATqcfqQ,Ganome317,6229418b1abc4e589d31d318b57f6690,f0b3672b4313467f9146a7d1d186aabb,,,
|
||||
|
||||
BIN
Gentoo/gentooamd/home/.local/bin/mcc
Executable file
BIN
Gentoo/gentooamd/home/.local/bin/mcc
Executable file
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
[General]
|
||||
ignoreUpdateToVersion=13.1.0
|
||||
savePath=/home/ganome/Pictures/Screenshots
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[files]
|
||||
recent_files=/home/ganome/api.config.yaml;/home/ganome/Nextcloud4/SCAR-iT/CoPilot/Wazuh/sysmonconfig-deerstealer.txt;/home/ganome/Nextcloud4/Dad/USPS-problem.txt;/home/ganome/Downloads/nuclei.txt;/home/ganome/Nextcloud4/SCAR-iT/CoPilot/Wazuh/sysmonconfig-deerstealer.xml;/home/ganome/Nextcloud4/SCAR-iT/blogs/Gentoo SecureBoot;/home/ganome/Documents/GameStuff/gamestoget.txt;/home/ganome/Documents/GameStuff/fragpunk-cmd.txt;/home/ganome/Nextcloud4/SCAR-iT/Wazuh/troubleshooting-changes.txt;/home/ganome/emerge-resume;
|
||||
recent_files=/home/ganome/Desktop/Minecraft-TODO.txt;/home/ganome/api.config.yaml;/home/ganome/Nextcloud4/SCAR-iT/CoPilot/Wazuh/sysmonconfig-deerstealer.txt;/home/ganome/Nextcloud4/Dad/USPS-problem.txt;/home/ganome/Downloads/nuclei.txt;/home/ganome/Nextcloud4/SCAR-iT/CoPilot/Wazuh/sysmonconfig-deerstealer.xml;/home/ganome/Nextcloud4/SCAR-iT/blogs/Gentoo SecureBoot;/home/ganome/Documents/GameStuff/gamestoget.txt;/home/ganome/Documents/GameStuff/fragpunk-cmd.txt;/home/ganome/Nextcloud4/SCAR-iT/Wazuh/troubleshooting-changes.txt;
|
||||
recent_projects=
|
||||
current_page=0
|
||||
current_page=9
|
||||
FILE_NAME_0=23;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2FDocuments%2Fwazuh-readonly.txt;0;4
|
||||
FILE_NAME_1=11;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2FDocuments%2FProbate-Attorney.txt;0;4
|
||||
FILE_NAME_2=748;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2Femerge-resume;0;4
|
||||
@ -11,6 +11,7 @@ FILE_NAME_5=930;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2FDocuments%2FGameStuff%2Fa
|
||||
FILE_NAME_6=112;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2FNextcloud4%2FSCAR-iT%2Fblogs%2FGentoo%20SecureBoot;0;4
|
||||
FILE_NAME_7=85;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2FNextcloud4%2FDad%2FUSPS-problem.txt;0;4
|
||||
FILE_NAME_8=4292;YAML;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2Fapi.config.yaml;0;4
|
||||
FILE_NAME_9=379;None;0;EUTF-8;1;1;0;%2Fhome%2Fganome%2FDesktop%2FMinecraft-TODO.txt;0;4
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
@ -18,8 +19,8 @@ project_file_path=/home/ganome/projects
|
||||
|
||||
[geany]
|
||||
treeview_position=156
|
||||
msgwindow_position=790
|
||||
geometry=0;0;1898;1022;1;
|
||||
msgwindow_position=846
|
||||
geometry=-3840;0;1918;1078;1;
|
||||
sidebar_page=1
|
||||
|
||||
[VTE]
|
||||
|
||||
@ -5,7 +5,7 @@ env = XDG_SESSION_DESKTOP, Hyprland
|
||||
env = GDK_BACKEND, wayland
|
||||
env = CLUTTER_BACKEND, wayland
|
||||
env = SDL_VIDEODRIVER, wayland,x11,windows
|
||||
env = QT_QPA_PLATFORM, wayland,xcb
|
||||
# env = QT_QPA_PLATFORM, wayland,xcb
|
||||
env = QT_QPA_PLATFORM, wayland
|
||||
env = QT_QPA_PLATFORMTHEME, qt5ct
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||||
|
||||
@ -36,6 +36,6 @@ ellipsize=2
|
||||
multi_user=true
|
||||
icon_name=parcellite
|
||||
menu_key=<Ctrl><Alt>P
|
||||
history_key=<Hyper>V
|
||||
history_key=<Super>V
|
||||
phistory_key=<Ctrl><Alt>X
|
||||
actions_key=<Ctrl><Alt>A
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[window]
|
||||
width=854
|
||||
height=641
|
||||
width=1918
|
||||
height=1078
|
||||
sinkInputType=1
|
||||
sourceOutputType=0
|
||||
sinkType=0
|
||||
|
||||
@ -107,7 +107,7 @@ fade-out-step = 0.03;
|
||||
|
||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||
# inactive-opacity = 1
|
||||
inactive-opacity = 0.75;
|
||||
inactive-opacity = 0.50;
|
||||
|
||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||
# frame-opacity = 1.0
|
||||
@ -140,8 +140,9 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
# opacity-rule = []
|
||||
opacity-rule = [ "100:_NET_WM_STATE@:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||
"100:class_g = 'Rofi'",
|
||||
"100:class_g = 'steam_app_2943650'", #FragPunk
|
||||
"100:class_g = 'steam_app_2437170'" ]; #Smite2
|
||||
"100:class_g = 'steam_app_2943650'", #FragPunk
|
||||
"100:class_g = 'steam_app_2437170'" #Smite2
|
||||
"100:class_g = 'steam_app_2918300'" ]; #Splitgate 2
|
||||
|
||||
|
||||
#################################
|
||||
|
||||
@ -1 +1 @@
|
||||
1751935807
|
||||
1755305744
|
||||
@ -1,6 +1,6 @@
|
||||
/pages.ar/ @MachiavelliII
|
||||
/pages.de/ @pixelcmtd @gutjuri
|
||||
/pages.es/ @kant @tricantivu @ikks
|
||||
/pages.es/ @kant @ikks
|
||||
/pages.fa/ @MrMw3
|
||||
/pages.fi/ @Managor
|
||||
/pages.fr/ @Nico385412 @nicokosi @noraj
|
||||
@ -10,8 +10,7 @@
|
||||
/pages.ko/ @IMHOJEONG @Zamoca42 @CodePsy-2001
|
||||
/pages.nl/ @sebastiaanspeck @leonvsc @Waples @dmmqz
|
||||
/pages.pl/ @acuteenvy @spageektti
|
||||
/pages.pt_BR/ @isaacvicente @vitorhcl @renie
|
||||
/pages.pt_PT/ @waldyrious
|
||||
/pages.pt_BR/ @isaacvicente @renie
|
||||
/pages.ta/ @kbdharun
|
||||
/pages.tr/ @tansiret
|
||||
/pages.zh/ @blueskyson @einverne
|
||||
@ -30,7 +29,7 @@
|
||||
/contributing-guides/translation-templates/ @kbdharun @sebastiaanspeck
|
||||
/contributing-guides/*.ar.md @MachiavelliII
|
||||
/contributing-guides/*.de.md @pixelcmtd @gutjuri
|
||||
/contributing-guides/*.es.md @kant @tricantivu @ikks
|
||||
/contributing-guides/*.es.md @kant @ikks
|
||||
/contributing-guides/*.fa.md @MrMw3
|
||||
/contributing-guides/*.fr.md @Nico385412 @nicokosi @noraj
|
||||
/contributing-guides/*.hi.md @kbdharun @debghs @karthik-script
|
||||
@ -39,8 +38,7 @@
|
||||
/contributing-guides/*.ko.md @IMHOJEONG @Zamoca42 @CodePsy-2001
|
||||
/contributing-guides/*.nl.md @sebastiaanspeck @leonvsc @Waples @dmmqz
|
||||
/contributing-guides/*.pl.md @acuteenvy @spageektti
|
||||
/contributing-guides/*.pt_BR.md @isaacvicente @vitorhcl @renie
|
||||
/contributing-guides/*.pt_PT.md @waldyrious
|
||||
/contributing-guides/*.pt_BR.md @isaacvicente @renie
|
||||
/contributing-guides/*.ta.md @kbdharun
|
||||
/contributing-guides/*.tr.md @tansiret
|
||||
/contributing-guides/*.zh.md @blueskyson @einverne
|
||||
|
||||
@ -31,7 +31,7 @@ jobs:
|
||||
sort -u usernames.txt -o usernames.txt
|
||||
|
||||
- name: Lychee URL checker
|
||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
|
||||
uses: lycheeverse/lychee-action@5c4ee84814c983aa7164eaee476f014e53ff3963 # v2.5.0
|
||||
id: lychee
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
||||
@ -73,6 +73,7 @@ The `pages` directory and `pages.*` language-specific directories contain the pl
|
||||
2. If the command is **only** available for **one** platform, these are the available directories followed by their right platform:
|
||||
|
||||
- `android`: Android
|
||||
- `cisco-ios`: Cisco IOS
|
||||
- `freebsd`: FreeBSD
|
||||
- `openbsd`: OpenBSD
|
||||
- `osx`: OSX/Mac OS/macOS (will be replaced by `macos`)
|
||||
@ -281,7 +282,7 @@ For other cases, it is suggested to follow <https://www.conventionalcommits.org/
|
||||
## Name collisions
|
||||
|
||||
When there are multiple commands sharing the same name, the existing page of the command and the new command can be renamed to `command.1` and so on following a numbering scheme or using a suffix relating to the program like the programming language i.e. `command.js`.
|
||||
The base page can be updated to reference the newly renamed/created pages by following [this subcommand reference format](#subcommands).
|
||||
The base page can be updated to reference the newly renamed/created pages by following [the disambiguation page format](contributing-guides/style-guide.md#disambiguations).
|
||||
|
||||
See the following page for reference:
|
||||
|
||||
|
||||
@ -56,8 +56,6 @@ If you are an owner of the organization, you can see an automated list [here](ht
|
||||
[14 November 2023](https://github.com/tldr-pages/tldr/issues/11495) — present
|
||||
- **Matthew Peveler ([@MasterOdin](https://github.com/MasterOdin))**:
|
||||
[9 January 2021](https://github.com/tldr-pages/tldr/issues/5122) — [18 March 2021](https://github.com/tldr-pages/tldr/issues/5473), [15 November 2023](https://github.com/tldr-pages/tldr/issues/11509) — present
|
||||
- **Marcher Simon ([@marchersimon](https://github.com/marchersimon))**:
|
||||
[9 March 2021](https://github.com/tldr-pages/tldr/issues/5390) — [9 April 2021](https://github.com/tldr-pages/tldr/issues/5722), [20 November 2023](https://github.com/tldr-pages/tldr/issues/11381) — present
|
||||
- **cyqsimon ([@cyqsimon](https://github.com/cyqsimon))**:
|
||||
[28 December 2023](https://github.com/tldr-pages/tldr/issues/11864) — present
|
||||
- **Jongwon Youn ([@korECM](https://github.com/korECM))**:
|
||||
@ -154,6 +152,9 @@ If you are an owner of the organization, you can see an automated list [here](ht
|
||||
[21 September 2024](https://github.com/tldr-pages/tldr/issues/13781) — [29 June 2025](https://github.com/tldr-pages/tldr/issues/17025)
|
||||
- Dylan McGivern ([@dmmqz](https://github.com/dmmqz)):
|
||||
[30 May 2025](https://github.com/tldr-pages/tldr/issues/16671) — [30 June 2025](https://github.com/tldr-pages/tldr/issues/17026)
|
||||
- Marcher Simon ([@marchersimon](https://github.com/marchersimon)):
|
||||
[9 March 2021](https://github.com/tldr-pages/tldr/issues/5390) — [9 April 2021](https://github.com/tldr-pages/tldr/issues/5722), [20 November 2023](https://github.com/tldr-pages/tldr/issues/11381) — [12 July 2025](https://github.com/tldr-pages/tldr/issues/17214)
|
||||
|
||||
|
||||
## Organization members
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ How about:
|
||||
|
||||
This repository is just that: an ever-growing collection of examples
|
||||
for the most common UNIX, Linux, macOS, FreeBSD, NetBSD, OpenBSD,
|
||||
SunOS, Android, and Windows command-line tools.
|
||||
SunOS, Android, Windows, and Cisco IOS command-line tools.
|
||||
|
||||
## How do I use it?
|
||||
|
||||
|
||||
@ -117,6 +117,8 @@ most [tldr pages clients](https://github.com/tldr-pages/tldr/wiki/Clients) will
|
||||
In this case, the information of the Windows version of `cd` (stored in `pages/windows/cd.md`) will be displayed by default to Windows users, and a generic/common version (stored in `pages/common/cd.md`)
|
||||
will be displayed for Linux, macOS, and other platform users.
|
||||
|
||||
Try to match the page filename with the invoked command. Do not use the project name if possible. The goal is to be as transparent as possible to the user when they are curious of a command.
|
||||
|
||||
### Aliases
|
||||
|
||||
If a command can be called with alternative names (like `vim` can be called by `vi`), alias pages can be created to point the user to the original command name.
|
||||
@ -315,6 +317,14 @@ When describing keycaps or a keyboard shortcut for a utility, use the same [keyp
|
||||
|
||||
If a program requires root privileges to run and doesn't provide its own prompt for a password, prepend the command with `sudo` (e.g. `sudo apt update`).
|
||||
|
||||
### Standardized Terms
|
||||
|
||||
Some terms are used repeatedly throughout pages, and as such, should be standardized. These include:
|
||||
|
||||
| Term | Standard | Explanation |
|
||||
|---|---|---|
|
||||
| Regular expression | `` `regex` `` | `regex` defines a match pattern given a string of characters (https://en.wikipedia.org/wiki/Regular_expression). |
|
||||
|
||||
## Heading
|
||||
|
||||
### Program description
|
||||
@ -340,6 +350,7 @@ It should instead be simplified to make it easier for everyone to read:
|
||||
- On the `More information` link line, provide a direct link to documentation that instructs on how to use the command. We prefer linking to the author's provided documentation but when not available or very lacking in information, use <https://manned.org> as the default fallback for all platforms
|
||||
(except `osx` and BSD platforms other than FreeBSD).
|
||||
If there is no documentation page to be found, you can link to the author's website or a third party tutorial.
|
||||
- Keep the more information link short. Cut out redundant text if possible. For example use https://manned.org/partclone instead of https://manned.org/man/partclone.8 unless there are two different manpages for a command across distributions/platforms i.e. `command.1` and `command.8`.
|
||||
|
||||
- For `osx`: Apple distributes the built-in man pages [in Xcode](https://developer.apple.com/documentation/os/reading_unix_manual_pages).
|
||||
For commands documented there, we recommend using <https://keith.github.io/xcode-man-pages/>, an HTML export of all Apple's man pages bundled with Xcode.
|
||||
@ -458,8 +469,8 @@ Keep the following guidelines in mind when choosing placeholders:
|
||||
except when the location is implicit.
|
||||
- When the path cannot be relative
|
||||
and has to start at the root of the filesystem,
|
||||
prefix it with a slash,
|
||||
such as `get {{/path/to/remote_file}}`.
|
||||
prefix it with a slash outside the placeholder,
|
||||
such as `get /{{path/to/remote_file}}`.
|
||||
- In case of a possible reference both to a file or a directory,
|
||||
use `{{path/to/file_or_directory}}`.
|
||||
|
||||
@ -480,7 +491,7 @@ Keep the following guidelines in mind when choosing placeholders:
|
||||
|
||||
- If a command can optionally take 1 or more arguments of the same kind, use an ellipsis: `{{placeholder1 placeholder2 ...}}`.
|
||||
For instance, if multiple paths are expected, use `{{path/to/directory1 path/to/directory2 ...}}`.
|
||||
- If only one of the multiple options is possible, write it as: `{{placeholder1|placeholder2|placeholder3}}`. If there are more than 4 possible values, you can use `|...` after the last item.
|
||||
- If only one of the multiple options is possible, write it as: `{{placeholder1|placeholder2|placeholder3}}`. If there are more than 3 possible values, you can use `|...` after the last item.
|
||||
- Use two dots to mark a range of possible values, for example `{{1..5}}` or `{{a..z}}`.
|
||||
|
||||
#### Optional placeholders
|
||||
@ -489,6 +500,9 @@ When documenting optional placeholders like paths or file extensions, it is sugg
|
||||
|
||||
- Use `{{path/to/source.ext}}` instead of `{{path/to/source.tar[.gz|.bz2|.xz]}}`.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Do not put placeholders inside placeholders.
|
||||
|
||||
### Keypress syntax
|
||||
|
||||
To mark keypresses for TUI or GUI programs, use angle brackets `<` and `>`.
|
||||
|
||||
@ -32,7 +32,7 @@ Only the left-alignment of the header gets lost and has to be re-added again (`|
|
||||
| pt_BR | caminho/para/arquivo | caminho/para/diretorio | caminho/para/arquivo_ou_diretorio | pacote | nome_do_usuario |
|
||||
| pt_PT | caminho/para/ficheiro | caminho/para/diretório | caminho/para/ficheiro_ou_diretório | pacote | nome_de_utilizador |
|
||||
| ro | cale/către/fișier | cale/către/director | cale/către/fișier_sau_director | pachet | nume_utilizator |
|
||||
| ru | путь/до/файла | путь/до/папки | путь/до/файла_или_папки | пакет | имя_пользователя |
|
||||
| ru | путь/к/файлу | путь/к/каталогу | путь/к/файлу_или_каталогу | пакет | имя_пользователя |
|
||||
| sh | put/do/datoteke | put/do/direktorija | put/do/datoteke_ili_direktorija | paket | korisničko_ime |
|
||||
| sr | put/do/datoteke | put/do/direktorijuma | put/do/datoteke_ili_direktorijuma | paket | korisničko_ime |
|
||||
| sv | sökväg/till/fil | sökväg/till/katalog | sökväg/till/fil_eller_katalog | paket | användarnamn |
|
||||
|
||||
@ -14,16 +14,16 @@
|
||||
|
||||
- تحديد ملفات متعددة باستخدام `<Shift Tab>` وحفظها في ملف:
|
||||
|
||||
`find {{path/to/directory}} -type f | fzf --multi > {{path/to/file}}`
|
||||
`find {{path/to/directory}} -type f | fzf {{[-m|--multi]}} > {{path/to/file}}`
|
||||
|
||||
- تشغيل `fzf` مع نص بحثي محدد:
|
||||
|
||||
`fzf --query "{{query}}"`
|
||||
`fzf {{[-q|--query]}} "{{query}}"`
|
||||
|
||||
- تشغيل `fzf` على الإدخالات التي تبدأ بـ "core" وتنتهي بـ "go" أو "rb" أو "py":
|
||||
|
||||
`fzf --query "^core go$ | rb$ | py$"`
|
||||
`fzf {{[-q|--query]}} "^core go$ | rb$ | py$"`
|
||||
|
||||
- تشغيل `fzf` على الإدخالات التي لا تطابق "pyc" وتطابق تمامًا "travis":
|
||||
|
||||
`fzf --query "!pyc 'travis"`
|
||||
`fzf {{[-q|--query]}} "!pyc 'travis"`
|
||||
|
||||
@ -17,11 +17,11 @@
|
||||
|
||||
- تنفيذ كود JavaScript من سطر الأوامر:
|
||||
|
||||
`node -e "{{code}}"`
|
||||
`node {{[-e|--eval]}} "{{code}}"`
|
||||
|
||||
- تنفيذ وطباعة النتيجة، مفيد لطباعة إصدارات تبعيات node:
|
||||
|
||||
`node -p "process.versions"`
|
||||
`node {{[-p|--print]}} "process.versions"`
|
||||
|
||||
- تفعيل المصحح (inspector)، مع إيقاف التنفيذ حتى يتم الاتصال بمصحح الأخطاء (debugger) بمجرد تحليل الكود المصدري بالكامل:
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
- تحديث حزمة مثبتة:
|
||||
|
||||
`pip install --upgrade {{package}}`
|
||||
`pip install {{[-U|--upgrade]}} {{package}}`
|
||||
|
||||
- إزالة تثبيت حزمة:
|
||||
|
||||
@ -30,4 +30,4 @@
|
||||
|
||||
- تثبيت الحزم من ملف متطلبات:
|
||||
|
||||
`pip install --requirement {{requirements.txt}}`
|
||||
`pip install {{[-r|--requirement]}} {{requirements.txt}}`
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
# yt-dlp
|
||||
|
||||
> تّفرع من youtube-dl مع ميزات إضافية وتحسينات.
|
||||
> لتحميل الفيديوهات من Youtube ومواقع أخرى.
|
||||
> أنظر أيضاً: `ytfzf`.
|
||||
> لمزيد من التفاصيل: <https://github.com/yt-dlp/yt-dlp>.
|
||||
|
||||
- لتحميل فيديو أو قائمة تشغيل (مع الأعدادات الأفتراضية):
|
||||
|
||||
`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- عرض جميع الصيغ المتوفرة للتحميل من الفيديو:
|
||||
|
||||
`yt-dlp {{[-F|--list-formats]}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- تحميل فيديو أو قائمة تشغيل بأفضل جودة MP4 متاح (الأفتراضي: "bv\*+ba/b"):
|
||||
|
||||
`yt-dlp {{[-f|--format]}} "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- أستخراج الصوت فقط من الفيديو (يلزم توفر ffmpeg أو ffprobe):
|
||||
|
||||
`yt-dlp {{[-x|--extract-audio]}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- لتحديد صيغة الصوت وجودته من الصوت المستخرج (بين 0 (الأفضل) و 10 (الأسوء), الأفتراضي = 5):
|
||||
|
||||
`yt-dlp {{[-x|--extract-audio]}} --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- تحميل فقط العناصر الثانية والرابعة والخامسة والسادسة والأخيرة من قائمة التشغيل (مع العلم أنّ العنصر الأول يُحسب برقم 1، وليس 0):
|
||||
|
||||
`yt-dlp {{[-I|--playlist-items]}} 2,4:6,-1 "{{https://youtube.com/playlist?list=PLbzoR-pLrL6pTJfLQ3UwtB-3V4fimdqnA}}"`
|
||||
|
||||
- تحميل كل قوائم التشغيل من قناة اليويتوب/المستخدم, مع حفظ كل قائمة تشغيل في مجلد منفصل:
|
||||
|
||||
`yt-dlp {{[-o|--output]}} "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"`
|
||||
|
||||
- تحميل دورة من Udemy مع حفظ كل فصل في مجلد منفصل:
|
||||
|
||||
`yt-dlp {{[-u|--username]}} {{user}} {{[-p|--password]}} {{password}} {{[-P|--paths]}} "{{path/to/directory}}" {{[-o|--output]}} "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"`
|
||||
@ -1,37 +1,38 @@
|
||||
# apt
|
||||
|
||||
> أداة إدارة الحزم للتوزيعات القائمة على ديبيان.
|
||||
> أداة لإدارة الحزم للتوزيعات القائمة على ديبيان.
|
||||
> بديل لـ `apt-get` عند الاستخدام الفعال في إصدارات أوبونتو 16.04 وما بعده.
|
||||
> للاطّلاع على الأوامر المكافئة في مديري الحزم الآخرين، انظر: <https://wiki.archlinux.org/title/Pacman/Rosetta>.
|
||||
> لمزيد من التفاصيل: <https://manned.org/apt.8>.
|
||||
|
||||
- تحديث قائمة الحزم الموجودة وإصداراتها (يوصى بتشغيله قبل أي أمر `apt` آخر):
|
||||
|
||||
`sudo apt update`
|
||||
|
||||
- البحث عن حزمة معينة:
|
||||
- البحث عن حزمة بالاسم أو الوصف:
|
||||
|
||||
`apt search {{package}}`
|
||||
|
||||
- إظهار معلومات حول حزمة معينة:
|
||||
- البحث عن الحزم بالاسم فقط (يدعم استخدام wildcards مثل `*`):
|
||||
|
||||
`apt list {{package}}`
|
||||
|
||||
- عرض معلومات تفصيلية حول حزمة معينة:
|
||||
|
||||
`apt show {{package}}`
|
||||
|
||||
- تثبيت حزمة معينة، أو تحديثها إلى آخر إصدار متوفر:
|
||||
- تثبيت حزمة جديدة، أو تحديثها إلى آخر إصدار متوفر:
|
||||
|
||||
`sudo apt install {{package}}`
|
||||
|
||||
- إزالة حزمة معينة (استخدام `purge` لحذف ملفات الإعدادات الخاصة بالحزمة):
|
||||
- إزالة حزمة معينة (استخدم `purge` لحذف ملفات الإعدادات الخاصة بالحزمة):
|
||||
|
||||
`sudo apt remove {{package}}`
|
||||
|
||||
- تطوير جميع الحزم المثبتة إلى أجدد الإصدارات المتوفرة:
|
||||
- تحديث جميع الحزم المثبتة إلى أجدد الإصدارات المتوفرة:
|
||||
|
||||
`sudo apt upgrade`
|
||||
|
||||
- إظهار قائمة جميع الحزم:
|
||||
|
||||
`apt list`
|
||||
|
||||
- إظهار قائمة جميع الحزم المثبتة:
|
||||
|
||||
`apt list --installed`
|
||||
`apt list {{[-i|--installed]}}`
|
||||
|
||||
@ -1,7 +1,36 @@
|
||||
# ip route list
|
||||
|
||||
> هذا الأمر هو اسم مستعار لـ `ip route show`.
|
||||
> أمر فرعي لعرض جدول التوجيه في نظام الشبكة.
|
||||
> لمزيد من التفاصيل: <https://manned.org/ip-route>.
|
||||
|
||||
- إعرض التوثيقات للأمر الأصلي:
|
||||
- عرض جدول التوجيه الرئيسي:
|
||||
|
||||
`tldr ip route show`
|
||||
`ip {{[r|route]}} {{[l|list]}}`
|
||||
|
||||
- عرض جدول التوجيه الرئيسي (نفس المثال الأول):
|
||||
|
||||
`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{main|254}}`
|
||||
|
||||
- عرض جدول التوجيه المحلي:
|
||||
|
||||
`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{local|255}}`
|
||||
|
||||
- عرض جميع جداول التوجيه:
|
||||
|
||||
`ip {{[r|route]}} {{[l|list]}} {{[t|table]}} {{all|unspec|0}}`
|
||||
|
||||
- عرض المسارات الخاصة بواجهة معينة فقط:
|
||||
|
||||
`ip {{[r|route]}} {{[l|list]}} dev {{ethX}}`
|
||||
|
||||
- عرض المسارات داخل نطاق معين:
|
||||
|
||||
`ip {{[r|route]}} {{[l|list]}} {{[s|scope]}} link`
|
||||
|
||||
- عرض ذاكرة التخزين المؤقت للمسارات:
|
||||
|
||||
`ip {{[r|route]}} {{[l|list]}} {{[c|cache]}}`
|
||||
|
||||
- عرض مسارات IPv6 أو IPv4 فقط:
|
||||
|
||||
`ip {{-6|-4}} {{[r|route]}}`
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
# ip route show
|
||||
|
||||
> هذا الأمر هو اسم مستعار لـ `ip route list`.
|
||||
|
||||
- إعرض التوثيقات للأمر الأصلي:
|
||||
|
||||
`tldr ip route list`
|
||||
@ -1,7 +1,7 @@
|
||||
# settings
|
||||
|
||||
> Android OS সম্পর্কে তথ্য পান।
|
||||
> আরও তথ্য পাবেন: <https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>।
|
||||
> আরও তথ্য পাবেন: <https://web.archive.org/web/20240525010124/https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
|
||||
|
||||
- `global` নামস্থানে সেটিংসের একটি তালিকা প্রদর্শন করুন:
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
> একটি অ্যান্ড্রয়েড ডিভাইসের স্ক্রীন সম্পর্কে তথ্য দেখান।
|
||||
> এই কমান্ডটি শুধুমাত্র `adb shell` এর মাধ্যমে ব্যবহার করা যেতে পারে।
|
||||
> আরও তথ্য পাবেন: <https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>।
|
||||
> আরও তথ্য পাবেন: <https://web.archive.org/web/20240420064706/https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.
|
||||
|
||||
- একটি অ্যান্ড্রয়েড ডিভাইসের স্ক্রিনের শারীরিক আকার প্রদর্শন করুন:
|
||||
|
||||
|
||||
@ -0,0 +1,37 @@
|
||||
# snap
|
||||
|
||||
> "স্ন্যাপ" স্বয়ংসম্পূর্ণ সফটওয়্যার প্যাকেজসমুহ পরিচালনার জন্য একটি টুল।
|
||||
> এটি ".deb" এর জন্য `apt` এর অনুরূপ।
|
||||
> আরও তথ্য পাবেন: <https://manned.org/snap>।
|
||||
|
||||
- একটি প্যাকেজ অনুসন্ধান করুন:
|
||||
|
||||
`snap find {{প্যাকেজের_নাম}}`
|
||||
|
||||
- একটি প্যাকেজ ইনস্টল করুন:
|
||||
|
||||
`snap install {{প্যাকেজের_নাম}}`
|
||||
|
||||
- একটি প্যাকেজ আপডেট করুন:
|
||||
|
||||
`snap refresh {{প্যাকেজের_নাম}}`
|
||||
|
||||
- অন্য চ্যানেলে একটি প্যাকেজ আপডেট করুন (ট্র্যাক, রিস্ক বা ব্র্যাঞ্চ):
|
||||
|
||||
`snap refresh {{প্যাকেজের_নাম}} --channel={{চ্যানেল}}`
|
||||
|
||||
- সমস্ত প্যাকেজ আপডেট করুন:
|
||||
|
||||
`snap refresh`
|
||||
|
||||
- ইনস্টল করা স্ন্যাপ সফটওয়্যার সম্পর্কে প্রাথমিক তথ্য প্রদর্শন করুন:
|
||||
|
||||
`snap list`
|
||||
|
||||
- একটি প্যাকেজ আনইনস্টল করুন:
|
||||
|
||||
`snap remove {{প্যাকেজের_নাম}}`
|
||||
|
||||
- সিস্টেমে সাম্প্রতিক স্ন্যাপ পরিবর্তনের জন্য পরীক্ষা করুন:
|
||||
|
||||
`snap changes`
|
||||
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/7z.md
Normal file
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/7z.md
Normal file
@ -0,0 +1,36 @@
|
||||
# 7z
|
||||
|
||||
> Archivátor souborů s vysokým poměrem komprese.
|
||||
> Více informací: <https://manned.org/7z>.
|
||||
|
||||
- Přidat soubor nebo adresář do nového nebo existujícího archivu:
|
||||
|
||||
`7z a {{cesta/k/archivu.7z}} {{cesta/k/souboru_nebo_adresari}}`
|
||||
|
||||
- Zašifrovat existující archiv (včetně názvů souborů):
|
||||
|
||||
`7z a {{cesta/k/zasifrovanemu.7z}} -p{{heslo}} -mhe=on {{cesta/k/archivu.7z}}`
|
||||
|
||||
- E[x]trahovat archiv se zachováním originální struktury adresáře:
|
||||
|
||||
`7z x {{cesta/k/archivu.7z}}`
|
||||
|
||||
- E[x]trahovat archiv do konkrétního adresáře:
|
||||
|
||||
`7z x {{cesta/k/archivu.7z}} -o{{cesta/k/vystupu}}`
|
||||
|
||||
- E[x]trahuje archiv do `stdout`:
|
||||
|
||||
`7z x {{cesta/k/archivu.7z}} -so`
|
||||
|
||||
- [a]rchivovat na specifický typ archivu:
|
||||
|
||||
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{cesta/k/archivu}} {{cesta/k/souboru_nebo_adresari}}`
|
||||
|
||||
- Vypsat obsah archivu:
|
||||
|
||||
`7z l {{cesta/k/archivu.7z}}`
|
||||
|
||||
- Nastavit level komprese (vyšší znamená víc komprese, ale pomalejší):
|
||||
|
||||
`7z a {{cesta/k/archivu.7z}} -mx={{0|1|3|5|7|9}} {{cesta/k/souboru_nebo_adresari}}`
|
||||
@ -0,0 +1,20 @@
|
||||
# avrdude
|
||||
|
||||
> Program ovladače pro programování Atmel AVR mikrořadičů.
|
||||
> Více informací: <https://www.nongnu.org/avrdude/user-manual/avrdude_3.html#Option-Descriptions>.
|
||||
|
||||
- P[r]ečíst flash ROM AVR mikrořadiče s konkrétním ID součástky:
|
||||
|
||||
`avrdude -p {{cislo_soucastky}} -c {{id_programatora}} -U flash:r:{{soubor.hex}}:i`
|
||||
|
||||
- Zapsat do flash ROM AVR mikrořadiče:
|
||||
|
||||
`avrdude -p {{cislo_soucastky}} -c {{programator}} -U flash:w:{{file.hex}}`
|
||||
|
||||
- Vypsat dostupné AVR zařízení:
|
||||
|
||||
`avrdude -p \?`
|
||||
|
||||
- Vypsat dostupné AVR programátory:
|
||||
|
||||
`avrdude -c \?`
|
||||
@ -0,0 +1,20 @@
|
||||
# cmatrix
|
||||
|
||||
> Zobrazuje v terminálu obrazovku podobnou Matrixu.
|
||||
> Více informací: <https://github.com/abishekvashok/cmatrix>.
|
||||
|
||||
- Povolit [a]synchroní posouvání:
|
||||
|
||||
`cmatrix -a`
|
||||
|
||||
- Změnit barvu textu (výchozí je zelená):
|
||||
|
||||
`cmatrix -C {{red}}`
|
||||
|
||||
- Povolit duhový režim:
|
||||
|
||||
`cmatrix -r`
|
||||
|
||||
- Použít zpoždění akt[u]alizace 100 centisekund (1 sekunda):
|
||||
|
||||
`cmatrix -u 100`
|
||||
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/cp.md
Normal file
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/cp.md
Normal file
@ -0,0 +1,36 @@
|
||||
# cp
|
||||
|
||||
> Kopíruje soubory a adresáře.
|
||||
> Více informací: <https://www.gnu.org/software/coreutils/manual/html_node/cp-invocation.html>.
|
||||
|
||||
- Zkopírovat soubor do jiné lokace:
|
||||
|
||||
`cp {{cesta/ke/zdrojovemu_souboru.ext}} {{cesta/k/cilovemu_souboru.ext}}`
|
||||
|
||||
- Zkopírovat soubor do jiného adresáře, zachová název souboru:
|
||||
|
||||
`cp {{cesta/ke/zdrojovemu_adresari.ext}} {{cesta/k/nadrazenemu_adresari}}`
|
||||
|
||||
- Rekurzivně zkopírovat obsah adresáře do jiné lokace (pokud cíl existuje, adresář se zkopíruje do něj):
|
||||
|
||||
`cp {{[-r|--recursive]}} {{cesta/ke/zdrojovemu_adresari}} {{cesta/k/cilovemu_adresare}}`
|
||||
|
||||
- Zkopírovat adresář rekurzivně, ve verbózním režimu (zobrazí soubory jak jsou zkopírovány):
|
||||
|
||||
`cp {{[-vr|--verbose --recursive]}} {{cesta/ke/zdrojovemu_adresari}} {{cesta/k/cilovemu_adresari}}`
|
||||
|
||||
- Zkopírovat více souborů do adresáře naráz:
|
||||
|
||||
`cp {{[-t|--target-directory]}} {{cesta/k/cilovemu_adresari}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Zkopírovat všechny soubory se specifickou koncovkou do jiné lokace, v interaktívním režimu (zeptá se uživatele před přepsáním):
|
||||
|
||||
`cp {{[-i|--interactive]}} {{*.ext}} {{cesta/k/cilovemu_adresari}}`
|
||||
|
||||
- Následovat symbolické linky před zkopírováním:
|
||||
|
||||
`cp {{[-L|--dereference]}} {{link}} {{cesta/k/cilovemu_adresari}}`
|
||||
|
||||
- Používat plnou cestu zdrojových souborů, automaticky vytvoří jakékoliv chybějící meziadresáře při kopírováním:
|
||||
|
||||
`cp --parents {{zdrojova/cesta/k/souboru}} {{cesta/k/cilovemu_souboru}}`
|
||||
@ -0,0 +1,12 @@
|
||||
# esptool.py
|
||||
|
||||
> Bootloader nástroj pro Espressif čipy (např. ESP8266).
|
||||
> Více informací: <https://docs.espressif.com/projects/esptool/en/latest/esp32/>.
|
||||
|
||||
- Flashnout firmware soubor do ESP čipu s uvedeným portem a přenosovou rychlostí:
|
||||
|
||||
`sudo esptool.py --port {{port}} --baud {{prenosova_rychlost}} write_flash 0x0 {{cesta/k/firmwaru.bin}}`
|
||||
|
||||
- Smazat flash ESP čipu:
|
||||
|
||||
`sudo esptool.py --port {{port}} --baud {{prenosova_rychlost}} erase_flash`
|
||||
@ -0,0 +1,32 @@
|
||||
# gzip
|
||||
|
||||
> Komprimuje/dekomprimuje soubory s `gzip` kompresí (LZ77).
|
||||
> Více informací: <https://www.gnu.org/software/gzip/manual/gzip.html>.
|
||||
|
||||
- Komprimovat soubor a nahradit jej `gzip` archivem:
|
||||
|
||||
`gzip {{cesta/k/souboru}}`
|
||||
|
||||
- Dekomprimovat souboru a nahradit jej původní nekomprimovanou verzí:
|
||||
|
||||
`gzip {{[-d|--decompress]}} {{cesta/k/souboru.gz}}`
|
||||
|
||||
- Komprimovat soubor se zachováním původního souboru:
|
||||
|
||||
`gzip {{[-k|--keep]}} {{cesta/k/souboru}}`
|
||||
|
||||
- Komprimovat soubor a zadat název výstupního souboru:
|
||||
|
||||
`gzip {{[-c|--stdout]}} {{cesta/k/souboru}} > {{souboru/k/komprimovanemu_souboru.gz}}`
|
||||
|
||||
- Dekomprimovat `gzip` archiv a zadat název výstupního souboru:
|
||||
|
||||
`gzip {{[-c|--stdout]}} {{[-d|--decompress]}} {{cesta/k/souboru.gz}} > {{cesta/k/nekomprimovanemu_souboru}}`
|
||||
|
||||
- Upřesnit úroveň komprese. 1 je nejrychlejší (nízká komprese), 9 je nejpomalejší (vysoká komprese), 6 je výchozí:
|
||||
|
||||
`gzip -{{1..9}} {{[-c|--stdout]}} {{cesta/k/souboru}} > {{cesta/ke/komprimovanemu_souboru.gz}}`
|
||||
|
||||
- Zobrazit název a procento zmenšení pro každý komprimovaný nebo dekomprimovaný soubor:
|
||||
|
||||
`gzip {{[-v|--verbose]}} {{[-d|--decompress]}} {{cesta/k/souboru.gz}}`
|
||||
32
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/i3.md
Normal file
32
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/i3.md
Normal file
@ -0,0 +1,32 @@
|
||||
# i3
|
||||
|
||||
> Dlaždicový správce oken pro X11.
|
||||
> Více informací: <https://i3wm.org/docs/userguide.html>.
|
||||
|
||||
- Spustit `i3` (Už existující správce oken nesmí být otevřený při spuštění tohoto příkazu):
|
||||
|
||||
`i3`
|
||||
|
||||
- Otevřít nové terminálové okno:
|
||||
|
||||
`<Super Enter>`
|
||||
|
||||
- Přesunout aktivní okno do plochy:
|
||||
|
||||
`<Super Shift {{cislo}}>`
|
||||
|
||||
- Přesunout se do plochy:
|
||||
|
||||
`<Super {{cislo}}>`
|
||||
|
||||
- Rozdělit další okno horizontálně:
|
||||
|
||||
`<Super h>`
|
||||
|
||||
- Rozdělit další okno vertikálně:
|
||||
|
||||
`<Super v>`
|
||||
|
||||
- Otevřít spouštěč aplikací:
|
||||
|
||||
`<Super d>`
|
||||
@ -1,6 +1,6 @@
|
||||
# ls
|
||||
|
||||
> Vypsat obsah adresáře.
|
||||
> Vypisuje obsah adresáře.
|
||||
> Více informací: <https://www.gnu.org/software/coreutils/manual/html_node/ls-invocation.html>.
|
||||
|
||||
- Vypsat soubory samostatně na každý řádek:
|
||||
@ -23,11 +23,11 @@
|
||||
|
||||
`ls {{[-lh|-l --human-readable]}}`
|
||||
|
||||
- List files in [l]ong format, sorted by [S]ize (descending) recursively:
|
||||
- Vypsat všechny soubory s dlouhým formátem, seřazené podle velikosti (sestupně) rekurzivně:
|
||||
|
||||
`ls {{[-lSR|-lS --recursive]}}`
|
||||
|
||||
- Vypsat všechny soubory s dlouhým formátem, seřazené podle velikosti (sestupně) rekurzivně:
|
||||
- Vypsat všechny soubory s dlouhým formátem, seřazené podle času změny v obráceném pořadí (nejstarší první):
|
||||
|
||||
`ls {{[-ltr|-lt --reverse]}}`
|
||||
|
||||
|
||||
@ -0,0 +1,16 @@
|
||||
# mkdir
|
||||
|
||||
> Vytváří adresáře a nastavuje jejich oprávnění.
|
||||
> Více informací: <https://www.gnu.org/software/coreutils/manual/html_node/mkdir-invocation.html>.
|
||||
|
||||
- Vytvořit konkrétní adresáře:
|
||||
|
||||
`mkdir {{cesta/k/adresari1 cesta/k/adresari2 ...}}`
|
||||
|
||||
- Vytvořit konkrétní adresáře a jejich nadřazené adresáře pokud je potřeba:
|
||||
|
||||
`mkdir {{[-p|--parents]}} {{cesta/k/adresari1 cesta/k/adresari2 ...}}`
|
||||
|
||||
- Vytvořit adresáře s konkrétním oprávněním:
|
||||
|
||||
`mkdir {{[-m|--mode]}} {{rwxrw-r--}} {{cests/k/adresari1 cesta/k/adresari2 ...}}`
|
||||
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/mv.md
Normal file
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/mv.md
Normal file
@ -0,0 +1,36 @@
|
||||
# mv
|
||||
|
||||
> Přesouvá nebo přejmenuje soubory a adresáře.
|
||||
> Více informací: <https://www.gnu.org/software/coreutils/manual/html_node/mv-invocation.html>.
|
||||
|
||||
- Přejmenovat soubor nebo adresář pokud cíl není už existující adresář:
|
||||
|
||||
`mv {{cesta/ke/zdroji}} {{cesta/k/cili}}`
|
||||
|
||||
- Přesunout soubor nebo adresář do existujicího adresáře:
|
||||
|
||||
`mv {{cesta/ke/zdroji}} {{cesta/k/existujicimu_adresari}}`
|
||||
|
||||
- Přesunout více souborů do existujícího adresáře, zachová název souborů:
|
||||
|
||||
`mv {{cesta/ke/zdroji1 cesta/ke/zdroji2 ...}} {{cests/k/existujicimu_adresari}}`
|
||||
|
||||
- Netázat se pro potrvzení před přepsáním existujících souborů:
|
||||
|
||||
`mv {{[-f|--force]}} {{cesta/ke/zdroji}} {{cesta/k/cili}}`
|
||||
|
||||
- Zeptat se pro potvrzení interaktivně před přepsáním existujícíh souborů, bez ohledu na oprávnění souborů:
|
||||
|
||||
`mv {{[-i|--interactive]}} {{cesta/k/zdroji}} {{cests/k/cili}}`
|
||||
|
||||
- Nepřepisovat existující soubory v cíli:
|
||||
|
||||
`mv {{[-n|--no-clobber]}} {{cesta/ke/zdroji}} {{cests/k/cili}}`
|
||||
|
||||
- Přesunout soubory ve verbózním režimu, zobrazující soubory potom co jsou přesunuty:
|
||||
|
||||
`mv {{[-v|--verbose]}} {{cests/ke/zdroji}} {{cesta/k/cili}}`
|
||||
|
||||
- Určit cílový adresář abyste mohli puoužít externí nástroje pro sebrání pohyblivých souborů:
|
||||
|
||||
`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv {{[-t|--target-directory]}} {{cesta/k/cilovemu_adresari}}`
|
||||
@ -0,0 +1,32 @@
|
||||
# picotool
|
||||
|
||||
> Spravuje desky Raspberry Pi Pico.
|
||||
> Více informací: <https://github.com/raspberrypi/picotool>.
|
||||
|
||||
- Zobrazit informace o aktuálně načteném programu na Picu:
|
||||
|
||||
`picotool info`
|
||||
|
||||
- Načíst binárku do Pica:
|
||||
|
||||
`picotool load {{cesta/k/binarce}}`
|
||||
|
||||
- Převést soubor ELF nebo BIN na UF2:
|
||||
|
||||
`picotool uf2 convert {{cesta/k/elf_nebo_bin}} {{cesta/k/vystupu}}`
|
||||
|
||||
- Restartovat Pico:
|
||||
|
||||
`picotool reboot`
|
||||
|
||||
- Vypsat všechny známe registry:
|
||||
|
||||
`picotool otp list`
|
||||
|
||||
- Zobrazit verzi:
|
||||
|
||||
`picotool version`
|
||||
|
||||
- Zobrazit nápovědu:
|
||||
|
||||
`picotool help`
|
||||
29
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/rm.md
Normal file
29
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/common/rm.md
Normal file
@ -0,0 +1,29 @@
|
||||
# rm
|
||||
|
||||
> Maže soubory nebo adresáře.
|
||||
> Viz také: `rmdir`.
|
||||
> Více informací: <https://www.gnu.org/software/coreutils/manual/html_node/rm-invocation.html>.
|
||||
|
||||
- Smazat konkrétní soubory:
|
||||
|
||||
`rm {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Smazat konkrétní soubory ignorující neexistující:
|
||||
|
||||
`rm {{[-f|--force]}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Smazat konkrétní soubory dotazující se interaktivně před každým smazáním:
|
||||
|
||||
`rm {{[-i|--interactive]}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Smazat konkrétní soubory vypisující informace o každém smazáním:
|
||||
|
||||
`rm {{[-v|--verbose]}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Smazat konkrétní soubory a adresáře rekurzivně:
|
||||
|
||||
`rm {{[-r|--recursive]}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}`
|
||||
|
||||
- Smazat prázdné adresáře (tohle je považováno za bezpečnou metodu):
|
||||
|
||||
`rm {{[-d|--dir]}} {{cesta/k/adresari}}`
|
||||
@ -0,0 +1,13 @@
|
||||
# rmdir
|
||||
|
||||
> Maže adresáře bez souborů.
|
||||
> Viz také: `rm`.
|
||||
> Více informací: <https://www.gnu.org/software/coreutils/manual/html_node/rmdir-invocation.html>.
|
||||
|
||||
- Smazat konkrétní adresáře:
|
||||
|
||||
`rmdir {{cesta/k/adresari1 cesta/k/adresari2 ...}}`
|
||||
|
||||
- Smazat konkrétní vnořené adresáře rekurzivně:
|
||||
|
||||
`rmdir {{[-p|--parents]}} {{cesta/k/adresari1 cesta/k/adresari2 ...}}`
|
||||
@ -0,0 +1,37 @@
|
||||
# tar
|
||||
|
||||
> Archivovací nástroj.
|
||||
> Často kombinován s komprimovací metodou, například `gzip` nebo `bzip2`.
|
||||
> Více informací: <https://www.gnu.org/software/tar>.
|
||||
|
||||
- Vytvořit archiv a zapsat jej do souboru:
|
||||
|
||||
`tar cf {{cesta/k/cili.tar}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Vytvořit gzip archiv a zapsat jej do souboru:
|
||||
|
||||
`tar czf {{cesta/k/cili.tar.gz}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Vytvořit gzip (komprimovaný) archiv z adresáře pomocí relativních cest:
|
||||
|
||||
`tar czf {{cesta/k/cili.tar.gz}} --directory={{cesta/k/adresari}} .`
|
||||
|
||||
- E[x]trahovat (komprimovaný) archiv do aktuálního adresáře [v]erbózně:
|
||||
|
||||
`tar xvf {{cesta/ke/zdroji.tar[.gz|.bz2|.xz]}}`
|
||||
|
||||
- E[x]trahovat (komprimovaný) archiv do cílového adresáře:
|
||||
|
||||
`tar xf {{cesta/ke/zdroji.tar[.gz|.bz2|.xz]}} --directory={{cesta/k/adresari}}`
|
||||
|
||||
- Vytvořit komprimovaý archiv, zapsat jej do souboru a [a]utomaticky určit program pro kompresi pomocí přípony souboru:
|
||||
|
||||
`tar caf {{cesta/k/cili.tar.xz}} {{cesta/k/souboru1 cesta/k/souboru2 ...}}`
|
||||
|
||||
- Vypsa[t] obsah souboru tar [v]erbózně:
|
||||
|
||||
`tar tvf {{cesta/ke/zdroji.tar}}`
|
||||
|
||||
- E[x]trahovat soubory, které se shodují se vzorem z archivu:
|
||||
|
||||
`tar xf {{cesta/k/source.tar}} --wildcards "{{*.html}}"`
|
||||
@ -0,0 +1,29 @@
|
||||
# unzip
|
||||
|
||||
> Extrahuje soubory/adresáře ze Zipových archivů.
|
||||
> Viz také: `zip`.
|
||||
> Více informací: <https://manned.org/unzip>.
|
||||
|
||||
- Extrahovat všechny soubory/adresáře ze specifického archivu do aktuálního adresáře:
|
||||
|
||||
`unzip {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}}`
|
||||
|
||||
- Extrahovat soubory/adresáře z archivu do konkrétní cesty:
|
||||
|
||||
`unzip {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}} -d {{cesta/k/vystupu}}`
|
||||
|
||||
- Extrahovat soubory/adresáře z archivů do `stdout` spolu s názvy souborů:
|
||||
|
||||
`unzip -c {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}}`
|
||||
|
||||
- Extrahovat archiv vytvořený na Windows, obsahujicí soubory s názvy souborů mimo ASCII (např. Čínské nebo Japonské znaky):
|
||||
|
||||
`unzip -O {{gbk}} {{cesta/k/archivu1.zip cesta/k/archivu2.zip ...}}`
|
||||
|
||||
- Vypsat obsah konkrétního archivu bez extrahování:
|
||||
|
||||
`unzip -l {{cesta/k/archivu.zip}}`
|
||||
|
||||
- Extrahovat konkrétní soubor z archivu:
|
||||
|
||||
`unzip -j {{cesta/k/archivu.zip}} {{cesta/k/souboru1_v_archivu cesta/k/souboru2_v_archivu ...}}`
|
||||
@ -0,0 +1,33 @@
|
||||
# zip
|
||||
|
||||
> Zabaluje a komprimuje (archivuje) soubory do Zip archivu.
|
||||
> Viz také: `unzip`.
|
||||
> Více informací: <https://manned.org/zip>.
|
||||
|
||||
- Přidat soubory/adresáře do konkrétního archivu:
|
||||
|
||||
`zip {{[-r|--recurse-paths]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}`
|
||||
|
||||
- Vymazat soubory/adresáře z konkrétního archivu:
|
||||
|
||||
`zip {{[-d|--delete]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}`
|
||||
|
||||
- Archivovat soubory/adresáře kromě uvedených:
|
||||
|
||||
`zip {{[-r|--recurse-paths]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}} {{[-x|--exclude]}} {{cesta/k/vyrazenych_souboru_nebo_adresaru}}`
|
||||
|
||||
- Archivovat soubory/adresáře s určitou úrovní komprimace (`0` - nejnižší, `9` - nejvyšší):
|
||||
|
||||
`zip {{[-r|--recurse-paths]}} -{{0..9}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2...}}`
|
||||
|
||||
- Vytvořit zašifrovaný archiv pod uvedeným heslem:
|
||||
|
||||
`zip {{[-re|--recurse-paths --encrypt]}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}`
|
||||
|
||||
- Archivovat soubory/složky do vícedílného rozděleného Zip archivu (např. 3GB díly):
|
||||
|
||||
`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{cesta/ke/komprimovanemu.zip}} {{cesta/k/souboru_nebo_adresari1 cesta/k/souboru_nebo_adresari2 ...}}`
|
||||
|
||||
- Vypsat obsah konkrétního archivu:
|
||||
|
||||
`zip {{[-sf|--split-size --freshen]}} {{cesta/ke/komprimovanemu.zip}}`
|
||||
37
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/linux/ip.md
Normal file
37
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.cs/linux/ip.md
Normal file
@ -0,0 +1,37 @@
|
||||
# ip
|
||||
|
||||
> Ukazuje/nastavuje routování, zařízení, pravidla routování a tunely.
|
||||
> Některé dílčí příkazy jako je `address` mají svou vlastní dokumentaci.
|
||||
> Více informací: <https://www.manned.org/ip.8>.
|
||||
|
||||
- Vypsat rozhraní s podrobnými informacemi:
|
||||
|
||||
`ip {{[a|address]}}`
|
||||
|
||||
- Vypsat rozhraní se stručnými informacemi o síťové vrstvě:
|
||||
|
||||
`ip {{[-br|-brief]}} {{[a|address]}}`
|
||||
|
||||
- Vypsat rozhraní se stručnými informacemi o linkové vrstvě:
|
||||
|
||||
`ip {{[-br|-brief]}} {{[l|link]}}`
|
||||
|
||||
- Zobrazit routovací tabulku:
|
||||
|
||||
`ip {{[r|route]}}`
|
||||
|
||||
- Ukázat sousedy (ARP tabulka):
|
||||
|
||||
`ip {{[n|neighbour]}}`
|
||||
|
||||
- Změnit rozhraní nahoru/dolů:
|
||||
|
||||
`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}`
|
||||
|
||||
- Přidat/Smazat IP adresu k rozhraní:
|
||||
|
||||
`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{maska}} dev {{ethX}}`
|
||||
|
||||
- Přidat výchozí cestu:
|
||||
|
||||
`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{ethX}}`
|
||||
@ -0,0 +1,21 @@
|
||||
# nmcli device
|
||||
|
||||
> Spravuje síťové rozhraní a navazuje nové Wi-Fi spojení pomocí NetworkManageru.
|
||||
> Tento dílčí příkaz může být zvolán také pomocí `nmcli d`.
|
||||
> Více informací: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
||||
|
||||
- Vypsat stav všech síťových rozhraní:
|
||||
|
||||
`nmcli {{[d|device]}}`
|
||||
|
||||
- Vypsat všechny dostupné přístupové body Wi-Fi:
|
||||
|
||||
`nmcli {{[d|device]}} {{[w|wifi]}}`
|
||||
|
||||
- Připojit se k Wi-Fi síťi s uvedeným SSID (budete vyzváni k zadání hesla):
|
||||
|
||||
`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}`
|
||||
|
||||
- Vypsat heslo a QR kód pro aktuální Wi-Fi síť:
|
||||
|
||||
`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}`
|
||||
@ -0,0 +1,29 @@
|
||||
# nmcli general
|
||||
|
||||
> Spravuje obecné nastavení NetworkManageru.
|
||||
> Tento dílčí příkaz může být zvolán také pomocí `nmcli g`.
|
||||
> Více informací: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
||||
|
||||
- Zobrazit obecný stav NetworkManageru:
|
||||
|
||||
`nmcli {{[g|general]}}`
|
||||
|
||||
- Zobrazit hostitelské jméno aktuálního zařízení:
|
||||
|
||||
`nmcli {{[g|general]}} {{[h|hostname]}}`
|
||||
|
||||
- Změnit hostitelské jméno aktuálního zařízení:
|
||||
|
||||
`sudo nmcli {{[g|general]}} {{[h|hostname]}} {{nove_hostitelske_jmeno}}`
|
||||
|
||||
- Zobrazit oprávění NetworkManageru:
|
||||
|
||||
`nmcli {{[g|general]}} {{[p|permissions]}}`
|
||||
|
||||
- Zobrazit aktuální úroveň logů a domén:
|
||||
|
||||
`nmcli {{[g|general]}} {{[l|logging]}}`
|
||||
|
||||
- Nastavit úroveň logů a/nebo domén (všechny dostupné domény najdete pomocí `man NetworkManager.conf`):
|
||||
|
||||
`sudo nmcli {{[g|general]}} {{[l|logging]}} {{[l|level]}} {{INFO|OFF|ERR|WARN|DEBUG|TRACE}} domain {{domena_1,domena_2,...}}`
|
||||
@ -0,0 +1,9 @@
|
||||
# nmcli monitor
|
||||
|
||||
> Monitoruje změny stavu připojení NetworkManageru.
|
||||
> Tento dílčí příkaz může být zvolán také pomocí `nmcli m`.
|
||||
> Více informací: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
||||
|
||||
- Spustit monitorování změn NetworkManageru:
|
||||
|
||||
`nmcli {{[m|monitor]}}`
|
||||
@ -0,0 +1,32 @@
|
||||
# nmcli
|
||||
|
||||
> Spravuje síťovou konfiguraci pomocí NetworkManageru.
|
||||
> Více informací: <https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html>.
|
||||
|
||||
- Zobrazit dokumentaci pro správu síťových rozhraní a navázání nových Wi-Fi připojení:
|
||||
|
||||
`tldr nmcli device`
|
||||
|
||||
- Zobrazit dokumentaci pro správu síťových spojení:
|
||||
|
||||
`tldr nmcli connection`
|
||||
|
||||
- Zobrazit dokumentaci pro běžící `nmcli` jako skrytý/polkit NetworkManager agent:
|
||||
|
||||
`tldr nmcli agent`
|
||||
|
||||
- Zobrazit dokumentaci pro správu obecných nastavení NetworkManageru:
|
||||
|
||||
`tldr nmcli general`
|
||||
|
||||
- Zobrazit dokumentaci pro monitor aktivity NetworkManageru:
|
||||
|
||||
`tldr nmcli monitor`
|
||||
|
||||
- Zobrazit dokumentaci pro povolování/zakázání a kontrolovat stav sítě:
|
||||
|
||||
`tldr nmcli networking`
|
||||
|
||||
- Zobrazit dokumentaci pro správu rádiových přepínačů:
|
||||
|
||||
`tldr nmcli radio`
|
||||
@ -1,7 +1,7 @@
|
||||
# settings
|
||||
|
||||
> Verwalte Android-Systemeinstellungen.
|
||||
> Weitere Informationen: <https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
|
||||
> Weitere Informationen: <https://web.archive.org/web/20240525010124/https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
|
||||
|
||||
- Gib eine Liste aller Einstellungen im Namespace `global` aus:
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
> Zeige Informationen über den Bildschirm eines Android-Geräts.
|
||||
> Dieser Befehl kann nur mit `adb shell` verwendet werden.
|
||||
> Weitere Informationen: <https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.
|
||||
> Weitere Informationen: <https://web.archive.org/web/20240420064706/https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.
|
||||
|
||||
- Gib die physische Größe des Bildschirms eines Geräts aus:
|
||||
|
||||
|
||||
@ -13,11 +13,11 @@
|
||||
|
||||
- Vergleiche zwei bestimmte Dateien:
|
||||
|
||||
`code --diff {{pfad/zu/datei1}} {{pfad/zu/datei2}}`
|
||||
`code {{[-d|--diff]}} {{pfad/zu/datei1}} {{pfad/zu/datei2}}`
|
||||
|
||||
- Öffne bestimmte Dateien und/oder Verzeichnisse in einem neuen Fenster:
|
||||
|
||||
`code --new-window {{pfad/zu/datei_oder_verzeichnis1 pfad/zu/datei_oder_verzeichnis2 ...}}`
|
||||
`code {{[-n|--new-window]}} {{pfad/zu/datei_oder_verzeichnis1 pfad/zu/datei_oder_verzeichnis2 ...}}`
|
||||
|
||||
- Installiere oder lösche bestimmte Erweiterung:
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# deno
|
||||
|
||||
> Eine sichere JavaScript- und TypeScript-Laufzeit.
|
||||
> Weitere Informationen: <https://deno.land>.
|
||||
> Weitere Informationen: <https://docs.deno.com/runtime/reference/cli>.
|
||||
|
||||
- Führe eine JavaScript oder TypeScript Datei aus:
|
||||
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
|
||||
- Einloggen mit einem angegebenen Benutzernamen (fragt nach dem Passwort):
|
||||
|
||||
`docker login --username {{benutzername}}`
|
||||
`docker login {{[-u|--username]}} {{benutzername}}`
|
||||
|
||||
- Einloggen mit einem angegebenen Benutzernamen und Passwort:
|
||||
|
||||
`docker login --username {{benutzername}} --password {{passwort}} {{server}}`
|
||||
`docker login {{[-u|--username]}} {{benutzername}} {{[-p|--password]}} {{passwort}} {{server}}`
|
||||
|
||||
- Einloggen mit einem Passwort, welches von `stdin` gelesen wird:
|
||||
|
||||
`echo "{{passwort}}" | docker login --username {{benutzername}} --password-stdin`
|
||||
`echo "{{passwort}}" | docker login {{[-u|--username]}} {{benutzername}} --password-stdin`
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
|
||||
- Zeige die Logs und aktualisiere sie automatisch:
|
||||
|
||||
`docker logs -f {{container_name}}`
|
||||
`docker logs {{[-f|--follow]}} {{container_name}}`
|
||||
|
||||
- Zeige die letzten 5 Zeilen:
|
||||
|
||||
`docker logs {{container_name}} --tail {{5}}`
|
||||
`docker logs {{container_name}} {{[-n|--tail]}} {{5}}`
|
||||
|
||||
- Zeige die Logs und füge ihnen Zeitstempel hinzu:
|
||||
|
||||
`docker logs -t {{container_name}}`
|
||||
`docker logs {{[-t|--timestamps]}} {{container_name}}`
|
||||
|
||||
- Zeige Logs vor einem bestimmten Zeitpunkt der Ausführung des Containers (bspw. 23m, 10s, 2013-01-02T13:23:37):
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
- Erzeuge ein benutzerdefiniertes Netzwerk:
|
||||
|
||||
`docker network create --driver {{treiber_name}} {{netzwerk_name}}`
|
||||
`docker network create {{[-d|--driver]}} {{treiber_name}} {{netzwerk_name}}`
|
||||
|
||||
- Zeige detaillierte Informationen der mit Leerzeichen separierten Netzwerke an:
|
||||
|
||||
|
||||
@ -9,28 +9,28 @@
|
||||
|
||||
- Liste laufende und gestoppte Container auf:
|
||||
|
||||
`docker ps --all`
|
||||
`docker ps {{[-a|--all]}}`
|
||||
|
||||
- Zeige den zuletzt erstellten Container (berücksichtigt jeden Status):
|
||||
|
||||
`docker ps --latest`
|
||||
`docker ps {{[-l|--latest]}}`
|
||||
|
||||
- Zeige nur Container mit einer bestimmten Zeichenkette im Namen:
|
||||
|
||||
`docker ps --filter "name={{name}}"`
|
||||
`docker ps {{[-f|--filter]}} "name={{name}}"`
|
||||
|
||||
- Zeige nur Container die von einem bestimmten Image abstammen:
|
||||
|
||||
`docker ps --filter "ancestor={{image}}:{{tag}}"`
|
||||
`docker ps {{[-f|--filter]}} "ancestor={{image}}:{{tag}}"`
|
||||
|
||||
- Zeige nur Container mit einem bestimmten Exit-Code:
|
||||
|
||||
`docker ps --all --filter "exited={{code}}"`
|
||||
`docker ps {{[-a|--all]}} {{[-f|--filter]}} "exited={{code}}"`
|
||||
|
||||
- Zeige nur Container mit einem bestimmten Status (created, running, removing, paused, exited und dead):
|
||||
|
||||
`docker ps --filter "status={{status}}"`
|
||||
`docker ps {{[-f|--filter]}} "status={{status}}"`
|
||||
|
||||
- Zeige nur Container, welche einen bestimmten Datenträger oder einen Datenträger an einem bestimmten Pfad eingehängt haben:
|
||||
|
||||
`docker ps --filter "volume={{pfad/zu/verzeichnis}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"`
|
||||
`docker ps {{[-f|--filter]}} "volume={{pfad/zu/verzeichnis}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"`
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
- Erzwinge das Löschen eines Images:
|
||||
|
||||
`docker rmi --force {{image}}`
|
||||
`docker rmi {{[-f|--force]}} {{image}}`
|
||||
|
||||
- Lösche ein Image aber behalte Eltern-Images ohne Tag:
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
- Liste laufende und gestoppte Container auf:
|
||||
|
||||
`docker ps --all`
|
||||
`docker ps {{[-a|--all]}}`
|
||||
|
||||
- Erzeuge einen Container aus einem Image und benenne ihn:
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
- Öffne eine Konsole innerhalb eines bereits laufenden Containers:
|
||||
|
||||
`docker exec -it {{container_name}} {{sh}}`
|
||||
`docker exec {{[-it|--interactive --tty]}} {{container_name}} {{sh}}`
|
||||
|
||||
- Lösche einen gestoppten Container:
|
||||
|
||||
@ -34,4 +34,4 @@
|
||||
|
||||
- Zeige die Logs eines Containers an und aktualisiere sie automatisch:
|
||||
|
||||
`docker logs -f {{container_name}}`
|
||||
`docker logs {{[-f|--follow]}} {{container_name}}`
|
||||
|
||||
@ -0,0 +1,36 @@
|
||||
# find
|
||||
|
||||
> Dateien oder Verzeichnisse in einem Verzeichnisbaum rekursiv suchen.
|
||||
> Weitere Informationen: <https://manned.org/find>.
|
||||
|
||||
- Dateien nach Erweiterung suchen:
|
||||
|
||||
`find {{root_path}} -name '{{*.ext}}'`
|
||||
|
||||
- Suche Dateien, die mehreren Pfad-/Namensmustern entsprechen:
|
||||
|
||||
`find {{root_path}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'`
|
||||
|
||||
- Suche Verzeichnisse, die ohne Berücksichtigung der Groß- und Kleinschreibung einem bestimmten Namensmustern entsprechen:
|
||||
|
||||
`find {{root_path}} -type d -iname '{{*lib*}}'`
|
||||
|
||||
- Suche Dateien, die einem bestimmten Namensmustern entsprechen, unter Ausschluss bestimmter Pfade:
|
||||
|
||||
`find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'`
|
||||
|
||||
- Suche Dateien, die einem bestimmten Größenbereich entsprechen, wobei die rekursive Tiefe auf "1" begrenzt wird:
|
||||
|
||||
`find {{root_path}} -maxdepth 1 -size {{+500k}} -size {{-10M}}`
|
||||
|
||||
- Führe für jede Datei einen Befehl aus (verwende `{}` innerhalb des Befehls, um auf den Dateinamen zuzugreifen):
|
||||
|
||||
`find {{root_path}} -name '{{*.ext}}' -exec {{wc -l}} {} \;`
|
||||
|
||||
- Finde alle heute geänderten Dateien und übergebe die Ergebnisse als Argumente an einen einzelnen Befehl:
|
||||
|
||||
`find {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+`
|
||||
|
||||
- Suche leere Dateien oder Verzeichnisse, gebe diese aus und lösche diese:
|
||||
|
||||
`find {{root_path}} -type {{f|d}} -empty -delete -print`
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
> The Friendly Interactive SHell.
|
||||
> Eine benutzerfreundliche Eingabeaufforderung.
|
||||
> Weitere Informationen: <https://fishshell.com>.
|
||||
> Weitere Informationen: <https://fishshell.com/docs/current/cmds/fish.html>.
|
||||
|
||||
- Starte eine interaktive Shell-Sitzung:
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
|
||||
- Starte eine interaktive Shell-Sitzung ohne die Start-Konfiguration zu laden:
|
||||
|
||||
`fish --no-config`
|
||||
`fish {{[-N|--no-config]}}`
|
||||
|
||||
- Führe einen bestimmten Befehl aus:
|
||||
|
||||
`fish --command "{{echo 'fish wird ausgeführt'}}"`
|
||||
`fish {{[-c|--command]}} "{{echo 'fish wird ausgeführt'}}"`
|
||||
|
||||
- Führe ein bestimmtes Skript aus:
|
||||
|
||||
@ -22,12 +22,12 @@
|
||||
|
||||
- Überprüfe ein bestimmtes Skript auf Syntaxfehler:
|
||||
|
||||
`fish --no-execute {{pfad/zu/skript.fish}}`
|
||||
`fish {{[-N|--no-execute]}} {{pfad/zu/skript.fish}}`
|
||||
|
||||
- Starte eine private, interaktive Shell-Sitzung, in der fish weder auf die Shell-History zugreift, noch diese verändert:
|
||||
|
||||
`fish --private`
|
||||
`fish {{[-P|--private]}}`
|
||||
|
||||
- Definiere und exportiere eine Umgebungsvariable, die über mehrere Shell-Neustarts hinweg existiert (builtin):
|
||||
|
||||
`set --universal --export {{variablenname}} {{variablenwert}}`
|
||||
`set {{[-U|--universal]}} {{[-x|--export]}} {{variablenname}} {{variablenwert}}`
|
||||
|
||||
@ -29,4 +29,4 @@
|
||||
|
||||
- Lösche Resourcen, die in einer YAML Datei definiert sind:
|
||||
|
||||
`kubectl delete --filename {{pfad/zu/manifest.yaml}}`
|
||||
`kubectl delete {{[-f|--filename]}} {{pfad/zu/manifest.yaml}}`
|
||||
|
||||
@ -5,20 +5,20 @@
|
||||
|
||||
- Zeige Details zu Pods in einem bestimmten [n]amespace an:
|
||||
|
||||
`kubectl describe pods --namespace {{namespace}}`
|
||||
`kubectl describe pods {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Zeige Details zu Nodes in einem bestimmten [n]amespace an:
|
||||
|
||||
`kubectl describe nodes --namespace {{namespace}}`
|
||||
`kubectl describe nodes {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Zeige Details zu einem bestimmten Pod in einem bestimmten [n]amespace an:
|
||||
|
||||
`kubectl describe pods {{pod_name}} --namespace {{namespace}}`
|
||||
`kubectl describe pods {{pod_name}} {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Zeige Details zu einer bestimmten Node in einem bestimmten [n]amespace an:
|
||||
|
||||
`kubectl describe nodes {{node_name}} --namespace {{namespace}}`
|
||||
`kubectl describe nodes {{node_name}} {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Zeige Details zu Ressourcen, die in einer YAML Datei definiert sind, an:
|
||||
|
||||
`kubectl describe --file {{pfad/zu/manifest.yaml}}`
|
||||
`kubectl describe {{[-f|--filename]}} {{pfad/zu/manifest.yaml}}`
|
||||
|
||||
@ -9,24 +9,24 @@
|
||||
|
||||
- Frage alle Nodes in einem bestimmten [n]amespace ab:
|
||||
|
||||
`kubectl get nodes --namespace {{namespace}}`
|
||||
`kubectl get nodes {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Frage alle Pods in einem bestimmten [n]amespace ab:
|
||||
|
||||
`kubectl get pods --namespace {{namespace}}`
|
||||
`kubectl get pods {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Frage alle Deployments in einem bestimmten [n]amespace ab:
|
||||
|
||||
`kubectl get deployments --namespace {{namespace}}`
|
||||
`kubectl get deployments {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Frage alle Services in einem bestimmten [n]amespace ab:
|
||||
|
||||
`kubectl get services --namespace {{namespace}}`
|
||||
`kubectl get services {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Frage alle Resourcen in einem bestimmten [n]amespace ab:
|
||||
|
||||
`kubectl get all --namespace {{namespace}}`
|
||||
`kubectl get all {{[-n|--namespace]}} {{namespace}}`
|
||||
|
||||
- Frage alle Ressourcen ab, die in einer YAML Datei definiert sind:
|
||||
|
||||
`kubectl get --file {{pfad/zu/manifest.yaml}}`
|
||||
`kubectl get {{[-f|--filename]}} {{pfad/zu/manifest.yaml}}`
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
- Liste Informationen über eine Ressource mit weiteren Details auf:
|
||||
|
||||
`kubectl get {{pod|service|deployment|ingress|...}} -o wide`
|
||||
`kubectl get {{pod|service|deployment|ingress|...}} {{[-o|--output]}} wide`
|
||||
|
||||
- Aktualisiere die angegebenen Pods mit dem Label 'unhealthy' und dem Wert 'true':
|
||||
|
||||
|
||||
@ -13,11 +13,11 @@
|
||||
|
||||
- Evaluiere als Argument übergebenen JavaScript Code:
|
||||
|
||||
`node -e "{{code}}"`
|
||||
`node {{[-e|--eval]}} "{{code}}"`
|
||||
|
||||
- Evaluierung und Ausgabe des Ergebnisses. Nützlich, um die Versionen der Abhängigkeiten von Node zu sehen:
|
||||
|
||||
`node -p "{{process.versions}}"`
|
||||
`node {{[-p|--print]}} "{{process.versions}}"`
|
||||
|
||||
- Aktiviere Inspector und pausiere die Ausführung bis sich ein Debugger verbindet sobald der Quellcode vollständig geparsed ist:
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
- Aktualisiere ein Paket:
|
||||
|
||||
`pip install --upgrade {{paketname}}`
|
||||
`pip install {{[-U|--upgrade]}} {{paketname}}`
|
||||
|
||||
- Deinstalliere ein Paket:
|
||||
|
||||
@ -30,4 +30,4 @@
|
||||
|
||||
- Installiere Pakete, die in einer Datei gelistet sind:
|
||||
|
||||
`pip install --requirement {{requirements.txt}}`
|
||||
`pip install {{[-r|--requirement]}} {{requirements.txt}}`
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# nordvpn
|
||||
|
||||
> Kommandozeilen-Schnittstelle für NordVPN.
|
||||
> Weitere Informationen: <https://nordvpn.com/download/linux/>.
|
||||
> Weitere Informationen: <https://support.nordvpn.com/hc/en-us/articles/20196094470929-Installing-NordVPN-on-Linux-distributions>.
|
||||
|
||||
- Interaktiv bei einem NordVPN-Konto anmelden:
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# numlockx
|
||||
|
||||
> Steuere den Num-Lock-Tasten-Status in X11-Sitzungen.
|
||||
> Weitere Informationen: <https://www.mike-devlin.com/linux/README-numlockx.htm>.
|
||||
> Weitere Informationen: <https://manned.org/numlockx>.
|
||||
|
||||
- Zeige den aktuellen Status der Num-Lock-Taste an:
|
||||
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
# esa snap
|
||||
|
||||
> Sentinel Application Platform (SNAP) für die Prozessierung von Satellitendaten der Europäischen Raumfahrtagentur (ESA).
|
||||
> Weitere Informationen: <https://step.esa.int/main/download/snap-download/>.
|
||||
|
||||
- Zeige alle Updates an:
|
||||
|
||||
`snap --nosplash --nogui --modules --list --refresh`
|
||||
|
||||
- Zeige Hilfe an:
|
||||
|
||||
`snap --help`
|
||||
@ -1,7 +1,7 @@
|
||||
# settings
|
||||
|
||||
> Muestra información sobre el sistema operativo Android.
|
||||
> Más información: <https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
|
||||
> Más información: <https://web.archive.org/web/20240525010124/https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
|
||||
|
||||
- Muestra una lista de configuraciones en el espacio de nombres `global`:
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
> Muestra información sobre la pantalla de un dispositivo Android.
|
||||
> Este comando solo se puede usar a través de `adb shell`.
|
||||
> Más información: <https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.
|
||||
> Más información: <https://web.archive.org/web/20240420064706/https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.
|
||||
|
||||
- Muestra el tamaño físico de la pantalla de un dispositivo Android:
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
- Ejecuta y genera una clave privada y un certificado:
|
||||
|
||||
`agate --content {{ruta/a/contenido/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{ejemplo.com}} --lang {{sp-SP}}`
|
||||
`agate --content {{ruta/a/contenido/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{sp-SP}}`
|
||||
|
||||
- Ejecuta servidor:
|
||||
|
||||
@ -13,4 +13,4 @@
|
||||
|
||||
- Muestra la ayuda:
|
||||
|
||||
`agate -h`
|
||||
`agate {{[-h|--help]}}`
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
- Lee JSON de una URL y evalúa una expresión JSONPath especificada:
|
||||
|
||||
`ajson '{{avg($..price)}}' '{{https://ejemplo.com/api/}}'`
|
||||
`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'`
|
||||
|
||||
- Lee un simple cadena JSON y calcula un valor:
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
> Cliente de línea de comandos para la biblioteca Open Asset Import.
|
||||
> Admite la carga de más de 40 formatos de archivo 3D y la exportación a varios formatos 3D populares.
|
||||
> Más información: <https://assimp-docs.readthedocs.io/>.
|
||||
> Más información: <https://manned.org/assimp>.
|
||||
|
||||
- Lista todos los formatos de importación soportados:
|
||||
|
||||
|
||||
@ -0,0 +1,21 @@
|
||||
# audit2allow
|
||||
|
||||
> Crea un módulo de política local SELinux para permitir reglas basadas en operaciones denegadas encontradas en los logs.
|
||||
> Nota: Utiliza audit2allow con precaución - revisa siempre la directiva generada antes de aplicarla, ya que puede permitir un acceso excesivo.
|
||||
> Más información: <https://manned.org/audit2allow>.
|
||||
|
||||
- Genera una política local para permitir el acceso a todos los servicios denegados:
|
||||
|
||||
`sudo audit2allow --all -M {{nombre_de_la_normativa_local}}`
|
||||
|
||||
- Genera un módulo de normativa local para conceder acceso a un proceso/servicio/comando específico de los registros de auditoría:
|
||||
|
||||
`sudo grep {{apache2}} /var/log/audit/audit.log | sudo audit2allow -M {{nombre_de_la_normativa_local}}`
|
||||
|
||||
- Inspecciona y revisa el archivo Type Enforcement (.te) para una normativa local:
|
||||
|
||||
`vim {{nombre_de_la_normativa_local}}.te`
|
||||
|
||||
- Instala un módulo de normativa local:
|
||||
|
||||
`sudo semodule -i {{nombre_de_la_normativa_local}}.pp`
|
||||
@ -0,0 +1,7 @@
|
||||
# audit2why
|
||||
|
||||
> Este comando es un alias de `audit2allow --why`.
|
||||
|
||||
- Vea la documentación del comando original:
|
||||
|
||||
`tldr audit2allow`
|
||||
@ -5,16 +5,16 @@
|
||||
|
||||
- Inicia sesión con Google SSO utilizando los identificadores IDP y SP y establece la duración de las credenciales en una hora:
|
||||
|
||||
`aws-google-auth -u {{ejemplo@ejemplo.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}}`
|
||||
`aws-google-auth {{[-u|--username]}} {{ejemplo@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}}`
|
||||
|
||||
- Inicia sesión pregunt[a]ndo qué rol usar (en caso de varios roles disponibles SAML):
|
||||
- Inicia sesión preguntando qué rol usar (en caso de varios roles disponibles SAML):
|
||||
|
||||
`aws-google-auth -u {{ejemplo@ejemplo.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a`
|
||||
`aws-google-auth {{[-u|--username]}} {{ejemplo@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}} {{[-a|--ask-role]}}`
|
||||
|
||||
- Resuelve alias para cuentas AWS:
|
||||
|
||||
`aws-google-auth -u {{ejemplo@ejemplo.com}} -I {{$GOOGLE_IDP_ID}} -S {{$GOOGLE_SP_ID}} -d {{3600}} -a --resolve-aliases`
|
||||
`aws-google-auth {{[-u|--username]}} {{ejemplo@example.com}} {{[-I|--idp-id]}} {{$GOOGLE_IDP_ID}} {{[-S|--sp-id]}} {{$GOOGLE_SP_ID}} {{[-d|--duration]}} {{3600}} {{[-a|--ask-role]}} --resolve-aliases`
|
||||
|
||||
- Muestra información de ayuda:
|
||||
|
||||
`aws-google-auth -h`
|
||||
`aws-google-auth {{[-h|--help]}}`
|
||||
|
||||
@ -14,4 +14,4 @@
|
||||
|
||||
- Actualiza Azure CLI y sus extensiones sin solicitar confirmación:
|
||||
|
||||
`az version --all --yes`
|
||||
`az upgrade --all --yes`
|
||||
|
||||
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.es/common/b2.md
Normal file
36
Gentoo/gentooamd/home/user/.tldrc/tldr/pages.es/common/b2.md
Normal file
@ -0,0 +1,36 @@
|
||||
# b2-tools
|
||||
|
||||
> Accede fácilmente a todas las funciones de Backblaze B2 Cloud Storage.
|
||||
> Más información: <https://www.backblaze.com/docs/cloud-storage-command-line-tools>.
|
||||
|
||||
- Accede a tu cuenta:
|
||||
|
||||
`b2 authorize_account {{clave_id}}`
|
||||
|
||||
- Lista los buckets existentes en tu cuenta:
|
||||
|
||||
`b2 list_buckets`
|
||||
|
||||
- Crea un cubo, indica el nombre del cubo y el tipo de acceso (por ejemplo, allPublic o allPrivate):
|
||||
|
||||
`b2 create_bucket {{nombre_cubo}} {{allPublic|allPrivate}}`
|
||||
|
||||
- Sube un archivo. Elige un archivo, un bucket y una carpeta:
|
||||
|
||||
`b2 upload_file {{nombre_cubo}} {{ruta/a/archivo}} {{nombre_carpeta}}`
|
||||
|
||||
- Sube un directorio de origen a un destino de Backblaze B2 bucket:
|
||||
|
||||
`b2 sync {{ruta/al/archivo_de_origen}} {{nombre_del_cubo}}`
|
||||
|
||||
- Copia un archivo de un bucket a otro bucket:
|
||||
|
||||
`b2 copy-file-by-id {{ruta/al/archivo_de_origen}} {{nombre_cubo_destino}} {{ruta/a/archivo/b2}}`
|
||||
|
||||
- Muestra los archivos de tu bucket:
|
||||
|
||||
`b2 ls {{nombre_bucket}}`
|
||||
|
||||
- Elimina una "carpeta" o un conjunto de archivos que coincidan con un patrón:
|
||||
|
||||
`b2 rm {{ruta/a/carpeta|patrón}}`
|
||||
@ -10,16 +10,16 @@
|
||||
|
||||
- Inicia `btop` con la configuración especificada:
|
||||
|
||||
`btop --preset {{0..9}}`
|
||||
`btop {{[-p|--preset]}} {{0..9}}`
|
||||
|
||||
- Inicia `btop` en modo TTY usando 16 colores y símbolos gráficos compatibles con TTY:
|
||||
|
||||
`btop --tty_on`
|
||||
`btop {{[-t|--tty]}}`
|
||||
|
||||
- Inicia `btop` en modo 256 colores en lugar de 24 bits:
|
||||
|
||||
`btop --low-color`
|
||||
`btop {{[-l|--low-color]}}`
|
||||
|
||||
- Establece la tasa de actualización a 500 milisegundos:
|
||||
|
||||
`btop --update 500`
|
||||
`btop {{[-u|--update]}} 500`
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
# bunzip2
|
||||
|
||||
> Este comando es un alias de `bzip2 --decompress`.
|
||||
|
||||
- Vea la documentación del comando original:
|
||||
|
||||
`tldr bzip2`
|
||||
@ -13,11 +13,11 @@
|
||||
|
||||
- Compara dos archivos específicos:
|
||||
|
||||
`code --diff {{ruta/al/archivo1}} {{ruta/al/archivo2}}`
|
||||
`code {{[-d|--diff]}} {{ruta/al/archivo1}} {{ruta/al/archivo2}}`
|
||||
|
||||
- Abre archivos o directorios específicos en una nueva ventana:
|
||||
|
||||
`code --new-window {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}`
|
||||
`code {{[-n|--new-window]}} {{ruta/al/archivo_o_directorio1 ruta/al/archivo_o_directorio2 ...}}`
|
||||
|
||||
- Instala/desinstala una extensión específica:
|
||||
|
||||
|
||||
@ -0,0 +1,24 @@
|
||||
# comm
|
||||
|
||||
> Selecciona o rechaza las líneas comunes a dos ficheros. Ambos ficheros deben estar ordenados.
|
||||
> Más información: <https://www.gnu.org/software/coreutils/manual/html_node/comm-invocation.html>.
|
||||
|
||||
- Produce tres columnas separadas por tabuladores: líneas solo en el primer archivo, líneas solo en el segundo archivo y líneas comunes:
|
||||
|
||||
`comm {{fichero1}} {{fichero2}}`
|
||||
|
||||
- Imprime solo las líneas comunes a ambos archivos:
|
||||
|
||||
`comm -12 {{fichero1}} {{fichero2}}`
|
||||
|
||||
- Imprime solo las líneas comunes a ambos archivos, leyendo un archivo desde `stdin`:
|
||||
|
||||
`cat {{fichero1}} | comm -12 - {{fichero2}}`
|
||||
|
||||
- Obtiene las líneas que solo se encuentran en el primer fichero, guardando el resultado en un tercer fichero:
|
||||
|
||||
`comm -23 {{fichero1}} {{fichero2}} > {{solo_fichero1}}`
|
||||
|
||||
- Imprime las líneas solo encontradas en el segundo fichero, cuando los ficheros no están ordenados:
|
||||
|
||||
`comm -13 <( sort {{fichero1}}) <( sort {{fichero2}})`
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user