Skip to content

Commit

Permalink
init zh-cn page
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Apr 8, 2024
1 parent 1c77a70 commit c52a04d
Show file tree
Hide file tree
Showing 34 changed files with 1,171 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _navbar.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
* [Website](https://mohistmc.com/)
* [Website(CN)](https://mohistmc.cn/)
* [Jenkins](https://ci.codemc.io/job/MohistMC)
* [GitHub](https://github.com/MohistMC)
* [Discord](https://discord.gg/mohistmc)
* [QQ](https://jq.qq.com/?_wv=1027&k=5YIRYnH)
- [**EN** / CN](zh-cn/)
21 changes: 21 additions & 0 deletions zh-cn/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MohistMC - Wiki

Welcome to MohistMC wiki! Here you can find some information about Mohist and how to configure it.
> This page is being improved, and you can also participate in writing!
Mohist is a Forge server software implementing the Bukkit, Spigot and Paper APIs. This project has been made in order to make **mods and plugins usable together**. Currently Mohist is available in 7 versions (1.7.10, 1.12.2, 1.16.5, 1.18.2, 1.19.2, 1.19.4, 1.20).

## About Mohist
More versions will be available in the future.

- **Mohist 1.20** Actively participate in updates.

## Contributing
Pull requests are welcome. If you want to contribute to this wiki, you can make a pull request at [this repo](https://github.com/MohistMC/MohistWiki/pulls).

If you want to contribute to the main project, which is Mohist, you can make a pull request at [this repo](https://github.com/MohistMC/Mohist/pulls).

Please make sure to test if everything is fine before opening a pull request :D

## About the wiki
The wiki is free and open source on github. Feel free to contribute! :D
6 changes: 6 additions & 0 deletions zh-cn/_navbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* [Website](https://mohistmc.com/)
* [Jenkins](https://ci.codemc.io/job/MohistMC)
* [GitHub](https://github.com/MohistMC)
* [Discord](https://discord.gg/mohistmc)
* [QQ](https://jq.qq.com/?_wv=1027&k=5YIRYnH)
- [EN / **CN**](/)
40 changes: 40 additions & 0 deletions zh-cn/_sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
- About
- [Mohist]()
- [Versions](about/versions.md)
- [End of life versions](about/end-of-life.md)
- Install
- [Requirements](install/requirements.md)
- [Windows installation](install/windows.md)
- [Linux installation](install/linux.md)
- Configuration
- 1.12.2
- [mohist.yml](config/mohist-yml-1.12.2.md)
- 1.16.5
- [mohist.yml](config/mohist-yml-1.16.5.md)
- 1.20.1
- [mohist.yml](config/mohist-yml-1.20.1.md)
- [Commands](config/commands.md)
- Developer
- [Website API](developer/website-api.md)
- [Setup](developer/setup.md)
- [Build](developer/build.md)
- [Generate patches](developer/patches.md)
- [Dependencies](developer/dependencies.md)
- [JavaDocs](developer/javadocs.md)
- [Run in IDE](developer/run-mohist-in-ide.md)
- Problems & Analytics
- [Common problem](install/problem.md)
- [I have a bug](questions/problem.md)
- [Search for mod/plugin issue](questions/modplissue.md)
- Questions
- [Forge Support](questions/forge.md)
- [Fabric Support](questions/fabric.md)
- [Bukkit, Spigot and Paper Support](questions/bukkitspigotpaper.md)
- [Sponge Support](questions/sponge.md)
- [Geyser Support](questions/geysermc.md)
- Tutorials
- [Bungeecord Installation](tutorials/bungeecord.md)
- [Velocity Installation](tutorials/velocity.md)
- [Update Mohist](tutorials/update.md)
- [Customize libraries](tutorials/customizelibraries.md)
- [Multiverses alternatives](tutorials/multiverses.md)
24 changes: 24 additions & 0 deletions zh-cn/about/end-of-life.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Mohist End Of Life Versions
---

### What is an "End of Life" version and what does it mean?

An End of Life version (EOL) is a version that already has received a lot of updates and work from people, and which is/gonna be not supported anymore. The versions that are marked as archived on GitHub or End of Life will not receive any updates from the Mohist team, except for very high priority issues or security fixes.


> Can we still contribute to these versions?
**Of course** you can! We will not update it anymore, but the community can still update it by making pull requests to the repository.

> What versions are currently EOL?
Mohist currently has two EOL versions, which are 1.7.10 and now 1.12.2.

## 1.7.10

This version didn't receive many updates, but due to missing time and users, it cannot be updated anymore. Please use Crucible/Uranium/Thermos as an alternative.

## 1.12.2

This version already received lots of work from the Mohist developers and the other contributors and is one of the most used Mohist versions. We are proud to have created it. Unfortunately, due to a lack of time and the evolution of Minecraft versions, we had to stop maintaining it.
But this version is not lost! It is stable and still properly usable.
5 changes: 5 additions & 0 deletions zh-cn/about/history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
##Mohist's history

---

Writing...
25 changes: 25 additions & 0 deletions zh-cn/about/versions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Mohist Versions
---

> The current status of all Mohist versions.
#### 1.7.10
- This version is unsupported (EOL), you should use CrucibleMC, UraniumMC or Thermos instead.

#### 1.12.2
- This version works fine and can be used in production.
- This version is **unsupported (EOL)** and will only receive critical updates.
- This version has the **latest Forge 1.12 version** (14.23.5.2860).

#### 1.16.5
- This version is **highly supported** and is our priority right now.
- This version has the **latest Forge 1.16 version** (36.2.39).

#### 1.18.2/19.2
- This version is currently in early developement and shouldn't be used in production yet.

#### 1.19.4
- Near production availability

#### 1.20
- This version is currently in early developement and shouldn't be used in production yet.
93 changes: 93 additions & 0 deletions zh-cn/config/commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
## Mohist Commands
---

> All commands made by Mohist are listed here.
**Important**: This command list can be different depending to your Mohist version (1.12.2 or 1.16.5). A command here can be unavailable on a version but will be implemented soon.

---

* `/mohist [mods|playermods|printthreadcost|lang|item|reload|give]`
Permission: *mohist.command.mohist*

Argument `mods`: Give server mod list
Argument `playermods`: Give a player mod list (need a second argument)
Argument `printthreadcost`: Print the Mohist thread cost.
Argument `lang`: Give the current Mohist language.
Argument `item`: Give the information about a block/item (you need to execute this command with a block/item in your hand)
Argument `reload`: Reload Mohist config file.
Argument `give`: Give command which works with modded blocks/items.

---

* `/backupworld <worldname>`
Permission: *mohist.command.backupworld*

This command enables you to create a zip file of your world while server is running without freezing the server.

---

* `/downloadfile <filename> <path> <url>`
Permission: *mohist.command.downloadfile*

This command enables you to download a file from internet. To use it you need to set `downloadfile_command_enabled` to `true` in `mohist.yml`
> Disclaimer: Don't let unknown people use this command!
---

* `/dump <file|web> [potions|enchants|cbcmds|modscmds|entitytypes|biomes|pattern|worldgen|worldtype|bukkit_material|vanilla_material]`
Permission: *mohist.command.dump*

This command will dump something you want in the available args. This can be given into 2 ways: Web (hastebin) or in a file.

---

* `/entity [reload|dump-existing]`
Permission: *mohist.command.entity*

Argument `reload`: Reload `entities.yml` config file
Argument `dump-existing`: Update `entities.yml` with found entities

---

* `/getmodlist`
Permission: *mohist.command.getmodlist*

This command will paste your mod list will all details into a hastebin page. It will return you the url when it's done.

---

* `/getpluginlist`
Permission: *mohist.command.getpluginlist*

This command will paste your plugin list will all details into a hastebin page. It will return you the url when it's done.

---

* `/plugin [load|unload|reload] [name]`
Permission: *mohist.command.plugin*

Argument `load`: Load a plugin
Argument `unload`: Unload a plugin
Argument `reload`: Reload a plugin
Argument `name`: The plugin name

This command enables you to load, unload or reload a specific plugin.

---

* `/whitelistmods [enable|disable|update]`
Permission: *mohist.command.whitelistmods*

Argument `enable`: Enable to mods whitelist
Argument `disable`: Disable the mods whitelist
Argument `update`: Update the mod list automatically in mohist.yml with server mods

This command is a feature from `mohist.yml` which enables to you to only allow certain mods on your server. When the `enable` argument is specified, the list will be automatically filled with server mod list. You can manually edit the allow mod list in the `mohist.yml` file.

---

* `/updatemohist`
Permission: *mohist.command.updatemohist*

This command is a feature from `mohist.yml` which enables to you to update Mohist at startup if needed. When you execute this command, it will enable or disable the updater download.
49 changes: 49 additions & 0 deletions zh-cn/config/mohist-yml-1.12.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
### Mohist.yml

The file path `*/mohist-config/mohist.yml`

* `entity-tick-limit: 300`

* `hidejoinmodslist: false`
#: Hide the player's mod list

* `world`
#: World-related settings
- `directory_in_client: true`
#: Install the client to the world storage path
- `stopserversaveworlds: false`
#: Do not save all worlds when the server is shut down
- `dimensionsNotLoaded: []`
#: The dimension IDs in this list will not be loaded by the server

* `mohist`
- `use_custom_java8: false`
#: After setting to `true` you can use a customized version of JAVA8
- `check_update: true`
#: Mohist version update detection
- `server-type: FML`
#: Set the icon displayed in the lower right corner of the client MOTD, which can be set to `FML` `BUKKIT` `VANILLA`
- `lang: xx_XX`
#: The language of the console and internal prompts, the system language is used by default
- `console_name: Server`
#: The prefix name displayed when sending information using the console
- `CloseChatInConsole: false`
#: After opening, all the speeches of the player on the server will not be displayed in the console, but will still be recorded in the log
- `check_libraries: true`
#: Check the library required for operation, if it does not exist, it will be downloaded automatically
- `support_nocmd: false`
#: Some people who use panel servers need to enable this setting
- `disable_mods_blacklist: false`
#: Turn off mods blacklist detection, most of them are incompatible or mods that have been implemented inside mohist
- `disable_plugins_blacklist: false`
#: Turn off plugins blacklist detection, most of them are incompatible or plugins that have been implemented inside mohist
- `check_update_auto_download: false`
#: Automatically download when new version is detected
- `realtimeticking: false`
#: realtime? This feature comes from SpongeForge
- `watchdog_mohist: false`
#: Mohist's watchdog
- `watchdog_spigot: true`
#: Spigot'swatchdog
- `showlogo: true`
#: The character LOGO you will see when running Mohist
102 changes: 102 additions & 0 deletions zh-cn/config/mohist-yml-1.16.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
### Mohist.yml

The file path `*/mohist-config/mohist.yml`

* `mohist`
#: Mohist related options
- `check_update: true`
#: Enabling / Disabling update checker. Set `true` to enable, `false` to disable.

- `lang: xx_XX`
#: The language of the console and internal prompts, the system language is used by default. Set `fr_FR` for french, `ru_RU` for russian and `zh_CN` for chinese. Default language is english.

- `custom_flags: aaaa bbbb`
#: You can use custom flags here like Aikar flags. Fill like this `anarg anotherarg`.

- `check_libraries: true`
#: Enabling / Disabling libraries checker. Set `true` to enable, `false` to disable

- `libraries_downloadsource: MOHIST`
#: Provide 3 options: MOHIST, CHINA, GITHUB

- `disable_mods_blacklist: false`
#: Turn off mods blacklist detection, most of them are incompatible or mods that have been implemented inside mohist. Set `true` to enable, `false` to disable

- `disable_plugins_blacklist: false`
#: Turn off plugins blacklist detection, most of them are incompatible or plugins that have been implemented inside mohist. Set `true` to enable, `false` to disable

- `check_update_auto_download: false`
#: Automatically download when new version is detected. Set `true` to enable, `false` to disable

- `use_custom_java11: false`
#: If you don't have java 11 or a version under java 16 installed on your pc, setting this to true will download java 11 automatically. Set `true` to enable, `false` to disable

- `showlogo: true`
#: Show Mohist logo at server start. Set `true` to enable, `false` to disable

- `optimize_explosions: true`
#: Optimize explosions, a feature comes from paper. Set `true` to enable, `false` to disable

- `prevent_from_entering_unloaded_chunks: true`
#: `true` doesn't allow a player to enter a chunk which is being generated/loaded (chunk is not ready). `false` doesn't check for this (not recommended, can cause cascading lag if player continues to traverse into unloaded territory).

- `forge_ignore_optional_mods_version_check: false`
#: Ignore forge mods version check. Can be useful if a compatibility of a mod isn't detected correctly. Set `true` to enable, `false` to disable

- `ignore_empty_time: all_worlds`
#: This option forces to always run some additional chunk logic (so that chunkloaders could continue working, for example), even if no players are in target world. `all_worlds` for all loaded worlds (recommended), `world name` for specific world.

- `chunk_unload_delay: 5`
#: 5 here is inactivity period (in seconds) before chunk unload. 5 seconds is the best option, 10 seconds if you wanna be ultra-safe.

* `forge`
#: Forge related options
* `modsblacklist`
#: Mods blacklist
- `enable: false`
#: Enable or disable the mods blacklist. Set `true` to enable, `false` to disable

- `list: aaaa,bbbb`
#: Put the list of the mods you want to disallow. Set `xray` or `xray,anothermod` for example. You must fill with modid !

- `kickmessage: Use of unauthorized mods`
#: Customize kick message when use join with unauthorized mods.

* `modswhitelist`
#: Mods whitelist
- `enable: false`
#: Enable or disable the mods whitelist. Set `true` to enable, `false` to disable

- `mods_number: 0`
#: Put the mods number authorized. If a client have more than this number, it will be disconnected. Set `1` to only allow 1 mod for example.

- `list: minecraft,forge`
#: Put the list of the mods you want to allow on your server. You can use `/whitelistmods enable` or `/whitelistmods update` to update this list automatically

- `kickmessage: Use of unauthorized mods`
#: Customize kick message when use join with unauthorized mods. Set `true` to enable, `false` to disable

* `hidejoinmodslist: false`
#: Hide mods in the console when a client joins the server. Set `true` to enable, `false` to disable


* `consolecolor`
#: Options related to console colors.
- `info-time: b`
- `info-level: 2`
- `info-msg: r`
- `warn-time: e`
- `warn-msg: e`
- `warn-level: e`
- `trace-level: c`
- `fatal-time: c`
- `error-level: c`
- `error-msg: c`
- `fatal-msg: c`
- `error-time: c`
- `trace-time: c`
- `fatal-level: c`
- `trace-msg: c`

* `libraries_black_list: aaaaa;bbbbbb`
#: When you fill this, you can make a specific library not downloaded by libraries checker. Set `filename1` or `filename1,filename2` for example.
Loading

0 comments on commit c52a04d

Please sign in to comment.