mmoMinecraftDev / mmoChatTitle

Adds a permissions based "Title" filter to mmoChat
GNU General Public License v3.0
3 stars 0 forks source link

Use Permissions titles, Nicknames #1

Open Fureniku opened 12 years ago

Fureniku commented 12 years ago

Hey,

Would it be possible to:

  1. Incorperate the prefixes from various Permissions plugins? (PEX, Permissions 3.x and bPerms I know all have them, not sure about any others) - It would make it much easier to move to this from other chat plugins.
  2. Not take control over the entire player name - We use Essentials to give players nicknames, and this cancels those nicknames off...

Both related to mmoChat too but thought it'd be better here. :)

Fureniku commented 12 years ago

EDIT:

Found its fairly easy to set up the prefixes for this, but seems like it isn't possible to change the colour of player names, which is essential on our server. Any way to do this? We use player names to show faction etc..

Thanks

Rycochet commented 12 years ago

Colours are set in mmoCore as they're used everywhere the player name can be used (such as mmoParty and mmoTarget) - have a list of "permission=X" where X is the colour to use. The option itself is "player_colors" (and should get some defaults as examples).

There is also the "show_display_name" in mmoCore which determines whether to show the real name (like now) or the nickname - just change the option and it should work how you intend.

I'm not intending to ever support other permissions plugins, not least because a string isn't a permission - but if someone wants to do a pull request adding it I will let accept it.

I'm going to leave this issue open in case someone wants to add the multi-permissions code, but as I've said, not something I'll do myself.

Fureniku commented 12 years ago

OK, found the display name one but I don't seem to have a player codes. My core config is: (I've changed the Name one now, not rebooted server yet though as want to get the colours sorted too)

Core Configuration

update_download: false update_hours: 24 show_display_name: true show_player_faces: true database: username: root isolation: SERIALIZABLE logging: false driver: org.sqlite.JDBC rebuild: false password: '' url: jdbc:sqlite:{DIR}{NAME}.db

EDIT: I rebooted now, changing the player nickname thing doesn't seem to have done anything, we're still getting the default usernames. What plugin did you test with? We're using Essentials for the nicks but I could change to another nicknaming plugin quite easily.

Rycochet commented 12 years ago

Had a check and in some places it was bypassing that option - so rewrote that section so it should work consistently, new release out on files.mmo.me.uk

Fureniku commented 12 years ago

OK, will I need to generate a new config?

Also while I have you a real quick idea I had, a .zip download with all the mmo files in, so we don't have to download all separately when we want to update :P

EDIT: I put the downloaded stuff from there on my local test server. Only running the mmo set, essentials, spout, mcMMO and MagicSpells, still getting the same problem with those new files. Tried both settings on the player_names option...