FTBTeam / FTB-Mods-Issues

Any mod issues, be it FTB Teams, Quests or any other of our mods can be reported here!
22 stars 1 forks source link

[Bug]: Some players get no prefix #205

Open Stygiannite opened 2 years ago

Stygiannite commented 2 years ago

Mod

FTB Ranks

Mod version

ftb-ranks-fabric-1801.1.6-build.22

Forge / Fabric version

Fabric 1.18.1 0.10.2

Modpack & version

No response

What issue are you having?

For the majority of players on my server, the ranks and prefixes work fine. However, for a few players, their prefix won't show up in chat to other players. On their client, they see that they are the only ones with a prefix, while everyone else doesn't have a prefix. Other than the prefix, they still have all the permissions that their rank would give them. I have no clue why it is these players in particular.

Crashlogs

No response

Steps to reproduce

Here is the rank config file for my server. I have only seen the no-prefix issue happen with players with the Member role so far.

    member: {
        name: "Member"
        power: 1
        condition: "always_active"
        ftbranks.name_format: "&7[Member] &f<&7{name}&f>&7"
        essentialcommands.home.limit.5: true
        command.essentialcommands.tpa: true
        command.essentialcommands.tpcancel: true
        command.essentialcommands.tpaccept: true
        command.essentialcommands.tpdeny: true
        command.essentialcommands.tpahere: true
        command.essentialcommands.home: true
        command.essentialcommands.warp: true
        command.essentialcommands.warp.tp: true
        command.essentialcommands.warp.list: true
        command.essentialcommands.spawn: true
        command.essentialcommands.spawn.tp: true
        command.essentialcommands.wastebin: true
        command.essentialcommands.gametime: true
        command.flan: true
        command.trigger: false
        command.hat: false
        command.kubejs: false
        command.kjs_hand: false
        command.banhammer: false
        command.essentialcommands.back: false
        command.essentialcommands.workbench: false
        command.essentialcommands.stonecutter: false
        command.essentialcommands.grindstone: false
        command.essentialcommands.enderchest: false
        command.essentialcommands.essentialcommands: false
        command.spawnbook: false
        command.polymer: false
        command.flan.buyBlocks: false
        command.flan.sellBlocks: false
        command.flan.setHome: false
        command.flan.adminMode: false
        command.flan.teleport: false
        command.flan.adminDelete: false
        command.worldedit: false
        command.graves: false
        command.none: false
        command.toggleplace: false
        command.brush: false
        command.br: false
        command.tool: false
        command.we: false
        command.essentialcommands.warp.set: false
        command.essentialcommands.warp.delete: false
        command.essentialcommands.spawn.set: false
    }
    donator: {
        name: "Donator"
        power: 2
        ftbranks.name_format: "&6[Donator] &f<&6{name}&f>"
        command.hat: true
        command.essentialcommands.workbench: true
        command.essentialcommands.stonecutter: true
        command.essentialcommands.grindstone: true
        command.essentialcommands.enderchest: true
    }
    helper: {
        name: "Helper"
        power: 3
        ftbranks.name_format: "&2[Helper] &f<&2{name}&f>"
        command.hat: true
        command.essentialcommands.workbench: true
        command.essentialcommands.stonecutter: true
        command.essentialcommands.grindstone: true
        command.essentialcommands.enderchest: true
    }
    trialmod: {
        name: "TrialMod"
        power: 10
        ftbranks.name_format: "&3[Trial Mod] &f<&3{name}&f>"
        essentialcommands.home.limit.10: true
        command.hat: true
        command.essentialcommands.workbench: true
        command.essentialcommands.stonecutter: true
        command.essentialcommands.grindstone: true
        command.essentialcommands.enderchest: true
        command.kick: true
        command.mute: true
        command.tempmute: true
        command.spectate: true
        command.unmute: true
    }
    moderator: {
        name: "Moderator"
        power: 25
        ftbranks.name_format: "&9[Mod] &f<&9{name}&f>"
        essentialcommands.home.limit.15: true
        command.ban: true
        command.tempban: true
        command.tempban-ip: true
        command.ban-ip: true
        command.banlist: true
        command.flan.adminMode: true
        command.flan.admiteDelete: true
        command.fly: true
        command.gamemode: true
        command.gamemode.spectator: true
        command.gamemode.survival: true
        command.gamemode.creative: false
        command.gamemode.1: false
        command.hat: true
        command.view: true
        command.kick: true
        command.kill: true
        command.list: true
        command.listhomes: true
        command.listwarps: true
        command.me: true
        command.mute: true
        command.tempmute: true
        command.say: true
        command.spectate: true
        command.time: true
        command.teleport: true
        command.unmute: true
        command.vanish: true
        command.weather: true
        command.essentialcommands.warp.delete: true
        command.essentialcommands.warp.set: true
        command.spells.remove: true
        command.origin: true
    }
    admin: {
        name: "Admin"
        power: 50
        ftbranks.name_format: "&c[Admin] &f<&c{name}&f>"
        essentialcommands.home.limit.20: true
        command.essentialcommands.back: true
        command.ban: true
        command.tempban: true
        command.tempban-ip: true
        command.ban-ip: true
        command.banlist: true
        command.clear: true
        command.datapack: true
        command.debug: true
        command.difficulty: true
        command.effect: true
        command.enchant: true
        command.experience: true
        command.fill: true
        command.flan.adminDelete: true
        command.flan.adminMode: true
        command.flan.giveClaimBlocks: true
        command.flan.listAdminClaims: true
        command.fly: true
        command.ftbranks: true
        command.function: true
        command.gamemode: true
        command.gamemode.creative: false
        command.gamemode.1: false
        command.gamerule: true
        command.hat: true
        command.view: true
        command.kick: true
        command.kill: true
        command.list: true
        command.locatebiome: true
        command.loot: true
        command.me: true
        command.mute: true
        command.tempmute: true
        command.origin: true
        command.pardon: true
        command.say: true
        command.scoreboard: true
        command.setblock: true
        command.setworldspawn: true
        command.spectate: true
        command.summon: true
        command.team: true
        command.teleport: true
        command.tp: true
        command.time: true
        command.unmute: true
        command.vanish: true
        command.weather: true
        command.essentialcommands.warp.delete: true
        command.essentialcommands.warp.set: true
        command.essentialcommands.spawn.set: true
    }
    owner: {
        name: "Owner"
        power: 100
        condition: "op"
        ftbranks.name_format: "&4[Owner] &f<&4{name}&f>"
        command.trigger: true
        command.hat: true
        command.kubejs: true
        command.kjs_hand: true
        command.banhammer: true
        command.essentialcommands.back: true
        command.essentialcommands.workbench: true
        command.essentialcommands.stonecutter: true
        command.essentialcommands.grindstone: true
        command.essentialcommands.enderchest: true
        command.essentialcommands.essentialcommands: true
        command.essentialcommands.warp.delete: true
        command.essentialcommands.warp.set: true
        command.essentialcommands.spawn.set: true
        command.spawnbook: true
        command.polymer: true
        command.flan.buyBlocks: true
        command.flan.sellBlocks: true
        command.flan.setHome: true
        command.flan.teleport: true
        command.flan.adminMode: true
        command.worldedit: true
        command.graves: true
        command.none: true
        command.toggleplace: true
        command.brush: true
        command.br: true
        command.tool: true
        command.we: true
        command.gamemode.creative: true
        command.universal_graves.teleport: true
    }
}

Anything else to note?

No response

Raidobw2 commented 2 years ago

The only difference I see is the &7 at the end of your Member role name format (after the '>'). That could be a temporary solution, but try removing it and let us know if it changes anything.

Stygiannite commented 2 years ago

Nope, that didn't do anything unfortunately. Here's a screenshot of how it looks in chat. Melahi is a player that should have the Member prefix but doesn't. ftbranks prefix

Raidobw2 commented 2 years ago

Hmm, is essentialcommands some kind of plugin perhaps, like EssentialX but on Fabric? Is there any name formatting enabled in the plugin, if there is one? Our mod devs will have to investigate further, but the additional info you're bringing should help them a bunch, thanks

Stygiannite commented 2 years ago

Essential Commands is a mod that adds useful commands like /home and /tpa, somewhat like EssentialsX, yeah. But it doesn't do anything to name formatting. https://www.curseforge.com/minecraft/mc-mods/essential-commands

Raidobw2 commented 2 years ago

It looks like it adds nicknames, so try and remove it/configure it on the server and see if the error happens again or not image

Stygiannite commented 2 years ago

Nicknames are disabled on my server so I don't think it's that... Also, since last time I commented, the issue seems to have gotten worse and many more players seem to be affected - potentially the entire server. From an affected players perspective (me, in the screenshot below), I'm the only one that can see my own prefix. image

John-Paul-R commented 2 years ago

Hi, EssentialCommands dev here. Briefly hopping in to mention that EC hooks into PlayerEntity.getDisplayName by modifying the value returned by Team.decorateName (when it is stored) in an attempt to reduce conflicts with other mods.

It seems to me like this is working in the case of FTB Ranks. Below, you can see my own chat messages before and after applying a nickanme, with the VIP prefix from FTB Ranks.

image