Examples of MCAccess


Examples of fr.neatmonster.nocheatplus.compat.MCAccess

  }

  @Override
  public boolean onCommand(CommandSender sender, Command command,
      String label, String[] args) {
    final MCAccess mc = NCPAPIProvider.getNoCheatPlusAPI().getMCAccess();
    sender.sendMessage(new String[]{
        "---- Version information ----",
        "#### Server ####",
        Bukkit.getServer().getVersion(),
        "#### NoCheatPlus ####",
        "Plugin: " + access.getDescription().getVersion(),
        "MCAccess: " + mc.getMCVersion() + " / " + mc.getServerVersionTag(),
        });
    final Collection<NCPHook> hooks = NCPHookManager.getAllHooks();
    if (!hooks.isEmpty()){
      final List<String> fullNames = new LinkedList<String>();
      for (final NCPHook hook : hooks){
View Full Code Here

Examples of fr.neatmonster.nocheatplus.compat.MCAccess

     * @param config
     */
    public MCAccess initMCAccess(final ConfigFile config) {
        // Reset MCAccess.
        // TODO: Might fire a NCPSetMCAccessFromFactoryEvent (include getting and setting)!
        final MCAccess mcAccess = new MCAccessFactory().getMCAccess(config.getBoolean(ConfPaths.COMPATIBILITY_BUKKITONLY));
        setMCAccess(mcAccess);
        return mcAccess;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.