Codota Logo
ConfigFile.getStringList
Code IndexAdd Codota to your IDE (free)

How to use
getStringList
method
in
fr.neatmonster.nocheatplus.config.ConfigFile

Best Java code snippets using fr.neatmonster.nocheatplus.config.ConfigFile.getStringList (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: NoCheatPlus/NoCheatPlus

/**
 * Read string list from config and call feedCommands(tree, list).
 * 
 * @param tree
 * @param config
 * @param configPath
 * @param clear If to clear the tree before inserting anything.
 */
public static void feedCommands(SimpleCharPrefixTree tree, ConfigFile config, String configPath, boolean clear) {
  final List<String> prefixes = config.getStringList(configPath);
  if (prefixes != null) {
    feedCommands(tree, prefixes, clear);
  }
}
origin: NoCheatPlus/NoCheatPlus

public MetaDataListCheck(final ConfigFile config, final String pathActive, final String pathKeys) {
  this(config.getBoolean(pathActive) ? config.getStringList(pathKeys) : null);
}
origin: NoCheatPlus/NoCheatPlus

private void setupCommandProtection() {
  // TODO: Might re-check with plugins enabling during runtime (!).
  // Read lists and messages from config.
  final ConfigFile config = ConfigManager.getConfigFile();
  // (Might add options to invert selection.)
  // "No permission".
  // TODO: Could/should set permission message to null here (server default), might use keyword "default".
  final List<String> noPerm = config.getStringList(ConfPaths.PROTECT_PLUGINS_HIDE_NOPERMISSION_CMDS);
  if (noPerm != null && !noPerm.isEmpty()) {
    final String noPermMsg = ColorUtil.replaceColors(ConfigManager.getConfigFile().getString(ConfPaths.PROTECT_PLUGINS_HIDE_NOPERMISSION_MSG));
    // Setup and add changes to history for undoing.
    changedCommands.addAll(PermissionUtil.protectCommands(
        Permissions.FILTER_COMMAND.getLowerCaseStringRepresentation(), 
        noPerm,  true, false, noPermMsg));
  }
  // "Unknown command", override the other option.
  final List<String> noCommand = config.getStringList(ConfPaths.PROTECT_PLUGINS_HIDE_NOCOMMAND_CMDS);
  if (noCommand != null && !noCommand.isEmpty()) {
    final String noCommandMsg = ColorUtil.replaceColors(ConfigManager.getConfigFile().getString(ConfPaths.PROTECT_PLUGINS_HIDE_NOCOMMAND_MSG));
    // Setup and add changes to history for undoing.
    changedCommands.addAll(PermissionUtil.protectCommands(
        Permissions.FILTER_COMMAND.getLowerCaseStringRepresentation(), 
        noCommand,  true, false, noCommandMsg));
  }
}
origin: NoCheatPlus/NoCheatPlus

boolean error = false;
for (final String input : config.getStringList(ConfPaths.COMBINED_INVULNERABLE_IGNORE)){
  final String normInput = input.trim().toUpperCase();
  try{
origin: NoCheatPlus/NoCheatPlus

types = config.getStringList(ConfPaths.MOVING_VEHICLE_IGNOREDVEHICLES);
fr.neatmonster.nocheatplus.configConfigFilegetStringList

Popular methods of ConfigFile

  • getBoolean
  • getInt
  • getLong
  • getString
  • setActionFactory
  • <init>
  • contains
  • get
  • getAlmostBoolean
  • getConfigurationSection
  • getDouble
  • getLastChangedBuildNumbers
  • getDouble,
  • getLastChangedBuildNumbers,
  • getMaxLastChangedBuildNumber,
  • getOptimizedActionList,
  • getValues,
  • load,
  • options,
  • readDoubleValuesForEntityTypes,
  • readMaterialFromList

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • findViewById (Activity)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now