OvercastNetwork / SportBukkit

CraftBukkit and Bukkit modifications that improve stability and add new features
99 stars 84 forks source link

Bans and ops are name based instead of uuid based #190

Open ghost opened 8 years ago

ghost commented 8 years ago

Probably the wl too, but i couldn't test it

jedediah commented 8 years ago

How are they name based? They are stored in .json files by UUID.

Pablete1234 commented 8 years ago

They get stored by uuid, but it gets used as names, if you op "Pablete1234", and then i change my name, and join the server, i'm no longer op, (same goes for bans).

Also, if you /op Cubist, and then you try to Bukkit.getOfflinePlayer("cubist's uuid").isOp, it returns false, (most likely because cubist is not an offline player on the server) but cubist should be added as an offline player of the server if cubist get's opped, whitelisted, or banned

jedediah commented 8 years ago

Isn't this an upstream issue? SportBukkit doesn't change how these lists work, and OCN doesn't use them at all.

Pablete1234 commented 8 years ago

I never tested this in spigot, might be the case

ghost commented 8 years ago

@jedediah Tested in spigot, bans and ops are uuid based