an internal error occurred while attempting to perform this command майнкрафт

Bukkit Plugin: An internal error occurred while attempting..

Hi I’m trying to make a Bukkit VIP System but everytime that I want to use the target player it says «An internal error occurred while attempting to perform this command».
package EnvyGames.VIPSystem.com;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

import EnvyGames.VIPSystem.com.Commands.Goodbye;
import EnvyGames.VIPSystem.com.Commands.Hello;
import EnvyGames.VIPSystem.com.Commands.VipRemoveCommand;
import EnvyGames.VIPSystem.com.event.block.BlockBreak;

public class Main extends JavaPlugin implements CommandExecutor <

public void onEnable() <

public void onDisable() <
getConfig().options().copyDefaults(true);
saveConfig();
>

public void registerCommands() <
getCommand(«Hello»).setExecutor(new Hello());
getCommand(«Goodbye»).setExecutor(new Goodbye());

>
public void registerEvents() <
PluginManager pm = getServer().getPluginManager();

Источник

an internal error occurred while attempting to perform this command #85

Comments

NimaGame commented Jun 8, 2016 •

Hi,
This is a nice plugin!
And I really love it!
But I can’t use it on my server.
Please update it to 1.9 faster!
When I use /woo check it show me this error : internal error occurred while attempting to perform this command
Please help me!
thank you.

The text was updated successfully, but these errors were encountered:

ethsmith commented Jun 8, 2016

Woo check has nothing to do with bukkit really. Please a link to your config by pasting the config with pastebin/pastie.

NimaGame commented Jun 8, 2016

ethsmith commented Jun 9, 2016

Have you added the key to wordpress panel?

JayWood commented Jun 9, 2016

If, however, this bug emerged from 1.8, then yea this is a bug.

JayWood commented Jun 9, 2016

Untested 1.9.4 build, have at it, report bugs, etc. just make sure to include any logs.

NimaGame commented Jun 9, 2016

Works fine!
Thank you 👍

ethsmith commented Jun 9, 2016

@JayWood I will update the Bukkit/Spigot repos with that jar and just tag it with snapshot.

NimaGame commented Jun 9, 2016 •

what is these errors?
[WooMinecraft] Cannot open Data Output Stream!
[WooMinecraft] Connection refused

Читайте также:  уфк код цели 2021 год

ethsmith commented Jun 9, 2016 •

Connection refused to his WordPress site, right? @JayWood

NimaGame commented Jun 9, 2016 •

ethsmith commented Jun 9, 2016

You don’t have to hide your key, it doesn’t give us access to your server. 😛 but @JayWood would know the cause of connection refused more then me.

JayWood commented Jun 10, 2016

@NimaGame yea the key is purely so someone can access the list of stored commands, it’s really simple to change it of course.

I’m working on some tweaks that would essentially remove that anyhow.

@TekkitCommando this is the exact same issue as another ticket, second offense in fact. For some reason the names isn’t posting to his server.

If we can get info on your WordPress server, like what OS it is, how are PHP scripts handled ( NginX or Apache ) what PHP version, etc. the more info you can give the more it will help us in determining the root cause of the names not getting posted to WordPress.

And to be clear, there was indeed player(s) online when this ran right? Could you post the full log from that?

NimaGame commented Jun 10, 2016 •

To be clear, we are using Debian Wheezy, PHP 5.4 and Nginx 1.2.1. There are online players in the server when we test this

In the server :
No donations for online users.

JayWood commented Jun 10, 2016

@TekkitCommando modifications will need to be made ( which I think we’re already doing ) in the Java side of things to not ‘post’ names to the server. Instead, on the WordPress side we’ll be simply outputting a feed, instead.

This willl fix this issue. I’m wondering if that’s something we can just put ahead of anything else we got going on, since I believe that would fix the bulk of these issues?

Читайте также:  49 1590 код какой страны

ethsmith commented Jun 10, 2016

@JayWood Yeah I think this is a priority. However I know PHP now, still not sure how to make WordPress plugins though I should be able to learn pretty quickly.

Hear me out here. Isn’t it possible to do what we have been doing but in a different way. Add all commands needing to be ran to its own database and then those commands can be sent when the order is confirmed ( which I hope he did check if the payment was confirmed) and use some Java database code to manage the commands needing to be sent to the server instead of screwing around with all the json. That would effectively end the bugs. Where Java will just retrieve the commands and do what needs to be done sending them to the players and PHP will manage the commands that need to be added to the database it needs. I think the plugin will be more lightweight that way. If you understand my meaning. May setup a branch and try it as a proof of concept and a way to better explain.

JayWood commented Jun 10, 2016 •

@TekkitCommando The amount of read/write operations would be significantly higher if we were to go down that route, add to that the fact that the commands would be essentially stored in two locations ( wp database, and java memory/db ).

However, on the WP side of things, I’ve already started on a modification to that here: https://github.com/WooMinecraft/woominecraft-wp/tree/feature/json-feed

Basically if a key is provided, the java would get a list of all commands to be ran, without having to ‘send’ names to request.

Again, this is already in the works just need to finish it up. Gives me something to do this weekend?

The main problem is you cannot ‘technically’ separate the commands from WordPress since in WordPress they’re already stored in the DB by the user inputting them. They’re then stored against the username in the db upon purchase ( so we know who bought what ). So even then, to get them from the WP db to java, you’ll have to ‘open’ the SQL connection, which in most cases like WPEngine and other hosts, they lock down MySQL to local connections only. So attempting to connect to the database from an external source, will fail. Which means more support tickets.

Читайте также:  код ошибки виндовс 0xc0000225

Источник

«Internal error while attempting to perform command» MCPC+ #1458

Comments

shadoowner commented Nov 5, 2013

Hey, i installed dynmap on my server, i have MCPC+ so i put it in the mod folder.
It does install the mod but when i type /dynmap fullrender or any other dynmap commands it says:
«An internal error occured while attempting to perform this command».
http://gyazo.com/357ddbe1f8bffad484fd0bd1b4758c46
I have the right port set cuz i can open it in my browser and see where i am on the map.

Mods installed:
Pixelmon 2.5.2
NBTEdit
Dynmap

The text was updated successfully, but these errors were encountered:

shadoowner commented Nov 6, 2013

s45.hosthorde.com:9328 is the IP, thats the only output i get, it renders small parts of the map not the complete map and ingame commands dont work

AmauryCarrade commented Mar 29, 2014

Hello,
I have this exact same problem, with Minecraft 1.6.4, MCPC+ version git-MCPC-Plus-jenkins-MCPC-Plus-164-250 (MC: 1.6.4) (Implementing API version 1.6.4-R2.1-SNAPSHOT), on Ubuntu 12.10 desktop, with Java 1.7.0_51.

The log in the console is:

AmauryCarrade commented Mar 29, 2014

Possible solve: I noticed I had two versions of dynmap (the bukkit plugin AND the couple Forge/Bridge). Removing the bukkit plugin solve the problem.

mikeprimm commented Apr 2, 2014

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Компьютерный онлайн портал