TVPT / VoxelGunsmith

Equipping VoxelSniper. The API for the popular Long Range Terraforming plugin VoxelSniper.
MIT License
20 stars 3 forks source link

No permissions in single player? #8

Open ConfusedMapper opened 9 years ago

ConfusedMapper commented 9 years ago

Sorry if this is the wrong place, I don't know where to go for this kinda thing.

I have latest version of Forge and VoxelSniper, along with WorldEdit. That's all I have so there shouldn't be any conflictions. In single player if I try to use any commands, it tells me "&4You require more permissions in order to perform this action." Then once I leave the world and go back to the main menu, my game crashes and I get this report: http://pastebin.com/hL6x6W8H

Can someone help me? I would be forever grateful!

Deamon5550 commented 9 years ago

Single player has been largely untested, I'll take a look at this when I have some time.

ConfusedMapper commented 9 years ago

Tried setting up a simple server and I get the same crash: http://pastebin.com/rULg7MLM

Any help would be wonderful.

Deamon5550 commented 9 years ago

Sponge recently refactored and renamed almost all of their events and I have not yet updated for the changes.

ConfusedMapper commented 9 years ago

So should I use an older version? What would be a temporary fix?

Deamon5550 commented 9 years ago

You could use an older version of sponge, but I'm updating sniper to the latest version right now if you wait just a moment.

ConfusedMapper commented 9 years ago

Great to hear! Is it a lot to fix or something quick?

Deamon5550 commented 9 years ago

I've updated Voxelsniper for the latest sponge changes (confirmed working with sponge version 1.8-1515-2.1DEV-671) you can grab the latest build from the ci server.

I'll take a look at whats happening with single player at some point, I expect the problem is the default permission handler that I wrote for forge isn't detecting that you're what it considers an operator, I'll probably just add a single player check into there and lock it to true.