CodeCrafter47 / FreeBungeeChat

chat plugin for bungeecord
GNU General Public License v3.0
3 stars 11 forks source link

prefix displays as "unknown" #7

Closed Rustypredator closed 8 years ago

Rustypredator commented 8 years ago

I have a bungeecord setup running, and am trying to get the prefix to work, but it just displays "unknown".

I have BungeePerms and FBC running on bungeecord, and on the spigot server im testing on. i also have vault on that spigot server.

are there any other requirements for working prefix support??

Thanks for the help in advance :)

CodeCrafter47 commented 8 years ago

Prefix support is broken in BungeePerms unless you use the latest dev-build.

Rustypredator commented 8 years ago

uh, the latest dev build was like 4 months ago, right? because, if i just run one spigot server with the versuion of bungeePerms and essentialschat on, i can see the prefixes.

Edit: actually, the latest dev seems to be the latest release... so i cant get a newer version? (http://ci.wea-ondara.net/job/BungeePerms/lastBuild/net.alpenblock$BungeePerms/)

Rustypredator commented 8 years ago

Update: Well, i tried that version anyways... now FBC doesnt display unknown but [B] ?? is that some default prefix or something? i have deactivated essentials btw. i checked, and

/bp user Rustypredator info

gives no prefix, but

/bp group admin info

says the group has a prefix (im member of that group...)

also, if i give my player an individual prefix it still only displays [B] as prefix

CodeCrafter47 commented 8 years ago

There is no such thing as a default prefix. If it shows [B] as prefix then because you configured that. Normally BungeePerms should show all prefixes you set for a user (it will put the per user and per group prefixes just after each other), but if you change the prefixes with the command and you don't see an immediate effect you might need to restart your server. If in doubt looking at the database or yml file can help finding issues.

Rustypredator commented 8 years ago

meh, i surely dont have set it to [B] :D I'll take a look at the yml

Rustypredator commented 8 years ago

config.yml:

useUUIDs: false
useregexperms: false
grouppermission: true
backendtype: YAML
uuidplayerdb: none
tablePrefix: bungeeperms_
uuidfetcher:
  cooldown: 3000
saveAllUsers: true
deleteUsersOnCleanup: false
notify:
  promote: false
  demote: false
tabcomplete: false
locale: en-GB
networktype: Global
networkservers: []
debug:
  path: /home/bungee/bungeecord/plugins/BungeePerms/debug.log
  showexceptions: true
  showlogs: false
terminate:
  prefix:
    reset: true
    space: true
  suffix:
    reset: true
    space: true
cleanup:
  interval: 1800
  threshold: 600

permissions.yml

groups:
  Admin:
    rank: 1
    default: false
    display: '&4[Admin]'
    prefix: '&3<&2TEAM&3||&4ADMIN&3>>&f'
    suffix: ''
    inheritances: []
    permissions:
    - '*'
    - bungeeperms.*
    - bungeetablistplus.*
    - bungeecord.command.*
    weight: 1000
    ladder: default
  newbie:
    inheritances: []
    permissions:
    - bungeecord.command.server
    - bungeecord.command.list
    - bungeeportals.portal.*
    - essentials.spawn
    rank: 1000
    ladder: default
    default: true
    display: ''
    prefix: ''
    suffix: ''
    weight: 1000
version: 1
users:
  Rustypredator:
    groups:
    - Admin
    permissions: []
    display: ''
    prefix: ''
    suffix: ''

Sorry if i bug you with that, but the developer of bp does not seem to care, and you seem to be very active there so...

I cant seem to find any errors there... also i removed the display of admin group, but still no effect

CodeCrafter47 commented 8 years ago

If you want BungeePerms to use the same permissions on bungee and on your spigot server you need to use MySQL. If using yaml BungeePerms will just be a local permission plugin like pex.

Rustypredator commented 8 years ago

Okay i will try that... though that still does not explain where that [B] comes from...

CodeCrafter47 commented 8 years ago

There seems to be a [B] in the default permission.yml of BungeePerms: https://github.com/weaondara/BungeePerms/blob/master/src/main/resources/permissions.yml