Option to modify and use real scoreboard groups for plugin nametag compatibility.
mibby opened this issue ยท 3 comments
Paper dev 510 (Spigot 1.13.2)
NametagEdit dev 48
@JustOneMoreBlock Would it be possible to add an option to use real scoreboard groups when creating and assigning nametags to players? Currently there is a massive incompatibility with just about every plugin that sets and reverts scoreboard groups with the use of NametagEdit.
i.e.
- LibsDisguise cannot clone the scoreboard prefix / colors of the player when disguising.
libraryaddict/LibsDisguises#335 - PVPArena cannot revert users back to the scoreboard group formerly a part of on arena exit.
Creating a team manually using 1.13 features without NTE installed to test nametag color setting and reversion, plugin compatibility seems to work fine.
> /team add 1
> /team modify 1 prefix \u00A7e - (yellow name color)
> /team join 1
Using the old plugin ColoredTags in versions <1.13, nametag colors set and restore fine across plugins. Only with the use of NTE can nametags not be copied or restored. :(
Groups.yml
Groups:
Player:
Permission: nte.player
Prefix: '%vault_prefix%'
Suffix: '&f'
Config.yml
# ---------------------------------------------------------
# NametagEdit by sgtcaze and Cory
# ---------------------------------------------------------
# Development Builds: http://ci.playmc.cc/job/NametagEdit
# Source Code: http://www.github.com/sgtcaze/NametagEdit
# ---------------------------------------------------------
#
# These settings allow you to customize the behavior of the
# tab list.
Tablist:
# If Enabled, NametagEdit will format the Tab menu
Enabled: false
# !! EXPERIMENTAL !!
# This feature will use the PlayerListName to set your
# nametag. It will allow you to bypass the 16 character limit
# for prefix/suffix. Be warned: This does not work on earlier versions
# of Minecraft. Please report issues to our GitHub, and we'll try to help.
LongTags: false
#
# If enabled, this plugin will send small data MCStats.org.
MetricsEnabled: false
#
# If enabled, players with NametagEdit nametags will not be able to push each other (1.9+)
DisablePush: true
#
# Do you have strange, unexplained lag emanating from NametagEdit? Likely it's a few plugins
# manipulating the primary scoreboard, and not clearing the resources. This setting will
# clear empty teams on a timer. You can also clear it with /nte teams clear. This setting
# will be in seconds. e.g. every 300 seconds clear empty teams (5 minutes). Set this to < 1
# to disable this feature.
ClearEmptyTeamsInterval: -1
#
# If enabled, NametagEdit will turn your console into spam
# heaven. Useful for reporting issues!
Debug: false
#
# Some servers have different permissions per world, and therefore different potential nametags
# per world. If you want to refresh a player's nametag when they change worlds, set
# this option to true.
RefreshTagOnWorldChange: false
#
# If enabled, NametagEdit will refresh nametags on an interval. Note: this does NOT do any
# reloading. This will not pickup changes made from the file or database. Instead, it will
# take any changes made by commands and/or placeholder changes. Set this to < 1 to disable
# this feature. This feature is in seconds. NOTE: We do not recommend this.
RefreshInterval: 0
#
# If enabled, NametagEdit will use database support
MySQL:
Enabled: false
Hostname: localhost
Port: 3306
Username: myUsername
Password: myPassword
Database: myDatabase
# WARNING: If you do not know what this is for, do not change it!
# This allows users to customize their schema to their liking.
GroupsTable: nte_groups
PlayersTable: nte_players
ConfigTable: nte_config
# Minimum connection pool size
# WARNING: If you have no idea what this is for, do not change.
# To see the optimal connections for your setup, please visit:
# https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
# And review the pool size configuration (Tn x (Cm - 1) + 1)
MinimumPoolSize: 10
While I own the plugin. I had a DEV at which he disappeared off the internet. So, at the moment I had a little help from friends here and there. But, don't have the skills at the moment to update or add new features myself.
This should be fixed.
https://ci.nametagedit.com/job/NametagEdit-Dev/12/artifact/target/NametagEdit.jar