Comments (7)
Try using the API method api.setNametag(player, null, null);
. It will remove any prefix or suffix the player has. You can combine it with a getter method to maintain one or the other, like this: api.setNametag(player, null, api.getSuffix(player));
from nametagedit.
The API does not accept null arguments. Null args are replaced with "". Ii can add in a method to clear the nametag, if you like.
from nametagedit.
Yes please sgtcaze.
Would it also be possible(sounds a little silly) to add method to save the new prefix/suffix/nametag to the current file system (whether it be Flatfile or MySQL).
I'd rather keep all my changes in the one place rather then setting up a separate DB or Config.
from nametagedit.
@TagCraftMC You don't need separate databases or configs as long as the groups and permissions are within the same server, you can remotely connect to those servers and retrieve the same data.
Most shared hosts have their database server open remotely, so if you have multiple servers with them and you can create one database for each server. Just create one database and usually create it on your BungeeCord server and configure all your servers to remotely connect to that database. You can cross database/cross network as long as the database is open remotely.
from nametagedit.
@TagCraftMC do you still need this? We may still add it on our next release.
from nametagedit.
Setting the players prefix/suffix to null or a method to clear it? Yea, that would be great.
from nametagedit.
Sorry for the delay. This has been added in this commit:
from nametagedit.
Related Issues (20)
- Folder
- Tab problem HOT 1
- THE TABLIST IS BUGGED
- chat formatting suggestion
- Using an ItemsAdder icon in NametagEdit prefixes causes server errors.
- Feature Request and Plug-in Support
- Players being kicked
- Plugin no working in Minecraft 1.20.2 HOT 12
- Add option to group in API
- I have a problem with hex colors! HOT 1
- NametagEdit.getApi() always return null HOT 3
- plugin error while loading HOT 4
- Folia support
- LuckPerms Support on 1.20.2 HOT 1
- Players
- NametagEdit incompatible with future versionf of Paper
- Service Unavailable - https://ci.nametagedit.com/plugin/repository/everything/ HOT 2
- Player tag styles are inconsistent
- The client crashes on versions 1.8 - 1.12.2 after setting the prefix via the command /nte player nik prefix &c&l HOT 4
- username in tab editing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nametagedit.