CubeEngine / AntiGuest

A bukkit plugin to protect your server from griefing guests
http://cubeisland.de
GNU General Public License v3.0
6 stars 4 forks source link

No prevention & no chunkloading #6

Closed villermen closed 12 years ago

villermen commented 12 years ago

Stops chunks from loading after startup. Does not prevent building after someone relogs. Get your plugin to work with bPermissions.

pschichtel commented 12 years ago

My plugin doesn't do anything with chunks, how could it prevent chunk loading?

Check your permission configuration, that's not a fault of my plugin.

villermen commented 12 years ago

Anyway for some strange reason it stops chunk loading/sending in random worlds after some time with this plugin enabled, and does not without it. (I have enough resources so it has nothing to do with memory).

Anyway for the permissions, bPermissions is backwards compatible with almost any permission system available, so it would be pretty weird only this plugin has problems with it. Also it is only when someone relogs, and seeing as that a permission must be explicitly granted I cannot tell why it returns true by the permissions plugin instead of false by default, as with all other permissions.

villermen commented 12 years ago

Sidenote: I do have the same error with other plugin permissions, and I know bPermissions might be buggy. The problem is though that e.g. at NoCheat it does exactly the opposite and acts like there are no permissions at all at a relog.

So the relogging thing is not really the problem, but the plugin thinking they have the permission to build is fatal.

I might be a bit mad atm because I had to close down my server because of this error. I'm sorry for that.

pschichtel commented 12 years ago

my plugin simple uses the standard Bukkit API to check permissons: player.hasPermission(permission)

So the permission plugin has to assign the permissions properly.

Currently I'm working on AntiGuest 3.0 (actually it's almost done) which brings a lot of changes. Before I release 3.0, i'll test it with every permission plugin.

villermen commented 12 years ago

Thank you very much for that, at least theres a few plugin authors actually testing with other plugins. I'll just keep my whitelist running waiting for this =)

pschichtel commented 12 years ago

Yeah, I'll try to release a beta version tomorrow. I'm currently fixing the last bugs

villermen commented 12 years ago

Don't (let me) trouble yourself any further, it's a bug in bPermissions caused by craftbukkit returning an incorrect world. (http://dev.bukkit.org/server-mods/bpermissions/tickets/177-relogging-error/)

pschichtel commented 12 years ago

I can recommend GroupManager, it's running for months now without problems on my server server.parallel-universe.de

pschichtel commented 12 years ago

AntiGuest now uses WEPIF from worldedit as an alternative permissions API. So if you have worldedit installed, antiguest will automaticly use worldedits interface instead of it's default

pschichtel commented 12 years ago

should be fixed, reopen if not