TechStack / Lobby

0 stars 0 forks source link

VIP vs OP #1

Open trayer3 opened 10 years ago

trayer3 commented 10 years ago

Not sure if this is still an issue, but I wasn't able to use any of the VIP commands the last time I tried to use them.

How does the hasPermission() work? Is it a bukkit function? I don't see it in lobby.java.

Maybe those lines could be changed to VIP || OP || ADMIN, etc? Or, if the permissions were numeric-based, you could do a >=VIP.

TechStack commented 10 years ago

I need to assign the VIP group to the OP's and you'll have access. But the thing is I'm not happy with the permission / Chat color plugins i downloaded ( essentials & i forget the permission plugin)

I don't like that it has so much other bloat in it. This is why I haven't changed the permissions yet. Also I need to research how i'm going to update the server to the latest 1.7.9 because MC no longer uses Usernames instead it looks up the names from Mojang and gets a UUID (unique ID ) so things like permission plugins, and anywhere we save the user info needs to get an update ( Demon depths , Death cube, & magic games may be impacted Tribes was definitely impacted so I've been coding it from day one with UUID in mind.)

OK so back to your question hasPersmission() just returns true or false based on if the permission Plugin says that user has the permission specified.

In the Permission settings i setup the VIP group to have the permissions specified in this plugin and then assign individual players to be members of VIP.

The idea behind the VIP designation is to help pay for the server hosting fees by using buycraft if ppl donate then they get assigned to the VIP group... or at least that's the idea. and its till all a WIP