An internal error occurred while attempting to tab complete this command

Вообщем, прошу помощи. При вводе команды /money - сервер отвечает "An internal error occurred while attempting to perform this command". Permission...
  1. Вообщем, прошу помощи. При вводе команды /money — сервер отвечает «An internal error occurred while attempting to perform this command».

    Permission настроен

    Может кто сталкивался.. Помогите пожалуйста.

  2. Быстрая раскрутка сервера Minecraft

  3. Попробуй переименовать конфиг и перезапустить — будет сгенерирован дефолтный конфиг. Если ошибка исчезнет — ищи проблему в конфиге методом сравнения или настрой новый, подглядывая в старый.

  4. Не помогло :(

  5. Ну поставил, и что дальше ? Всё тоже самое..


  6. CraftCoderr

    CraftCoderr
    Активный участник

    Баллы:
    61
    Имя в Minecraft:
    CraftCoderr

    По идее, раз так пишет, то в консоли ошибка… Давай ее сюда

  7. файлик запуска сервера ?

    java -Xmx1024M -Dfile.encoding=Utf-8 -Djline.terminal=jline.UnsupportedTerminal -Xms1024M -jar core.jar 

  8. CraftCoderr

    CraftCoderr
    Активный участник

    Баллы:
    61
    Имя в Minecraft:
    CraftCoderr

    Нет, что в консоли в то время, когда ты пишешь эту команду

  9. Вот, что:

    2015-01-25 23:38:25 [INFO] Morfeus issued server command: /money
    2015-01-25 23:38:25 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin iConomy v7.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
        at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
        at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:986)
        at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:897)
        at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:838)
        at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49)
        at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
        at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117)
        at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
        at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132)
        at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594)
        at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
        at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483)
        at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415)
        at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
    Caused by: java.lang.NullPointerException
        at com.iCo6.util.Messaging.colorize(Messaging.java:128)
        at com.iCo6.util.Template.color(Template.java:93)
        at com.iCo6.handlers.Money.perform(Money.java:33)
        at com.iCo6.iConomy.onCommand(iConomy.java:417)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
        ... 15 more 
    Последнее редактирование: 25 янв 2015
  10. Переименуй файл template.yml и перезагрузи (чтоб создался новый).
    Правильно писать так: Morpheus.

  11. Помогло! Огромное спасибо :)

  12. Где его найти скажите пожалуйста


  13. Dymeth

    Dymeth
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    Dymeth

    Прошло 7 лет, вряд ли тебе ответ автор сообщения. Но подозреваю, что речь про файл в папке плагина экономики iConomy. Если у тебя другой плагин на экономику — отправь ошибку в тему: https://rubukkit.org/threads/voprosy-po-oshibkam-v-konsoli.56041/

Поделиться этой страницей

Русское сообщество Bukkit

Bukkit по-русски - свой сервер Minecraft

Я сделал себе сервер на хостинге Aternos. Поставил ядро magma (1.12.2) и поставил моды и плагины.
Одним из плагинов был Uber Enchant(плагин для баккит), и при использовании команды /uadd effect 9 1 1 мне в ответ писало an internal error occurred while attempting to perform this command.
Я решил убрать плагин PotionsGUI, думал из-за конфликта плагинов. Не помогло. Может быть это из-за того что плагин на баккит. Но некоторые другие плагины для баккита и спигота идут нормально. Надеюсь что помогут знающие.
Вот что пишет в консоль после прописи команды:
 

[16:36:09] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: StrannyyStrannik issued server command: /uadd effect 9 1 1

[16:36:09] [Server thread/ERROR] [net.minecraft.network.NetHandlerPlayServer]: null

org.bukkit.command.CommandException: Unhandled exception executing command ‘uadd’ in plugin UberEnchant v7.8

at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[PluginCommand.class:48ec0a1]

at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:153) ~[SimpleCommandMap.class:48ec0a1]

at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:689) ~[CraftServer.class:48ec0a1]

at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1604) ~[pa.class:?]

at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1452) ~[pa.class:?]

at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(CPacketChatMessage.java:50) ~[la.class:?]

at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(CPacketChatMessage.java:11) ~[la.class:?]

at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:14) ~[hv.class:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]

at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:926) [MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:461) [nz.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:865) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:737) [MinecraftServer.class:?]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]

Caused by: java.lang.NoClassDefFoundError: Could not initialize class me.sciguymjm.uberenchant.enums.Effects

at me.sciguymjm.uberenchant.utils.Utils.getEffect(Utils.java:67) ~[?:?]

at me.sciguymjm.uberenchant.actions.Effect.add(Effect.java:84) ~[?:?]

at me.sciguymjm.uberenchant.actions.Effect.<init>(Effect.java:19) ~[?:?]

at me.sciguymjm.uberenchant.commands.AddCommand.onCmd(AddCommand.java:31) ~[?:?]

at me.sciguymjm.uberenchant.commands.abstraction.UberCommand.onCommand(UberCommand.java:16) ~[?:?]

at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:48ec0a1]

… 15 more

Thread Status:

Not open for further replies.
  1. Firstly, let’s clarify the things. There are 3 kinds of TAB completion:

    1. Chat Tab Completion
    When a player type TAB to complete a message.
    It will call the PlayerChatTabCompleteEvent.
    Ex:
    I am talking with a player «BoyGamer_123» and I press ‘T’ to open the chat and type: «hey boygam» and press TAB it will complete the name to me.

    2. Command Parameter Tab Completer (Tab Executor)
    It happens when a player is typing a command and press TAB to complete the next parameters (args).
    Ex:
    «/gamemode surv» + TAB = «/gamemode survival»
    «/tp CruzAPI » + TAB = «/tp CruzAPI BoyGamer_123»
    etc.
    You can create your own tab executor by implement the TabExecutor and registering the command with getCommand(«name»).setTabExecutor(YourTabExecutor);

    3. Complete commands (My question)
    This happens when you type «/» and press TAB, it will show ALL commands of plugins, all commands of bukkit and all commands of minecraft.
    And here is my question:
    How can I change it? It is even possible?

    Please help…
    Thanks!

  2. That’s the PlayerChatTabCompleteEvent too

  3. @FisheyLP
    It didn’t work for me.

    @CruzAPI
    Maybe the TabCompleteEvent? Don’t know when it was added (after 1.8) and I couldn’t test it though :/

  4. Well, I found these methods in the craftbukkit server class.


    general tab completion (open)
    general tab completion (close)

    public List<String> tabComplete(ICommandListener sender, String message)
      {
        if (!(sender instanceof EntityPlayer)) {
          return ImmutableList.of();
        }
        Player player = ((EntityPlayer)sender).getBukkitEntity();
        if (message.startsWith("/")) {
          return tabCompleteCommand(player, message);
        }
        return tabCompleteChat(player, message);
      }

    commands (open)
    commands (close)

    public List<String> tabCompleteCommand(Player player, String message)
      {
        List<String> completions = null;
        try
        {
          completions = getCommandMap().tabComplete(player, message.substring(1));
        }
        catch (CommandException ex)
        {
          player.sendMessage(ChatColor.RED + "An internal error occurred while attempting to tab-complete this command");
          getLogger().log(Level.SEVERE, "Exception when " + player.getName() + " attempted to tab complete " + message, ex);
        }
        return completions == null ? ImmutableList.of() : completions;
      }

    public List<String> tabCompleteChat(Player player, String message)
      {
        List<String> completions = new ArrayList();
        PlayerChatTabCompleteEvent event = new PlayerChatTabCompleteEvent(player, message, completions);
        String token = event.getLastToken();
        for (Player p : getOnlinePlayers()) {
          if ((player.canSee(p)) && (StringUtil.startsWithIgnoreCase(p.getName(), token))) {
            completions.add(p.getName());
          }
        }
        this.pluginManager.callEvent(event);
    
        Iterator<?> it = completions.iterator();
        while (it.hasNext())
        {
          Object current = it.next();
          if (!(current instanceof String)) {
            it.remove();
          }
        }
        Collections.sort(completions, String.CASE_INSENSITIVE_ORDER);
        return completions;
      }

    As you can see, only in the 3. method an event is called. I don’t know if there is any way to do it but I think it’s not possible.
    You could try out TabCompleteEvent but I’m not sure..

  5. @FisheyLP
    General tab completion?

        public List<String> tabComplete(net.minecraft.server.ICommandListener sender, String message) {
            if (!(sender instanceof EntityPlayer)) {
                return ImmutableList.of();
            }
    
            List<String> offers;
            Player player = ((EntityPlayer) sender).getBukkitEntity();
            if (message.startsWith("/")) {
                offers = tabCompleteCommand(player, message);
            } else {
                offers = tabCompleteChat(player, message);
            }
    
            TabCompleteEvent tabEvent = new TabCompleteEvent(player, message, offers);
            getPluginManager().callEvent(tabEvent);
    
            return tabEvent.isCancelled() ? Collections.EMPTY_LIST : tabEvent.getCompletions();
        }
    

    Seems to be called later. May have looked at the wrong part of the source, just did a small search for «TabCompleteEvent».

  6. @I Al Istannen @FisheyLP
    Yes, you are right, i didn’t find the class TabCompleteEvent because I’m using an older version, but it is correct.
    Thanks for help.

  7. @I Al Istannen
    Nice that you found it :D I searched in the wrong place ..
    @CruzAPI please mark the thread as solved

Thread Status:

Not open for further replies.

Share This Page


Bukkit Forums

jshalbrook

An internal error occurred while attempting to tab-complete this command

When I load abnormals-core-1.16.5-3.1.1.jar, I get an in-game error «An internal error occurred while attempting to tab-complete this command». Without this library everything works fine. This also breaks Essentialsx and PermissionsEx.

Attached is a pdf of the mod and plugin list and an in-game screen shot of the error. Also attached the log. Any idea how to fix this? We really need this library for five mods that we plan to use on our server.

latest.log
error1-20210513.pdf

SmellyModder

Abnormals Core doesn’t do anything command related, so I’m not sure what could be the cause.
Can you send the part of the log where the error is logged?

jshalbrook

That is the odd thing, there is really nothing in the log (which is attached above) that calls out the error (also attached above) that we are seeing in game. Just can’t figure this out. All I know with the limited mods we have installed now and simply removing the abnormals jar file and having the error go away is head scratching.

jshalbrook

I believe this is where everything is going sideways.

[09:26:54] [Server thread/ERROR] [Essentials/]: java.lang.AssertionError: java.lang.NoSuchFieldException: ABNORMALS_CORE_BOAT
[09:26:54] [Server thread/WARN] [/]: java.lang.AssertionError: java.lang.NoSuchFieldException: ABNORMALS_CORE_BOAT

jshalbrook

We ripped out Essentials and everything is working now. This is really odd, being that we had essentials loaded and removed abnormal and all worked. We loaded all of our mods without abnormal and had the same error as the attached pdf. Ripped out Essentials and started the server back up with abnormal and low and behold, it is working. @SmellyModder thanks for responding and making us work harder to finding the root cause.

What steps will reproduce the problem?

  1. /t new Rock
  2. /plot claim

What is the expected output?

  1. An Internal error occurred while attempting to perform this command
  2. An Internal error occurred while attempting to perform this command

What is your Towny version?

Towney Advanced.0.96.1.0

What is your spigot/craftbukkit version?

Do not say «latest».
Spigot 1.15.2

Please use Pastebin.com to link the following files:

Skipping these files is not an option. It is the easiest way to diagnose an issue ticket properly. If you do skip this step then your ticket will most likely be deleted and you will be asked to resubmit.

  1. Your full server startup from the logslatest.log :
    https://pastebin.com/81f4YSZN
  2. Your Towny config.yml (if using MySQL please remove password,) :
    https://pastebin.com/PkBeAc91
  3. Your townyperms.yml :
    https://pastebin.com/G3HAZqPM
  4. Your log’s error :
    Dont know where this is.
    (optional) If this is to do with permissions,
  5. Your permissions file :

(optional) If this is to do with chat,
6. Your chatconfig.yml :
7. Your channels.yml :

Thank you for the help.

Понравилась статья? Поделить с друзьями:
  • An internal error occurred while attempting to perform this command holographic displays
  • An unexpected error has occurred while processing target service response перевод
  • An internal error occurred while attempting to perform this command essentials что делать
  • An unexpected error has occurred vegas pro
  • An internal error occurred while attempting to perform this command deluxemenus