Comments on config
This commit is contained in:
parent
499659afb5
commit
a8c0410fbf
|
@ -10,6 +10,6 @@ loader_version=0.7.3+build.176
|
|||
fabric_version=0.4.26+build.283-1.15
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.1.0
|
||||
mod_version = 1.1.1
|
||||
maven_group = org.samo_lego
|
||||
archives_base_name = simpleauth
|
|
@ -28,20 +28,29 @@ import java.io.FileWriter;
|
|||
import java.io.IOException;
|
||||
|
||||
public class AuthConfig {
|
||||
// If player is not authenticated, following conditions apply
|
||||
public static class MainConfig {
|
||||
// Allows chat (but not commands, except for /login and /register)
|
||||
public boolean allowChat = false;
|
||||
// Allows player movement
|
||||
public boolean allowMovement = false;
|
||||
// Allows block "use" - right clicking (e.g. opening a chest)
|
||||
public boolean allowBlockUse = false;
|
||||
// Allows mining || punching blocks
|
||||
public boolean allowBlockPunch = false;
|
||||
// Allows dropping items from inventory
|
||||
public boolean allowItemDrop = false;
|
||||
// Allows item "use" - right click function (e.g. using a bow)
|
||||
public boolean allowItemUse = false;
|
||||
// Allows attacking mobs
|
||||
public boolean allowEntityPunch = false;
|
||||
// Allows "right-clicking" on an entity (e.g. trading with villagers)
|
||||
public boolean allowEntityInteract = false;
|
||||
// If player should be invulnerable before authentication
|
||||
public boolean playerInvulnerable = true;
|
||||
// If player should be invisible to mobs before authentication
|
||||
public boolean playerInvisible = true;
|
||||
// Time after which player will be kicked if not authenticated [s]
|
||||
// Time after which player will be kicked if not authenticated - in seconds
|
||||
public int delay = 60;
|
||||
}
|
||||
public static class LangConfig {
|
||||
|
|
Loading…
Reference in New Issue