Minecarts / ChitChat

A minecraft server (Bukkit) plugin to better display and organize in game chat
1 stars 0 forks source link

Make global leavable #5

Open holic opened 12 years ago

holic commented 12 years ago

Less players in global means less to moderate :)

holic commented 12 years ago

Also it's bugged as-is I think

verrier commented 12 years ago

Yar it is bugged as is, you can leave it, lol

holic commented 12 years ago

So you can leave it, but you rejoin on reload (and possibly relog?). Any idea on how to make it leavable?

verrier commented 12 years ago

Yeah, but it's not intended to be able to be left: https://github.com/Minecarts/ChitChat/blob/master/src/com/minecarts/chitchat/channel/PermanentChannel.java#L13

I still don't think you should be able to leave it. But the the easiest way would be to persist the fact that they left the channel via player metadata whenever it's added... second would be to store it via a permission or in player_meta.

Or we could create a new table of "blacklisted" channels per player that they can't / won't join.. it can serve as a banned list as well as a permanent global leave

holic commented 12 years ago

All are kinda mediocre solutions. Hmm...