WorldGuard

WorldGuard

8M Downloads

IllegalArgumentException while adding offline members/owners to region

LadyCailinBot opened this issue ยท 9 comments

commented

WORLDGUARD-3282 - Reported by Kodek

Adding offline members or owners to regions using WorldGuard commands result in an error.

Console error: http://pastebin.com/cZ7uUJmr
WorldGuard report: http://pastebin.com/x2akWmVe

Only WorldGuard and WorldEdit on the server. This issue happend just after I first time updated to WG6 and been happening since.

I tried without any regions at all (as example above) and with fresh config too (above example has it changed from default settings).

commented

Comment by HappyPikachu

Not a Spigot issue - https://hub.spigotmc.org/jira/browse/PLUG-19

Have you checked file permissions?

commented

Comment by Kodek

I don't have anything in permissions file, do I need to check it if I never touched it? Do you mean bukkit permissions or some sort of WorldEdit permissions system? Normally I use PermissionsEx, but I removed all other plugins to be sure it's not their fault and just oped myself.

commented

Comment by HappyPikachu

I meant file permissions as in system access perms. Since you're running Linux, take a look at the 'chmod' command in your computer's console. I've had times where permissions for the 'WorldGuard' folder were changed and caused issues.

commented

Comment by sk89q

If you do curl -X POST -d "[\"sk89q\"]" https://api.mojang.com/profiles/minecraft --header "Content-Type: application/json"
in terminal, does it return results?

commented

Comment by Kodek

Changing chmod permissions for all plugin files didn't make any difference.

Unfortunately I don't have 'curl' command on this machine and restrictions on it are not allowing me to install it. if you are looking for working connections with mojang profiles servers, my server is in online mode and other plugins I use get that data successfully from mojang servers.

commented

Comment by jamescowens

I am also seeing this issue. The curl command returns your GUID as expected on my system. Note that I am using bungeecord, but other plugins, such as Citizens, are successfully pulling profile info.

commented

Comment by sk89q

This may be the same issue as http://youtrack.sk89q.com/issue/WORLDGUARD-3156

As far as I know, the bug was fixed in Spigot.

Either the bug came back or some plugin is doing something dumb.

commented

Comment by sk89q

Turn off global-api-cache in your Spigot config. It's broken. They fixed it previously but it got unfixed.

commented

Comment by jamescowens

Yep. Spigot ripped it out anyway in the last build.