Comments (1)
It's not called randomly. It's called every time the name/skin packet is sent to a player, which is done by the server every few seconds. The event doesn't notify plugins about players using the commands, but about outgoing update packets.
That's why the example code sets the nick/skin every time the event is called:
@EventHandler
public void on(NickDisguiseEvent event) {
event.setNick("inventivetalent");
}
from nicknamer.
Related Issues (20)
- Nickname not changing above player HOT 1
- As of 3.19, user join/leave messages are not displayed HOT 6
- Disable changing nametag (above player head) HOT 20
- Tab complete fix
- Error HOT 1
- Plugin not launching HOT 6
- Plugin won't make a folder HOT 6
- NickNamer/PacketListenerAPI not working HOT 6
- Is this plugin capable of allowing commands that normally only run with playernames to work with nicknames? HOT 1
- Could not load 'plugins\NickNamer_v3.21.0-SNAPSHOT.jar' in folder plugins HOT 5
- Receiving errors with NickNamer / PacketListenerAPI
- Error loading plugin NickNamer HOT 4
- Error while players join
- An exception occured while trying to execute 'onSend' in plugin NickNamer. Error. HOT 3
- Nickname not working with other plugins that call for it. HOT 1
- Allow Duplicate Nicknames Setting HOT 1
- Dependency Dashboard HOT 1
- after setskin cmd, commandblocks gui don't come up and block-breaking particles are gone. HOT 1
- Plugin will not load | error HOT 3
- Paper 1.19.2 update needed PLZ.
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 nicknamer.