displayTest option in mods.toml (#8656)
* displayTest option in mods.toml * "MATCH_VERSION" (or none) is existing match version string behaviour * "IGNORE_SERVER_VERSION" accepts anything and sends special SERVERONLY string * "IGNORE_ALL_VERSION" accepts anything and sends an empty string * "NONE" allows the mod to supply their own displaytest using the IExtensionPoint mechanism. * Update display test with feedback and added the mods.toml discussion in mdk.
This commit is contained in:
parent
8a16ae06c9
commit
800cd6407e
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,14 @@ logoFile="examplemod.png" #optional
|
|||
credits="Thanks for this example mod goes to Java" #optional
|
||||
# A text field displayed in the mod UI
|
||||
authors="Love, Cheese and small house plants" #optional
|
||||
# Display Test controls the display for your mod in the server connection screen
|
||||
# MATCH_VERSION means that your mod will cause a red X if the versions on client and server differ. This is the default behaviour and should be what you choose if you have server and client elements to your mod.
|
||||
# IGNORE_SERVER_VERSION means that your mod will not cause a red X if it's present on the server but not on the client. This is what you should use if you're a server only mod.
|
||||
# IGNORE_ALL_VERSION means that your mod will not cause a red X if it's present on the client or the server. This is a special case and should only be used if your mod has no server component.
|
||||
# NONE means that no display test is set on your mod. You need to do this yourself, see IExtensionPoint.DisplayTest for more information. You can define any scheme you wish with this value.
|
||||
# IMPORTANT NOTE: this is NOT an instruction as to which environments (CLIENT or DEDICATED SERVER) your mod loads on. Your mod should load (and maybe do nothing!) whereever it finds itself.
|
||||
#displayTest="MATCH_VERSION" # MATCH_VERSION is the default if nothing is specified (#optional)
|
||||
|
||||
# The description text for the mod (multi line!) (#mandatory)
|
||||
description='''
|
||||
This is a long form description of the mod. You can write whatever you want here
|
||||
|
|
Loading…
Reference in a new issue