mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
New translation update from Crowdin (#2318)
This commit is contained in:
parent
4341304c05
commit
524dbea8fc
284 changed files with 158096 additions and 720 deletions
|
|
@ -91,8 +91,7 @@ Chat Bot (Script) structure is the following:
|
|||
<chat bot class>
|
||||
```
|
||||
|
||||
**Script Metadata** is a section with a custom format that mixes in C# with our format using comments.
|
||||
Every single Chat Bot (Script) must have this section at the beginning in order to work.
|
||||
**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. Every single Chat Bot (Script) must have this section at the beginning in order to work.
|
||||
|
||||
### Script Metadata Format
|
||||
|
||||
|
|
@ -154,8 +153,7 @@ After the end of the **Script Metadata** section, you basically can define any n
|
|||
|
||||
There are no required methods, everything is optional.
|
||||
|
||||
When the Chat Bot (Script) has been initialized for the first time the `Initialize` method will be called.
|
||||
In it you can initialize variables, eg. Dictionaries, etc..
|
||||
When the Chat Bot (Script) has been initialized for the first time the `Initialize` method will be called. In it you can initialize variables, eg. Dictionaries, etc.. In it you can initialize variables, eg. Dictionaries, etc..
|
||||
|
||||
> **ℹ️ NOTE: For allocating resources like a database connection, we recommend allocating them in `AfterGameJoined` and freeing them in `OnDisconnect`**.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue